SAP Reports / Programs

RSUSR008_009_NEW SAP ABAP Report - Users or ROles with Combinations of Critical Authorizations







RSUSR008_009_NEW 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 RSUSR008_009_NEW 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 RSUSR008_009_NEW. "Basic submit
SUBMIT RSUSR008_009_NEW AND RETURN. "Return to original report after report execution complete
SUBMIT RSUSR008_009_NEW 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: USER = D .
Selection Text: UREF = D .
Selection Text: UALIAS = D .
Selection Text: PROF = D .
Selection Text: GROUP = D .
Selection Text: COMBVAR = D .
Selection Text: AUTHVAR = D .
Selection Text: ACTGRPS = D .
Selection Text: UGROUP = User Group (General)
Title: Users or ROles with Combinations of Critical Authorizations
Text Symbol: E02 = is not analyzed
Text Symbol: E03 = (Comp.profile contains cycles)
Text Symbol: G01 = List of Sought but Non-Existent Groups
Text Symbol: G02 = These groups are not used for selection.
Text Symbol: G03 = List of Sought but Unassigned Groups (General)
Text Symbol: P01 = List of Sought but Unassigned Profiles
Text Symbol: P02 = These profiles are not used for selection.
Text Symbol: R01 = List of Sought but Unused Reference Users
Text Symbol: R02 = List of Sought but Unassigned Roles
Text Symbol: R03 = These roles are not used for selection.
Text Symbol: S01 = Loading and checking all auth. profiles
Text Symbol: S02 = Format of Additional Selection Criteria
Text Symbol: S03 = Analyzing user data
Text Symbol: S04 = Format List Output
Text Symbol: S05 = Checking critical authorization:
Text Symbol: S06 = Checking critical combination:
Text Symbol: T01 = Analysis of Selection Criteria
Text Symbol: T02 = Select All Profiles
Text Symbol: T04 = Role Name:
Text Symbol: U01 = List of Sought but Non-Existent Users
Text Symbol: U02 = These users are not used for selection.
Text Symbol: E01 = Incorrect composite profile
Text Symbol: 001 = Variant Name
Text Symbol: 002 = For Critical Authorizations
Text Symbol: 003 = For Critical Combinations
Text Symbol: 005 = Display Only Valid Users
Text Symbol: 006 = Critical Combinations
Text Symbol: 007 = Maintain Critical Combinations





Text Symbol: 008 = Critical Authorizations
Text Symbol: 009 = Maintain Critical Authorizations
Text Symbol: 010 = Analyzing data...
Text Symbol: 011 = List Structure
Text Symbol: 012 = Log Display
Text Symbol: 013 = Check Variant
Text Symbol: 014 = Check Selected Variant
Text Symbol: 100 = User
Text Symbol: 107 = Role
Text Symbol: 108 = With Detailed Analysis
Text Symbol: 800 = List Format
Text Symbol: 801 = Title
Text Symbol: 802 = Layout
Text Symbol: A01 = List of Sought but Unused Alias Names
Text Symbol: A02 = These alias names are not used for selection.
Text Symbol: B01 = Invalid input values for user names
Text Symbol: B02 = Invalid input values for user groups
Text Symbol: B03 = Invalid input values for general user groups
Text Symbol: B04 = Invalid input values for reference users
Text Symbol: B05 = Invalid input values for alias names
Text Symbol: B06 = Invalid input values for roles
Text Symbol: B07 = Invalid input valuse for profiles
Text Symbol: B08 = Check the report variant in dialog to obtain
Text Symbol: B09 = details about invalid values.
Text Symbol: C00 = Selection Criteria


INCLUDES used within this REPORT RSUSR008_009_NEW

INCLUDE RSUSR008_009_TOP.
INCLUDE MS01CW05.
INCLUDE MS01CW06.
INCLUDE MS01CW10.
INCLUDE MS01CW20.
INCLUDE RSUSR008_009_C01.
INCLUDE RSUSR008_009_F01.


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:

POPUP_DISPLAY_TEXT call function 'POPUP_DISPLAY_TEXT' exporting popup_title = 'Information'(021) text_object = 'RSUSR008_009_NEW_INFO' exceptions others = 1. "#EC FB_RC

SELECT_OPTIONS_RESTRICT call function 'SELECT_OPTIONS_RESTRICT' exporting * PROGRAM = restriction = restrict * DB = ' ' exceptions too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 others = 9.

ICON_CREATE





call function 'ICON_CREATE' exporting name = icon_name info = quickinfo add_stdinf = space importing result = &1 exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

SUSR_GET_LOG_EXIT_COMMAND call function 'SUSR_GET_LOG_EXIT_COMMAND' importing es_s_excm = gv_log_return.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = 'S' cl = '01' number = 877 importing return = gs_return.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = 20 text = 'Create list'(011). "#EC *

SUSR_CRCOMB_TO_USER_LIST_ALV call function 'SUSR_CRCOMB_TO_USER_LIST_ALV' exporting variant_name = combvar id_alv_layout = p_layout id_alv_title = p_title user_profile = users_profiles no_address_data = no_addr no_alv = no_disp d_analys = d_analys tables crcomb_users = user_crcomb.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = 20 text = 'Create list'(011). "#EC *

SUSR_CRAUTH_TO_USER_LIST_ALV call function 'SUSR_CRAUTH_TO_USER_LIST_ALV' exporting variant_name = authvar id_alv_layout = p_layout id_alv_title = p_title user_profile = users_profiles no_address_data = no_addr no_alv = no_disp d_analys = d_analys tables crauth_users = user_crauth.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = 20 text = 'Create list'(011). "#EC TEXT_DIFF

SUSR_CRCOMB_TO_ROLE_LIST_ALV call function 'SUSR_CRCOMB_TO_ROLE_LIST_ALV' exporting variant_name = authvar id_alv_layout = p_layout id_alv_title = p_title role_profile = roles_profiles no_alv = no_disp crcomb_roles = role_crcomb.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = 20 text = 'Create list'(011). "#EC TEXT_DIFF

SUSR_CRAUTH_TO_ROLE_LIST_ALV call function 'SUSR_CRAUTH_TO_ROLE_LIST_ALV' exporting variant_name = authvar id_alv_layout = p_layout id_alv_title = p_title role_profile = roles_profiles no_alv = no_disp crauth_roles = role_crauth.

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = 'SU_VCUSRVARCOM_CHAN' exceptions ok = 1 not_ok = 2 others = 3.

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = 'SU_VCUSRVARCOM_DISP' exceptions ok = 1 not_ok = 2 others = 3.

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = 'SU_VCUSRVAR_CHANGE' exceptions ok = 1 not_ok = 2 others = 3.

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = 'SU_VCUSRVAR_DISP' exceptions ok = 1 not_ok = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'KEYNR' "#EC NOTEXT value_org = 'S' tables value_tab = lt_f4_text exceptions parameter_error = 1 no_values_found = 2 others = 3.



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