Skip to Content

Dynamic analytic privilege issue in XS advanced

Hello Expert,

I have an issue with XSA authorization. I am trying to setup dynamic analytic privilege in XSA. I have designed all the required objects for this.

1. A procedure which will be executing dynamically
2. A table which is used in above procedure, having mapping; like which user has what access.
3. hdbrole containing accesses for container, hdbrole with Grant option and default_access_role.
4. Dynamic Analytic privilege, where procedure will be input.
When we run the procedure, we get required result. When we try data preview on a calculation view which is SQL analytic privilege check enabled, we get auth issue that _SYS_REPO doesn't have EXECUTE access on procedure.

SAP has asked to provide EXECUTE access to _SYS_REPO user to fix the issue. What we have done is, we have added EXECUTE privilege of this procedure in hdbrole and assigned this role to _SYS_REPO user.

We are not getting above error now. But still have auth issue with data preview. SAP says, we have to assign SELECT access on a table which is used in the procedure.

The challenge is, no user is a grantor for this table(or its schema), when we check the list of GRANTOR for this table, we get those 3 hdbroles(created in point 3) as output. How to assign SELECT access on the table to _SYS_REPO??

Anybody has setup Dynamic analytic privilege in XSA, please help us. I was following Thomas Jungs video for this.

https://www.youtube.com/watch?v=yuPBSwBlFfo&list=PLoc6uc3ML1JR38-V46qhmGIKG07nXwO6X∈dex=9

Regards,
Vijay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.