VMIRC_MRCHVW 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 VMIRC_MRCHVW into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MRCHVW - Batch mgmt with reconciliation
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.
Selection Text: SO_PLANT = Valid Plants
Selection Text: PA_WERKS = Plant
Selection Text: PA_TRFPO = Expand Transfer Postings
Selection Text: PA_MATNR = Material Number
Selection Text: PA_LEVEL = Expansion Level
Selection Text: PA_KZNUL = Expand Even If Quantity = 0
Selection Text: PA_CHLAL = Check Assignment of Insp. Lot
Selection Text: PA_CHARG = Batch
Selection Text: PA_ALBTC = Display Vendor Batch
Selection Text: PA_AKZUS = Display Current Batch Status
Title: Batch Usage with Material Reconciliation
Text Symbol: 027 = Expansion terminated
Text Symbol: 030 = Material
Text Symbol: 031 = Plant
Text Symbol: 032 = Insp. Lot Assigned
Text Symbol: 033 = Overview of Inspection Lots for Batch
Text Symbol: 034 = Batch Status = Unrestricted
Text Symbol: 035 = Batch Status = Restricted
Text Symbol: 036 = Settings
Text Symbol: 037 = Vendor Batch
Text Symbol: 038 = Use of Vendor Batch
Text Symbol: 039 = Vendor Batch:
Text Symbol: 040 = Material Reconciliation:
Text Symbol: 041 = Consumed Quantity:
Text Symbol: 042 = Material Reconciliation
Text Symbol: 026 = Settings
Text Symbol: 001 = Batch :
Text Symbol: 002 = Order:
Text Symbol: 003 = Material:
Text Symbol: 004 = Plant:
Text Symbol: 005 = Purchase Order:
Text Symbol: 006 = Quantity:
Text Symbol: 007 = Doc. No.
Text Symbol: 008 = Item
Text Symbol: 009 = Quantity
Text Symbol: 010 = Values
Text Symbol: 011 = Display Individual Postings from Stock
Text Symbol: 012 = Display Individual Postings to Stock
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = batch_level.
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = '1000' p_program = 'VMIRC_MRCHVW' TABLES p_exclude = f1.
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 t_plants = so_plant.
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 t_plants = so_plant.
VHUMI_RECONCILIATION CALL FUNCTION 'VHUMI_RECONCILIATION' EXPORTING i_aufnr = shadow-aufnr * I_CRID = i_list = 'X' * I_MESS = IMPORTING rec_right = mr_right rec_false = mr_false .
RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = nodetab EXCEPTIONS OTHERS = 99.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = 1 all = 'X' depth = x_depth EXCEPTIONS OTHERS = 99.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'VMIRC_MRCHVW' callback_user_command = 'TREE_USER_COMMANDS' callback_text_display = 'TREE_TEXT_DISPLAY' callback_color_display = 'TREE_COLOR_DISPLAY'.
RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = nodetab.
CHVW_EXPLODE_ONE CALL FUNCTION 'CHVW_EXPLODE_ONE' EXPORTING i_index = x_tabix i_dfchvw = dfchvw TABLES t_shadow = shadow.
QPL2_GET_LOTS_FOR_BATCH CALL FUNCTION 'QPL2_GET_LOTS_FOR_BATCH' EXPORTING i_matnr = x_shadow-matnr i_werk = x_shadow-werks i_charg = x_shadow-charg i_aufnr = x_shadow-aufnr TABLES t_qals_tab = lots.
CALL FUNCTION 'QSS1_LOT_SHOW' EXPORTING i_prueflos = lots-prueflos.
CHVW_BUFFER_RESET CALL FUNCTION 'CHVW_BUFFER_RESET'.
RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING new_name = nodetab-name insert_id = frs_node-id relationship = 'BABY' new_type = nodetab-type display_attributes = x_treeattr EXCEPTIONS OTHERS = 99.
CHVW_READ CALL FUNCTION 'CHVW_READ' EXPORTING i_matnr = shadow-matnr i_werks = shadow-werks i_charg = shadow-charg i_xzuga = frs_xzuga i_aufnr = shadow-aufnr i_ebeln = shadow-ebeln i_ummat = shadow-ummat i_umwrk = shadow-umwrk i_umcha = shadow-umcha TABLES t_chvw = akt_chvw EXCEPTIONS invalid_input_data = 1 no_entry_found = 2 OTHERS = 99.
CHVW_READ CALL FUNCTION 'CHVW_READ' EXPORTING i_matnr = shadow-matnr i_werks = shadow-werks i_charg = shadow-charg i_xzuga = '*' TABLES t_chvw = akt_chvw EXCEPTIONS OTHERS = 99.
CHVW_READ CALL FUNCTION 'CHVW_READ' EXPORTING i_aufnr = shadow-aufnr i_xzuga = '*' TABLES t_chvw = akt_chvw EXCEPTIONS OTHERS = 99.
CHVW_READ CALL FUNCTION 'CHVW_READ' EXPORTING i_ebeln = shadow-ebeln i_xzuga = '*' TABLES t_chvw = akt_chvw EXCEPTIONS OTHERS = 99.
QSS1_LOT_SHOW CALL FUNCTION 'QSS1_LOT_SHOW' EXPORTING i_prueflos = lots-prueflos EXCEPTIONS OTHERS = 99.
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 VMIRC_MRCHVW or its description.