SAP Reports / Programs | Logistics - General | Batches(LO-BM) SAP LO

RVBARCHG SAP ABAP Report - Example program for reading a data object from an archive file







RVBARCHG 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 RVBARCHG 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 RVBARCHG. "Basic submit
SUBMIT RVBARCHG AND RETURN. "Return to original report after report execution complete
SUBMIT RVBARCHG 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: AUFNR = Order Number
Selection Text: CHARG = Batch
Selection Text: EBELN = Purchasing document number
Selection Text: HABEN = GR posting(s)
Selection Text: MATNR = Material number
Selection Text: MODUS = Session
Selection Text: SOLL = GI posting(s)
Selection Text: WERKS = Plant
Title: Example program for reading a data object from an archive file
Text Symbol: 000 = Obj.selection f. reading in arch.
Text Symbol: 001 = No File Opened
Text Symbol: 002 = Object ID:
Text Symbol: 004 = Sessions
Text Symbol: 005 = Sess. 1
Text Symbol: 006 = Sess. 2
Text Symbol: 007 = Sess. 3
Text Symbol: I01 = Order
Text Symbol: I02 = Pur. order
Text Symbol: I03 = Stck trans
Text Symbol: I04 = Mat. document
Text Symbol: I05 = Movemnt Type


INCLUDES used within this REPORT RVBARCHG

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:

CHVW_ARCHIVE_INDEX_READ CALL FUNCTION 'CHVW_ARCHIVE_INDEX_READ' EXPORTING MODE = MODUS WERK = WERKS MATERIAL = MATNR CHARGE = CHARG AUFTRAG = AUFNR EINK_BELEG = EBELN TABLES ICHVW_ARC_1 = ICHVW_ARC_1 ICHVW_ARC_2 = ICHVW_ARC_2 ICHVW_ARC_3 = ICHVW_ARC_3 EXCEPTIONS WRONG_MODE = 1 WRONG_FKT_CALL = 2 NO_DATA_FOUND = 3 OTHERS = 4.

CHVW_ARCHIVE_FILE_READ .CALL FUNCTION 'CHVW_ARCHIVE_FILE_READ'



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