Archiving of Business Transactions
Use
You can archive business transactions, such as sales orders, activities, and service orders, which have been created in SAP CRM, using the appropriate archiving object (see Available Archiving Objects). The associated data is copied to external archive files and then deleted from the database.
Prerequisites
You have made the required settings on the SAP Easy Access screen, under (see Customizing). This includes the cross-archiving-object check program Customizing, where you determine the necessary program parameters for the corresponding archiving object (see Cross-Archiving-Object Check Program).
You can also set up the residence times in Customizing for Customer Relationship Management, under .
Process
1. Check
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.
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:
-
Outline Agreement (Sales/Service)
-
Sales Contract
-
Activity
-
Service Order
-
Service Contract
-
Service Confirmation
-
Complaint
-
Service Plan
-
Billing Request
-
Lead
-
Opportunity
-
Purchasing License Contract
-
Sales License Contract
-
License Usage Confirmation
-
Product Service Letter
-
Leasing Transaction
-
UBB Document
-
Grantor Application
-
Grantor Agreement
-
Budget Posting
-
Funds
-
Funds Plan
-
Incident
-
Problem
-
Knowledge Article
-
Agreement in Demand Side Management
-
Application in Demand Side Management
-
Archivability Checks for Rebate Agreements
You can then archive the archivable transactions in the replication phase.
For more information on executing the check, see Archivability Check.
2. Replicate
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.
For general information on how to schedule the write program see Creating Archive Files.
3. Delete
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).
Result
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.

