Creating Archive Files


You are in the Archive Administration: Initial Screen (transaction SARA). You have entered the name of the archiving object in the Object Name field.



       1.      Choose Write.

This takes you to the Archive Administration: Reload Archive screen, where you can schedule a background job for the write program.

If archiving has already taken place for the archiving object and there are still unprocessed archive files for the archiving session, a dialog box warns you of this. The same applies to interrupted archiving sessions.

If you archive the same data more than once you may run into problems. Therefore, some archiving objects require that data only exists once in the archive, because duplicate data can lead to erroneous results in the totals of archived data, for example.

Make sure that

·         The job that is to be newly scheduled does not select the same data contained in the archive files that have not yet been processed by the delete program.

·         You do not use variants with overlapping selection values.

If the variant that you have selected is already being used for other jobs, you can display these jobs by choosing Jobs with Selected Variant, and if required, delete them.

       2.      Select a variant using input help. If there are no existing variants, choose Variants to maintain the required variant. For more information see Variant Maintenance for Archiving Jobs.

If Start Automatically is set for the delete program in Archiving-Object-Specific Customizing and a production write program variant is chosen, the delete program is also executed with its production variant. In other words, database deletions are made after the archiving session.

       3.      Maintain the Start Date and the Spool Parameters.

Archive Directory enables you to establish how much free memory space there is in the current object-specific archive directory. However, this function is not suitable for HSM systems.


You have now entered all the data needed for the background job. To create the job, choose Execute.

After all archive files have been completely written for a session, the system event SAP_ARCHIVING_WRITE_FINISHED is started by ADK. This triggers subsequent processes, such as file backup using external tools.

The Goto menu offers access to the following:

·        Customizing

·        Job Overview: Offers an overview of all archiving jobs and the functions available for processing them. For more information on the job overview, refer to Managing Jobs in the Job Overview.

·        Management

·        Database Tables

·        Infosystem

You can view the logs for the started process from the initial screen of Archive Administration via Logs.