Activating the Archiving Functionality
Archiving must first be activated. To do so, you need to carry out various steps for SAP Product:
1. Modify the Archive File Name and Path (Mandatory)
Before performing archiving, you must adjust the definition of the archive file so that it is suitable for your system landscape.
To adjust the definition of the archive file PRODUCT_MD, carry out the following steps:
-
In archiving administration (transaction SARA), select the archiving object PRODUCT_MD.
-
Select Customizing.
-
On the screen .
-
Enter the required data.
For more information, see Defining Logical Path and File Names.
2. Adapt the Runtime Settings for the Archiving Object PRODUCT_MD (Mandatory)
Before you carry out archiving, you must check the runtime settings for the archiving object PRODUCT_MD and adapt them to your system requirements if necessary. Check in particular the settings for Logical File Names, since it is specified here where the data will be archived.
To check the technical data of the archiving object PRODUCT_MD, carry out the following steps:
-
In archiving administration (transaction SARA), select the archiving object PRODUCT_MD.
-
Select Customizing.
-
On the screen .
-
Check the system settings for Logical File Names.
-
Check the system settings for Archive File Size.
-
Check the Settings for the Delete Program.
-
Check the system settings for Place File in the Storage System.
-
When you have adjusted the data, choose Save.
3. Create Program Variants for the Program COM_PRODUCT_SELECTIONS (optional)
We recommend that you create a variant (for example, with the name PRODUCT_SEL) for the program COM_PRODUCT_SELECTIONS with which you can restrict archiving to certain products (such as various product types, product IDs or products from a particular logical system). You can select this variant as a variant for checking objects.
To create a program variant, proceed as follows:
-
In archiving administration (transaction SARA), select the archiving object PRODUCT_MD.
-
Select Customizing.
-
On the screen .
-
On the screen Customizing for Cross- Archiving-Object Programs, choose Create Variant.
-
On the screen ABAP: Variants –Initial Screen, enter a variant name and choose Create.
-
On the screen Maintain Variant: Report COM_PRODUCT_SELECTIONS, Variant <Variant Name>, enter the required data.
-
To specify attributes for these variants, choose Attributes.
-
To save the attributes, choose Save.
-
To save the variant , choose Save.
-
To define a variant as an active variant for archiving, select this variant in the Active Variant field on the Customizing for Cross-Archiving-Object Programs screen.
-
Choose Save.
4. Activate Archiving Information Structure SAP_PRODUCT_AIS (Optional)
The archive information structure SAP_PRODUCT_AIS is delivered inactive with a field catalog SAP_PRODUCT_MD. The information structure must be activated before the archive is read for the first time. The information structure (if it is active) can be updated automatically during the archiving deletion run, and is required to display archived products using the Archive Explorer in the SAP Archive Information System. You can also create the Index for Archiving specifically for the PRODUCT_MD archive when archiving is complete.
To activate the archiving information structure, proceed as follows:
-
Choose archiving administration, (transaction SARA).
-
Choose
-
Select Customizing.
-
In the Archive Infostructure field, enter SAP_PRODUCT_AIS.
-
Then choose .

