You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been facing an issue if I use FOR expression with GROUP BY clause. If I comment it, the ABAP Cleaner works fine.
Screenshots are attached below for both the sample code and the issue. Please, share if it can be fixable from my side else check if it is fixable from your side.
Also, thanks for the awesome tool. It's a game changer!
thanks a lot for reporting this issue! This seems to be a bug in the cleanup rule "Shorten VALUE statements", which mistakes the group key for a table row. A minimal example to trigger the error would be this:
Activity
jmgrassau commentedon Jan 4, 2024
Hi Yash,
thanks a lot for reporting this issue! This seems to be a bug in the cleanup rule "Shorten VALUE statements", which mistakes the group key for a table row. A minimal example to trigger the error would be this:
Here, the cleanup rule erroneously identifies
plant = <fs>-plantas a common assignment and therefore extracts it from both inner parentheses …… which is a syntax error. Will fix this asap!
Kind regards,
Jörg-Michael
jmgrassau commentedon Jan 4, 2024
Hi Yash,
this bug is now fixed for the next release.
Kind regards,
Jörg-Michael
this-yash commentedon Jan 5, 2024
Hi,
Thank you very much. Will wait for the next release.
fix ValueStatementRule for GROUP BY group_key (SAP#226)
fix ValueStatementRule for GROUP BY group_key (#226)
jmgrassau commentedon Jan 5, 2024
Hi Yash,
thanks again for this bug report – this error should now be fixed with version 1.13.0, which was just released!
Kind regards,
Jörg-Michael
ConjuringCoffee commentedon Jan 8, 2024
I love learning about syntax possibilities from ABAP Cleaner bug reports 😄