RMCBNEUA 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 RMCBNEUA 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 RMCBNEUA into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MCC3 - Set Up INVCO Info Structs. from Docs
OLI1BW - INVCO Stat. Setup: Material Movemts
OLI1 - INVCO Stat. Setup: Material Movemts
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: VRSIO = Save under version
Selection Text: SL_BELNR = D Material Document
Selection Text: NEWBW = D Extraction structures BW
Selection Text: NEULAUF = Rerun?
Selection Text: MJAHR = D Material Document Year
Selection Text: MCINF = Info struct. to be compiled
Selection Text: MBLNR_L = From document
Selection Text: MBLNR_H = To document
Selection Text: LOGSYS = Logical target system
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
Selection Text: BUDAT = D Posting date
Selection Text: ARCH_D = Archiving run
Title: New Setup for Info Structures from Material Movements
Text Symbol: 100 = Setup: &V1&, &V2&
Text Symbol: 008 = Selection by material doc.
Text Symbol: 007 = Selection by posting date
Text Symbol: 006 = to ;
Text Symbol: 005 = Material Document
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
INCLUDE RMCSNTOP.
INCLUDE RMCBNEAV.
INCLUDE EWUSTDDD.
No SAP DATABASE tables are accessed within this REPORT code!
EWU_GET_CONV_BETWEEN_DATES CALL FUNCTION 'EWU_GET_CONV_BETWEEN_DATES' "EURO EXPORTING "4.0B/PH EURO
ARCHIVE_VALUE_REQUEST CALL FUNCTION 'ARCHIVE_VALUE_REQUEST' EXPORTING dialog_type = 'READ' object = object show_hidden_run = ' ' IMPORTING selected_run = arch_d EXCEPTIONS no_runs_available = 01 no_run_selected = 02 object_not_found = 03 unknown_dialog_type = 04.
MASTER_IDOC_DISTRIBUTE CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' IN UPDATE TASK EXPORTING master_idoc_control = header TABLES master_idoc_data = t_segments communication_idoc_control = t_c_edidc.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
MCB_MCBEST_FILL CALL FUNCTION 'MCB_MCBEST_FILL' EXPORTING i_mcmseg = xmcmseg i_mcbest = hlp_mcbest TABLES t_mcbest = xmcbest.
EBEW_SINGLE_READ CALL FUNCTION 'EBEW_SINGLE_READ' EXPORTING matnr = xmseg-matnr bwkey = werkinfo-bwkey bwtar = xmseg-bwtar sobkz = xmseg-sobkz vbeln = xmseg-mat_kdauf posnr = xmseg-mat_kdpos IMPORTING webew = xf_ebew EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
QBEW_SINGLE_READ CALL FUNCTION 'QBEW_SINGLE_READ' EXPORTING matnr = xmseg-matnr bwkey = werkinfo-bwkey bwtar = xmseg-bwtar sobkz = xmseg-sobkz pspnr = xmseg-mat_pspnr IMPORTING wqbew = xf_qbew EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
MBEW_SINGLE_READ CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING maxtz = 10000 matnr = xmseg-matnr bwkey = werkinfo-bwkey bwtar = xmseg-bwtar IMPORTING wmbew = xf_mbew EXCEPTIONS lock_on_mbew = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
MCB_MCMSEG_FILL CALL FUNCTION 'MCB_MCMSEG_FILL' EXPORTING i_mseg = xmseg i_zeitp = con_zeitp_bf i_mcbest = hlp_mcbest i_modus = con_modus_new IMPORTING e_mcmseg_l = gs_mcmseg_l e_mcmseg_k = gs_mcmseg_k TABLES yt156 = xt156 yt156b = xt156b yt156s = xt156s yt156m = xt156m yt156c = xt156c yt134m = xt134m ymkpf = xmkpf yt001w = xt001w ymseg = xmseg EXCEPTIONS OTHERS = 01.
MBEW_SINGLE_READ CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING maxtz = 10000 matnr = xmseg-matnr bwkey = werkinfo-bwkey bwtar = xmseg-bwtar IMPORTING wmbew = xf_mbew EXCEPTIONS lock_on_mbew = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
MCB_MCMSEG_FILL CALL FUNCTION 'MCB_MCMSEG_FILL' EXPORTING i_mseg = xmseg i_zeitp = con_zeitp_bf i_mcbest = hlp_mcbest i_modus = con_modus_new IMPORTING e_mcmseg_l = gs_mcmseg_l e_mcmseg_k = gs_mcmseg_k TABLES yt156 = xt156 yt156b = xt156b yt156s = xt156s yt156m = xt156m yt156c = xt156c yt134m = xt134m ymkpf = hlp_xmkpf yt001w = xt001w ymseg = xmseg EXCEPTIONS OTHERS = 01.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING maxtz = 10000 matnr = xmseg-matnr IMPORTING wmara = xmara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING maxtz = 10000 matnr = xmseg-matnr werks = xmseg-werks IMPORTING wmarc = xmarc EXCEPTIONS lock_on_marc = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' "4.0B/PH EURO
EWU_GET_CUKEY_ORG CALL FUNCTION 'EWU_GET_CUKEY_ORG' "4.0B/PH EURO
MCB_MCMSEG_FILL CALL FUNCTION 'MCB_MCMSEG_FILL' EXPORTING i_mseg = xmseg i_zeitp = con_zeitp_bf i_mcbest = hlp_mcbest i_modus = con_modus_new IMPORTING e_mcmseg_l = gs_mcmseg_l e_mcmseg_k = gs_mcmseg_k TABLES yt156 = xt156 yt156b = xt156b yt156s = xt156s yt156m = xt156m yt156c = xt156c yt134m = xt134m ymkpf = xmkpf yt001w = xt001w ymseg = xmseg EXCEPTIONS OTHERS = 01.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = xmkpf-cpudt I_BUKRS = werkinfo-bukrs I_PERIV = xt001-periv X_XMO16 = lv_true IMPORTING E_GJAHR = lv_gjahr E_POPER = lv_poper EXCEPTIONS FISCAL_YEAR = 1 PERIOD = 2 PERIOD_VERSION = 3 POSTING_PERIOD = 4 SPECIAL_PERIOD = 5 VERSION = 6 POSTING_DATE = 7 OTHERS = 8.
FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = lv_gjahr i_periv = xt001-periv i_poper = lv_poper IMPORTING E_DATE = lv_firstday EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.
CALL FUNCTION 'EWU_GET_CONV_BETWEEN_DATES' "EURO EXPORTING "4.0B/PH EURO
EWU_GET_CONV_BETWEEN_DATES CALL FUNCTION 'EWU_GET_CONV_BETWEEN_DATES' "EURO EXPORTING "4.0B/PH EURO
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 RMCBNEUA or its description.
RMCBNEUA - New Setup for Info Structures from Material Movements RMCBNEUA - New Setup for Info Structures from Material Movements RMCBNERP - Statistical Setup of Info Strucs from Invoice Verification/Revaluation RMCBNERP - Statistical Setup of Info Strucs from Invoice Verification/Revaluation RMCBNEAV - Data Declaration for Statistical Setup RMCBNEAD - Include Report for Common Statistical Setup Routines