You can archive installed bases in CRM Enterprise. The relevant archiving objectis CRM_IBASE.
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
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.
You are in Archive Administration.In the SAP menu, choose:
(transaction: SARA). Enter
CRM_IBASE
as the object name.
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.
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.
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).
You have deleted all the relevant installed bases that meet the archiving criteria from the database and have transferred them to external archive files.