Infotype Module Pool 

A module pool should be used with each infotype. This module pool is the main program for the maintenance interface for the infotype.

The name of the program is MPnnnn00. Where P stands for Human Resources (personnel) and nnnn is the four-digit infotype number.

Infotype-specific includes

The main program only contains INCLUDE statements. If you create the main program using transaction PM01 Dialogs in HR, the system also creates the following four includes:

Name of include

The include contains

MPnnnn10

the PROGRAM statement and

the declaration of common data objects

MPnnnn20

PBO modules for the screens

MPnnnn30

PAI modules for the screens

MPnnnn40

subroutines

All of the changes you make to module pool MPnnnn00 or the includes listed here for an infotype within the standard system constitute modifications.

General includes

The system also inserts INCLUDE statements in the main program for the following includes:

Name of include

Use

FP50PPSB

Declaration of common data objects

This data area is used as a buffer for imported infotype records and maintenance information. The variables specified in this area are used as export or import parameters when the infotype dialog module is accessed.

MPPDAT00

Declaration of common data objects

MPPERS00

Standard infotype modules

MPPIRC00

Definition of infotype return codes

MPPREF00

Definition of two data objects that contain the number of reference personnel numbers in structure P0031 or P0121

These includes contain standard functionality that must be offered by each infotype.

Do not change these includes! They are used by module pools for all infotypes.

Includes for infotypes with national-specific functions

Many infotypes require modules that apply to just one country. You must store them separately in their own includes for data definition, PBO and PAI modules, and subroutines. You then enter the HR country indicator, which is assigned in table T500L to the appropriate country grouping, at the end of the name of the corresponding include.