You can use the archiving object CRM_MPOINT
to archive readings for measuring points or counters that have been created in SAP CRM. The associated data is copied to external archive files and then deleted from the database.
You have made the required settings on the SAP Easy Access
screen, under . This includes configuring the cross-archiving-object check program for the corresponding archiving object.
For more information, see Customizing and Cross-Archiving-Object Check Program.
In Archive Administration (transaction SARA
), you choose Preproc
(Preprocessing) and schedule the archiving-object-specific check program to check the archivability of readings. During the archivability check, readings that meet the archivability criteria are flagged for deletion. To fulfill the archivability criteria, the readings must be within the validity period defined in the selection criteria of the check program. Additionally, the check determines whether the reading is the latest reading of the corresponding counter.
Note
Readings for usage-based billing can only be flagged for archiving if the corresponding service contract has the status Can Be Archived
.
For more information, see Archivability Check.
You can then archive the archivable readings in the replication phase.
In Archive Administration (transaction SARA
), you schedule the write program to write data to archive files. The write program selects all records in table CRMD_MPK_READING
according to the selection criteria and which have been flagged for deletion by the check program. It writes these records to one or more archive files.
Note
In the case of readings for usage-based billing or relating to service level agreements, records in tables CRMD_UBB_RDINFO
and CRMD_SLA_RDINFO
respectively are also written to the archive file.
For information about the write program, see Creating Archive Files.
Once you have written all records to the archive, you schedule the archiving-object-specific delete program to delete the archived data from the database. Before the program deletes data, it checks whether the data has been written to the archive file (read verification).
If you want to run the delete program for test purposes, without deleting data from the database, select the Test Mode
checkbox.
For information about the delete program, see Deleting Archived Data from the Database.
Note
If the readings originate in usage-based billing or service level agreements, the corresponding records in the application tables CRMD_UBB_RDINFO
and CRMD_SLA_RDINFO
respectively are also deleted
You have deleted all reading records that meet the archiving criteria from the database, and saved them to external archive files. You can display archived records by choosing Read
in Archive Administration.