Macros (Obsolete)

You can create macro definitions within the class pool in the Class Builder. They are a sequence of complete ABAP statements that can be used more than once within the class pool.

Procedure

  1. Open the class you want to edit in the Class Builder.
  2. Choose Goto →Local Definitions/Implementations →Macros.

    The ABAP Editor starts.

  3. Switch to change mode.
  4. Edit the macros within the corresponding statement block:

    DEFINE <MACRO_NAME>.

    ...

    END-OF-DEFINITION.