SAP Reports / Programs

RMCBNEUB SAP ABAP Report - Statistical Setup of Info Structures from Stocks







RMCBNEUB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run program RMCBNEUB to initialize the information structures in Inventory Controlling...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 RMCBNEUB 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

OLI2BW - INVCO Stat. Setup: Stor. Loc. Stocks
OLI2 - INVCO Stat. Setup: Stocks
MCC4 - Set Up INVCO Info Structs.from Stock


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 RMCBNEUB. "Basic submit
SUBMIT RMCBNEUB AND RETURN. "Return to original report after report execution complete
SUBMIT RMCBNEUB 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: WERKS = Plant
Selection Text: VRSIO = Save under version
Selection Text: NEWBW = D Extraction structures BW
Selection Text: NEULAUF = Rerun?
Selection Text: MCINF = Info structure to be compiled
Selection Text: MATNR = Material
Selection Text: LOGSYS = Logical target system
Selection Text: LGORT = D Storage location
Selection Text: LAUFNAME = Name of run
Selection Text: F_LOCAL = Stat. setup, partner system
Selection Text: F_DCIDX = Delete/create indices
Selection Text: ENDZEIT = Termination Time
Selection Text: ENDDAT = Termination Date
Title: Statistical Setup of Info Structures from Stocks
Text Symbol: 100 = Setup: &V1&, &V2&
Text Symbol: 006 = All stocks
Text Symbol: 005 = Anonym.valuated stocks
Text Symbol: 004 = Specifications for using ALE
Text Symbol: 003 = Control of recompilation run
Text Symbol: 002 = Document data restriction
Text Symbol: 001 = Specifications for the target structures


INCLUDES used within this REPORT RMCBNEUB

INCLUDE RMCSNTOP.
INCLUDE RMCBNEAV.


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:

MCB_STOCK_SELECT CALL FUNCTION 'MCB_STOCK_SELECT' EXPORTING i_marc = lv_false i_mard = lv_true i_mchb = lv_mchb i_mkol = lv_true i_msku = lv_msku i_mslb = lv_mslb i_mska = lv_mska i_mspr = lv_mspr i_mbew = lv_mbew i_null_stocks = lv_true TABLES mat_sel = r_matnr wrk_sel = werks bwkreis_sel = bwkreis t_mard = xmard t_mchb = xmchb t_mkol = xmkol t_msku = xmsku t_mslb = xmslb t_mspr = xmspr t_mska = xmska t_mbew = xmbew t_ebew = xebew t_qbew = xqbew.

MASTER_IDOC_DISTRIBUTE CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' EXPORTING master_idoc_control = header TABLES master_idoc_data = t_segments communication_idoc_control = t_c_edidc.

VALUE_ARTICLE_FIND CALL FUNCTION 'VALUE_ARTICLE_FIND' EXPORTING i_matnr = xmcbest-matnr i_werks = xmcbest-werks IMPORTING e_matnr = xe_matnr e_waart = xe_waart EXCEPTIONS entry_not_found = 1 wertm_bf_nicht_erlaubt = 2 buchung_nicht_erlaubt = 3 material_not_found = 4 OTHERS = 5.



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