Creating a Write Variant for HRPA_INSTR
The system uses the write program RP_PA_INSTR_WRI
to select the data for company instructions that is to be destroyed and transfers it to an archive file temporarily so that it can then use the delete program RP_PA_INSTR_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.
Start Archive Administration
(transaction SARA
).
Enter the Archiving Object
and choose Write
.
Enter a name for the Variant
and choose Maintain
. The Variants: Screen Assignment
dialog box appears.
Define whether the variant is to apply to all selection screens of the program or to individual selection screens. Choose Continue
.
Enter the selection criteria and choose Attributes
.
Define the variant attributes.
Save the variant.