SAP Program RSARCH04 - Example Program for Archiving Data

Description
This is an example program for showing how function modules are usedfor writing archives.
Via the "Archiving customizing view", you canspecify whether the example program for deleting archived data in thedatabase is to be called automatically. This parameter can be changedby the user. This delete program, however, with the nameRSARCH06 will not delete the data in the database since it isonly an example.
The following function modules are used:

  • ARCHIVE_OPEN_FOR_WRITE

  • ARCHIVE_NEW_OBJECT

  • ARCHIVE_PUT_RECORD

  • ARCHIVE_SAVE_OBJECT

  • ARCHIVE_WRITE_STATISTICS

  • ARCHIVE_CLOSE_FILE
  • Precondition
    The platform-independent file names are used as example data. If younot have any data in the tables for the platform-independent filenames, you need to create file names beforehand.

    Output
    Several archive files may be created. You can also find the result ofan archive run in the archive management.

    See also
    Definition of archiving program
    Definition of delete program