AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.0 and its EhPs → News for ABAP Release 7.0, EhP2 →
Pragmas in ABAP Release 7.0, EhP2
Introduction of Pragmas
From ABAP release 7.0, EhP2, pragmas can be used to hide warnings from the ABAP Compiler syntax check and other check tools.
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.