SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

MMREO023 SAP ABAP INCLUDE - Reorganization of Special Stocks







MMREO023 is a standard ABAP INCLUDE 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 MMREO023 into the relevant SAP transactions such as SE38 or SE80


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 MMREO023. "Basic submit
SUBMIT MMREO023 AND RETURN. "Return to original report after report execution complete
SUBMIT MMREO023 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: MATNR1 = From material number
Selection Text: MATNR2 = To material number
Selection Text: TEST_ON = Create output file
Title: Reorganization of Special Stocks
Text Symbol: 010 = MARA read:
Text Symbol: 011 = MBEW read:
Text Symbol: 012 = MVKE read:
Text Symbol: 013 = MLGN read:
Text Symbol: 014 = MARC read:
Text Symbol: 015 = MARD read:
Text Symbol: 020 = Records issued:
Text Symbol: 030 = Hit(s): table &1 with key &2 &3 &4
Text Symbol: 031 = Selected for output file -->


INCLUDES used within this REPORT MMREO023

No INCLUDES are used within this REPORT code!


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:

MSKU_EXTEND call function 'MSKU_EXTEND' exporting kzrfb_ges = kzrfb_ges_msku "note 784356 tables msku_tab = tab_msku msku_ext_tab = tab_msku_ext. "note 1568094

MSLB_EXTEND call function 'MSLB_EXTEND' exporting kzrfb_ges = kzrfb_ges_mslb "note 784356 tables mslb_tab = tab_mslb mslb_ext_tab = tab_mslb_ext. "note 1568094

MSSA_EXTEND call function 'MSSA_EXTEND' exporting kzrfb_ges = kzrfb_ges_mssa tables mssa_tab = tab_mssa mssa_ext_tab = tab_mssa_ext.

MSTB_EXTEND call function 'MSTB_EXTEND' exporting kzrfb_ges = kzrfb_ges_mstb tables mstb_tab = tab_mstb mstb_ext_tab = tab_mstb_ext.

MSKA_EXTEND call function 'MSKA_EXTEND' exporting kzrfb_ges = kzrfb_ges_mska "note 784356 tables mska_tab = tab_mska.

EBEW_ARRAY_READ call function 'EBEW_ARRAY_READ' exporting kzrfb = kzrfb_ges_ebew.

EBEW_EXTEND call function 'EBEW_EXTEND' tables ebew_tab = tab_ebew.

MSTE_EXTEND call function 'MSTE_EXTEND' exporting kzrfb_ges = kzrfb_ges_mste tables mste_tab = tab_mste mste_ext_tab = tab_mste_ext.

MSSQ_EXTEND call function 'MSSQ_EXTEND' exporting kzrfb_ges = kzrfb_ges_mssq tables mssq_tab = tab_mssq mssq_ext_tab = tab_mssq_ext.

MSPR_EXTEND call function 'MSPR_EXTEND' exporting kzrfb_ges = kzrfb_ges_mspr "note 784356 tables mspr_tab = tab_mspr.

QBEW_ARRAY_READ call function 'QBEW_ARRAY_READ' exporting kzrfb = kzrfb_ges_qbew.

QBEW_EXTEND call function 'QBEW_EXTEND' tables qbew_tab = tab_qbew.

MSTQ_EXTEND call function 'MSTQ_EXTEND' exporting kzrfb_ges = kzrfb_ges_mstq tables mstq_tab = tab_mstq mstq_ext_tab = tab_mstq_ext.

CKML_F_CKML1_REORG_CHECK call function 'CKML_F_CKML1_REORG_CHECK' exporting kaln1 = del_tab_ebew-kaln1 exceptions abrechnungswerte_vorhanden = 1 others = 2.

CKML_F_CKML1_REORG_DELETE call function 'CKML_F_CKML1_REORG_DELETE' exporting i_in_update_task = space tables arch_stat = lt_arch_stat_help "note1034343 exceptions others = 1.

CKML_F_KALNR_REORG_MAT call function 'CKML_F_KALNR_REORG_MAT' importing entries_deleted = entries_deleted tables * IT_MBEW = it_ebew = del_tab_ebew * IT_QBEW = arch_stat = arch_stat_help. "note1034343

CKML_F_CKML1_REORG_CHECK call function 'CKML_F_CKML1_REORG_CHECK' exporting kaln1 = del_tab_qbew-kaln1 exceptions abrechnungswerte_vorhanden = 1 others = 2.

CKML_F_CKML1_REORG_DELETE call function 'CKML_F_CKML1_REORG_DELETE' exporting i_in_update_task = space tables arch_stat = lt_arch_stat_help "note1034343 exceptions others = 1.

CKML_F_KALNR_REORG_MAT





call function 'CKML_F_KALNR_REORG_MAT' importing entries_deleted = entries_deleted tables * IT_MBEW = * IT_EBEW = it_qbew = del_tab_qbew arch_stat = arch_stat_help. "note1034343



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