Creating a Write Variant for HRPA_OBJLN
The system uses the write program RP_PA_OBJECTSONLOAN_WRI
to select the data for objects on loan that is to be destroyed and transfers it to an archive file temporarily so that it can then use the delete program RP_PA_OBJECTSONLOAN_DEL
to destroy this data.
You can run the program in test mode or productive mode. Irrespective of this, you always need to create a variant for the write program (or select an existing variant). For this purpose, you have the following selection criteria and options available:
Personnel Number
You can restrict the selection to the data records that belong to the personnel number entered. Use this parameter primarily in test mode.
Select Data Until
You enter a date until which data records are to be selected. This date is for preselection purposes for performance reasons, to restrict the number of selected data records. The system selects all data records with a start date that is before or on this date. The date until which data can actually be destroyed is determined.
Country Grouping
The system selects the data on the personnel numbers that belong to the country grouping entered.
Comment/Note
You enter a short text for this archiving session for the destruction of data.
Test Run
If you select this checkbox, the write program is started in test mode. No archive files are created and no data is deleted from the database. The delete program is not started.
If you do not select this checkbox, the write program is started in productive mode and archive files are created for the destruction of data.
Detailed Log
If you select this checkbox, a detailed log is generated. Only use this option to perform an error analysis in test mode. Since the log is very detailed you must not use it in productive mode.
Objects on Loan
You can restrict the selection to the data records that belong to a particular type of object on loan. To do so, select the relevant archiving subobject (subtype of the infotype Objects on Loan
(IT0040)).