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

MMREOFD1 SAP ABAP INCLUDE - Display Function for Archiving and Deletion







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


Text pool values


Title: Display Function for Archiving and Deletion


INCLUDES used within this REPORT MMREOFD1

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:

MG_CHECK_LINES CALL FUNCTION 'MG_CHECK_LINES'.

MG_CHECK_LINES CALL FUNCTION 'MG_CHECK_LINES' EXPORTING mark = ' '.

MG_CHECK_LINES CALL FUNCTION 'MG_CHECK_LINES'.

MG_CHECK_LINES CALL FUNCTION 'MG_CHECK_LINES' EXPORTING mark = ' '.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_MAKT_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_MAra_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_MArc_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_MArd_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Marm_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mean_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_MAw1_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mbew_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mbewh_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mvke_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mlan_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mlgn_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mlgt_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mape_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY





CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mdma_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_wbew_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_wlk2_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_wrpp_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_wrpl_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_maex_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Malg_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mlea_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mamt_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_wtaddi_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mch1_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mcha_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mchb_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mkol_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mkop_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mslb_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mssl_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mska_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_ebew_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_qbew_disp EXCEPTIONS OTHERS = 1.




MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mssa_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mspr_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mssq_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Msku_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_proob_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_purob_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mstb_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mste_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_Mstq_disp EXCEPTIONS OTHERS = 1.

MG_WRITE_BODY CALL FUNCTION 'MG_WRITE_BODY' EXPORTING s_name = tmptab maxwidth = 132 TABLES table = TAB_tbpos_disp EXCEPTIONS OTHERS = 1.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = langu = sy-langu IMPORTING dd02v_wa = textinfo EXCEPTIONS illegal_input = 1 OTHERS = 2. "#EC *

MG_WRITE_HEAD CALL FUNCTION 'MG_WRITE_HEAD' EXPORTING s_name = maxwidth = 132 TABLES table = dummytab EXCEPTIONS OTHERS = 0.

MG_WRITE_LIST CALL FUNCTION 'MG_WRITE_LIST' EXPORTING s_name = 'MMREODS' checkbox = 'X' box_column = 4 TABLES table = key fieldnames = fieldnames EXCEPTIONS OTHERS = 0.

MG_READ_LINES CALL FUNCTION 'MG_READ_LINES' TABLES marked_lines = mlines EXCEPTIONS OTHERS = 0.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = key-matnr spras = sy-langu IMPORTING wmakt = makt EXCEPTIONS OTHERS = 3.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = arch_object_sp_stock IMPORTING archive_handle = arch_handle EXCEPTIONS OTHERS = 8. "#EC *

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = arch_handle EXCEPTIONS OTHERS = 6. "#EC *

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = arch_handle IMPORTING record_flags = buffer-flags record_structure = buffer-rname record_ref = buffer_ref "Unicode EXCEPTIONS OTHERS = 4. "#EC *

CLASSIFY_READ_ARCHIVE_OBJECT CALL FUNCTION 'CLASSIFY_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = arch_handle TABLES kssk_arch = wa_clmat-kssk_arch ausp_arch = wa_clmat-ausp_arch cabnt_arch = wa_clmat-cabnt_arch EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2. "#EC *



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