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

MMREOF50 SAP ABAP INCLUDE - documentation and ABAP source code







MMREOF50 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 MMREOF50 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 MMREOF50. "Basic submit
SUBMIT MMREOF50 AND RETURN. "Return to original report after report execution complete
SUBMIT MMREOF50 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 MMREOF50

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:

REORGANISATION_MATERIAL call function 'REORGANISATION_MATERIAL' exporting test_on = test_on material_enqueue = 'X' archive_run = archive_run ignore_lvorm = lv_ign reset = reset no_close_archive = 'X' archive_name = arc_name " TC 31.03.00

SPBT_INITIALIZE call function 'SPBT_INITIALIZE' * EXPORTING * GROUP_NAME = ' ' importing max_pbt_wps = maxnodes free_pbt_wps = freenodes exceptions others = 7.

TH_SERVER_LIST call function 'TH_SERVER_LIST' tables list = list exceptions no_server_list = 1 others = 2.

REORGANISATION_MATERIAL call function 'REORGANISATION_MATERIAL' starting new task sy-index destination in group default performing return_info on end of task exporting test_on = test_on material_enqueue = 'X' archive_run = archive_run ignore_lvorm = lv_ign reset = reset comment = p_coment new_logic = new_logic p_prot = p_prot delete_in_test_mode = p_deltst i_ar_ilm = p_ar_ilm i_snap = p_snap i_dest = p_dest tables record_to_delete = subrecord_to_delete output_table = output_table exceptions communication_failure = 99 system_failure = 99 resource_failure = 99 others = 10.

GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing * EVENTID = * EVENTPARM = * EXTERNAL_PROGRAM_ACTIVE = jobcount = jobcount jobname = jobname * STEPCOUNT = exceptions no_runtime_info = 1 others = 2.

TWPA_SINGLE_READ call function 'TWPA_SINGLE_READ' importing wtwpa = twpa exceptions others = 2.

MG_DISP_MESSAGES_LIST call function 'MG_DISP_MESSAGES_LIST' tables output_table = output_table exceptions others = 0.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = arch_handle * statistics_only_per_run = 'X' exceptions internal_error = 1 others = 2.

ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = arch_handle exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3.

MASS_MESSAGE_GET call function 'MASS_MESSAGE_GET' exporting * SPRSL = SY-LANGU arbgb = sy-msgid msgnr = msgnr msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 importing msgtext = msgtxt exceptions message_not_found = 1 others = 2.

ARCHIVE_PROTOCOL_INIT * call function 'ARCHIVE_PROTOCOL_INIT' * exporting * i_detailprotocol = p_prot * i_protocol_output = p_prot_o.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = wa_output_table-tabkey+4(18) i_msgtype = lv_msgtype i_msgid = wa_output_table-arbgb i_msgno = sy-msgno i_msgv1 = wa_output_table-msgv1 i_msgv2 = wa_output_table-msgv2 i_msgv3 = wa_output_table-msgv3 i_msgv4 = wa_output_table-msgv4.

ARCHIVE_PROTOCOL_WRITE * call function 'ARCHIVE_PROTOCOL_WRITE'.



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