Preprocessing Program
The preprocessing program for an archiving object checks which data can be destroyed and prepares the data that fulfills the necessary criteria for destruction.
The preprocessing program performs the following functions in particular:
Checks whether the retention rules have been met for the selected data
Checks whether the data is completed from a business process perspective
Takes dependent data into account for the destruction of data
Determines the retroactive accounting limit for destroying data relevant for payroll, while taking the infotype Payroll Status
(0003), the infotype Archiving/Data Destruction
(0283), and the retroactive accounting limit for the destruction of data into account
Writes a destruction log with the status Prepared for Data Destruction
in the infotype Archiving/Data Destruction
(0283)
Blocks the processing of data in the period in which you have already destroyed data.
The program generates a run ID that you can select in the write program to perform the write session and the subsequent destruction session.
An archiving object that does not generate destruction logs or block the processing of data in the destruction period does not require a preprocessing program. In this case, the archiving object only has a write program and a delete program (for example, HR: Tasks
(HRPA_TASK
)). The system performs the relevant checks in the write program.
Note
For data security reasons, no data is deleted from the database in the preprocessing phase.
To schedule preprocessing for the destruction of data, proceed in the same way as for data archiving. For more information, see Scheduling Preprocessing Programs.