SAP Program RSARCH07 - Example Program for Function Module ARCHIVE_OPEN_FOR_MOVE

Description
This is an example program for showing how the function modules areused to partly reload archives.
The following function modules are used:

  • ARCHIVE_OPEN_FOR_MOVE

  • ARCHIVE_GET_NEXT_OBJECT

  • ARCHIVE_SAVE_OBJECT

  • ARCHIVE_CLOSE_FILE

  • If this program really was to reload data records to the database, thefunction module ARCHIVE_GET_NEXT_RECORD would also be used.

    Precondition
    You should create archive files with the example programRSARCH04, and delete them with the delete report RSARCH06so that you also have data to reload.

    Output
    No data is changed in the database in this example program.
    This program copies all data from existing archive files to new archivefiles.