Background documentationChecks for HRPA_MGE

 

To ensure that no data that is still required in business processes is destroyed, a Business Add-In (BAdI) that performs the following archiving-object-specific check has been implemented for this archiving object:

For each selected personnel number, the system checks the end date of the data records for the infotype Documents (0702) and the infotype Documents on Dependants (0703) against the end date of the first data record of the infotype Details on Global Assignment (0710). If the end date of the data records for the infotypes 0702 and 0703 is after the end date of the data record for infotype 0710, this data record is not destroyed. The system issues an error message and the corresponding personnel number is rejected.

Note Note

In rare cases, certain data constellations in the infotypes Details on Global Assignment (0710) and Information on Checklists (0705) may result in unexpected system behavior during a data destruction session.

This is the case if the system contains data records for two global assignments for the same personnel number. The system cannot uniquely assign data records on information on checklists that are before or after the validity period of a data record for a global assignment to the corresponding global assignment. In this way, information on checklists that belongs to a global assignment whose data record has not been selected for destruction could be deleted in a data destruction session.

End of the note.

Example Example

Infotype 0710 contains two data records for an employee.

In a data destruction session, all data up until December 31, 2006 is to be destroyed.

First case:

The employee's first global assignment ends on December 31, 2006. The related data record in infotype 0710 is destroyed. All data records for infotype 0705 with an end date on or before December 31, 2006 are also destroyed. Related data records with an end date after the selection date for the data destruction are not destroyed.

Second case:

The employee's second global assignment starts on February 1, 2007 and ends on July 31, 2007. This data record is after the selection date and remains in the system. Related data records for infotype 0705 with an end date on or before December 31, 2006 are destroyed.

End of the example.

Recommendation Recommendation

To ensure that no information on checklists that belongs to a global assignment data record that is still in the system is destroyed, make sure that the end date of the information on checklists is within the validity period of the related data record for the global assignment.

End of the recommendation.