RSVCAR07 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program restores archived versions of Repository objects from the archive to the version database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSVCAR07 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: ARCHIVE = Archive key
Selection Text: CONTROL = Control Data
Selection Text: TESTRUN = Test run
Title: Version Management - Archiving: Restore
Text Symbol: 001 = Delete:
Text Symbol: 002 = Read:
Text Symbol: 003 = No versions were restored from the archive.
Text Symbol: 004 = Following versions were restored from the archive:
Text Symbol: 005 = Following versions could not be restored:
Text Symbol: 006 = Following versions are contained in the read archive files:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = gc_arc_obj test_mode = p_tstrun IMPORTING archive_read_handle = gv_read_handle archive_write_handle = gv_write_handle EXCEPTIONS OTHERS = 1.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = gc_arc_obj IMPORTING commit_count_for_delete_prg = gv_commit_max.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gv_read_handle IMPORTING object_id = gv_objid_raw object_offset = gv_offset archive_name = gv_arch_name EXCEPTIONS end_of_file = 1 OTHERS = 2.
SVRS_CONVERT_ARCH_OBJID CALL FUNCTION 'SVRS_CONVERT_ARCH_OBJID' EXPORTING objid_raw = gv_objid_raw IMPORTING objid = gv_objid.
SVRS_APPEND_OBJECT_FROM_ARCH CALL FUNCTION 'SVRS_APPEND_OBJECT_FROM_ARCH' EXPORTING handle = gv_read_handle CHANGING data = gs_data.
SVRS_ARCHIVE_ADMIN_DELETE_INDX CALL FUNCTION 'SVRS_ARCHIVE_ADMIN_DELETE_INDX' EXPORTING object_id = gv_objid archivekey = gv_arch_name object_offset = gv_offset.
SVRS_RELOAD_ARCHIVE_OBJECT CALL FUNCTION 'SVRS_RELOAD_ARCHIVE_OBJECT' EXPORTING object = gs_data EXCEPTIONS non_matching_vrsd = 1 OTHERS = 2.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gv_write_handle EXCEPTIONS OTHERS = 1.
SVRS_DISPLAY_ARCH_VERSION_LIST CALL FUNCTION 'SVRS_DISPLAY_ARCH_VERSION_LIST' EXPORTING title_line = 'Folgende Versionen sind in den gelesenen Archivdateien enthalen:'(006) TABLES arch_objects = gt_reloaded_objects.
SVRS_DISPLAY_ARCH_VERSION_LIST CALL FUNCTION 'SVRS_DISPLAY_ARCH_VERSION_LIST' EXPORTING title_line = 'Folgende Versionen wurden aus dem Archiv zurückgeladen:'(004) TABLES arch_objects = gt_reloaded_objects.
SVRS_DISPLAY_ARCH_VERSION_LIST CALL FUNCTION 'SVRS_DISPLAY_ARCH_VERSION_LIST' EXPORTING title_line = 'Folgende Versionen konnten nicht zurückgeladen werden:'(005) TABLES arch_objects = gt_non_reloadable_objects.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_read_handle EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSVCAR07 - Version Management - Archiving: Restore RSVCAR07 - Version Management - Archiving: Restore RSVCAR06 - Version Management - Archiving: Delete RSVCAR06 - Version Management - Archiving: Delete RSVCAR05 - Version Management - Archiving: Read Archive Files RSVCAR05 - Version Management - Archiving: Read Archive Files