MMCSHFH0 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 MMCSHFH0 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: Include MMCSHFH0
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING node_id = '000001' EXCEPTIONS id_not_found = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-050 EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-051 EXCEPTIONS OTHERS = 1.
OIW_GET_TEXT_OF_OBJECT CALL FUNCTION 'OIW_GET_TEXT_OF_OBJECT' EXPORTING i_tmco = bu_tmco IMPORTING e_text = bu_tmcot-text EXCEPTIONS OTHERS = 1.
RS_TREE_SET_CURRENT_TREE CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = ref_tabname fieldname = ref_fieldname multiple_choice = 'X' TABLES return_tab = ba_rettab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
MC_POPUP_GET_FIELD_LOOP CALL FUNCTION 'MC_POPUP_GET_FIELD_LOOP' EXPORTING i_status = 'I' i_rollname = mcshier-hierrolnm table = ref_tabname field = ref_fieldname i_title = ba_title_anl TABLES values = ba_mcyb EXCEPTIONS OTHERS = 1.
OIW_GET_OBJECT CALL FUNCTION 'OIW_GET_OBJECT' TABLES selected_values = ba_values EXCEPTIONS OTHERS = 1.
OIW_GET_TEXT_OF_OBJECT CALL FUNCTION 'OIW_GET_TEXT_OF_OBJECT' EXPORTING i_tmco = tmco IMPORTING e_text = tmcot-text EXCEPTIONS OTHERS = 1.
RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING new_name =
insert_id = node-id relationship = 'CHILD' new_type = c_leaf display_attributes = ba_attr EXCEPTIONS id_not_found = 1 OTHERS = 2.
RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING new_name = ba_mcyb-vallow insert_id = node-id relationship = 'CHILD' new_type = c_leaf display_attributes = ba_attr EXCEPTIONS id_not_found = 1 OTHERS = 2.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = node-id EXCEPTIONS not_found = 1 OTHERS = 2.
RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-049 text_question = text-048 IMPORTING answer = rc_code EXCEPTIONS text_not_found = 1 OTHERS = 2.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = node-text(10) IMPORTING output = datuv EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = node-text+13(10) IMPORTING output = datub EXCEPTIONS OTHERS = 1.
POPUP_GET_VALUES_DB_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_DB_CHECKED' EXPORTING popup_title = text-004 IMPORTING returncode = d_returncode TABLES fields = popup_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.
POPUP_GET_VALUES_USER_BUTTONS CALL FUNCTION 'POPUP_GET_VALUES_USER_BUTTONS' EXPORTING first_pushbutton = text-026 formname = 'POPUP_BUTTON' ok_pushbuttontext = text-025 popup_title = text-004 programname = 'RMCSHIER' IMPORTING returncode = d_returncode TABLES fields = popup_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.
CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = d_node EXCEPTIONS id_not_found = 1 OTHERS = 2.
MCR_COLOR CALL FUNCTION 'MCR_COLOR' EXPORTING popup_title = text-010 TABLES color_tab = f_color_tab EXCEPTIONS OTHERS = 1.
ENQUEUE_E_MCSHIERK CALL FUNCTION 'ENQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = mcshier-hiername EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-050 EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-051 EXCEPTIONS OTHERS = 1.
OIW_GET_TEXT_OF_OBJECT CALL FUNCTION 'OIW_GET_TEXT_OF_OBJECT' EXPORTING i_tmco = ha_tmco IMPORTING e_text = ha_tmcot-text EXCEPTIONS OTHERS = 1.
RS_TREE_SET_CURRENT_TREE CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
RS_TREE_CONTROL_PREPARE * CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' * EXPORTING * multiple_selection = 'X' * type_mapping = type_mapping_tab * EXCEPTIONS * not_available = 1 * OTHERS = 2.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMMCSH' callback_user_command = 'HNEW_USER_COMMAND' callback_top_of_page = 'HNEW_TOP_OF_PAGE' check_duplicate_name = ha_duplicate color_of_link = color_link color_of_node = color_standard lower_case_sensitive = 'X' IMPORTING f15 = f15 EXCEPTIONS OTHERS = 1.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMMCSH' callback_user_command = 'HNEW_USER_COMMAND' callback_gui_status = 'HNEW_GUI_STATUS' check_duplicate_name = ha_duplicate color_of_link = color_link color_of_node = color_standard lower_case_sensitive = 'X' use_control = stree_use_control IMPORTING f15 = f15 EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = hierk-hname EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCZ' hname = hierk-hname EXCEPTIONS OTHERS = 1.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = nodetab-text(10) IMPORTING output = hierbcopy-datuv EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = nodetab-text+13(10) IMPORTING output = hierbcopy-datub EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = hierk-hname EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCZ' hname = hierk-hname EXCEPTIONS OTHERS = 1.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 0.
RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = nodetab EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.
RS_TREE_CONTROL_PREPARE CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' EXPORTING multiple_selection = 'X' type_mapping = type_mapping_tab EXCEPTIONS not_available = 1 OTHERS = 2.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMMCSH' callback_user_command = 'HNEW_USER_COMMAND' callback_top_of_page = 'HNEW_TOP_OF_PAGE' check_duplicate_name = '3' color_of_link = color_link color_of_node = color_standard lower_case_sensitive = 'X' IMPORTING f15 = f15 EXCEPTIONS OTHERS = 1.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMMCSH' callback_user_command = 'HNEW_USER_COMMAND' callback_gui_status = 'HNEW_GUI_STATUS' check_duplicate_name = '3' color_of_link = color_link color_of_node = color_standard lower_case_sensitive = 'X' use_control = stree_use_control IMPORTING f15 = f15 EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = hierk-hname EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCZ' hname = hierk-hname EXCEPTIONS OTHERS = 1.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = nodetab-text(10) IMPORTING output = hierb-datuv EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = nodetab-text+13(10) IMPORTING output = hierb-datub EXCEPTIONS OTHERS = 1.
BHIE_HIERARCHY_CHABASNM_GET CALL FUNCTION 'BHIE_HIERARCHY_CHABASNM_GET' EXPORTING i_dtelnm = l_dtelnm i_domanm = l_domanm IMPORTING e_chabasnm = l_chabasnm e_s_hieflags = l_s_hieflags EXCEPTIONS dtelnm_not_exist = 1 domanm_not_exist = 2 infoobject_dtelnm_not_found = 3 chabasnm_domanm_not_found = 4 chabasnm_not_found = 5 OTHERS = 6.
BHIE_HIERARCHY_CHABASNM_UPDATE CALL FUNCTION 'BHIE_HIERARCHY_CHABASNM_UPDATE' EXPORTING i_s_hiebas = l_s_hiebas i_s_hieflags = l_s_hieflags EXCEPTIONS chabasnm_not_found = 1 hclass_not_found = 2 domanm_dtelnm_not_exist = 3 chabasnm_domanm_not_found = 4 chabasnm_dtelnm_not_found = 5 tfdir_catalog_not_found = 6 tfdir_transfer_not_found = 7 invalid_hierarchy_flag = 8 OTHERS = 9.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = hierk-hname EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCZ' hname = hierk-hname EXCEPTIONS OTHERS = 1.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
ENQUEUE_E_MCSHIERK CALL FUNCTION 'ENQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = mcshier-hiername EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'N' objectvalue = mcshier-hiername text_after = text-055 text_before = text-054 titel = text-053 cancel_display = ' ' IMPORTING answer = hl_answer EXCEPTIONS text_too_long = 1 OTHERS = 2.
BHIE_HIERARCHY_CHABASNM_GET CALL FUNCTION 'BHIE_HIERARCHY_CHABASNM_GET' EXPORTING i_dtelnm = mcshierk-rolnm i_domanm = mcshierk-domnm IMPORTING e_chabasnm = l_rohiebas-chabasnm EXCEPTIONS dtelnm_not_exist = 1 domanm_not_exist = 2 infoobject_dtelnm_not_found = 3 chabasnm_domanm_not_found = 4 chabasnm_not_found = 5 OTHERS = 6.
BHIE_HIERARCHY_CHABASNM_DELETE CALL FUNCTION 'BHIE_HIERARCHY_CHABASNM_DELETE' EXPORTING i_s_hiebas = l_rohiebas EXCEPTIONS chabasnm_not_found = 1 invalid_hierarchy_flag = 2 hierarchy_metadata_not_found = 3 OTHERS = 4.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCS' hname = mcshier-hiername EXCEPTIONS OTHERS = 1.
RS_TREE_GET_MARKED_NODES CALL FUNCTION 'RS_TREE_GET_MARKED_NODES' EXPORTING with_subtree = ' ' TABLES marktab = htop_marked EXCEPTIONS OTHERS = 1.
RS_TREE_SET_LOCK CALL FUNCTION 'RS_TREE_SET_LOCK' EXPORTING node_id = node-id EXCEPTIONS node_not_found = 1 OTHERS = 2.
RS_TREE_RESET_LOCK CALL FUNCTION 'RS_TREE_RESET_LOCK' EXPORTING node_id = node-id EXCEPTIONS node_not_found = 1 OTHERS = 2.
RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = nodetab EXCEPTIONS OTHERS = 1.
RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING node_id = nodetab-id without_root = ' ' EXCEPTIONS id_not_found = 1 OTHERS = 2.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-001 textline2 = text-002 titel = text-003 cancel_display = ' ' IMPORTING answer = ocl_sicher EXCEPTIONS OTHERS = 1.
DEQUEUE_E_MCSHIERK CALL FUNCTION 'DEQUEUE_E_MCSHIERK' EXPORTING appl = 'MCZ' hname = oiw_cust EXCEPTIONS OTHERS = 1.
RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-056 text_question = text-055 IMPORTING answer = s_code EXCEPTIONS text_not_found = 1 OTHERS = 2.
MCS_OBJECTS_INSERT CALL FUNCTION 'MCS_OBJECTS_INSERT' TABLES t_ko200 = t_hlp_ko200 t_e071k = t_hlp_e071k EXCEPTIONS exists_globaly = 01 display_only = 02 stop_action = 03.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-022 textline2 = text-023 titel = text-024 IMPORTING answer = t_sicher EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-046 textline2 = text-047 titel = text-045 IMPORTING answer = t_sicher EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING objectvalue = mcshier-hiername text_after = text-019 text_before = text-018 titel = titel IMPORTING answer = vs_code EXCEPTIONS text_too_long = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = titel text_question = text-040 IMPORTING answer = vs_code EXCEPTIONS text_not_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = titel text_question = text-041 IMPORTING answer = vs_code EXCEPTIONS text_not_found = 1 OTHERS = 2.
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 MMCSHFH0 or its description.