RM07MCHS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to obtain a list of SD documents that contain a specific 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 RM07MCHS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MB5C - Pick-Up List
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: BELEGA = Sales Order
Selection Text: BELEGF = Billing Document
Selection Text: BELEGL = Delivery Note
Selection Text: BELEGP = Scheduling Agreement
Selection Text: CHARG = Batch
Selection Text: FAKTURA = Billing Docs for Mat./Batches
Selection Text: LIEFERP = Sched. Agmts for Mat./Batches
Selection Text: LIEFERS = Delvry Notes for Mat./Batches
Selection Text: MATNR = Material
Selection Text: PA_AKZUS = Display Current Batch Status
Selection Text: PA_ALBTC = Display Vendor Batch
Selection Text: PA_CHLAL = Check Assignment of Insp. Lot
Selection Text: PA_KZNUL = Explosion also if Qty = 0
Selection Text: PA_LEVEL = Explosion Level
Selection Text: PA_N2M = Multibatch Evaluation
Selection Text: PA_PRE = Planned Goods Movements
Selection Text: PA_SEL = Extended Selection
Selection Text: PA_SYS = Cross-System Functions
Selection Text: PA_TRFPO = Expand Transfer Postings
Selection Text: O_MANDT = D .
Selection Text: O_SYSID = D .
Selection Text: PA_ARC = D .
Selection Text: AUFTRAG = Sales Order for Mat./Batches
Title: Pick-Up List for Batch Where-Used List
Text Symbol: 001 = Billing Document
Text Symbol: 002 = Sales Order
Text Symbol: 003 = Schd. Agmt
Text Symbol: 004 = Delivery
Text Symbol: 005 = Material/Descr.
Text Symbol: 006 = Batch
Text Symbol: 007 = Itm
Text Symbol: 008 = Plant
Text Symbol: 010 = List Selec.
Text Symbol: 011 = Document or Material or Batch
Text Symbol: 012 = Scope of List
Text Symbol: 013 = Settings
Text Symbol: 014 = Settings for Extended Display
Text Symbol: 015 = A selection without a material restriction can be very time-consuming
INCLUDE: MM07MABC,
RM07MSQL,
RM07MUSR,
RM07MEND,
RM07GRID.
No SAP DATABASE tables are accessed within this REPORT code!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdzv = gv_kzdzv.
N2M_ENABLED_CHECK CALL FUNCTION 'N2M_ENABLED_CHECK' IMPORTING e_kzn2m = gv_kzn2m.
PRE_ENABLED_CHECK CALL FUNCTION 'PRE_ENABLED_CHECK' IMPORTING e_kzpre = gv_kzpre.
SYS_ENABLED_CHECK CALL FUNCTION 'SYS_ENABLED_CHECK' IMPORTING e_kzsys = gv_kzsys.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING defaultoption = 'N' textline1 = text-015 textline2 = text-016 titel = text-017 cancel_display = space IMPORTING answer = gv_answer.
CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = pt_intab-matnr IMPORTING output = lv_matnr.
LVC_FIELDCATALOG_MERGE * CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = 'VBRP' ** I_INTERNAL_TABNAME = intab * CHANGING * ct_fieldcat = p_fieldcatalog.
AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_CHVW_VBRK' i_selections = ilm_range_tab i_obligatory_fields = lt_obligatory_fields[] IMPORTING e_result = l_intab[] EXCEPTIONS parameters_invalid = 1 no_infostruc_found = 2 field_missing_in_fieldcat = 3 OTHERS = 4.
AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_CHVW_LIKP' i_selections = ilm_range_tab i_obligatory_fields = lt_obligatory_fields[] IMPORTING e_result = l_intab[] EXCEPTIONS parameters_invalid = 1 no_infostruc_found = 2 field_missing_in_fieldcat = 3 OTHERS = 4.
AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_CHVW_VBAK' i_selections = ilm_range_tab i_obligatory_fields = lt_obligatory_fields[] IMPORTING e_result = l_intab[] EXCEPTIONS parameters_invalid = 1 no_infostruc_found = 2 field_missing_in_fieldcat = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM07MCHS - Pick-Up List for Batch Where-Used List RM07MCHS - Pick-Up List for Batch Where-Used List RM07MCHB_LIST - Inventory Mgmt: Inv. Values Adj. for Mat. Subj. to Valuation RM07MCHB_LIST - Inventory Mgmt: Inv. Values Adj. for Mat. Subj. to Valuation RM07MCHB - Inventory Mgmt: Inv. Values Adj. for Mat. Subj. to Valuation RM07MCHB - Inventory Mgmt: Inv. Values Adj. for Mat. Subj. to Valuation