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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSUSR_CHECK_ROLE_ASSIGNMENTS - Display Roles Assigned More Than Once RSUSR_CHECK_ROLE_ASSIGNMENTS - Display Roles Assigned More Than Once RSUSR_BAPI_TEST_DATA_IND - BAPI User Unit Tests: Generate Test Data (Independent) RSUSR_BAPI_TEST_DATA_IND - BAPI User Unit Tests: Generate Test Data (Independent) RSUSR_BAPI_TEST_DATA_CUAM - BAPI User Unit Tests: Generate Test Data (CUA Central System) RSUSR_BAPI_TEST_DATA_CUAM - BAPI User Unit Tests: Generate Test Data (CUA Central System)