SAP Program RM06BW47 - Archiving Purchase Requisitions: Write Program

Purpose
Report RM06BW47 writes all purchase requisitions from an intervaldefined by the user that satisfy the archiving conditions to a storagesystem.

Integration
As soon as you have archived the requisitions, you can remove them fromthe database using the delete report RM06BD47.
More information on this delete report is available underArchiving Purchase Requisitions: Delete Program.

Prerequisites
You define the residence time in days per purchasing document type anditem category.
Enter the value MM_EBAN in the Archiving Object field inarchive administration (transaction code SARA).
Choose Customizing and then Application-Specific Customizing
.
On the Document Archiving screen, define the residence time perpurchasing document type and item category.

Features

Scope of archiving
The report archives purchase requisitions that have exceeded the definedresidence times. You will find an overview of the database tablesrelevant to archiving in the application Tables and ArchivingObjects (transaction code DB15). You can extend the archivingscope using the Business Add-In (BAdI) ARC_MM_EBAN_WRITE, which isintegrated in the report, without modifications.

Archivability check
You can enhance the archivability check using the BAdIARC_MM_EBAN_CHECK, which is integrated in the report, withoutmodifications. More information on the implementation of BAdIs inarchiving programs is available in SAP Note 673030.

Selection
You can select the interval of purchase requisitions to be archivedaccording to the following criteria:

  • Purchase requisition

  • Document type

  • Purchasing group

  • Plant

  • Requisition/request date

  • For flow control, the usual options are available.

    Output
    The usual output options are available.

1325863'UNCAUGHT_EXCEPTION', while executing archiving in test mode