SAP Reports / Programs

RGSIMPH2 SAP ABAP Report - Import CO Hierarchies from External System







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


Text pool values


Selection Text: LIST_VAL = Also display values
Selection Text: OUTFILE = D Export file
Selection Text: OVERWRIT = Overwrite existing sets
Selection Text: OVER_STD = Overwrite standard hierarchies
Selection Text: TEST_RUN = Test run
Title: Import CO Hierarchies from External System
Text Symbol: 001 = This node has an incorrect type:
Text Symbol: 002 = This node has incorrect fields:
Text Symbol: 003 = This node already exists:
Text Symbol: 004 = This node already exists for another field:
Text Symbol: 005 = This node exists as a part of a standard hierarchy.
Text Symbol: 007 = Incorrect number of set values:
Text Symbol: 008 = Error when checking the hierarchy. No sets were created.
Text Symbol: 009 = Hierarchy checked. The following sets will be created in the production run:
Text Symbol: 010 = This node name contains invalid characters.
Text Symbol: 011 = Valid characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789, - and underscore
Text Symbol: 012 = Hierarchy checked. Sets have been created.
Text Symbol: 013 = More than one top node in the hierarchy:
Text Symbol: 020 = In the production run, you cannot create sets with a leading zero!


INCLUDES used within this REPORT RGSIMPH2

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_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = '01'.

G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING object_name = '0' mainmode = 'A' EXCEPTIONS object_is_protected = 1 object_created_by_sap = 2 OTHERS = 3.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID'" Name of subset EXPORTING setclass = my_class shortname = my_data_tab-groupname kokrs = my_kokrs IMPORTING setid = my_sethier-setid.



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