Data Archiving removes mass data, which the system no longer needs, from the database, but which must still be available for reporting. For the most part, SAP's data archiving concept is based on the archiving objects of the Archive Development Kit (ADK).
Archiving objects describe the structure and context of the data to be archived. Predefined archiving objects are available for the applications for which data is to be archived. In data archiving, the system writes the data to archive files according to the relevant archiving objects and stores these.
Financial Accounting documents are archived using the archiving object FI_DOCUMNT. This archiving object includes the document header, company code-specific postings, change documents, and related texts.
Steps for Data Archiving
Data archiving takes place in individual steps to ensure that only successfully archived data can be deleted. These are the three main steps:
Writing the data to be archived to a new archive file
Storing the archive files in an external store (optional)
Deleting the archived data from the database starting from the archived files you have created
The following illustration describes the data archiving procedure.
More information: Customizing for Data Archiving
More information: Executing Data Archiving
Data Archiving in SAP NetWeaver AS (available archiving objects)