RSUSR012 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 RSUSR012 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: SHOWUSER = Display users
Selection Text: SHOWPROF = Display profiles
Selection Text: SHOWOBJ = Display authorization objects
Selection Text: SHOWAUTH = Display authorizations
Selection Text: PARAM = Object [ field=value]...
Title: Search authorizations, profiles and users with specified object values
Text Symbol: 023 = User
Text Symbol: 022 = Profiles
Text Symbol: 021 = Authorizations
Text Symbol: 020 = Authorization Objects
Text Symbol: 016 = Profile
Text Symbol: 015 = Type
Text Symbol: 014 = Group
Text Symbol: 013 = Users
Text Symbol: 012 = Object
Text Symbol: 011 = Name
Text Symbol: 010 = Value
Text Symbol: 009 = No users found
Text Symbol: 008 = Profiles
Text Symbol: 007 = No profiles found
Text Symbol: 006 = Authorizations
Text Symbol: 005 = Field
Text Symbol: 004 = does not exist
Text Symbol: 003 = Authorization Object
Text Symbol: 002 = Authorizat.
Text Symbol: 001 = Selected authorization objects with values
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT * CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' * EXPORTING * restriction = restrict * EXCEPTIONS * OTHERS = 1.
SUSR_SYNC_USER_TABLES * CALL FUNCTION 'SUSR_SYNC_USER_TABLES' * EXPORTING * tabletype = 'U' * EXCEPTIONS * OTHERS = 1.
SUSR_SYNC_USER_TABLES * CALL FUNCTION 'SUSR_SYNC_USER_TABLES' * EXPORTING * tabletype = 'P' * EXCEPTIONS * OTHERS = 1.
SUSR_SYNC_USER_TABLES * CALL FUNCTION 'SUSR_SYNC_USER_TABLES' * EXPORTING * tabletype = 'A' * EXCEPTIONS * OTHERS = 1.
SUSI_GET_FATHER_PROFILES * CALL FUNCTION 'SUSI_GET_FATHER_PROFILES' * EXPORTING * aktps = aktps * TABLES * profiles = profiles * EXCEPTIONS * OTHERS = 0.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = g_repid * it_fieldcat = lt_fieldcat * it_events = lt_eventtab * is_layout = ls_layout * i_callback_pf_status_set = gc_pf_set_status " set_pf-status * is_print = ls_print * TABLES * t_outtab = gt_selobj * EXCEPTIONS * program_error = 1 * OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE * CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = i_strname * CHANGING * ct_fieldcat = xt_fieldcat * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * OTHERS = 3.
REUSE_ALV_EVENTS_GET * CALL FUNCTION 'REUSE_ALV_EVENTS_GET' * EXPORTING * i_list_type = 0 * IMPORTING * et_events = xt_eventtab * EXCEPTIONS * list_type_wrong = 1 * OTHERS = 2.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = g_repid * it_fieldcat = lt_fieldcat * it_events = lt_eventtab * is_layout = ls_layout * i_callback_pf_status_set = gc_pf_set_status " set_pf-status * is_print = ls_print * TABLES * t_outtab = gt_selauth * EXCEPTIONS * program_error = 1 * OTHERS = 2.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = g_repid * it_fieldcat = lt_fieldcat * it_events = lt_eventtab * is_layout = ls_layout * i_callback_pf_status_set = gc_pf_set_status " set_pf-status * is_print = ls_print * TABLES * t_outtab = gt_profiles * EXCEPTIONS * program_error = 1 * OTHERS = 2.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = g_repid * it_fieldcat = lt_fieldcat * it_events = lt_eventtab * is_layout = ls_layout * i_callback_pf_status_set = gc_pf_set_status " set_pf-status * is_print = ls_print * TABLES * t_outtab = gt_user * EXCEPTIONS * program_error = 1 * OTHERS = 2.
SUSR_USER_DISPLAY_WITH_AUTHS ** CALL FUNCTION 'SUSR_USER_DISPLAY_WITH_AUTHS' ** EXPORTING ** user = h_lstu_bname ** EXCEPTIONS ** user_doesnt_exist = 1 ** OTHERS = 2.
SUSR_PROF_DISPLAY_WITH_AUTHS *** call function 'SUSR_PROF_DISPLAY_WITH_AUTHS' *** exporting *** profile = h_prof *** p_state = h_aktp *** exceptions *** prof_dont_exist = 1 *** others = 2.
SUSR_USER_DISPLAY_WITH_AUTHS *** call function 'SUSR_USER_DISPLAY_WITH_AUTHS' *** exporting *** user = h_user *** exceptions *** user_doesnt_exist = 1 *** others = 2.
BAL_LOG_CREATE * CALL FUNCTION 'BAL_LOG_CREATE' * EXPORTING * i_s_log = ls_log * IMPORTING * e_log_handle = gv_log_handle * EXCEPTIONS * log_header_inconsistent = 1 * OTHERS = 2.
BAL_LOG_MSG_ADD_FREE_TEXT * CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' * EXPORTING * i_msgty = ls_msg-msgty * i_text = iv_text * EXCEPTIONS * log_not_found = 1 * msg_inconsistent = 2 * log_is_full = 3 * OTHERS = 4.
BAL_DSP_PROFILE_NO_TREE_GET * CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' * IMPORTING * e_s_display_profile = ls_display_profile * EXCEPTIONS * OTHERS = 1.
BAL_DSP_LOG_DISPLAY * CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * i_s_display_profile = ls_display_profile * EXCEPTIONS * profile_inconsistent = 1 * internal_error = 2 * no_data_available = 3 * no_authority = 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.
RSUSR012 - Search authorizations, profiles and users with specified object values RSUSR012 - Search authorizations, profiles and users with specified object values RSUSR011 - Lists of transactions after selection by user, profile or obj. RSUSR011 - Lists of transactions after selection by user, profile or obj. RSUSR010 - Executable Transactions ( All Selection Options ) RSUSR010 - Executable Transactions ( All Selection Options )