Checks of HRLSO_CURR
To ensure that only data no longer relevant for current business processes is archived or destroyed, certain conditions must be met. Relevant checks performed by the write program RPLSO_CURR_ARCH_WRI
of the archiving object HR: Curricula
(HRLSO_CURR
) when curricula are selected ensure that these conditions are adhered to. The method CHECK_ARCHIVABILITY
in subclass CL_HRLSO_ARCH_WR
is called for these checks. The program performs the following checks:
Date until which curricula are destroyed
If the curriculum contains a time-independent course (e-learning course), the most recent date of change (AEDTM
) of the curriculum from the infotype structure HRP1026
must be before or on the Destroy Until
date that you have entered on the selection screen of the write program.
If the curriculum does not contain a time-independent course, the end date (ENDDA
) of the curriculum from the infotype structure HRP1026
must be before or on the Destroy Until
date.
Historical record indicator
The curriculum needs to be archived, which means that the indicator HISTO
is set in the infotype structure HRP1026
for the data record that is to be destroyed.
Note
If a curriculum contains a time-independent course, the end date of the curriculum can be the system end date (12/31/9999). Therefore, it is not possible to use the end date to determine the retention period. In this case, the most recent date of change is used instead.