Show TOC

  Archiving Installed Bases

Purpose

You can archive installed bases in CRM Enterprise. The relevant archiving objectis CRM_IBASE.

Prerequisites

An installed base can be archived if the deletion flag has been set.You can set the deletion flag manually on the screen for maintaining installed bases by choosing Start of the navigation path Installed Base Next navigation step Functions Next navigation step Deletion Flag Next navigation step Set End of the navigation path .This sets the DELF (flagged for deletion) status.

All installed bases that have the DELF status are checked for archivability using the Business Add-In: BAdI: Define Usage Check for Archiving (BADI_IBASE_ARCHIVE). The active implementation for the Business Add-In in the standard system checks whether the installed base is used in existing contracts or business transactions. If this is the case, archiving is not performed. It is only possible to archive the installed base once the related business transactions and contracts have been archived.

You can enhance the Business-Add In to include your own implementations, which you can use to formulate the conditions under which an installed base cannot be archived.

Process Flow

You are in Archive Administration.In the SAP menu, choose: Start of the navigation path Architecture and Technology Next navigation step System Administration Next navigation step Administration Next navigation step Data Archiving End of the navigation path (transaction: SARA).

Enter CRM_IBASE as the object name.

1.Check

You must perform an archivability test for your installed bases. Use the RIBARCHV check program to do this. Schedule the check program using the Preproc function (preprocessing) in archive administration (transaction SARA).

In the archivability check, all installed bases that fulfill the archivability criteria are flagged with the status Can Be Archived (ARCR) . The checks for the Business Add-In mentioned above are also performed during the archivability check. You can then archive the relevant installed bases in the replication phase.

2.Replicate

Schedule the write program RIBARCHA using the Write function in the archive administration(transaction SARA). This function selects all installed bases that have the Can Be Archived status and writes them to one or more archive files.

3.Delete

After you have written all archivable installed bases to the archive, delete the archived data from the database. You can schedule the delete program RIBARCHD in the archive administration to do this. Before it deletes data from the database, the program checks whether the data has been successfully written to the archive file (read verification).

Result

You have deleted all the relevant installed bases that meet the archiving criteria from the database and have transferred them to external archive files.