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

SELECT FOR: Unexpected term #241

Closed
mraht opened this issue Feb 5, 2024 · 3 comments
Closed

SELECT FOR: Unexpected term #241

mraht opened this issue Feb 5, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mraht
Copy link

mraht commented Feb 5, 2024

Image the following source code within a class method:

SELECT SINGLE FOR UPDATE * FROM /scwm/mfscch
  INTO ls_mfscch
  WHERE lgnum   = ls_mfscch-lgnum
    AND plc     = ls_mfscch-plc
    AND channel = ls_mfscch-channel.

ABAP Cleaner throws an error on execution:
image

Workaround:
Comment the related sql statement, then execute ABAP Cleaner and uncomment the statement again.

@jmgrassau jmgrassau added the bug Something isn't working label Feb 9, 2024
@jmgrassau jmgrassau self-assigned this Feb 9, 2024
@jmgrassau
Copy link
Member

Hi Marius,

thanks a lot for reporting this! Unfortunately, I missed this "SINGLE FOR UPDATE" addition in one of the places – this will be fixed with the next release.

Kind regards,
Jörg-Michael

@jmgrassau
Copy link
Member

Hi Marius,

thanks again for reporting this – this should now work with version 1.13.1, which was just released!

Kind regards,
Jörg-Michael

@mraht
Copy link
Author

mraht commented Feb 13, 2024

Yes, works now - many thanks! 👍🏼

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

No branches or pull requests

2 participants