ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 7.0 and its EhPs → Changes in Release 7.0, EhP2
Pragmas in Release 7.0, EhP2
2. Switching from pseudo comments
Other versions: 7.31 | 7.40 | 7.54
Modification 1
Introduction of Pragmas
From Release 7.0, EhP2, pragmas can be used to hide warnings from the ABAP Compiler syntax check and other check tools.
Modification 2
Switching from Pseudo Comments
The pseudo comments "#EC ...
, which until now could be used to hide warnings from
enhanced program
checks, were to be replaced by the ##...
pragmas. The statement
SET EXTENDED CHECK
must no longer be used in programs in which a warning
from the extended program check is hidden by a pragma. If used, the statement produces a warning that cannot be hidden.