RVBARCHR 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 RVBARCHR 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.
Read program for batch where-used archives
Selection Text: CHARG = Batch
Selection Text: MATNR = Material number
Selection Text: WERKS = Plant
Title: List display of archived batch where-used records
Text Symbol: 001 = Selection options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING OBJECT = OBJECT IMPORTING ARCHIVE_HANDLE = 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 = HANDLE IMPORTING OBJECT_ID = OBJECT_ID OBJECT_OFFSET = OFFSET ARCHIVE_NAME = ARCHIVEKEY 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.
K_KKB_LIST_DISPLAY CALL FUNCTION 'K_KKB_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'RVBARCHR' I_TABNAME = 'ALL_CHVW' * IS_LAYOUT = IT_FIELDCAT = FIELD_TAB * I_FCTYPE = 'R' * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 TABLES T_OUTTAB = ALL_CHVW 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.
RVBARCHR - List display of archived batch where-used records RVBARCHR - List display of archived batch where-used records 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