Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LINE_EXISTS suggestions for non-EQ search keys #608

Open
GKaschke opened this issue Oct 26, 2023 · 1 comment
Open

LINE_EXISTS suggestions for non-EQ search keys #608

GKaschke opened this issue Oct 26, 2023 · 1 comment
Labels
bug Something isn't working correctly

Comments

@GKaschke
Copy link

Hello,
Are LINE_EXISTS suggestions correct for non-EQ search keys in READ or LOOP?
As far as I know, I can only specify keys in LINE_EXISTS() via EQ
Regards,
Günter

Example:
clear r_yes.
loop at gritab transporting no fields where ico_towork = abap_true
and ico_created <> zcl_zhplm_utils=>c_ico_created_complete.
r_yes = abap_true.
exit.
endloop.

@GKaschke GKaschke added the bug Something isn't working correctly label Oct 26, 2023
@bjoern-jueliger-sap
Copy link
Member

Yeah, this is a bug (the Cloud version of this check already doesn't have that anymore).

This implementation of the check does some analysis for LOOPs but there is no checking whether the condition is actually valid as a table expression (and hence could be transformed into line_exists).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

2 participants