SAP Reports / Programs

RGSAUTHGR SAP ABAP Report - Entering an Authorization Group in all the Sets of a Hierarchy







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


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 RGSAUTHGR. "Basic submit
SUBMIT RGSAUTHGR AND RETURN. "Return to original report after report execution complete
SUBMIT RGSAUTHGR 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: P_AUTH = D Authorization group
Selection Text: P_SET = D Set ID
Title: Entering an Authorization Group in all the Sets of a Hierarchy


INCLUDES used within this REPORT RGSAUTHGR

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_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.



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