RMCBMRP2 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 RMCBMRP2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OLIH - MRP Data Procurement for BW
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: WERKS = D Plant
Selection Text: VON_WOC = From week
Selection Text: VON_TAG = From Date
Selection Text: VON_MON = From period
Selection Text: VON_BUP = From period
Selection Text: MTART = D Material type
Selection Text: MATNR = D Material
Selection Text: BIS_WOC = To week
Selection Text: BIS_TAG = To Date
Selection Text: BIS_MON = Until Month
Selection Text: BIS_BUP = To period
Selection Text: BESKZ = D Procurement Type
Text Symbol: 002 = Period
Text Symbol: 001 = Characteristics
INCLUDE RMCS0TP1.
No SAP DATABASE tables are accessed within this REPORT code!
MCB_STOCK_FUTURE CALL FUNCTION 'MCB_STOCK_FUTURE' EXPORTING matnr = xmcon-matnr werks = xmcon-werks dismm = xmcon-dismm disnt = xmcon-dispo von_datum = zeitr-low bis_datum = zeitr-high perkz = sav_speri plscn = plsc vrsio = con_vrsio_ist periv = perivar auswbs = space auswdl = 'X' TABLES t_s094 = int_s094.
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_lday = zeitr-high.
DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = si_hlp_datum IMPORTING week = si_week.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMCBMRP2 - documentation and ABAP source code RMCBMRP2 - documentation and ABAP source code RMCBMMAT - Statistical Setup: Info Structures fr. Material Movements per Material RMCBMMAT - Statistical Setup: Info Structures fr. Material Movements per Material RMCBMBEW - Check Stocks in Inventory Controlling RMCBMBEW - Check Stocks in Inventory Controlling