Programme SAP BEFG_TMPL_BD_ARCH_WRITE - Archiving of Billing Engine Billing Documents: Write Program

Purpose
Write program for archiving document data from a Billing EngineApplication.

Prerequisites
If you want to carry out a write run in productive mode with automaticstart of the delete program, you must maintain some settings for thearchiving object beforehand. In transaction ArchiveAdministration, choose object BEA_aaaa (aaaa stands forthe Billing Engine Application, for example, CRMB stands for CRMBilling). Go to the initial screen via Goto -> Customizing ->Archiving Object-Specific Customizing -> Technical Settings inCustomizing settings maintenance.

  • In the node Settings for Delete Program, maintain a productive
  • mode variant. If no suitable variant is already defined, you can createa new variant using the Variant button.
    • In the subnode Deletion Jobs, maintain the option Automatic
    • Start, or if you want the start of the delete program to be triggeredby an event, choose the option After Event. Warning: Ifthe option No Scheduling is selected, the delete program cannotbe started automatically.

      Features

      Selection
      Billing documents flagged as archivable (Flag: Billing Document is Archivable) are read in the billing header.Then, the corresponding billing items, billing due list items, documentflow data, price data, partner set data and texts are selected andwritten to the archive file.
      It is possible to run the write program in test mode or productive modewith automatic start of the delete program, or in productive modewithout automatic start of the delete program. In a test run, no data isarchived and the delete program is not started.
      In the Comment on Archiving Run field, you can enter a text whichis then assigned to the archiving run.

      Activities
      All billing documents flagged as archivable are selected andwritten to the archive file along with all dependent data.
      Scheduling the write program takes place via ArchiveAdministration. Choose object BEA_aaaa (aaaa stands forthe Billing Engine Application, for example, CRMB stands for CRMBilling).
      Further functions for archiving document data in Billing EngineApplications:

      • Preprocessing Program: Select
      • Billing Documents for Archiving
        • Delete Program: Delete Archived Data

        • Postprocessing Program: Delete
        • Rejected Billing Due List Items which have not been Billed