on 04-06-2015 7:07 PM
Helo All,
We have created dynamic privileges but it has the limitation on tools that can connect directly to the HANA views since what we built is based on BOUSER (to identify the user who is accessing teh calculation view). But this is a limitation when other tools that connect directly to HANA Data base. I found documents here all using CREATE STRUCTURE PRIVILEGE with xml example. Anyone knows about the syntax for teh CREATE STRUCTURED PRIVILEGE syntax or use a procedure in place of xml.
Any document would be helpful.
Thank you,
Arthur Samson.
Hi Arthur,
Structured Privileges are analytical privileges only
What is the problem that you are facing and which tool are you talking about?
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
To set up a dynamic privilege I have done teh following...
1. I have created a temp table and this has the BUKRS that are assigned to my user id.
2. Ceated a reporsitory procedure to extract the distinct BUKRS for the SESSION_USER.
and the BUKRS assigned to the out put variable.
3. Create a dynamic privilege and used the Repository Procedure under Assign Restrictions
4. Created a role and assign this privilege to the rol UNder Analytic privileges.
5. Assign the role to my userid
All objects are activated. But now when I try a sql statment against the calculation view with company code that is not assigned to my user id, it still bring the values...
Any idea,
Thank you,
Arthur.
Hi Arthur,
Did you have default MODELING role?
It has _SYS_BI_CP_ALL analytic privilege that overwrites all other analytic privileges.
Try to create a new user and don't assign it MODELING role.
Just give access to required views in _SYS_BIC schema and the analytic Privilege that you created. Then check with the new user
Regards,
Vivek
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.