SAP Reports / Programs | Materials Management | Consumption-Based Planning (See Also PP-MRP)(MM-CBP) SAP MM

MWRPMF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 0.

RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING node_id = '000000' EXCEPTIONS id_not_found = 1 OTHERS = 2.

RS_TREE_CONTROL_PREPARE CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' EXPORTING control_pattern = stree_ctl_propf_autow_w_header hierarchy_header = text-201 initial_header_width = 50 list_item_header = text-202 * MULTIPLE_SELECTION = STREE_FALSE * ITEM_SELECTION = STREE_FALSE suppress_node_icon = wrplt_true * SUPPRESS_FOLDER_ICON = STREE_FALSE * CALLBACK_PROGRAM = * CALLBACK_ITEM_DISPLAY = color_mapping = t_color_mapping * TYPE_MAPPING = * IMPORTING * SUBSCREEN_PROGRAM = * SUBSCREEN_DYNNR = * EXCEPTIONS * NOT_AVAILABLE = 1 * OTHERS = 2 .

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMWRPM' callback_user_command = 'TREE_COMMANDS' * CALLBACK_TEXT_DISPLAY = 'ahgfdlfgfdg' callback_color_display = ' ' * CALLBACK_TOP_OF_PAGE = '001' * CALLBACK_GUI_STATUS = 'TREE' * ACC-RST-B status = 'STANDARD' * ACC-RST-E * CHECK_DUPLICATE_NAME = '1' * COLOR_OF_NODE = '4' * COLOR_OF_MARK = '3' * COLOR_OF_LINK = '1' * COLOR_OF_MATCH = '5' * LOWER_CASE_SENSITIVE = ' ' * MODIFICATION_LOG = ' ' * NODE_LENGTH = 30 * TEXT_LENGTH = 75 * TEXT_LENGTH1 = 0 * TEXT_LENGTH2 = 0 * RETURN_MARKED_SUBTREE = ' ' * SCREEN_START_COLUMN = 0 * SCREEN_START_LINE = 0 * SCREEN_END_COLUMN = 0 * SCREEN_END_LINE = 0 * SUPPRESS_NODE_OUTPUT = ' ' * LAYOUT_MODE = ' ' use_control = 'F' * IMPORTING * F15 = EXCEPTIONS OTHERS = 0.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' EXPORTING insert_id = insert_id relationship = relationship * note 377569 - B log = 'X' * note 377569 - E TABLES nodetab = g_t_nodes.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = node_info EXCEPTIONS id_not_found = 1 OTHERS = 2.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = id EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_COMPRESS CALL FUNCTION 'RS_TREE_COMPRESS' EXPORTING node_id = id EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = node_id all = 'X' with_attributes = 'X' TABLES list = nodes EXCEPTIONS cycle_detected = 1 node_not_found = 2 OTHERS = 3.

RPL_CUSTOMER_NAME_GET CALL FUNCTION 'RPL_CUSTOMER_NAME_GET' EXPORTING pi_kunnr = cust IMPORTING pe_name1 = name EXCEPTIONS OTHERS = 1.

RPL_MATERIAL_TEXT_GET CALL FUNCTION 'RPL_MATERIAL_TEXT_GET' EXPORTING pi_matnr = matnr IMPORTING pe_maktx = name EXCEPTIONS OTHERS = 1.

WRITE_MESSAGE_NEW CALL FUNCTION 'WRITE_MESSAGE_NEW' EXPORTING msgid = re_item-msgid msgno = re_item-msgno msgty = re_item-msgty msgv1 = re_item-msgv1 msgv2 = re_item-msgv2 msgv3 = re_item-msgv3 msgv4 = re_item-msgv4 msgv5 = space IMPORTING messg = name msgln = length EXCEPTIONS OTHERS = 1.

WRITE_MESSAGE_NEW CALL FUNCTION 'WRITE_MESSAGE_NEW' EXPORTING msgid = re_item-msgid msgno = re_item-msgno msgty = re_item-msgty msgv1 = re_item-msgv1 msgv2 = re_item-msgv2 msgv3 = re_item-msgv3 msgv4 = re_item-msgv4 msgv5 = space IMPORTING messg = message EXCEPTIONS OTHERS = 1.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_info TABLES dynpselect = dummy1 dynpvaluetab = dummy2.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = '000001' all = 'X' EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = '000001' IMPORTING node_info = node_snodetext EXCEPTIONS id_not_found = 1 OTHERS = 2.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = jobselect * IMPORTING * JOBSEL_PARAM_OUT = TABLES jobselect_joblist = joblist EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.

BP_JOBLOG_SHOW





CALL FUNCTION 'BP_JOBLOG_SHOW' EXPORTING client = sy-mandt jobcount = rr_item-jobcount joblogid = batchlog jobname = rr_item-jobname EXCEPTIONS error_reading_jobdata = 1 error_reading_joblog_data = 2 jobcount_missing = 3 joblog_does_not_exist = 4 joblog_is_empty = 5 joblog_show_canceled = 6 jobname_missing = 7 job_does_not_exist = 8 no_joblog_there_yet = 9 no_show_privilege_given = 10 OTHERS = 11.



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