cancel
Showing results for 
Search instead for 
Did you mean: 

Company code restriction in using RSECADMIN gives error 'No sufficient Authorization' in RSRT

parth_thakkar
Explorer
0 Kudos
212

Hi All,

I have created a custom 'Z' Authorization in RSECADMIN Tcode and where I have added (0TCAACTVT) Activity of Analysis Authorization, (0TCAIPROV) Authorizations for InfoProvider, and (0TCAVALID) Validity of an Authorization dimensions with all values allowed/included. Along with these 3, I have added (0COMP_CODE) Company Code, (COSTELMNT) Cost Element and (0CO_AREA) Controlling Area with all values included.

I have added these to the RSRT Tcode in a Role in PFCG and assigned the same to the user. When I execute the query in RSRT or Analysis for Office, it executes without any error. But when I restrict a company code (for eg. 1000) in RSECADMIN and execute the query in RSRT for AFO then it gives me an error

'No authorization'.

Is there any step that I have missed? Kindly find the attached screenshots for your reference.

Accepted Solutions (0)

Answers (1)

Answers (1)

marcfbe
Participant
0 Kudos

Does your query have an input variable for company code? If not, then the query will try to select all company codes and your authorization is not sufficient.

Best,
Marc
@marcfbe