Entering content frame

Process documentation Archiving of Business Transactions Locate the document in its SAP Library structure

Purpose

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.

Prerequisites

You have made the required settings in Customizing for Archiving under Architecture and Technology ® System Administration ® Administration ® Data Archiving. See Structure linkCustomizing. This includes the Structure linkcross-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.

Process Flow

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.

Note

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 Structure linkarchivability 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:

·        Sales Contract

·        Activities

·        Service Orders

·        Service Contracts

·        Service Confirmation

·        Complaint

·        Leads

·        Opportunities

·        Purchasing License Contracts

·        Sales License Contracts

·        License Usage Confirmations

·        Product Service Letter

·        Leasing Transactions

·        UBB Documents

·        Grantor Applications

·        Grantor Agreement

You can then archive the archivable transactions in the replication phase.

For more information on executing the check, see Structure linkArchivability 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.

Note

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 Structure linkStatus Check for Business Objects.

For general information on how to schedule the write program see Structure linkCreating Archive Files.

3.      Delete

CRM business transactions are deleted using the traditional deletion concept (see Structure linkCarrying 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 Structure linkDeleting Archived Data from the Database).

Note

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.

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.

Note

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.

 

 

 

Leaving content frame