SAP Reports / Programs | Logistics - General | Logistics Information System (LIS) | Reporting(LO-LIS-REP) SAP LO

RMCS0HIE SAP ABAP INCLUDE - LIS Standard Analyses: Routines for Hierarchy Processing







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


Text pool values


Title: LIS Standard Analyses: Routines for Hierarchy Processing


INCLUDES used within this REPORT RMCS0HIE

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:

MCR_COLOR CALL FUNCTION 'MCR_COLOR' EXPORTING popup_title = huc_text TABLES color_tab = huc_mcr_color EXCEPTIONS OTHERS = 1.

POPUP_GET_VALUES_DB_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_DB_CHECKED' EXPORTING popup_title = hlp_text1 start_column = 25 IMPORTING returncode = hb_returncode TABLES fields = popup_fields.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = ha_nodetab EXCEPTIONS OTHERS = 1.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = ha_nodetab EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 1.

RS_TREE_CONTROL_PREPARE CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' EXPORTING control_pattern = 'PH' " stree_ctl_autow_w_header initial_header_width = 40 EXCEPTIONS not_available = 1 OTHERS = 2.

RS_TREE_CONTROL_PREPARE CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' EXPORTING control_pattern = 'P' " stree_ctl_propfont_autowidth EXCEPTIONS not_available = 1 OTHERS = 2.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = lis_progname callback_user_command = 'HANZ_USER_COMMAND' callback_text_display = 'HANZ_TEXT_DISPLAY' * CALLBACK_COLOR_DISPLAY = ' ' callback_top_of_page = 'HANZ_TOP_OF_PAGE' * STATUS = 'IMPLICIT' * CHECK_DUPLICATE_NAME = '1' * COLOR_OF_LINK = '1' color_of_node = '1' * LOWER_CASE_SENSITIVE = ' ' * MODIFICATION_LOG = ' ' node_length = 0 text_length = 40 * TEXT_LENGTH1 = 0 * TEXT_LENGTH2 = 0 * RETURN_MARKED_SUBTREE = ' ' screen_start_column = ha_start_col screen_start_line = ha_start_row screen_end_column = ha_end_col screen_end_line = ha_end_row suppress_node_output = ' ' IMPORTING f15 = ha_dummy.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = lis_progname callback_user_command = 'HANZ_USER_COMMAND' callback_text_display = 'HANZ_TEXT_DISPLAY_TC' * CALLBACK_COLOR_DISPLAY = ' ' callback_gui_status = 'HANZ_GUI_STATUS' * callback_top_of_page = 'HANZ_TOP_OF_PAGE' * STATUS = 'IMPLICIT' * CHECK_DUPLICATE_NAME = '1' * COLOR_OF_LINK = '1' color_of_node = '1' * LOWER_CASE_SENSITIVE = ' ' * MODIFICATION_LOG = ' ' node_length = 0 text_length = 40 * TEXT_LENGTH1 = 0 * TEXT_LENGTH2 = 0 * RETURN_MARKED_SUBTREE = ' ' screen_start_column = ha_start_col screen_start_line = ha_start_row screen_end_column = ha_end_col screen_end_line = ha_end_row suppress_node_output = ' ' use_control = 'F' " stree_use_control IMPORTING f15 = ha_dummy.

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

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = hlp_text1.

RSTH_SUCCESSORS_COMPUTE CALL FUNCTION 'RSTH_SUCCESSORS_COMPUTE' EXPORTING node_id = ha_knoten_id TABLES i_rsthie = rsthie_tab e_successors = succtab.

RSTH_LEAFS_COMPUTE CALL FUNCTION 'RSTH_LEAFS_COMPUTE' EXPORTING node_id = succtab-id IMPORTING node_is_leaf = ha_flg_blatt TABLES i_rsthie = rsthie_tab e_leafs = leaftab.

RSTH_NODES_COMPUTE CALL FUNCTION 'RSTH_NODES_COMPUTE' EXPORTING node_id = succtab-id IMPORTING node_is_leaf = ha_flg_blatt TABLES i_rsthie = rsthie_tab e_nodes = leaftab.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = hlp_text1.

RSTH_HIERARCHY_INIT CALL FUNCTION 'RSTH_HIERARCHY_INIT' EXPORTING fbnam = akt_hierarchie-fbnam i_rsthvkey = hl_rsthvkey i_sel = prh_vko_vtw op_mode = '0' requester = con_requester_sa * sellevel = ' ' selmode = '2' * with_texts = ' ' TABLES i_rsthie = rsthie_tab * i_rstint = i_rsttyp = hl_rsttyp_tab.

RSTH_HIERARCHY_INIT CALL FUNCTION 'RSTH_HIERARCHY_INIT' EXPORTING fbnam = akt_hierarchie-fbnam i_rsthvkey = hl_rsthvkey i_sel = hier_zusatzinfo op_mode = '0' requester = con_requester_sa * sellevel = ' ' selmode = '2' * with_texts = ' ' TABLES i_rsthie = rsthie_tab * i_rstint = i_rsttyp = hl_rsttyp_tab.

RSTH_TREE_CONSTRUCT CALL FUNCTION 'RSTH_TREE_CONSTRUCT' TABLES i_rsthie = rsthie_tab EXCEPTIONS tree_not_constructable = 1 OTHERS = 2.

DD_DTEL_GET





CALL FUNCTION 'DD_DTEL_GET' EXPORTING langu = sy-langu roll_name = hl_rsttyp_tab-rolnm "KLASSE nicht mehr vh.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = hl_rsttyp_tab-tdomnm IMPORTING gotstate = hl_gotstate dd01v_wa = hl_dd01v_wa EXCEPTIONS illegal_input = 1 OTHERS = 2.

MC_POPUP_TO_MARK_FIELDS CALL FUNCTION 'MC_POPUP_TO_MARK_FIELDS' EXPORTING i_field_number_max = 1 i_field_number_min = 1 i_mark_by_table = true i_object_name_plural = hlp_text1 i_object_name_singular = hlp_text2 i_popup_title = hlp_text3 i_text_length = he_max_strlen IMPORTING e_marked = he_flg_mark TABLES t_fields = hierarchie_tab t_marked_fields = he_mark_hierarchie.



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