Ansicht
Dokumentation

ABENPSEUDO_COMMENT_SLIN - PSEUDO COMMENT SLIN

ABENPSEUDO_COMMENT_SLIN - PSEUDO COMMENT SLIN

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Pseudo Comments for the Extended Program Check

Obsolete Syntax

... "#EC ...

Effect

The string "#EC after a statement or a part of a statement that follows a particular ID defines the subsequent content of the line as a pseudo comment for the extended program check.

The possible IDs are document in the extended program check or in the output of their results. The pseudo comments can be used to hide certain warnings from the extended program check for a particular statement.

Notes

  • When pragmas were introduced, corresponding pragmas (##...) were introduced for all "#EC... pseudo comments. These pragmas should be used instead of the pseudo comments. This makes the pseudo comments obsolete for the extended program check. The program ABAP_SLIN_PRAGMAS shows which pragmas are to be used instead of the obsolete pseudo comments.
  • The pseudo comment #EC * must no longer be used in programs that use pragmas to deactivate warnings. This causes an extended program check warning that cannot be deactivated. The same applies to the statement SET EXTENDED CHECK.
  • To hide multiple warnings from a statement with pseudo comments, the statement must be spread across multiple lines.
  • If the ID specified after "#EC has the prefix "CI_", it is a pseudo comment for the Code Inspector. These pseudo comments have not yet been replaced by pragmas.

The pseudo comment "#EC NEEDED suppresses the message from the extended program check that tells the user that there is no read access to a.

The following source code section shows how the pseudo comment can be replaced by a pragma.






rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2536 Date: 20240427 Time: 020911     sap01-206 ( 25 ms )