Archiving can be done in different objects of PP/MM/FI/CO/PM etc.

  • Can anybody provide me step by step Data Archiving guide for ECC 6.0 system.I searched OSS but did not get any guide.Thanks.
  • Course announcements. In this 3-days course you’ll learn how to archive data to reduce database tables within your SAP solution. You will learn to explain and demonstrate the data archiving concept, and to plan and implement a data archiving project.

The example is with a MM object, but it can be applicable equally to any PP object (PR_ORDER-Process order)

View the schedule and sign up for Data Archiving from ExitCertified. Classroom: $2,010.00.

This document demonstrates the process of archiving in different objects. Though this is a archiving process, this is a general way of archiving. Archiving is required to have a faster and clean system. It is also possible to get the data once these are archived.

The archiving process have generally four steps.

There are 4 Main steps in SAP Archiving are:

  • Step 1 – Pre processing

Deletion indicators will be set in this step

Applicable for some objects

  • Step 2 – Write

Records chosen for Archiving will be written in Archiving file system in Unix server (Path: /Volumes/Archiving/<Object name>/…)

Applicable for all objects

  • Step 3 – Delete

Written records will be deleted

Applicable for all objects

To ensure that the Archiving file system back up is taken for written records, at least 2 days gap to be maintained before performing Delete step.

  • Step 4 – Post processing

For deleting secondary indexes in FI_DOCUMNT and movement data in QM_CONTROL.

Useful Transaction codes:

  • SARA- Archive Administration
  • SARI- Archive Information System
  • SARE- Explorer
  • ALO1- Search for documents with relationships (Incl. Archive)

The archiving process:

Object: MM_EKKO (Purchase order)

  1. Pre processing Step: Create Variant (KT2NDLINE):

Enter the New Variant name and click on ‘Maintain’ button. Maintain “Purchasing Documents” information and “Restrictions” as required.

Save Variant.

/corsair-motorhome-manuals/. Execute the variant. Check the jobs.

Open the spool.

Pre-processing step successful for the selection.

2. WRITE Step: Variant KT2NDLINE-WR

Create and save variant for the selection (should be same as maintained in Pre processing step).

Execute the variant. Check the Jobs.


Open the Spool.

Write step successfully completed.

3. DELETE Step:

Click on “Archive Selection”. Select the files to be deleted.

Execute the selection.

Open the Spool

File is successfully deleted.

4. Checking Information system – Info structure updation.

We can see a Green signal light for the last archiving session. This means that the Info structure is updated successfully.

If the signal is Yellow or Red, Please Click in .It will fill the info structure once again.

After every archiving run this should be checked. Otherwise, reading data from archived files will not work for the users, which leads to raising a ticket.


This option shows the details of archiving sessions. The details include,

  • Number of objects (header records) Written, Deleted
  • Number of Delete jobs
  • Write and Delete Job durations
  • Etc.

6. LOGS:

If Job log is clicked for the Write step job, the following log is displayed.

We can see the Program name, variant used, User id, Archiving session number, How many number of documents processed,

Path of the system where the written file is stored .

Name of the Archive file created in the file system, etc., can be seen in the log.

Data Archiving Solutions

7. READ:



We can see the archived Purchasing documents. For further documents, refer to User document for this object.

( SPEED_MM_Display_archived_Purchase_Order_v1.pdf)


It shows the status of archiving session. (Complete or Incomplete).

Data Archiving Best Practices

Double clicking on the session will lead to the following screen where the archived file related details can be seen.

Sap Data Archiving

Data Archiving And Retention