Archiving the SAP Product
Purpose
Using archiving you can store product master data that is no longer required and subsequently delete if physically from the database. The SAP Product Archiving Environment is completely controlled by status and is connected to the SAP Archive Information System.
The archiving object for SAP Product is called PRODUCT_MD.
Prerequisites
You have performed the activity Activating Archiving.
Process
The archiving and deletion of SAP Product Data must be started separately:
Preparation phase: Flag Documents for Archiving
A product can be selected for archiving directly from product maintenance (transaction COMMPR01) by setting the status To Be Archived.
Archiving Phase – Preprocessing: Execute usage check for products to be archived, and lock these products for archiving.
Only those products that are no longer used by any application and have no reference to other objects can be archived and subsequently deleted from the database. The status of these products is changed by the usage check to Archivable. The usage check is dependent on the selected archiving object. The products are deleted after preprocessing.
Archiving Phase Write: Write Data to Archive
The product data with the status Archivable is written to an archive file. There is no status change in the product.
Archiving Phase Delete Check Archived Data
The system now compares the data in the local archive with data in the local database and sets the product status Archived for objects that are found in both the archive and the database.
Archiving Phase - Postprocessing:
The system deletes the products that have the status Archived including the associated dependent data from the database.
Display Archived Objects in Product Maintenance
To view archived products in product maintenance, choose or the transaction COMM_PRDARC.
More Information
For more information on archiving, see the Introduction to Data Archiving (CA_CARC).

