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

MMREO019 SAP ABAP INCLUDE - Central Subroutines for Report MMREO010







MMREO019 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 MMREO019 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 MMREO019. "Basic submit
SUBMIT MMREO019 AND RETURN. "Return to original report after report execution complete
SUBMIT MMREO019 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: Central Subroutines for Report MMREO010
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 MMREO019

INCLUDE MMREOSPOOL.


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:

ENQUEUE_EMMATAE CALL FUNCTION 'ENQUEUE_EMMATAE' EXPORTING MATNR = RECORD_TO_DELETE-MATNR EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

DEQUEUE_EMMATAE CALL FUNCTION 'DEQUEUE_EMMATAE' EXPORTING MATNR = RECORD_TO_DELETE-MATNR.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = ID LANGUAGE = SPRAS NAME = OBJECT_NAME OBJECT = OBJECT SAVEMODE_DIRECT = 'X' "QHBS11K127470 EXCEPTIONS NOT_FOUND = 4.

MC_UPDATE_MAT1 * call function 'MC_UPDATE_MAT1' * exporting * kzmara_del = no_read * kzmarc_del = no_read * kzmbew_del = no_read * kzmlgn_del = no_read * kzmvke_del = no_read * kzmakt_del = no_read * kzmean_del = no_read * kzmara_ins = no_read * kzmarc_ins = no_read * kzmbew_ins = no_read * kzmlgn_ins = no_read * kzmvke_ins = no_read * kzmakt_ins = no_read * kzmean_ins = no_read * tables * mara_del = del_tab_mara * mara_ins = mac_tab_mara_init * mast_del = del_tab_mast * mast_ins = mac_tab_mast_init * mapl_del = del_tab_mapl * mapl_ins = mac_tab_mapl_init * mean_del = del_tab_mean * mean_ins = mac_tab_mean_init * mlgn_del = del_tab_mlgn * mlgn_ins = mac_tab_mlgn_init * marc_del = del_tab_marc * marc_ins = mac_tab_marc_init * mbew_del = del_tab_mbew * mbew_ins = mac_tab_mbew_init * mvke_del = del_tab_mvke * mvke_ins = mac_tab_mvke_init * makt_del = del_tab_makt * makt_ins = mac_tab_makt_init.

MC_UPDATE_MAT1 * call function 'MC_UPDATE_MAT1' * exporting * kzmara_del = no_read * kzmarc_del = no_read * kzmbew_del = no_read * kzmlgn_del = no_read * kzmvke_del = no_read * kzmakt_del = no_read * kzmean_del = no_read * kzmara_ins = no_read * kzmarc_ins = no_read * kzmbew_ins = no_read * kzmlgn_ins = no_read * kzmvke_ins = no_read * kzmakt_ins = no_read * kzmean_ins = no_read * tables * mara_del = del_tab_mara * mara_ins = mac_tab_mara_init * mast_del = mac_tab_mast_init * mast_ins = mac_tab_mast_init * mapl_del = mac_tab_mapl_init * mapl_ins = mac_tab_mapl_init * mean_del = mac_tab_mean_init * mean_ins = mac_tab_mean_init * mlgn_del = mac_tab_mlgn_init * mlgn_ins = mac_tab_mlgn_init * marc_del = mac_tab_marc_init * marc_ins = mac_tab_marc_init * mbew_del = mac_tab_mbew_init * mbew_ins = mac_tab_mbew_init * mvke_del = del_tab_mvke * mvke_ins = mac_tab_mvke_init * makt_del = mac_tab_makt_init * makt_ins = mac_tab_makt_init.

MC_UPDATE_MAT1 * call function 'MC_UPDATE_MAT1' * exporting * kzmara_del = no_read * kzmarc_del = no_read * kzmbew_del = no_read * kzmlgn_del = no_read * kzmvke_del = no_read * kzmakt_del = no_read * kzmean_del = no_read * kzmara_ins = no_read * kzmarc_ins = no_read * kzmbew_ins = no_read * kzmlgn_ins = no_read * kzmvke_ins = no_read * kzmakt_ins = no_read * kzmean_ins = no_read * tables * mara_del = del_tab_mara * mara_ins = mac_tab_mara_init * mast_del = mac_tab_mast_init * mast_ins = mac_tab_mast_init * mapl_del = mac_tab_mapl_init * mapl_ins = mac_tab_mapl_init * mean_del = mac_tab_mean_init * mean_ins = mac_tab_mean_init * mlgn_del = mac_tab_mlgn_init * mlgn_ins = mac_tab_mlgn_init * marc_del = mac_tab_marc_init * marc_ins = mac_tab_marc_init * mbew_del = del_tab_mbew * mbew_ins = mac_tab_mbew_init * mvke_del = mac_tab_mvke_init * mvke_ins = mac_tab_mvke_init * makt_del = mac_tab_makt_init * makt_ins = mac_tab_makt_init.

MC_UPDATE_MAT1 * call function 'MC_UPDATE_MAT1' * exporting * kzmara_del = no_read * kzmarc_del = no_read * kzmbew_del = no_read * kzmlgn_del = no_read * kzmvke_del = no_read * kzmakt_del = no_read * kzmean_del = no_read * kzmara_ins = no_read * kzmarc_ins = no_read * kzmbew_ins = no_read * kzmlgn_ins = no_read * kzmvke_ins = no_read * kzmakt_ins = no_read * kzmean_ins = no_read * tables * mara_del = del_tab_mara * mara_ins = mac_tab_mara_init * mast_del = mac_tab_mast_init * mast_ins = mac_tab_mast_init * mapl_del = mac_tab_mapl_init * mapl_ins = mac_tab_mapl_init * mean_del = mac_tab_mean_init * mean_ins = mac_tab_mean_init * mlgn_del = del_tab_mlgn * mlgn_ins = mac_tab_mlgn_init * marc_del = mac_tab_marc_init * marc_ins = mac_tab_marc_init * mbew_del = mac_tab_mbew_init * mbew_ins = mac_tab_mbew_init * mvke_del = mac_tab_mvke_init * mvke_ins = mac_tab_mvke_init * makt_del = mac_tab_makt_init * makt_ins = mac_tab_makt_init.

MC_UPDATE_MAT1 * call function 'MC_UPDATE_MAT1' * exporting * kzmara_del = no_read * kzmarc_del = no_read * kzmbew_del = no_read * kzmlgn_del = no_read * kzmvke_del = no_read * kzmakt_del = no_read * kzmean_del = no_read * kzmara_ins = no_read * kzmarc_ins = no_read * kzmbew_ins = no_read * kzmlgn_ins = no_read * kzmvke_ins = no_read * kzmakt_ins = no_read * kzmean_ins = no_read * tables * mara_del = del_tab_mara * mara_ins = mac_tab_mara_init * mast_del = del_tab_mast * mast_ins = mac_tab_mast_init * mapl_del = del_tab_mapl * mapl_ins = mac_tab_mapl_init * mean_del = mac_tab_mean_init * mean_ins = mac_tab_mean_init * mlgn_del = mac_tab_mlgn_init * mlgn_ins = mac_tab_mlgn_init * marc_del = del_tab_marc * marc_ins = mac_tab_marc_init * mbew_del = mac_tab_mbew_init * mbew_ins = mac_tab_mbew_init * mvke_del = mac_tab_mvke_init * mvke_ins = mac_tab_mvke_init * makt_del = mac_tab_makt_init * makt_ins = mac_tab_makt_init.

CLASSIFY_ARCHIVE_OBJECT CALL FUNCTION 'CLASSIFY_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCH_HANDLE OBJECT = CLF_OBJECT PTABLE = CLF_TABLE OBJECT_DELETE_FLAG = 'X'.



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