SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Sets(FI-SL-SL-MD-SE) SAP FI

RGSIMPH0 SAP ABAP INCLUDE - Import CO Hierarchies from External System







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


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


Text pool values


Title: Import CO Hierarchies from External System


INCLUDES used within this REPORT RGSIMPH0

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:

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.



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