SAP Reports / Programs

SRT_ROLES SAP ABAP Report - Roles listing and comparing







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SRT_ROLES - Roles maintenance


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 SRT_ROLES. "Basic submit
SUBMIT SRT_ROLES AND RETURN. "Return to original report after report execution complete
SUBMIT SRT_ROLES 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 = 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





Text Symbol: 010 = Compare with client
Text Symbol: 011 = for role
Text Symbol: 012 = Role
Text Symbol: 013 = Counter
Text Symbol: 014 = Field
Text Symbol: 015 = Low
Text Symbol: 016 = High
Text Symbol: 017 = File open error
Text Symbol: 018 = File read error
Text Symbol: 019 = Invalid type
Text Symbol: 020 = No Batch
Text Symbol: 021 = Unknown Error
Text Symbol: 022 = Not authorized
Text Symbol: 023 = Activity group enqueued
Text Symbol: 024 = Illegal release
Text Symbol: 025 = No valid data
Text Symbol: 026 = Action cancelled
Text Symbol: 027 = Others
Text Symbol: 028 = Activity group does not exist
Text Symbol: 029 = File write error


INCLUDES used within this REPORT SRT_ROLES

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:

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.



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