Show TOC

 Macros (Obsolete)Locate this document in the navigation structure

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.

Caution

Macros are regarded as obsolete technology and should not be used in class pools any more.

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.