RVBARCHB 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 RVBARCHB 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.
Reload program for batch where-used archive
Selection Text: TESTARCH = Test run / Do not reload
Title: Reloading of Archived Batch Where-Used Records into the Database
Text Symbol: T08 = Data record is already in the database
Text Symbol: T06 = Data records are already in the database
Text Symbol: T05 = Data record can be reloaded
Text Symbol: T04 = Data records can be reloaded
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: P09 = and was not reloaded
Text Symbol: P08 = Data record was already in database
Text Symbol: P07 = and were not reloaded
Text Symbol: P06 = Data records were already in the database
Text Symbol: P05 = Data record reloaded
Text Symbol: P04 = Data records reloaded
Text Symbol: P01 = Archive reload program
Text Symbol: P00 = TEST RUN / Nothing reloaded
Text Symbol: IT6 = Data recds from index 3 can be deleted (plant/mat.no./batch)
Text Symbol: IT5 = Data recds from index 2 can be deleted (purch.doc.no)
Text Symbol: IT4 = Data records from index 1 can be deleted (order no.)
Text Symbol: IT2 = Data Records Can Be Reloaded to Table CHVW
Text Symbol: IP6 = Data recds fr. index 3 deleted (plnt/mat. no./bch)
Text Symbol: IP5 = Data recds fr. ind. 2 deleted (P.docNo)
Text Symbol: IP4 = Data recds fr. index 1 deleted (ordNo.)
Text Symbol: IP2 = Data Records Reloaded to Table CHVW
Text Symbol: I07 = Status in archive management was not changed
Text Symbol: I05 = Check the archive index
Text Symbol: I04 = Index Decompil. Prog. Not Maintained in Customizing
Text Symbol: I03 = Archive status could not be changed
Text Symbol: I02 = Archive status set to 'index deleted'
Text Symbol: 019 = No. of Objects :
Text Symbol: 018 = Archive File :
Text Symbol: 017 = Archiving Session:
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 = OBJECT TEST_MODE = TESTARCH IMPORTING ARCHIVE_READ_HANDLE = READ_HANDLE EXCEPTIONS NO_FILES_AVAILABLE = 01 OBJECT_NOT_FOUND = 02 NOT_AUTHORIZED = 03.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = READ_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 = READ_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 = READ_HANDLE.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = READ_HANDLE IMPORTING ARCHIVE_DOCUMENT = DOCUMENT ARCHIVE_NAME = ARCHIV OBJECT = AOBJ EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = read_handle TABLES table = stat_itab.
ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING files_are_converted = ' ' index_deleted = 'X' TABLES archive_files = archive_files EXCEPTIONS cannot_change_status = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RVBARCHB - Reloading of Archived Batch Where-Used Records into the Database RVBARCHB - Reloading of Archived Batch Where-Used Records into the Database RVBARCHA - Decompilation of Archive Indexes for Batch Where-Used Records RVBARCHA - Decompilation of Archive Indexes for Batch Where-Used Records RVBAI_ATP_CONVERT - RVBAIATPCONVERT RVBAI_ATP_CONVERT - RVBAIATPCONVERT