Show TOC

  Infotype Module Pool

Definition

Framework program for the user interface of an infotype. The name of the program is MPnnnn00 . P stands for Human Resources (personnel), and nnnn is the four-digit infotype number.

There is a module pool for each infotype.

Structure

Infotype-specific includes

The main program only contains INCLUDE statements. If you create the main program using transaction Create Infotype (PM01), the system also creates the following four includes:

Includes and their contents

Name of include

Content

MPnnnn10

PROGRAM statement

Declaration of common data objects

MPnnnn20

PBO modules for the screens

MPnnnn30

PAI modules for the screens

MPnnnn40

Subroutines

Caution Caution

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

End of the caution.
General includes

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

Includes and their contents

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.

Caution Caution

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

End of the caution.
Includes for infotypes with country-specific features

Many infotypes require modules that apply to just one country.

Recommendation Recommendation

You must store these modules separately in their own includes for the data definition, PBO and PAI modules, and subroutines. You then enter the HR country indicator , which is assigned in table T500L Country Grouping for HR Management to the appropriate country grouping , at the end of the name of the corresponding include.

End of the recommendation.