SAP Reports / Programs

RSVCAR06 SAP ABAP Report - Version Management - Archiving: Delete







RSVCAR06 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program deletes archived versions of Repository objects from 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 RSVCAR06 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSVCAR06. "Basic submit
SUBMIT RSVCAR06 AND RETURN. "Return to original report after report execution complete
SUBMIT RSVCAR06 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_A_NAME = Archive file
Selection Text: P_TSTRUN = Test run
Title: Version Management - Archiving: Delete
Text Symbol: 001 = Versions contained in the edited archive files:


INCLUDES used within this REPORT RSVCAR06

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING OBJECT = GC_ARC_CLASS TEST_MODE = P_TSTRUN IMPORTING ARCHIVE_HANDLE = GV_HANDLE TABLES SELECTED_FILES = GT_SEL_FILES.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = GC_ARC_CLASS IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = GV_COMMIT_COUNT MAINTAIN_INDEX = GV_MAINTAIN_INDEX.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = GV_HANDLE IMPORTING OBJECT_ID = GV_OBJID_RAW OBJECT_OFFSET = GV_OFFSET ARCHIVE_NAME = GV_ARCH_NAME EXCEPTIONS END_OF_FILE = 1.

SVRS_CONVERT_ARCH_OBJID CALL FUNCTION 'SVRS_CONVERT_ARCH_OBJID' EXPORTING OBJID_RAW = GV_OBJID_RAW IMPORTING OBJID = GV_OBJID.

SVRS_ARCHIVE_ADMIN_SAVE_INDEX CALL FUNCTION 'SVRS_ARCHIVE_ADMIN_SAVE_INDEX' EXPORTING OBJECT_ID = GV_OBJID ARCHIVEKEY = GV_ARCH_NAME OBJECT_OFFSET = GV_OFFSET.

SVRS_APPEND_OBJECT_FROM_ARCH CALL FUNCTION 'SVRS_APPEND_OBJECT_FROM_ARCH' EXPORTING HANDLE = GV_HANDLE CHANGING DATA = GS_DATA EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.

SVRS_DISPLAY_VERSION_LIST CALL FUNCTION 'SVRS_DISPLAY_VERSION_LIST' EXPORTING TITLE_LINE = 'In den bearbeiteten Archivdateien enthaltene Versionen:'(001) TABLES VRS_TAB = GT_VERSIONS_IN_ARCHIVE.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = GV_HANDLE.

ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING FILES_ARE_CONVERTED = ' ' INDEX_CREATED = GV_MAINTAIN_INDEX TABLES ARCHIVE_FILES = GT_ARCHIVE_FILES.

SVRS_GET_ALL_VERSDBS_RELIDS CALL FUNCTION 'SVRS_GET_ALL_VERSDBS_RELIDS' TABLES VERSDBS = LT_VERSDBS.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSVCAR06 or its description.