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.