RGSIMPH0 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 RGSIMPH0 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: Import CO Hierarchies from External System
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_SET_ENQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_ENQUEUE_WITH_FATHERS' EXPORTING setid = l_setid.
G_SET_TREE_GENERATE CALL FUNCTION 'G_SET_TREE_GENERATE' EXPORTING tolerate_ambiguity = 'X' TABLES set_hierarchy = l_sethier set_values = l_setval EXCEPTIONS OTHERS = 1.
G_SET_DEQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_DEQUEUE_WITH_FATHERS' EXPORTING setid = l_setid.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = my_set_hier-setid IMPORTING setclass = hier_class shortname = hier_name kokrs = hier_kokrs ktopl = hier_ktopl.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = my_set_hier-setid IMPORTING setclass = my_class shortname = my_name kokrs = my_kokrs ktopl = my_ktopl.
K_GROUP_NAME_CHECK CALL FUNCTION 'K_GROUP_NAME_CHECK' EXPORTING group_name = my_name check_length_15 = 'X' EXCEPTIONS OTHERS = 4.
G_SET_CHECK_NAME CALL FUNCTION 'G_SET_CHECK_NAME' EXPORTING setname = my_name no_name_convention_check = 'X' EXCEPTIONS OTHERS = 4.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = set_name IMPORTING info = set_info EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_SET_PROTECT_HIERARCHY CALL FUNCTION 'G_SET_PROTECT_HIERARCHY' EXPORTING setname = set_name table = my_set_hier-tabname EXCEPTIONS set_in_standard_hierarchy = 1 OTHERS = 2.
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = l_field table = l_table text_flag = 'X' add_flag = 'X' IMPORTING field_attr = field_attr.
G_CONVERT_INPUT CALL FUNCTION 'G_CONVERT_INPUT' EXPORTING converted_length = field_attr-leng convexit = field_attr-convexit datatype = field_attr-datatype input_length = field_attr-outputlen input_value = p_setvalues-from IMPORTING converted_value = p_setvalues-from.
G_CONVERT_INPUT CALL FUNCTION 'G_CONVERT_INPUT' EXPORTING converted_length = field_attr-leng convexit = field_attr-convexit datatype = field_attr-datatype input_length = field_attr-outputlen input_value = p_setvalues-to IMPORTING converted_value = p_setvalues-to.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.