Data Structures (PA-PAD)

Structure of HR Master Data and Time Data Tables

HR master data and time data are stored in the transparent tables PAnnnn. In addition to keys (client, personnel number, subtype, object ID, lock indicator, validity period, and sequential number), these tables contain data for the infotype nnnn.

Structure of Infotypes

The Data Dictionary contains a Pnnnn structure for each infotype nnnn .

The infotype structure Pnnnn corresponds to the table PAnnnn. However, the client, for example, is missing, therefore the infotype number is retained.

The infotype is defined in the Data Dictionary as a structure without a database.

The Pnnnn structure of the infotype is used as the field structure for the infotype entry screen.

When you declare an infotype using the INFOTYPES statement, an internal table Pnnnn with the structure Pnnnn is created and all records of the infotype are transferred to this table:

DATA BEGIN OF Pnnnn OCCURS 10.

  INCLUDE STRUCTURE Pnnnn.

DATA END OF Pnnnn VALID BETWEEN BEGDA AND ENDDA.

The infotype records can be processed using the infotype structure when the report is run.

PERNR structure

Event keywords for data retrieval from a logical database have the following syntax:

GET <TABLE> .

The logical HR database uses the table PERNR . You must declare it in the TABLES statement.

At the GET PERNR event, the PERNR structure contains the data for a personnel number chosen on the basis of selection screen entries.

The PERNR-PERNR field contains the personnel number which is selected for processing.

Note Note

Only the PERNR-PERNR field should be read from the work area of the PERNR table. The other fields are intended for internal use only.

End of the note.