RVBARCHI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RVBARCHI 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.
Program for Index Compilation from Archive Files
Selection Text: TESTARCH = Test run
Title: Compilation of Archive Indexes for Batch Where-Used Records
Text Symbol: S06 = User
Text Symbol: S05 = Database System
Text Symbol: S04 = SAP Release
Text Symbol: S03 = Client
Text Symbol: S02 = SAP System
Text Symbol: S01 = Host Name
Text Symbol: S00 = Report
Text Symbol: P02 = TEST RUN / No index compilation
Text Symbol: P01 = Compilation of archive indices/bch wh.-used recds
Text Symbol: I10 = Archive status could not be changed
Text Symbol: I08 = Compilation of archive index can be completed
Text Symbol: I07 = Index compilation test run completed w. problems
Text Symbol: I06 = Status in archive management was not changed
Text Symbol: I05 = Check the consistency of the archive index
Text Symbol: I04 = Index was compiled, but with problems
Text Symbol: I03 = Archive status set to 'index created'
Text Symbol: I02 = Archive index completely compiled
Text Symbol: F03 = Check compiled index data ...
Text Symbol: F02 = Save compiled index data ...
Text Symbol: F01 = Read archive and prepare index ...
Text Symbol: 011 = Upd. Run
Text Symbol: 010 = Test Run
Text Symbol: 004 = Number of Objects:
Text Symbol: 003 = Archive File:
Text Symbol: 002 = Archiving Session:
Text Symbol: 001 = Run Option
Text Symbol: 000 = Selected Archive Files:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = KZDCH.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = OBJECT IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMCNT * MAINTAIN_INDEX = INDEX EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING OBJECT = OBJECT IMPORTING ARCHIVE_HANDLE = HANDLE TABLES ARCHIVE_FILES = ARCH_FILES SELECTED_FILES = SELECT_FILES EXCEPTIONS FILE_ALREADY_OPEN = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 NO_FILES_AVAILABLE = 4 OBJECT_NOT_FOUND = 5 OPEN_ERROR = 6 NOT_AUTHORIZED = 7.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = PERCENT TEXT = TEXT-F01.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING OBJECT_ID = OBJECT_ID OBJECT_OFFSET = OFFSET ARCHIVE_NAME = ARKEY EXCEPTIONS END_OF_FILE = 01.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING RECORD_STRUCTURE = record_type record_ref = buffer_ref "Unicode EXCEPTIONS END_OF_OBJECT = 01.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-F02.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-F03.
ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING FILES_ARE_CONVERTED = ' ' INDEX_CREATED = 'X' TABLES ARCHIVE_FILES = ARCHIVE_FILES EXCEPTIONS CANNOT_CHANGE_STATUS = 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.
RVBARCHI - Compilation of Archive Indexes for Batch Where-Used Records RVBARCHI - Compilation of Archive Indexes for Batch Where-Used Records RVBARCHG - Example program for reading a data object from an archive file RVBARCHG - Example program for reading a data object from an archive file RVBARCHD - Deletion of Archived Batch Where-Used Records in the Database RVBARCHD - Deletion of Archived Batch Where-Used Records in the Database