Definition
An module that can be called within an ABAP program.
Use
Like subprograms and function modules, macro modules are a means of presenting programs in modular form. Macro modules (macros) are used often in the Human Resources application component (HR).
Defining and Calling Modules
Two options are provided:

Macros have the following advantages:
If a macro is changed, each report using this macro is automatically regenerated when it is executed.

Customer-specific RMAC modules should begin with a special character.
The macros defined in the control table TRMAC can be used by all reports.

When you change a RMAC macro in the table TRMAC, the reports that use this macro are not regenerated automatically. You must regenerate them manually.
The following section includes a list of
programming utilities for the logical databases PNP and PAP.