Archiving The archive-object-specific usage check checks all products with the status
To Be Archived
. If the checks confirm that a product can be archived, the system sets the product status is to
Archivable.
To avoid data inconsistencies when archiving a product, the system simultaneously sets the status
Locked
and
Deleted
.
Start the archive-object-specific usage check using the archiving administration, (transaction SARA).
Enter the archiving object PRODUCT_MD.
Choose
Preprocessing
.
Note
We recommend that you do
not
execute the cross-object usage check using
Check/Delete
for SAP Product, as this usage check includes all objects for which the status
To Be Archived
was set. Using this may result in objects unintentionally being archived and being deleted in the database. Since, as a general rule, archived objects cannot be retrieved, using the incorrect procedure could cause a loss of data.
The write program writes the data of all objects that have the status
Archivable
to the archive files defined for the appropriate archiving object.
In the archive administration of the ADK (transaction SARA), the system sets the status of the archiving run to
Incomplete
.
Start the data-write to the archive using the archiving administration, (transaction SARA).
Enter the archiving object PRODUCT_MD.
Choose
Write
.
Enter the start date and the spool parameters.
You must enter an output device in the spool parameters. Normally there is the output device LP01 in the system (virtual printer).
Choose
Execute
.
The delete program opens the archive files that the write program previously created and then reads them there. To avoid the archive files being read several times, the system flags these as read. For objects that were successfully read in the archive, the system sets the product status
Archived, Locked
and
Deleted
.
In the archive administration of the ADK (transaction SARA), the system sets the status of the archiving run to
Complete
.
Start the deletion of data from the database using the archiving administration, (transaction SARA).
Enter the archiving object PRODUCT_MD.
Choose
Delete
.
Enter the archive selection, start date and the spool parameters.
You must enter an output device in the spool parameters. Normally there is the output device LP01 in the system (virtual printer).
Choose
Execute
.
The archiving-object-specific postprocessing selects all SAP products for which the status
Archived, Locked
and
Deleted
is set, and deletes these objects from the database. The objects are no longer displayed in product maintenance:
Start the postprocessing of the data using the archiving administration, (transaction SARA).
Enter the archiving object PRODUCT_MD.
Choose
Postprocessing
.
Enter the archive selection, start date and the spool parameters.
You must enter an output device in the spool parameters. Normally there is the output device LP01 in the system (virtual printer).
Choose
Execute
.
There is a technical view in product maintenance for archived products that allows you to read all the archived data and drill-down reporting of SAP Products through the archive explorer of the archive information system.
For the archiving object PRODUCT_MD, the field catalog SAP_PRODUCT_MD and corresponding archive information structure SAP_PRODUCT_AIS are delivered in the archive information system. You have to activate the archive information structure just once so that the archive for the SAP Product can be read. You can activate the archive information structure either at the start of archiving or at a later date.
After activating archive information structure SAP_PRODUCT_AIS and creating the index, you can display the archived products in product maintenance via .