SAP Reports / Programs | Materials Management | Materials Management | Inventory Controlling(MM-IS-IC) SAP MM

RMCBDISP SAP ABAP Report - Inventory Controlling: Stock/Requirements Analysis







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

MCB& - INVCO: Set up statis. for stck/reqt


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 RMCBDISP. "Basic submit
SUBMIT RMCBDISP AND RETURN. "Return to original report after report execution complete
SUBMIT RMCBDISP 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: BIS_BUP = To...period
Selection Text: BIS_MON = To...month
Selection Text: BIS_TAG = To...day
Selection Text: BIS_WOC = To...week
Selection Text: CHECK = Generate data f. long-t.plng?
Selection Text: DISMM = D MRP type
Selection Text: DISPO = D MRP controller
Selection Text: LOEKZ = Materials with delete flag
Selection Text: MATNR = D Material
Selection Text: PLSCN = D Planning scenario
Selection Text: VON_BUP = From...period
Selection Text: VON_MON = From...month
Selection Text: VON_TAG = From...day
Selection Text: VON_WOC = From...week
Selection Text: VRSIO = Inventory Controlling version
Selection Text: VSBCO = D INVCO version
Selection Text: WERKS = D Plant
Title: Inventory Controlling: Stock/Requirements Analysis
Text Symbol: 004 = Planning scenario &
Text Symbol: 003 = Planning scenario for long-term planning
Text Symbol: 002 = Period
Text Symbol: 001 = Characteristics


INCLUDES used within this REPORT RMCBDISP

INCLUDE RMCS0TP1.


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:

MATERIALIEN_ZUM_WERK CALL FUNCTION 'MATERIALIEN_ZUM_WERK' EXPORTING alle_materialien = true lagermaterialien = false TABLES materialien = matnr werke = werks dismm = dismm dispo = dispo wertetabelle = matstamm EXCEPTIONS not_found = 01.

MATERIALIEN_ZUM_WERK CALL FUNCTION 'MATERIALIEN_ZUM_WERK' EXPORTING alle_materialien = false lagermaterialien = true TABLES materialien = matnr werke = werks dismm = dismm dispo = dispo wertetabelle = matstamm EXCEPTIONS not_found = 01.

WEEK_GET_FIRST_DAY CALL FUNCTION 'WEEK_GET_FIRST_DAY' EXPORTING week = von_woc IMPORTING date = sl_sptag-low.

WEEK_GET_FIRST_DAY CALL FUNCTION 'WEEK_GET_FIRST_DAY' EXPORTING week = bis_woc IMPORTING date = zeitr-high.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = von_bup(4) i_monat = von_bup+4(2) i_periv = perivar IMPORTING e_fday = zeitr-low e_lday = zeitr-high.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = bis_bup(4) i_monat = bis_bup+4(2) i_periv = perivar IMPORTING * e_fday = zeitr-low e_lday = zeitr-high.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = si_hlp_datum IMPORTING week = si_week.

MCB_UPDATE_S094 CALL FUNCTION 'MCB_UPDATE_S094' TABLES del_s094 = del_s094 int_s094 = int_s094.

MCB_STOCK_FUTURE CALL FUNCTION 'MCB_STOCK_FUTURE' EXPORTING matnr = matstamm-matnr werks = matstamm-werks dismm = matstamm-dismm disnt = matstamm-dispo von_datum = zeitr-low bis_datum = zeitr-high perkz = sav_speri plscn = plsc vrsio = vsbco periv = perivar TABLES t_s094 = int_s094.

ENQUEUE_EMPLSC CALL FUNCTION 'ENQUEUE_EMPLSC' EXPORTING plscn = plscn EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_EMPLSC CALL FUNCTION 'DEQUEUE_EMPLSC' EXPORTING plscn = plscn.



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