SRT_ROLES 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 SRT_ROLES into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SRT_ROLES - Roles maintenance
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: USER = List user names
Selection Text: UPUP = Upload
Selection Text: PPATH = Path on frontend
Selection Text: POBJ = Authority object name
Selection Text: PNAM = Rolename
Selection Text: PDIS = Display
Selection Text: PDIF = Run difference check
Selection Text: PCL2 = Client for check
Selection Text: PCL1 = Client
Selection Text: DOWN = Download
Selection Text: DONO = Just check
Selection Text: ACTR = Activate roles after upload
Title: Roles listing and comparing
Text Symbol: 030 = File general error
Text Symbol: 031 = Unknwon error
Text Symbol: 032 = Role reported to be nothing to do with
Text Symbol: 033 = Role not found, no activation needed
Text Symbol: 034 = Role upload successful
Text Symbol: 035 = Role download successful
Text Symbol: 036 = Modified
Text Symbol: 037 = Deleted
Text Symbol: 038 = Copied
Text Symbol: 039 = New
Text Symbol: 040 = Only single role names allowed
Text Symbol: 041 = Client does not exist
Text Symbol: 042 = Authorization object not found:
Text Symbol: T00 = Selection parameter
Text Symbol: T01 = Function on role
Text Symbol: T03 = Additional parameters
Text Symbol: 001 = No difference found
Text Symbol: 002 = List of authority objects in role
Text Symbol: 003 = List for authority object
Text Symbol: 004 = in role
Text Symbol: 005 = Difference in
Text Symbol: 006 = and
Text Symbol: 007 = Auth. object
Text Symbol: 008 = Rolename
Text Symbol: 009 = Client
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PRGN_GEN_PROFILES_FOR_ROLES call function 'PRGN_GEN_PROFILES_FOR_ROLES' exporting iv_usercompare = ' ' tables it_roles = ta_agr et_return = twa.
PRGN_UPLOAD_AGR call function 'PRGN_UPLOAD_AGR' exporting filename_for_agr = wa-filename filetype_for_agr = 'ASC' upload_user_assignment = ' ' upload_description = 'X' upload_auth_data = 'X' upload_menu_data = 'X' upload_child_agrs = 'X' set_target_system = ' ' target_system = ' ' file_encoding = ' ' * IMPORTING * NUMBER_OF_AGRS = * SINGLE_SELECTED_AGR = exceptions file_open_error = 1 file_read_error = 2 invalid_type = 3 no_batch = 4 unknown_error = 5 not_authorized = 6 activity_group_enqueued = 7 illegal_release = 8 no_valid_data = 9 action_cancelled = 10 others = 11.
PRGN_DOWNLOAD_AGR call function 'PRGN_DOWNLOAD_AGR' exporting filename_for_agr = wa-filename filetype_for_agr = 'ASC' activity_group = wa-name with_user_assignment = ' ' with_authorization_data = 'X' file_encoding = ' ' exceptions activity_group_does_not_exist = 1 file_write_error = 2 file_open_error = 3 file_general_error = 4 not_authorized = 5 others = 6.
PRGN_1001_READ_USER_ASSIGNMENT call function 'PRGN_1001_READ_USER_ASSIGNMENT' exporting activity_group = wa-name tables i_agr_users = t_user exceptions others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.