-
Notifications
You must be signed in to change notification settings - Fork 53
Specifix SQL Statements in Method leads to error #134
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
Comments
I wonder if SELECT SINGLE makes any difference / sense? |
SELECT SINGLE works, but then I cant SUM ;) |
Have you tried? I don't think it makes a difference. |
mmh, ok. You are right, it works. To be honest, I didn't expect this 😄 Ok, great. Problem half solved. At least for me. This also works with ABAP Cleaner:
|
Hi bastianStr and Fabian, thanks a lot for reporting and discussing this! This was a bug, because ABAP cleaner wrongly assumed that this SELECT requires an ENDSELECT (and therefore expected an ENDSELECT before the ENDMETHOD). To determine whether or not SELECT opens a loop is not trivial, and in this case, ABAP cleaner got the arithmetic expression in parentheses wrong. Will be fixed in the next release! It's nice that there is a workaround, but of course ABAP cleaner should be able to deal with anything that is correct ABAP syntax (well, apart from chain colons inside parentheses as in Kind regards, |
Hi bastianStr, thanks again for opening this issue! This should now be fixed with version 1.7.0, which was just released! Kind regards, |
I have a method with the following SQL Statement in it:
When I run ABAP Cleaner on it, i get a Parse error about "ENDMETHOD found but no corresponding METHOD". If I comment the SQL Statement, it works...
The text was updated successfully, but these errors were encountered: