
Archiving Rebate Arrangements
Archiving is used to remove volumes of data from the database that are no longer required in the system, but still need to be kept for analysis purposes.
You can archive rebate arrangements and all the documents associated with them that are no longer required in the system. In Customizing for Subsequent Settlement under Maintain Residence Times for Archiving, you can specify residence times for the archiving of the individual documents.
The archiving objects for the following objects and documents are relevant for the archiving of rebate arrangements:
Using the archiving object SD_AGREEM you can archive rebate arrangements and the conditions belonging to them. This applies to rebate arrangements with customers (SD) and rebate arrangements with vendors (MM/Retail). For more information, see
Archiving of Agreements (SD-MD-AM).
Using the archiving object W_PROMO, you can remove obsolete promotion data from your system (see below). For more information, see
Archiving Promotions (LO-MD-PR).
Conditions can be read for Subsequent Settlement from the following documents and then updated in the statistics as business volume:
Business volume update can take place at different times within Subsequent Settlement, that is, when the order is placed, at goods receipt or at the time of invoice verification. It is, however, always the conditions determined in the price determination of the purchase order/scheduling agreement that determine when business volume update takes place.
Using the archiving object MM_EKKO, you can archive purchasing documents (purchase orders and scheduling agreements). For more information, see
Archiving Purchasing Documents (MM-PUR).
Single settlement requests are used to create incoming invoices in agency business.
You can use archiving object WZR to archive single settlement requests from agency business. For more information, see
Archiving Single Settlement Requests (LO-AB).
The settlement request list is a document list that contains several incoming invoices for the same creditor (invoicing party, vendor).
You can use archiving object WREG to archive settlement request lists from agency business. For more information, see
Archiving Settlement Request Lists (LO-AB).
Vendor billing documents are used in agency business to settle ad-hoc remunerations and charges made to the bill-to party (for example, vendor).
You can use archiving object WLF to archive vendor billing documents or remuneration settlements from agency business. For more information, see
Archiving Vendor Billing Documents (LO-AB).

Goods receipt and invoice verification do not take place for the agency documents, single settlement requests and vendor billing documents. The business volume data is therefore always updated as soon as the documents are created.
Like posting lists, customer settlements are used to collect customer receivables. The starting point for these are settlement requests, which are contained in settlement request lists. As long as a posting list contains only references to original items, the items are copied into the customer settlement. This allows for independent pricing to be carried out.
You can use archiving object WCI to archive customer settlements from agency business. For more information, see
Archiving Customer Settlements (LO-AB).
Customer billing documents are created with debit-side settlement of rebate arrangements.
You can archive customer billing documents using archiving object SD_VBRK. For more information, see
Archiving Billing Documents (SD-BIL).
As well as being used in agency business (see above), vendor billing documents are created during subsequent settlement in the credit-side settlement of rebate arrangements.
You can archive vendor billing documents using the archiving object WLF. For more information, see
Archiving Vendor Billing Documents (LO-AB).
Up to Release 4.0, these documents were created in Subsequent Settlement during the credit-side settlement of rebate arrangements. In subsequent releases they have been replaced by the vendor billing document. These are FI documents that were created using transaction MR01.
You can archive these credit memo documents using the archiving object FI_DOCUMNT. For more information, see
Archiving FI Documents (FI-GL, FI-AR, FI-AP)
Recommended Sequence
Since documents from other components of the SAP System are relevant for Subsequent Settlement, you should keep to the following sequence when archiving your system data:
A rebate arrangement that refers to a promotion can only be archived if the promotion has been archived.
The documents assigned to a rebate arrangement (for example, purchase orders, billing documents) should only be archived if the rebate arrangement concerned has been archived first. You can archive these documents from the point of view of Subsequent Settlement in any order.
If you do not keep to this order, then when, for example, you recompile the statistical data, the conditions for a rebate arrangement can no longer be read from documents relevant to business volume that have already been archived.