code pal for ABAP > Documentation > Prefer Pragmas to Pseudo Comments
In cases where pragmas are possible (i.e. for findings from the ABAP syntax check and from the Extended Program Check (SLIN)), they should be preferred over pseudo comments as they are more precise with respect to the statement they refer to since they are placed inside of the statement instead of after it.
Change the "#EC
of the pseudo comment to ##
and move the new pragma inside of the statement it refers to if the pseudo comment was placed after the terminating period.
This check has no associated pseudo comment or pragma because pseudo comments can only refer to statements, not to other comments.
Before the check:
DATA a TYPE string. "#EC NEEDED
After the check:
DATA a TYPE string ##NEEDED.