Pseudo comments and Pragmas both are used to suppress the errors / warnings shown during the Extended program check.
Since SAP NW 7.0 EhP2 (Enhancement Package),pseudo comments are obsolete and were replaced by Pragmas.
Pseudo comments : Pseudo comments are placed after the end of the statement i.e. after ‘.’ Or ‘,’
PRAGMAS: Pragmas are part of the statement, it has to be added before end of the statement. Unlike pseudo comments,it can’t occur after end of the statement.
Example :
Pseudo comment Pragmas
#EC NEEDED ==> ##NEEDED
#EC NOTEXT ==> ##NO_TEXT
Additional information :
Report that displays the list of Pseudo comments and it's replacement Pragmas ABAP_SLIN_PRAGMAS
Table : SLIN_DESC
Since SAP NW 7.0 EhP2 (Enhancement Package),pseudo comments are obsolete and were replaced by Pragmas.
Pseudo comments : Pseudo comments are placed after the end of the statement i.e. after ‘.’ Or ‘,’
PRAGMAS: Pragmas are part of the statement, it has to be added before end of the statement. Unlike pseudo comments,it can’t occur after end of the statement.
Example :
Pseudo comment Pragmas
#EC NEEDED ==> ##NEEDED
#EC NOTEXT ==> ##NO_TEXT
Additional information :
Report that displays the list of Pseudo comments and it's replacement Pragmas ABAP_SLIN_PRAGMAS
Table : SLIN_DESC