Use
As in the context of ABAP programs, you can create macro definitions within the classes in the Class Builder. These include a sequence of complete ABAP statements that can be used more than once within the defining class.
Procedure
The system displays the Editor.
DEFINE <MACRO_NAME>.
...
END-OF-DEFINITION.