Archiving - Maintaining Variants (PT)

Use

Each time an archiving run is performed, you must create a variant for archiving. This variant creates an archive file for the PA_TIME 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 time evaluation results from the database.

Caution Caution

You must not access the reports for archiving and deleting time evaluation results directly from the Archive Administration transaction.

You should archive and delete time evaluation results in the Archiving Data transaction only. 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) .

End of the caution.

Prerequisites

Procedure

  1. Enter a variant name, and choose Maintain .

  2. If necessary, determine whether you want to use the variant for all selection screens or just for archiving time evaluation results, and choose Continue .

  3. 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.

  1. Choose  Attributes .

  2. This takes you to the ABAP: Save Variant Attributes screen.

  3. Make the required settings, and save the variant.

You are advised to start the archiving run in test mode to enable you to identify and solve any errors before actually archiving data. In this case, the system does not create an archive file and table entries are not deleted.

Specify whether a detailed log should be created for the test mode . The system displays statistics even if you have not selected the Detailed log option. The information in this short log includes error messages and the number of archived PCL2 entries.

If you want to use the same variant for the productive archiving run, you must use the job overview to delete the successful test.

See also:

Create Archive Files