SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07MCHV SAP ABAP Report - Batch Where-Used List - No Maintenance of Old Version, Now RVBBWULS







RM07MCHV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use the report RM07MCHV to create a batch where-used list for a batch of a material...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RM07MCHV 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 RM07MCHV. "Basic submit
SUBMIT RM07MCHV AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MCHV 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: PARAANLB = Bottom-Up
Selection Text: PARAANLT = Top-Down
Selection Text: PARCHARG = Batch
Selection Text: PARMATNR = Material Number
Selection Text: PARWERKS = Plant
Selection Text: PA_AKZUS = Display current batch status
Selection Text: PA_KZNUL = Display reversal postings
Selection Text: PA_LEVEL = Expansion Level
Selection Text: PA_TRFPO = Expand transfer postings
Title: Batch Where-Used List - No Maintenance of Old Version, Now RVBBWULS
Text Symbol: 012 = Expansion Level
Text Symbol: 011 = Display reversal pstngs
Text Symbol: 010 = Un
Text Symbol: 009 = Level
Text Symbol: 008 = Plant
Text Symbol: 007 = Quantity
Text Symbol: 006 = Doc.
Text Symbol: 005 = Batch
Text Symbol: 004 = Material
Text Symbol: 002 = Top-Down
Text Symbol: 001 = Bottom-Up
Text Symbol: 025 = S
Text Symbol: 026 = Batch Status
Text Symbol: 030 = Batch Where-Used List
Text Symbol: 035 = Origin
Text Symbol: 036 = Usage
Text Symbol: 040 = Batch Where-Used List
Text Symbol: 041 = Program Options
Text Symbol: 050 = Rec.: Plnt Material Batch
Text Symbol: A30 = Use of Material
Text Symbol: G05 = By material
Text Symbol: G04 = Frm plnt
Text Symbol: G03 = From btch
Text Symbol: G02 = Frm material
Text Symbol: G01 = Key
Text Symbol: E01 = MvTy. Doc.Number Qty UM
Text Symbol: D30 = Origin of Material
Text Symbol: 013 = Expand trans. pstngs





Text Symbol: I04 = Batch Status: Unrestricted Use
Text Symbol: I03 = Stock Transfer
Text Symbol: I02 = Posting(s) Reversed
Text Symbol: I01 = Recursive Object
Text Symbol: GS3 = Redundant
Text Symbol: GS2 = Cancelled
Text Symbol: GS1 = Recurs.
Text Symbol: GS0 = Status
Text Symbol: GL7 = Material / Batch
Text Symbol: GL6 = Matl Long Text
Text Symbol: GL5 = Initial Batch
Text Symbol: GL4 = PO Number
Text Symbol: GL3 = Order Number
Text Symbol: GL2 = SC Order
Text Symbol: GL1 = Order
Text Symbol: G07 = By plant
Text Symbol: I10 = Purch.Ord.
Text Symbol: I09 = Order
Text Symbol: I08 = Expansion Ended
Text Symbol: I07 = Redundant Object
Text Symbol: I06 = Batch Status: Unknown
Text Symbol: I05 = Batch Status: Blocked
Text Symbol: G06 = By batch
Text Symbol: 024 = T
Text Symbol: 023 = Info
Text Symbol: 020 =
Text Symbol: 016 = Unit


INCLUDES used within this REPORT RM07MCHV

INCLUDE: RM07MUSR,
RM07MEND,
RM07GRID,
INCLUDE RM07MQC1.


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:

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = KZDCH KZDZV = KZDZV EXCEPTIONS OTHERS = 0.

MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "1810419 EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = ' ' i_deadend = 'X' i_skip_first_screen = 'X' i_okcode = 'OK_GO' i_mblnr = mchvx-mblnr i_mjahr = mchvx-mjahr.

QELA_LOT_SELECTION CALL FUNCTION 'QELA_LOT_SELECTION' EXPORTING ART = '*' CHARGE = CHARG ERSTELDAT = '19000101' HERKUNFT = '*' MATNR = MATNR WERK = WERKS IMPORTING PRUEFLOS = PRUEFLOS EXCEPTIONS BAD_OPTIONS = 01 NO_ENTRY = 02 NO_SELECTED = 03.






QSS1_LOT_SHOW CALL FUNCTION 'QSS1_LOT_SHOW' EXPORTING I_PRUEFLOS = PRUEFLOS EXCEPTIONS NO_LOT = 01.

CNET_GRAPHIC_HIERARCHY CALL FUNCTION 'CNET_GRAPHIC_HIERARCHY' EXPORTING PROFILE = PROFILE STAT = STAT IMPORTING M_TYP = M_TYP TABLES CLUSTERS = CLUSTERS_TAB CVALS = CVALS_TAB DELETIONS = DELETE_TAB INODES = INODES_TAB NODES = HIER_NODES_TAB NVALS = NVALS_TAB POSITIONS = POSITIONS_TAB EXCEPTIONS INV_PROFILE = 1 INV_WINID = 2 ERR_IN_PROFILE = 3 NO_BATCH = 4 INV_COMMUNICATION = 5.

CHVW_EXPLODE_ALL CALL FUNCTION 'CHVW_EXPLODE_ALL' EXPORTING I_MATNR = FRS_MATNR I_WERKS = FRS_WERKS I_CHARG = FRS_CHARG I_DFCHVW = *DFCHVW TABLES T_SHADOW = SHADOW EXCEPTIONS INVALID_INPUT_DATA = 1 OTHERS = 2.

GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING PROGRAM = PROG STATUS = 'GRAF' TABLES EXCLUDING = EXCLUDING_TAB EXCEPTIONS INV_CUA_INFO = 1.

CNET_SET_LEGEND CALL FUNCTION 'CNET_SET_LEGEND' EXPORTING FOOT_LINE = FOOT_LINE HEAD_LINE = HEAD_LINE LEGEND_TYPE = NET_CONST-TYPE_S TABLES LEGEND = LEGEND.

CNET_MAKE_BOXES CALL FUNCTION 'CNET_MAKE_BOXES' TABLES BOXES = BOXES BVALS = BVALS.



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