Ansicht
Dokumentation
ABENNAMES_ESCAPING - NAMES ESCAPING
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
!, Escape Character for Operands
... !operand ...
Effect
The character ! can be written directly before a name operand of a single operand in order to distinguish it from an ABAP word with the same notation in a statement. The escape character ! can be placed in front of a chaining, but it cannot be used in front of components that are addressed by a component selector.
With the exception of the first word of a statement that is introduced by a keyword, each word of a statement that is preceded by the escape character is interpreted as an operand, and not as an ABAP word during program generation. The escape character itself is not part of a name and is ignored when the statement is executed.
Notes
- The escape character ! may be required on rare occasions in which the compiler cannot tell the difference between an operand and a reserved word of the same name. Otherwise, it can be used for the documentation of operands in the source code.
- The escape character ! must not be used in front of operators. For example, != cannot be specified instead of =.
Example
Without the escape character ! before CHANGING after USING, the following program extract would be syntactically incorrect, because a formal parameter must be entered after USING. Although the second escape character is not necessary, it is used to document USING after CHANGING as a formal parameter.
PERFORM Short Reference CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2109 Date: 20240425 Time: 153725 sap01-206 ( 40 ms )