SAP AMDP MACROS



Get Example source ABAP code based on a different SAP table
  



ABAP_AMDP - Macros

ABAP_SYNTAX
... '$ABAP.macro( ... )' ...

What does it do?
Specifies an AMDP macro in an AMDP method, which is implemented in SQLScript. An AMDP macro is specified in double quotation marks and always introduced with $ABAP. The macro itself is specified with macro. The relevant parameters for the chosen macro can be specified in the parentheses. The format for $ABAP is case-sensitive. The format for macro is not case-sensitive.
The ABAP runtime framework replaces an AMDP macro, including the quotation marks, during the implementation on the database in accordance with the rule for the relevant macro. The following macros are currently predefined:
$ABAP.type for ABAP types
$ABAP.schema for logical schemas
No other macros can be specified. In particular, no custom macros can be defined.



Latest notes:

The syntax for macros is currently only possible in the implementation language SQLScript.
Macros that are specified in comments or in single quotation marks are not replaced.
NON_V5_HINTS
ABAP_HINT_END