SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete Syntax → Obsolete Pseudo Comments →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 its results. The pseudo comments can be used to hide certain warnings from the extended program check for a particular statement.
Notes
Example
The pseudo comment "#EC NEEDED suppresses the message of the extended program check that tells the user that there is no read access to a.
DATA: a TYPE string, "#EC NEEDED
b TYPE string.
a = b.
The following source code section shows how the pseudo comment can be replaced by a pragma.
DATA: a TYPE string ##needed,
b TYPE string.
a = b.