SAP Reports / Programs

RM07MCHS SAP ABAP Report - Pick-Up List for Batch Where-Used List







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MB5C - Pick-Up List


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 RM07MCHS. "Basic submit
SUBMIT RM07MCHS AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MCHS 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: 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





Text Symbol: 016 = Do you still want to perform the selection?
Text Symbol: 017 = You did not enter a material
Text Symbol: 018 = Error creating container control
Text Symbol: 040 = Display Format
Text Symbol: 041 = Hierarchical Tree Structure
Text Symbol: 042 = Hierarchical List


INCLUDES used within this REPORT RM07MCHS

INCLUDE: MM07MABC,
RM07MSQL,
RM07MUSR,
RM07MEND,
RM07GRID.


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



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