You can archive and delete the following from the database:
Billing documents
Billing due list items
Document flow data
Price data
Partner set data
Texts
Billing documents are archived with the archiving object BEA_CRMB (Billing Engine: Archiving Object CRMB). SAP delivers the archive information structure Billing Engine: (Generated) (SAP_BEA_CRMB) and the field catalog Billing Engine: (Generated) (SAP_BEA_CRMB), for access to the archived data.
You have defined the residence times for billing documents in Customizing for Customer Relationship Management, by choosing
. The residence time defines the number of days that must be exceeded before a billing document can be archived.The preprocessing program selects the billing documents to be archived and marks them as Archivable. You can restrict the number of documents to be archived using different selection criteria such as billing type, billing date, or payer. You can use the indicator Enhanced Checks to run an additional archivability check.
A document is only archived if it fulfills all of the following criteria:
It has already been transferred to accounting or is completed due to cancellation.
It is not yet marked as Archived.
It has exceeded the residence time.
Billing documents that are marked as Archivable can no longer be changed.
The write program selects all billing documents as Archivable (as well as the corresponding billing due list items, document flow data, price data, partner set data, and text) and writes them to the archive file.
The delete program selects archived data of an archiving session and all other immediately dependent data and deletes it from the database. For more information, see Settings for the Delete Program.
If a transaction (item) or a delivery (item) is rejected before a billing document has been created for it, the corresponding billing due list items are not archived. The postprocessing program deletes these billing due list items from the database, together with all directly related data.
Note
After billing documents have been archived, you can archive tax documents. Refer to SAP Note 628275 for more information.
You can find general information on data archiving in the SAP Library under
.