Checks of HRLSO_ELRN
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_ELRN_ARCH_WRI
of the archiving object HR: E-Learning
(HRLSO_ELRN
) when time-independent courses (e-learning course) are selected ensure that these conditions are adhered to. The method CHECK_ARCHIVABILITY
in subclass CL_HRLSO_ARCH_WRI
is called for these checks. The program performs the following checks:
The time-independent course is part of a curriculum
Date until which time-independent courses are destroyed
The most recent date of change from the infotype structure HRP1026
for the time-independent course is before or on the date Destroy Until
that you have entered on the selection screen of the write program.
Historical record indicator
The time-independent course 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.
Status of cost accounting and billing
The cost accounting or billing data for the time-independent course to be destroyed has been successfully transferred to the tables for cost accounting and billing:
For object instances of the type EVEID
and SOBID
, the value of the field STATUS
in table T77REFDOC
is to be 4
, 8
, or *
.
Note
The end date of a time-independent course is usually the system end date (12/31/9999). Therefore, it is not possible to use the end date to determine the retention period. Instead, the most recent date of change (AEDTM
) is used for time-independent courses, provided that the data record to be destroyed has not been changed after being archived.