Archiving
Use
This function allows you to move database records that you do not use very frequently, to an archive file. This reduces the size of your active database and thus increases the speed at which it can be accessed by the system during sales processing. You can archive records belonging to the following applications:
-
Sales/billing to channel partners (CMS_SI)
-
Transmission management (CMS_TO)
-
Resale and claim messages (CMS_RTCM)
-
Inventory reports (CMS_IR)
-
Channel inventory reconciliation (CMS_CIR)
-
Price protection claims (CMS_PP)
-
Channel Inventory (CMS_CI)
-
Lean Order (CMS_LO)
Features
You access the archiving transaction and enter the archiving object name, and criteria for selecting the records for archiving. You can do the following:
-
Move the records that match your selection criteria to the archive file. That is, the system deletes the archived records in the database.
-
Copy the records that match your selection criteria to the archive file.
-
Delete the records copied in an archiving run, after verifying that your records have been correctly copied to the relevant archive file.
-
View the information on the archiving runs that you have performed so far.
Activities
Write Data to the Archive File
-
On the SAP Easy Access screen, choose (transaction SARA).
-
Enter the relevant archiving object and choose Write. There is one archiving object for each of the processes whose records can be archived :
Object Name
Description
CMS_SI
Records for sales/billing to channel partners
CMS_TO
Records for transmission management
CMS_RTCM
Records for resale and claim messages
CMS_IR
Records for inventory reports
CMS_CIR
Records for channel inventory reconciliation
CMS_PP
Records for price protection claims
CMS_CI
Records for channel inventory
CMS_LO
Records for lean order
-
Enter your selection criteria and create a variant to store the selection criteria for this archiving run.
-
Choose Execute.
The records that match the selection criteria in your variant are either moved or copied to the archive file:
-
If you set the test mode for the delete program in the variant, the records are copied.
-
If you did not set the test mode for the delete program in the variant, the selected records are moved to the archive.
Delete Copied Records and View Results
-
On the SAP Easy Access screen, choose
-
To delete records already copied to the archive:
-
Enter the archiving object for the relevant process and choose Delete.
-
On the next screen, choose Archive Selection.
-
Select the archiving run whose underlying records you want to delete from the database.
If the records were copied in the archiving run that you selected, the system now deletes them from the database.
-
-
To display the results of archiving runs, enter the relevant archiving object and choose Management.
The system displays the results of the various archiving runs involving the specified archiving object. You can drill down to the level of detailed information you require.

