Entering content frameProcedure documentation Defining Macros that are Local to the Class Locate the document in its SAP Library structure

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

  1. Select the class and go to the Class Editor.
  2. Choose This graphic is explained in the accompanying text Macros.
  3. The system displays the Editor.

  4. Go to change mode.
  5. Edit the macros within the corresponding statement block:

DEFINE <MACRO_NAME>.

...

END-OF-DEFINITION.

 

 

Leaving content frame