Archiving - Maintain Variant (PY) Each time an archiving run is performed, you must create a variant for
Archiving
. This variant creates an archive file for the PA_CALC archiving object of the specified archiving group.
On the specified start date, the system writes the archive file to the output device that you specified in the spool parameters. The system then deletes the archived data from the database.
Caution
You must not access the reports for archiving and deleting payroll results directly from the
Archive Administration
transaction.
You should only archive and delete payroll results in the
Archiving Data
transaction. Specific preparatory steps are taken to ensure that interdependencies between the
Payroll
,
Time Management
, and
Travel Management
components are taken into account, and to reconcile archiving dates with retroactive accounting limits.
If you require further information, see Archiving Procedure (PT/PY/FI-TV) .
You have created an archiving group to which you have assigned personnel numbers , and you have made HR preparations for archiving .
You have accessed
Archive Administration
by executing the
Perform Archiving
step.
You have accessed the
Archive Administration: Create Archive Files
screen.
Enter a variant name, and choose
Maintain
.
If necessary, determine whether you want to use the variant for all selection screens or just for archiving payroll results, and choose
Continue
.
Choose the required archiving group.
To document the procedure, you can enter a comment or note to characterize the archiving run. For example, you could enter information on the archiving period.
Choose
Attributes
.
This takes you to the
ABAP: Save Variant Attributes
screen.
Make the required settings, and save the variant.
You are advised to start the archiving run as an initial
test run
so that you can identify and solve errors before archiving properly, if necessary. In this case, the system does not create an archive file or delete the table entries.
Specify whether a detailed log must be created for the test run. The system displays statistics even if the
Detailed log
option has not been selected. The information in this short log includes error messages and the number of archived records.
If you want to use the same variant for the productive archiving run, you must use the job overview to delete the successful test run.
See also: