SAP Reports / Programs | Public Sector Management | Funds Management | Master Data(PSM-FM-MD) SAP PSM

MFMFSF02 SAP ABAP INCLUDE - Include MFMPPF02 Subroutines for Fnds Ctrs: Hierarchy Graphic







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


Text pool values


Title: Include MFMPPF02 Subroutines for Fnds Ctrs: Hierarchy Graphic


INCLUDES used within this REPORT MFMFSF02

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:

FM_HIVARNT_GET_ASSIGNED CALL FUNCTION 'FM_HIVARNT_GET_ASSIGNED' EXPORTING i_fikrs = g_fikrs i_flg_all_hivarnt = 'X' TABLES t_fm01h = l_t_fm01h EXCEPTIONS hivarnt_not_found = 1.

FM_FIKRS_READ CALL FUNCTION 'FM_FIKRS_READ' EXPORTING i_fikrs = g_fikrs IMPORTING e_f_fm01 = l_f_fm01.

FM21_CHECK_EURO_FMAREA CALL FUNCTION 'FM21_CHECK_EURO_FMAREA' EXPORTING i_eurofikrs = g_fikrs IMPORTING e_fikrs = l_fikrs_of_efikrs EXCEPTIONS not_found = 1 not_active = 2 OTHERS = 3.

FM_HIVARNT_READ_HIERARCHY CALL FUNCTION 'FM_HIVARNT_READ_HIERARCHY' EXPORTING i_fikrs = g_fikrs i_hivarnt = g_hivarnt * I_FLG_SORT = 'X' TABLES t_fmhisv = l_t_fmhisv.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = u_t_graphic.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMFMFS' callback_user_command = 'GRAPHIC_CALLBACK_USER_COMMAND' callback_text_display = 'GRAPHIC_CALLBACK_TEXT_DISPLAY' callback_color_display = 'COLOR_DISPLAY' * CALLBACK_TOP_OF_PAGE = ' ' status = 'OWN' * CHECK_DUPLICATE_NAME = '1' * COLOR_OF_LINK = '1' * COLOR_OF_NODE = '4' * LOWER_CASE_SENSITIVE = ' ' modification_log = 'X' node_length = 18 text_length = 24 text_length1 = 75 text_length2 = 75 * RETURN_MARKED_SUBTREE = ' ' * SCREEN_START_COLUMN = 0 * SCREEN_START_LINE = 0 * SCREEN_END_COLUMN = 0 * SCREEN_END_LINE = 0 * suppress_node_output = ' ' IMPORTING f15 = l_exit_comm.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = '000001' all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

RS_TREE_GET_MARKED_NODES CALL FUNCTION 'RS_TREE_GET_MARKED_NODES' EXPORTING with_subtree = 'X' TABLES marktab = l_t_node_marked.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = c_t_node-moveid IMPORTING node_info = l_f_node.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = c_t_node-id all = 'X' with_attributes = 'X' TABLES list = l_t_node.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = l_t_node.

RS_TREE_MOVE CALL FUNCTION 'RS_TREE_MOVE' EXPORTING destination = c_t_node-moveid move_id = c_t_node-id relationship = l_relationship.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = ' ' node_id = l_id_parent.

RS_TREE_MOVE CALL FUNCTION 'RS_TREE_MOVE' EXPORTING destination = l_destination move_id = c_t_node-id relationship = l_relationship.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = u_f_node-id IMPORTING node_info = g_f_graphic_snodetext.

FM_FUNDS_CENTER_MAINTAIN CALL FUNCTION 'FM_FUNDS_CENTER_MAINTAIN' EXPORTING i_fikrs = g_fikrs i_fistl = l_f_fmmd_fistl_all-fistl i_f_fmmd_fistl_all = l_f_fmmd_fistl_all i_mode = con_show i_call_context = l_call_context * I_FLG_NO_ENQUEUE = ' ' EXCEPTIONS OTHERS = 2.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = u_f_node-id IMPORTING node_info = g_f_graphic_snodetext.

FM_FUNDS_CENTER_MAINTAIN CALL FUNCTION 'FM_FUNDS_CENTER_MAINTAIN' EXPORTING i_fikrs = g_fikrs i_fistl = l_f_fmmd_fistl_all-fistl i_f_fmmd_fistl_all = l_f_fmmd_fistl_all i_mode = l_mode i_call_context = l_call_context * I_FLG_NO_ENQUEUE = ' ' IMPORTING e_f_fmmd_fistl_all = l_f_fmmd_fistl_all_new e_status = l_status e_flg_other_data_changed = l_flg_other_data_changed EXCEPTIONS OTHERS = 2.

RS_TREE_GET_NODE





CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = u_f_node-id IMPORTING node_info = g_f_graphic_snodetext.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = g_f_graphic_snodetext.

RS_TREE_GET_MARKED_NODES CALL FUNCTION 'RS_TREE_GET_MARKED_NODES' EXPORTING with_subtree = 'X' TABLES marktab = l_t_node_marked.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = c_t_node-parent IMPORTING node_info = g_f_graphic_snodetext.

FM_FUNDS_CENTER_MAINTAIN CALL FUNCTION 'FM_FUNDS_CENTER_MAINTAIN' EXPORTING i_fikrs = g_fikrs i_fistl = l_fistl i_f_fmmd_fistl_all = l_f_fmmd_fistl_all i_mode = con_insert i_call_context = l_call_context * I_FLG_NO_ENQUEUE = ' ' IMPORTING e_f_fmmd_fistl_all = l_f_fmmd_fistl_all_new e_status = l_status.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = ' ' node_id = c_t_node-id.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

RS_TREE_SET_LOCK CALL FUNCTION 'RS_TREE_SET_LOCK' EXPORTING node_id = '000001'.

RS_TREE_RESET_LOCK CALL FUNCTION 'RS_TREE_RESET_LOCK' EXPORTING node_id = '000001' with_subtree = ' '.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = '000001'.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = c_f_node-parent IMPORTING node_info = g_f_graphic_snodetext.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = c_f_node-id EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_RESET_LOCK CALL FUNCTION 'RS_TREE_RESET_LOCK' EXPORTING node_id = '000001' with_subtree = 'X' EXCEPTIONS node_not_found = 1 OTHERS = 2.

RS_TREE_GET_MARKED_NODES CALL FUNCTION 'RS_TREE_GET_MARKED_NODES' EXPORTING with_subtree = 'X' TABLES marktab = l_t_node_marked.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = u_t_node-id all = 'X' with_attributes = 'X' TABLES list = l_t_node.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = l_t_node.

RS_TREE_MOVE CALL FUNCTION 'RS_TREE_MOVE' EXPORTING destination = l_destination move_id = u_t_node-id relationship = l_relationship.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.




RS_TREE_GET_CURRENT_NODE CALL FUNCTION 'RS_TREE_GET_CURRENT_NODE' IMPORTING node_info = l_f_id_snodetext.

RS_TREE_SET_LOCK CALL FUNCTION 'RS_TREE_SET_LOCK' EXPORTING node_id = l_f_id_snodetext-id with_subtree = 'X'.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = l_f_id_snodetext-id EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' * WITH_ATTRIBUTES = ' ' TABLES list = l_t_graphic.

RS_TREE_SET_LOCK CALL FUNCTION 'RS_TREE_SET_LOCK' EXPORTING node_id = l_t_graphic_subtree-id with_subtree = 'X'.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = l_t_graphic_subtree-id EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_SET_LOCK CALL FUNCTION 'RS_TREE_SET_LOCK' EXPORTING node_id = l_f_id_snodetext-id with_subtree = 'X'.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = l_f_id_snodetext-id EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = l_defaultoption textline1 = l_textline1 textline2 = l_textline2 titel = l_titel IMPORTING answer = c_answer EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = l_defaultoption textline1 = l_textline1 textline2 = l_textline2 titel = l_titel IMPORTING answer = c_answer EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-007 textline2 = text-008 titel = text-009 IMPORTING answer = c_answer EXCEPTIONS OTHERS = 1.

RS_TREE_GET_MARKED_NODES CALL FUNCTION 'RS_TREE_GET_MARKED_NODES' EXPORTING with_subtree = 'X' TABLES marktab = l_t_node_sort.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = c_t_graphic.

RS_TREE_GET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_GET_CURRENT_LAYOUT' IMPORTING cursor_column = s_cursor_column cursor_line = s_cursor_line first_node = s_first_node first_node_type = s_first_node_type list_column = s_list_column list_line = s_list_line TABLES layout = s_t_layout.

RS_TREE_SET_CURRENT_TREE CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES nodeinfo = c_t_graphic.

RS_TREE_SET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_SET_CURRENT_LAYOUT' EXPORTING cursor_column = s_cursor_column cursor_line = s_cursor_line first_node = s_first_node first_node_type = s_first_node_type list_column = s_list_column list_line = s_list_line * importing * inconsistent_layout = TABLES layout = s_t_layout.

DD_POPUP_WITH_INFOTEXT CALL FUNCTION 'DD_POPUP_WITH_INFOTEXT' EXPORTING titel = text-050 start_column = 5 start_row = 5 end_column = 9 end_row = 10 infoflag = 'X' IMPORTING answer = l_answer TABLES lines = l_t_lines.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = l_f_help_info TABLES dynpselect = l_t_dummy_selc dynpvaluetab = l_t_dummy_dval.

FM_FUNDS_CENTER_UPDATE CALL FUNCTION 'FM_FUNDS_CENTER_UPDATE' EXPORTING i_fikrs = g_fikrs i_flg_commit = 'X' TABLES t_fmmd_fmfctr = u_t_fmmd_fmfctr t_fmmd_fmfctrt = u_t_fmmd_fmfctrt t_fmmd_fmhisv = u_t_fmmd_fmhisv EXCEPTIONS error_occurred = 1 OTHERS = 2.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = u_t_node-moveid IMPORTING node_info = g_f_graphic_snodetext.

FM_HIVARNT_GET_ASSIGNED CALL FUNCTION 'FM_HIVARNT_GET_ASSIGNED' EXPORTING i_fikrs = g_fikrs i_flg_all_hivarnt = 'X' TABLES t_fm01h = lt_fm01h EXCEPTIONS hivarnt_not_found = 1.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = u_t_node-id all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

FM20_BUDGET_CHECK_FUNDS_CENTER CALL FUNCTION 'FM20_BUDGET_CHECK_FUNDS_CENTER' EXPORTING i_fikrs = g_fikrs i_fictr = g_f_hide-fictr i_check_funds_center_move = 'X' IMPORTING e_subrc = l_subrc TABLES t_years = lt_years.

POPUP_DISPLAY_MESSAGE CALL FUNCTION 'POPUP_DISPLAY_MESSAGE' EXPORTING msgid = 'BQ' msgty = 'W' msgno = '401' msgv1 = sy-msgv1.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = 1 all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

DD_POPUP_WITH_INFOTEXT CALL FUNCTION 'DD_POPUP_WITH_INFOTEXT' EXPORTING titel = text-050 start_column = 30 start_row = 5 end_column = 7 end_row = 9 IMPORTING answer = l_answer TABLES lines = l_t_lines.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-071 EXCEPTIONS OTHERS = 1.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING all = 'X' with_attributes = 'X' TABLES list = l_t_graphic.

FM_HIVARNT_COMPLETE_CHECK CALL FUNCTION 'FM_HIVARNT_COMPLETE_CHECK' EXPORTING i_fikrs = g_fikrs i_hivarnt = g_hivarnt i_gjahr = g_gjahr_check i_flg_check_no_db = 'X' IMPORTING e_flg_ok = l_flg_ok TABLES t_fmhisv_to_check = l_t_fmhisv_to_check t_fmhisv_too_much = l_t_fmhisv_too_much t_fmhisv_not_enough = l_t_fmhisv_not_enough.

FM_HIVARNT_COMPLETE_SHOW CALL FUNCTION 'FM_HIVARNT_COMPLETE_SHOW' STARTING NEW TASK text-070 EXPORTING i_fikrs = g_fikrs i_hivarnt = g_hivarnt i_gjahr = g_gjahr_check TABLES t_fmhisv_too_much = l_t_fmhisv_too_much t_fmhisv_not_enough = l_t_fmhisv_not_enough.

FM_HIVARNT_GET_ASSIGNED CALL FUNCTION 'FM_HIVARNT_GET_ASSIGNED' EXPORTING i_fikrs = u_fikrs i_flg_all_hivarnt = 'X' TABLES t_fm01h = l_t_fm01h.

FM_FICTR_READ_SINGLE CALL FUNCTION 'FM_FICTR_READ_SINGLE' EXPORTING i_fikrs = u_fikrs i_fictr = u_fictr i_gjahr = l_f_fm01h-gjahr EXCEPTIONS input_error = 1 master_data_not_found = 2 hierarchy_data_not_found = 3 OTHERS = 4.



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