!--a11y-->
Archiving of Business Transactions 
You can archive business transactions, such as sales orders, activities, and service orders, which have been created in the CRM System, using the appropriate archiving object (see Available Archiving Objects). The associated data is copied to external archive files and then deleted from the database.
You
have made the required settings in Customizing for Archiving under
Architecture and Technology ® System Administration
® Administration ® Data Archiving. See
Customizing. This
includes the
cross-archiving-object
check program Customizing, where you determine the necessary program
parameters for the corresponding archiving object.
You can also set up the residence times in the IMG under Customer Relationship Management ® Transactions ® Basic Settings ® Maintain Residence Times.
You execute an archivability check for business transactions, by scheduling the cross-archiving-object check program using Check/Delete in Archive Administration (transaction SARA). With the program you can run several check jobs in parallel, which is especially useful for archiving mass data, such as business transactions.

Alternatively you can also schedule the archivability check using the archiving-object-specific check program, which you schedule in Archive Administration using the Preprocessing function. In this case parallel processing is not possible, which makes this option less suitable for the processing of mass data. Therefore, it should only be used for archiving smaller volumes of data or for testing the archivability check.
During
the
archivability
check, all business transactions that meet the archivability criteria,
receive the Archivable status. In
addition to the general archivability criteria, individual business
transaction types may have their own archivability criteria (see Archivability
Check), which are shown in the following process diagrams:
· Leads
· Purchasing License Contracts
You can then archive the archivable transactions in the replication phase.
For
more information on executing the check, see
Archivability
Check.
You schedule the write program using the Write function in Archive Administration. The program selects all business transactions with the status Archivable, and writes them to one or more archive files.

Before the write phase you can use an analysis
program to check how many business objects of a specific business object type
are archivable. See
Status Check for
Business Objects.
For
general information on how to schedule the write program see
Creating Archive
Files.
CRM
business transactions are deleted using the traditional deletion concept (see
Carrying out
Data Archiving).
Once you have written all archivable business transactions to the archive, delete the successfully archived data from the database by scheduling the accompanying archiving-object-specific delete program in Archive Administration. Before the delete program deletes data from the database, it checks whether the data has been successfully written to the archive file (read verification).
You
can schedule the delete program in the Archive Administration via
Delete (see
Deleting Archived Data
from the Database).

If you only want to run the delete program for test purposes (so that the data is not deleted from the database), choose the option Test Mode.
You have deleted all the relevant business transactions that meet the archiving criteria from the database and saved them to external archive files. You can display archived business transactions via the Read on the initial screen of Archive Administration.

When you archive business transactions, the corresponding actions are deleted, but not archived. Actions contain information about subsequent activities that have been carried out or are scheduled, such as revising quotations or cancellation notifications.