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

MMREO029_OLD SAP ABAP INCLUDE - MMREO029OLD







MMREO029_OLD 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 MMREO029_OLD 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 MMREO029_OLD. "Basic submit
SUBMIT MMREO029_OLD AND RETURN. "Return to original report after report execution complete
SUBMIT MMREO029_OLD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MMREO029_OLD

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:

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.

DEQUEUE_EMMATAE CALL FUNCTION 'DEQUEUE_EMMATAE' EXPORTING MATNR = LMATNR.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING DATABASE_ONLY = SPACE ID = DUMMY_TEXT_ID LANGUAGE = DUMMY_TEXT_SPRAS NAME = OBJ_NAME OBJECT = OBJ_ID TEXTMEMORY_ONLY = SPACE IMPORTING ENTRIES = TEXT_HEADER_COUNTER TABLES SELECTIONS = TEXT_HEADERS.

TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCH_HANDLE * CLIENT = SY-MANDT ID = TEXT_HEADERS-TDID LANGUAGE = TEXT_HEADERS-TDSPRAS NAME = TEXT_HEADERS-TDNAME OBJECT = TEXT_HEADERS-TDOBJECT * OBJECT_DELETE_FLAG = 'X' EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 1 OTHERS = 2.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING DATABASE_ONLY = SPACE ID = DUMMY_TEXT_ID LANGUAGE = DUMMY_TEXT_SPRAS NAME = OBJ_NAME OBJECT = OBJ_ID TEXTMEMORY_ONLY = SPACE IMPORTING ENTRIES = TEXT_HEADER_COUNTER TABLES SELECTIONS = TEXT_HEADERS.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = TEXT_HEADERS-TDID LANGUAGE = TEXT_HEADERS-TDSPRAS NAME = TEXT_HEADERS-TDNAME OBJECT = TEXT_HEADERS-TDOBJECT IMPORTING HEADER = TEXT_HEADER_READ TABLES LINES = TEXT_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6.

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

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

CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING OBJECT = CLF_OBJECT TABLE = CLF_TABLE TYPE = 'X' EXCEPTIONS FOREIGN_LOCK = 01 NOT_DELETED = 02 SYSTEM_FAILURE = 03 TABLE_NOT_FOUND = 04.

MATERIAL_READ_MA00 * CALL FUNCTION 'MATERIAL_READ_MA00' * EXPORTING SCHLUESSEL = MTCOM * IMPORTING MATDATEN = MAKT * TABLES SEQMAT01 = TAB_DUMMY.

MG_DISP_MESSAGES_LIST CALL FUNCTION 'MG_DISP_MESSAGES_LIST' TABLES OUTPUT_TABLE = MESSAGES EXCEPTIONS OTHERS = 0.

MG_MESSAGE_GET * CALL FUNCTION 'MG_MESSAGE_GET' * EXPORTING ** SPRSL = SY-LANGU * ARBGB = MESSAGES-MSGID * MSGNR = MSG * MSGV1 = MESSAGES-MSGV1 * MSGV2 = MESSAGES-MSGV2 * MSGV3 = MESSAGES-MSGV3 * MSGV4 = MESSAGES-MSGV4 * IMPORTING * MSGTEXT = TMPTXT * EXCEPTIONS * MESSAGE_NOT_FOUND = 1 * OTHERS = 2.



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