RMCBINIT_BW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report extracts the current stock data from the OLTP databases and makes it available in the respective logistics extraction structures for transfer into BW...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 RMCBINIT_BW into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MCNB - BW: Initialize Stock Balances
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: VRSIO = D .
Selection Text: SO_WERKS = D .
Selection Text: SO_MATNR = D .
Selection Text: NEULAUF = D .
Selection Text: LGORT = D .
Selection Text: LAUFNAME = D .
Selection Text: F_INDEX = D .
Selection Text: ENDZEIT = D .
Selection Text: ENDDAT = D .
Selection Text: BLK_SIZE = D .
Title: BW: Initialization of opening stocks in transfer structure
Text Symbol: POT = Activate 2LIS_40_S278
Text Symbol: PO2 = Activate now?
Text Symbol: PO1 = Stock extraction using 2LIS_40_S278 is not active
Text Symbol: P1T = Deactivate 2LIS_40_S278
Text Symbol: P12 = Deactivate for performance reasons?
Text Symbol: P11 = Stock extraction using 2LIS_40_S278 is active but not required
Text Symbol: BL3 = Data source info
Text Symbol: BL2 = Data destination info
Text Symbol: BL1 = General control info
Text Symbol: 303 = Zero stock to be transferd
Text Symbol: 302 = All stocks (including non-valuated stocks)
Text Symbol: 301 = Only Valuated Stocks
Text Symbol: 202 = Target ver.
Text Symbol: 201 = TransferStructure
Text Symbol: 106 = No. of data recs per LUW
Text Symbol: 105 = Time of termination
Text Symbol: 104 = Delete/create secondary index
Text Symbol: 103 = Termination date
Text Symbol: 102 = New run
Text Symbol: 101 = Name of run
Text Symbol: 100 = Setup: &V1&, &V2&
INCLUDE RMCBINIT_BW_TOP.
INCLUDE RMCBINIT_BW_SCR.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' TEXTLINE1 = TEXT-PO1 TEXTLINE2 = TEXT-PO2 TITEL = TEXT-POT START_COLUMN = 25 START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING ANSWER = GD_REPLY EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' TEXTLINE1 = TEXT-P11 TEXTLINE2 = TEXT-P12 TITEL = TEXT-P1T START_COLUMN = 25 START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING ANSWER = GD_REPLY EXCEPTIONS OTHERS = 1.
MCS_TMC4_F4 * CALL FUNCTION 'MCS_TMC4_F4' * EXPORTING * I_MCAPP = CON_MCAPP_BCO * I_FLG_WITH_MIX_MCAPP = 'X' * I_FLG_SPZIS = CON_IS_TRANSFER * I_FLG_UPDATE_OK = TRUE * IMPORTING * E_MCINF = TRINF * EXCEPTIONS * NO_FIELD_SELECTED = 1 * OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMCBINIT_BW - BW: Initialization of opening stocks in transfer structure RMCBINIT_BW - BW: Initialization of opening stocks in transfer structure RMCBINCK - Inventory Controlling: Check Selection RMCBINCC_AL - RMCBINCCAL RMCBINCC - Include for ABC Analysis of Cycle Counting (Physical Inventory Method) RMCBIN00_LIST - ABC Analysis for Cycle Counting (Physical Inventory)