Ansicht
Dokumentation

ABAPSET_EXTENDED_CHECK - SET EXTENDED CHECK

ABAPSET_EXTENDED_CHECK - SET EXTENDED CHECK

BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

SET EXTENDED CHECK

Short Reference



SET EXTENDED CHECK ${ON$|OFF$}.

Effect

This statement uses the addition OFF to deactivate the extended program check for the following statements and uses the addition ON to reactivate it. A deactivated extended program check should be reactivated in the same program. The extended program check reports a SET EXTENDED CHECK OFF statement without the following SET EXTENDED CHECK ON statement and superfluous SET EXTENDED CHECK ON statements. The extended program check is the default setting.

Notes

  • This statement is obsolete and should no longer be used. Instead, the messages from the extended program check for individual statements should be hidden using specific pragmas.
  • The statement SET EXTENDED CHECK should not 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 pseudo comment #EC *.
  • In this case, the deactivation of the extended program check can be overridden by selecting Also Display Hidden Messages when the check is called.

Example

The SET EXTENDED CHECK statements suppress all messages from the extended program check in the included program section.

SET EXTENDED CHECK OFF.
DATA: a TYPE string,
      b TYPE string.
a = b.
SET EXTENDED CHECK ON.

The following program section shows the recommended procedure to hide the actual messages using the associated pragma.

DATA: a TYPE string ##needed,
      b TYPE string.
a = b.






rdisp/max_wprun_time - Maximum work process run time   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2521 Date: 20240329 Time: 150529     sap01-206 ( 38 ms )