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

MMREO011 SAP ABAP INCLUDE - Routines for Processing Table MARA







MMREO011 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 MMREO011 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 MMREO011. "Basic submit
SUBMIT MMREO011 AND RETURN. "Return to original report after report execution complete
SUBMIT MMREO011 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: Routines for Processing Table MARA
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 MMREO011

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:

ME_CHECK_DOCUMENT_FOR_MATERIAL CALL FUNCTION 'ME_CHECK_DOCUMENT_FOR_MATERIAL' EXPORTING MATNR = MARA-MATNR WERKS = H_WERKS PLANT_INITIAL = 'X' EXISTENCE_CHECK = 'X' IMPORTING CONTRACT_FLAG = ME_CONTRACT DELPLAN_FLAG = ME_DELPLAN INFO_FLAG = ME_INFO REQ_FLAG = ME_REQUEST TABLES XEKDOC = BME_EINKAUF.

CUCP_CONFIGURATIONS_EXIST * CALL FUNCTION 'CUCP_CONFIGURATIONS_EXIST' * EXPORTING * CUCP_VAR_CLASS_TYPE = CUCO_TAB-KLART * CUCP_ROOT_OBJECT_KEY = CUCO_TAB-OBJEK * CUCP_ROOT_OBJECT_TABLE = CUCO_TAB-OBTAB * CUCP_DATE = SY-DATUM * TABLES * CONFIGURED_OBJECTS = INOB_T1 * EXCEPTIONS * USED_IN_CONFIGURATION = 1 * OTHERS = 2.

CLSE_SELECT_KSSK * call function 'CLSE_SELECT_KSSK' * exporting * mafid = k_mafid * objek = k_object * table = clas_tab1 * tables * exp_kssk = clas_tab2 * exceptions * no_entry_found = 01.

SERIAL_EXISTENCE_CHECK CALL FUNCTION 'SERIAL_EXISTENCE_CHECK' EXPORTING MATERIAL = MARA-MATNR EXCEPTIONS SER_EXIST = 4 SER_NOT_EXIST = 8.

CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING OBJECT = CLF_OBJECT TABLE = CLF_TABLE TYPE = 'X' EXCEPTIONS FOREIGN_LOCK = 2 "QHBS11K127470 NOT_DELETED = 4 "QHBS11K127470 SYSTEM_FAILURE = 6 "QHBS11K127470 TABLE_NOT_FOUND = 8. "QHBS11K127470

CLFM_DELETE_VARIANT_CLASSIF CALL FUNCTION 'CLFM_DELETE_VARIANT_CLASSIF' EXPORTING ECHT_LAUF = 'X' TYPE = 'X' TABLES CUOBTAB = INOB_TABLE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 DATE_NOT_ALLOWED = 3 TABLE_NOT_FOUND = 4 OTHERS = 5.

DOKUMENTE_ZU_OBJEKT CALL FUNCTION 'DOKUMENTE_ZU_OBJEKT' EXPORTING KEY = DOC_KEY OBJEKT = DOC_OBJECT TABLES DOKTAB = T_DRAD EXCEPTIONS KEIN_DOKUMENT = 4.

CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING OBJECTCLASS = OBJECT OBJECTID = OBJECT_ID DISABLE_AUTHORITY_CHECK = 'X' EXCEPTIONS NO_AUTHORITY = 2 NO_CHANGES_FOUND = 4.

CUVO_UPDATE_CUCO CALL FUNCTION 'CUVO_UPDATE_CUCO' TABLES CUCO_TAB = CUCO_DEL EXCEPTIONS OTHERS = 1.



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