Global Macro
.
When we use the MACRO to aim the modularization
, we usually describe ‘DEFINE ~~
END-OF-DEFINITOAN’in program. Like using this, this MACRO is only available to
the program where MACRO is declared, which is called as Local Macro.
While, if you define the Global MACRO,
this kind of macro is accessible from all programs.
In order to use Global Macro, you can
maintain TRMAC Table.
The most normal
Global Macros is ‘BREAK’ statement, let’s check in table ‘TRMAC’.
In order to use
Global macro, you can maintain TRMAC table in T-CODE:SM30.
Let’s together
create a Global Macro which has a APPEND command.
Now you can use
the ‘APT’ statement in all abap programs.
No comments:
Post a Comment