Ansicht
Dokumentation

EDI: Archiving Intermediate Documents ( RELNWF_EDI_ARCHIV_30A )

EDI: Archiving Intermediate Documents ( RELNWF_EDI_ARCHIV_30A )

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

EDI: Archiving Intermediate Documents

Description

Release 3.0A allows you to store Intermediate Documents in an archive. The archiving class IDOC was introduced using the Archive Development Kit (ADK) and various archiving programs implemented.

The archiving class provides the following functions:

  • Methods for archiving Intermediate Documents
  • Integrating Intermediate Documents as sub-objects in more comprehensive archiving objects

The archiving class is realized by function modules and FORM routines of the function group EDIA. This includes all function modules and FORM routines whose names begin with "IDOC".

Note
The IDOC archiving class should be used when you want to define your own archiving objects which contain Intermediate Documents as sub-objects. Archiving is then carried out by the methods provided in the archiving class.

The archiving programs contain the following:

  • RSEXARCA
    archives Intermediate Documents
  • RSEXARCD
    deletes archived Intermediate Documents from the SAP database
  • RSEXARCR
    reads Intermediate Documents in the archive
  • RSEXARCL
    reloads archived Intermediate Documents from the archive to the SAP database

Each of these programs calls an appropriate function module internally. They are also assigned to the function group EDIA, their names begin with "EDI".

The archiving programs are managed via the central archiving transaction SARA. The following functions can be carried out via the user interface:

  • scheduling archiving and delete runs
  • managing and monitoring archive data

Changes in procedure

Using the central archiving transaction SARA, you can archive Intermediate Documents, delete them from the SAP database, or reload them to the SAP database.

When you delete Intermediate Documents from the SAP database, there are the following options which are set in transaction SARA customizing:

  • Archiving with subsequent automatic deletion of the Intermediate Documents. This is generally the default setting.
  • Deletion at a later point.

When Intermediate Documents are reloaded, all Intermediate Documents in an archive are reloaded to the SAP database and assigned the status "reloaded". Using the read function, you can obtain an overview of all Intermediate Documents in an archive. It also serves as a suitable starting point for statistical evaluations of archived Intermediate Documents. If you want to read the Intermediate Documents in an archive, you can start the read program RSEXARCR via the ABAP/4 Development Workbench.

You can use the central archiving transaction as follows:

  1. Call transaction SARA.
  2. Enter idoc as the Object name if you want to use the archiving functionality for Intermediate Documents.
  3. Select the required action:
  • If you want to archive Intermediate Documents, the following selection criteria are available:
    Date of last status update of the Intermediate Document
    Message type
    Message code
    Message function
    Direction
    Intermediate Document number

  • If you want to delete Intermediate Documents or reload them from the archive to the SAP database, you need to select the archive to which the operation is to apply.

Further notes

For further information, please refer to the document "WF - EDI: Archiving Intermediate Documents" and the section "Archiving" in the document "BC - Extended Function Library".






PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4246 Date: 20240523 Time: 080845     sap01-206 ( 59 ms )