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
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.
Title: Display Material Archive: Long Texts
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.