Data Structures (PA-APP)Structure of HR Recruitment tables
Recruitment data is stored in the transparent tables Pbnnnn. Apart from the keys (client, applicant number, subtype, object ID, lock indicator, validity period, and sequential number), table PBnnnn only contains the data for the infotype in question.
Structure of Infotypes
The Data Dictionary contains a Pnnnn structure for each infotype nnnn .
The infotype structure Pnnnn basically corresponds to the table PBnnnn. It contains the infotype number but not the client.
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.
APPLICANT structure
Event keywords for data retrieval from a logical database have the following syntax:
GET <TABLE> .
The logical HR database uses the table APPLICANT . You must declare it in the TABLES statement.
At the GET APPLICANT event, the APPLICANT structure contains the data for a applicant number chosen on the basis of selection screen entries.
The APPLICANT-APLNO field contains the applicant number which is selected for processing.
Note
Only the APPLICANT-APLNO field should be read from the work area of the APPLICANT table.The other fields are intended for internal use only.