Processing all Infotype Records (PA-APP) 

After the GET APPLICANT event, the internal tables of the infotypes contain records and are ready for processing.

Internal tables are generally processed line-by-line using the LOOP statement.

The internal tables of infotypes have features which allow special processing.

These tables are defined for specific intervals. In HR, these are time intervals or validity periods.

Processing of infotype records is time-dependent; by this we mean dependent on the data selection period entered on the selection screen. The data of several infotypes can be processed at the same time and made available for a specific partial period.

Internal infotype tables are processed with the PROVIDE statement.

The syntax is as follows:

PROVIDE * FROM Pnnnn BETWEEN PA$BEGDA AND PA$ENDDA.
  WRITE: / Pnnnn-<feld>.
ENDPROVIDE.

nnnn stands for the four-digit infotype number.The relationship between the infotype and the data selection period of the selection screen is established using the PA$BEGDA and PA$ENDDA variables.

In the PROVIDE loop, the data of an infotype record is available for processing in the Pnnnn structure.

See the graphic on Processing all Infotype Records (PA-PAD).