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

MMREOFD2 SAP ABAP INCLUDE - Display Material Archive: Long Texts







MMREOFD2 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 MMREOFD2 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 MMREOFD2. "Basic submit
SUBMIT MMREOFD2 AND RETURN. "Return to original report after report execution complete
SUBMIT MMREOFD2 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 Material Archive: Long Texts


INCLUDES used within this REPORT MMREOFD2

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:

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING archive_handle = arch_handle objectclass = obj_cl objectid = ' '"obj_id username = space READ_CHANGEDOCU = 'X' "note 1558257 TABLES i_cdhdr = icdhdr EXCEPTIONS OTHERS = 4.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING archive_handle = arch_handle changenumber = icdhdr-changenr IMPORTING header = cdtot-cdhdr TABLES editpos = cdtot-cdpos EXCEPTIONS OTHERS = 3. "#EC *

TEXT_SELECT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_SELECT_ARCHIVE_OBJECT' EXPORTING archive_handle = arch_handle TABLES selections = tx_info EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2. "#EC *

TEXT_READ_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_READ_ARCHIVE_OBJECT' EXPORTING archive_handle = arch_handle id = tx_info-tdid language = tx_info-tdspras name = tx_info-tdname object = tx_info-tdobject client = mat_key-mandt IMPORTING header = txtot-txhdr TABLES lines = txtot-txpos EXCEPTIONS not_found = 1 wrong_access_to_archive = 2 OTHERS = 3. "#EC *

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_eventtab i_tabname_header = gc_header i_tabname_item = gc_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_header t_outtab_item = gt_item EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gv_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gv_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.



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