Programming Utilities for the Logical Databases PNP and PAP

Use

Programming utilities enable you to integrate similar requirements in programs. You can use this module for your own reports.

The following programming utilities are available for the logical databases PNP and PAP:

  • Function modules:

  • Macros

Macros have an advantage in that each report using this macro is automatically regenerated when called if the macro changes.

  • RMAC macros

RMAC macros represent specific macros used in the Human Resources component (HR). However, they do have a disadvantage in that a change to a RMAC macro must be repeated manually in all reports using the RMAC macro.

Recommendation Recommendation

We recommend that you use macros or function modules in your reports, provided they can replace the RMAC macros.

End of the recommendation.

Features

Programming utilities are available at the following events in the program flow:

  • Data definition

  • At INITIALIZATION

  • At START-OF-SELECTION

  • At SELECTION (GET PERNR)

  • At TOP-OF-PAGE

  • At any point

(for example , SELECTION, END-OF-SELECTION, AT PFxx, ...)

  • Retrieving data

  • Processing data

  • Changing data