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
Hi,
in the following example is ##NEEDED not at the end of the variable declaration.
ABAP-Cleaner set it to the end, but then it does not recognize that it is there and creates a TODO.
Can you please fix it?
METHODtest.
##NEEDEDdata lv_msg type bapi_msg.
DATA: lv_field TYPE c,
##NEEDED lv_msg2 type bapi_msg.
MESSAGE e001(000) INTO lv_msg.
MESSAGE e001(000) INTO lv_msg2.
lv_field =3.
WRITE lv_field.
ENDMETHOD.
you're right, thanks for reporting this! Indeed, this rule so far only considered pragmas at the end (before the comma or period), not at the beginning of the line, although those are correct, too. This will be fixed with the next release!
Activity
jmgrassau commentedon Nov 16, 2023
Hi Frank,
you're right, thanks for reporting this! Indeed, this rule so far only considered pragmas at the end (before the comma or period), not at the beginning of the line, although those are correct, too. This will be fixed with the next release!
Kind regards,
Jörg-Michael
fmabap commentedon Nov 16, 2023
Hi Jörg-Michael,
great thank you!
Best regards
Frank
fix UnusedVariablesRule for pragmas at line start (SAP#200)
fix UnusedVariablesRule for pragmas at line start (#200)
jmgrassau commentedon Nov 16, 2023
Hi Frank,
thanks again for opening this issue – this is now fixed with version 1.11.2, which was just released!
Kind regards,
Jörg-Michael
enable ABAP cleaner menus for WebDynpro implementations (SAP#200)
enable ABAP cleaner menus for WebDynpro implementations (#200)
jmgrassau commentedon Feb 12, 2024
Hi,
sorry, I entered the wrong issue number in the above commit enable ABAP cleaner menus for WebDynpro implementations – this belongs to issue #220!
Kind regards,
Jörg-Michael
fmabap commentedon Feb 12, 2024
Hi Jörg-Michael,
no problem. Thank you for fixing it. It works in my Testprogramm and also in the productive code.
Kind regards
Frank