Archiving Marketing Data
Purpose
You can archive marketing data created in Marketing using the archiving object CRM_MKTPL. This data is copied to external archive files and later deleted from the database. All projects are archived as a complete hierarchy. This is set using the system status. You cannot archive individual elements of a project hierarchy.
Prerequisites
The data must have the appropriate archiving status Can be archived . This status is set during the archivability check that you carry out during the check phase and can only be set if the marketing object has the status Rejected or Finished .
The archivability check determines whether the marketing data fulfils the archivability criteria. Marketing data may not be archived if
-
unsettled rebate agreements still exist. They must be settled before you can archive a marketing element
-
the residence time has not been reached.
You have made the required settings in Customizing for data archiving under .
You can set the residence times in Customizing under
Process Flow
-
1. Check
You need to carry out an archivability test for your marketing data. This is done using the check program CRM_MKTPL_CHECK_AC. You schedule this check program in Archive Administration (transaction SARA) via the function Preproc .
During the archivability check the status of all activities that fulfil the archivability criteria is set to Can be archived . You can then archive these activities in the replication phase. For more information, see the relevant section in Carrying Out Data Archiving .
-
2. Replicate
You plan the write program using the write function in Archive Administration (transaction SARA). This function selects all activities that have the status Can be archived and writes them to one or more archive files. For more information, see the relevant section in Carrying Out Data Archiving .
-
3. Delete
Once you have written all archivable activities to the archive, delete the successfully archived data from the database by scheduling the accompanying delete program in Archive Administration. Before it deletes the data from the database, the delete program checks whether the data was written successfully to the archive file (read verification). For more information, see the relevant section in Carrying Out Data Archiving .
Result
You have relocated all projects that meet the archivability criteria from the database to external archive files.

