SAP Reports / Programs

RM07MCHW SAP ABAP Report - Compile batch where-used file







RM07MCHW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use report RM07MCHW to set up the batch where-used file...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 RM07MCHW 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

MB57 - Compile Batch Where-Used 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 RM07MCHW. "Basic submit
SUBMIT RM07MCHW AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MCHW 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: BUDAT = Posting Date
Selection Text: MBLNR = Material Document Number
Selection Text: MJAHR = Material Document Year
Selection Text: P_LISTE = List-Based Display
Title: Compile batch where-used file
Text Symbol: 001 = Compilation of Batch Wh.-Used Table
Text Symbol: 002 = Database Selection
Text Symbol: 003 = Further Database Selections
Text Symbol: 007 = Info
Text Symbol: A01 = Plnt Material Batch Order Purch.order Mat.document MYear Qty Un
Text Symbol: B03 = System stored
Text Symbol: B04 = Records stored in table CHVW
Text Symbol: B05 = These records are already stored in table CHVW
Text Symbol: B06 = BWUL data updated
Text Symbol: B10 = New Batch Where-Used Records:
Text Symbol: B11 = Existing Batch Where-Used Records:
Text Symbol: F01 = Import material docs / doc. segments ...
Text Symbol: F02 = Import material docs / doc. headers ...
Text Symbol: F03 = Prepare batch where-used records ...
Text Symbol: F04 = Write batch where-used records ...
Text Symbol: F05 = Log output is being prepared ...


INCLUDES used within this REPORT RM07MCHW

INCLUDE: MM07MABC,
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 kzdch = kzdch EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-f05.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percent text = text-f03.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percent text = text-f04.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = PERCENT text = text-f02.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percent text = text-f02.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-f01.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percent text = text-f01.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_infos TABLES dynpselect = dynpselect dynpvaluetab = dynpvaluetab.



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