!--a11y-->
Activating the Archiving
Functionality 
Archiving must first be activated. To do so, you need to carry out the following steps to be able to archive business partner data:
Before you carry out archiving you must adapt the definition of the archive file to your system landscape.
To adjust the definition of the archive file CA_BUPA, carry out the following steps:
...
1. In the archiving administration (transaction SARA), select the archiving object CA_BUPA.
2. Choose Customizing.
3. In the screen Data Archiving Customizing, choose Basis Customizing ® Cross-Client File Names/Paths.
4. Enter data as required.
For more
information, see
Defining Logical Path
and File Names.

The archive
files for the archiving object CA_BUPA are created with the logical file name
ARCHIVE_DATA_FILE in the logical path ARCHIVE_GLOBAL_PATH.
Before you carry out archiving, you must check the runtime settings for the archiving object CA_BUPA and adapt them to your system requirements. 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 CA_BUPA, carry out the following steps:
...
1. Start transaction AOBJ and select the archiving object CA_BUPA.
2. Choose Customizing Settings.
3. Check the system settings for Logical File Names.
4. Check the system setting for Archive File Size.
5. Check the settings for Settings for Delete Program.
6. Check the system settings for Place File in Storage System.
7. Include your own tables in the structure definition, if required.
8.
When you have
adjusted the data, choose Save.
You need to create a variant for the program CRM_BUPA_DA_SELECTIONS to be able to start the check program in the background. You can adapt the variant as appropriate so that you can restrict archiving to certain business partners.
To create a program variant, carry out the following steps:
...
1. In the archiving administration (transaction SARA), select the archiving object CA_BUPA.
2. Choose Customizing.
3. In the screen Data Archiving Customizing, choose Archiving Object-Specific Customizing ® Check and Delete.
4. In the screen Customizing for Cross- Archiving-Object Programs, choose Create Variant.
5. In the screen ABAP: Variants –Initial Screen, enter a variant name and choose Create.
6. In the screen Maintain Variant: Report CRM_BUPA_DA_SELECTIONS, Variant <Variant Name>, enter data as required.
7. To specify attributes for these variants, choose Attributes.
8. To save the attributes, choose Save.
9. To set a variant as active for archiving, in the screen Customizing for Cross- Archiving-Object Check/Delete, choose this variant in the field Active Variant.
10.
Choose Save.
The archive information structure CA_BUPA_ALL is delivered inactive. The information structure must be activated before the first archive read.
The information structure can (if active) be automatically updated during the archiving deletion run and is required for displaying archived business partners through the archive explorer of the SAP Archive Information System.
To activate the archiving information structure, carry out the following steps:
...
1. Choose archiving administration (transaction SARA).
2. Choose Goto ® Information System.
3. Choose Customizing.
4. In the field Archive Infostructure, enter CA_BUPA_ALL.
5. Then choose Archive Infostructure ® Activate.