SAP Reports / Programs

RVBARCHR SAP ABAP Report - List display of archived batch where-used records







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


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 RVBARCHR. "Basic submit
SUBMIT RVBARCHR AND RETURN. "Return to original report after report execution complete
SUBMIT RVBARCHR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RVBARCHR

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_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.



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 RVBARCHR or its description.