ABAP - Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Program Editing → 

SET EXTENDED CHECK

Quick Reference

Obsolete Syntax

SET EXTENDED CHECK {ON|OFF}.

Effect

This statement uses the addition OFF to deactivate the extended program check for the following statements, and uses 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. In the default setting, the extended program check is active.

Notes

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.