SAP Reports / Programs | Basis Components | Security | User and Authorization Management(BC-SEC-USR-ADM) SAP BC

RSUSR_CHECK_ROLE_ASSIGNMENTS SAP ABAP Report - Display Roles Assigned More Than Once







RSUSR_CHECK_ROLE_ASSIGNMENTS 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 RSUSR_CHECK_ROLE_ASSIGNMENTS 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 RSUSR_CHECK_ROLE_ASSIGNMENTS. "Basic submit
SUBMIT RSUSR_CHECK_ROLE_ASSIGNMENTS AND RETURN. "Return to original report after report execution complete
SUBMIT RSUSR_CHECK_ROLE_ASSIGNMENTS 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: S_USERS = D .
Title: Display Roles Assigned More Than Once
Text Symbol: 100 = No inconsistencies found
Text Symbol: 043 = Determining all user roles
Text Symbol: 042 = Determining HR roles
Text Symbol: 041 = Determining users
Text Symbol: 040 = Processed Users
Text Symbol: 030 = Inconsistency
Text Symbol: 022 = CUA Assignment
Text Symbol: 021 = CUA Assign.
Text Symbol: 020 = CUA
Text Symbol: 011 = Entry missing
Text Symbol: 010 = Indirect HR assignment is possible
Text Symbol: 009 = Ind. HR
Text Symbol: 008 = Indirect comp. role assignment possible
Text Symbol: 007 = Ind. Comp.
Text Symbol: 006 = Direct assignment is possible
Text Symbol: 005 = Current Assignment
Text Symbol: 004 = Current
Text Symbol: 003 = Indir. Through HR
Text Symbol: 002 = Indir. Through Comp.
Text Symbol: 001 = Directly


INCLUDES used within this REPORT RSUSR_CHECK_ROLE_ASSIGNMENTS

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:

SUSR_ZBV_CHECK_IF_ACTIVE CALL FUNCTION 'SUSR_ZBV_CHECK_IF_ACTIVE' EXCEPTIONS active = 1 not_active = 2 OTHERS = 3.

SUSR_ZBV_CENTRALSYSTEM_CHECK CALL FUNCTION 'SUSR_ZBV_CENTRALSYSTEM_CHECK' IMPORTING central_system_logsys = gd_centralsys EXCEPTIONS not_central = 1 OTHERS = 2.

PRGN_CHECK_HR_ORG_ACTIVE CALL FUNCTION 'PRGN_CHECK_HR_ORG_ACTIVE' EXCEPTIONS hr_org_not_active = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 25 text = 'Collecting users'(041). "#EC TEXT_DIFF

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 50 text = 'Collecting HR roles'(042). "#EC TEXT_DIFF

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = 'Collecting all user roles'(043). "#EC TEXT_DIFF

PRGN_READ_ACTIVITY_GROUPS CALL FUNCTION 'PRGN_READ_ACTIVITY_GROUPS' EXPORTING time_dependent = ' ' call_by_su01 = 'X' TABLES users = gt_users activity_groups_users = gt_all_roles EXCEPTIONS no_activity_groups_available = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_progress text = 'Processing users'(040). "#EC TEXT_DIFF

SUSR_USER_LOCAGR_ACTGROUPS_GET CALL FUNCTION 'SUSR_USER_LOCAGR_ACTGROUPS_GET' EXPORTING user_name = TABLES user_activitygroups = gt_usla04 EXCEPTIONS OTHERS = 0.

RH_STRUC_GET_MULTIPLE_ROOTS CALL FUNCTION 'RH_STRUC_GET_MULTIPLE_ROOTS' EXPORTING act_wegid = 'PROFLINT' TABLES root_objects = lt_users result_struc = lt_results EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 path_not_found = 3 root_not_found = 4 OTHERS = 5.



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