RGSAUTHGR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for For entering an
If you would like to execute this report or see the full code listing simply enter RGSAUTHGR 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.
Selection Text: P_AUTH = D Authorization group
Selection Text: P_SET = D Set ID
Title: Entering an Authorization Group in all the Sets of a Hierarchy
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = p_set old_setid = g_setid setclass = g_class no_dynamic_sets = 'X' IMPORTING new_setid = g_setid.
G_RW_SET_SELECT CALL FUNCTION 'G_RW_SET_SELECT' EXPORTING class = g_class set = p_set show_field_name = 'X' show_table_name = 'X' no_dynamic_sets = 'X' IMPORTING setid = g_setid set_name = p_set EXCEPTIONS OTHERS = 1.
G_SET_TREE_IMPORT CALL FUNCTION 'G_SET_TREE_IMPORT' EXPORTING setid = p_setid TABLES set_hierarchy = lt_sethier set_values = lt_setval.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = '02' authgr = l_authgr.
G_SET_ENQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_ENQUEUE_WITH_FATHERS' EXPORTING setid = p_setid.
G_SET_TREE_GENERATE CALL FUNCTION 'G_SET_TREE_GENERATE' EXPORTING tolerate_ambiguity = 'X' TABLES set_hierarchy = lt_sethier set_values = lt_setval.
G_SET_DEQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_DEQUEUE_WITH_FATHERS' EXPORTING setid = p_setid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RGSAUTHGR - Entering an Authorization Group in all the Sets of a Hierarchy RGSAUTHGR - Entering an Authorization Group in all the Sets of a Hierarchy RGSALEPC - Send Profit Center Groups or Account Groups via ALE RGSALEPC - Send Profit Center Groups or Account Groups via ALE RGSALEH1 - Send Complete CO Hierarchy via ALE RGSALEH1 - Send Complete CO Hierarchy via ALE