Maybe you have seen some „strange" comments in new abap code, like ##shadow or ##needed - so-called „pragmas“. Pragmas can be used to hide syntax-warnings that might occur during normal or extended syntax checks. Pragmas replace the old pseudo comments of the extended syntax checks. (Ref. “#ec needed, … )
Implementing it is very simple: if you encounter a warning during a program check, click on the help for the error message. At this point the pragma that could be used to hide the error message, will be displayed. This should be inserted in front of the full stop at the end of the relevant command.
data text type string ##needed.
text = 'hello pragmas' ##no_text.
This would replace the the old pseudo comments used like this:
data text type string. “#ec needed