on 05-23-2023 10:52 AM
I am trying to build a DAC in SAP Datasphere which can restrict access based in comp code. But the same view needs to be used by some super user who should have access to the whole dataset irrespective of the conditions.
I am unable to do it. Kindly help.
Regards,
Tanumay Banerjee.
Hi,
I have performed this for a customer. (in my case it is not CompCode but MARKTID)
you can do this through a mapping table where you have your comp code mapped to a column that says "ALL" see: 2023-05-23-12-30-41.png
This table you join to your normal DAC table (see: 2023-05-23-12-35-17.png) and add a calculated column with the coding "case when MarktID is null then Marktvalue else MarktID end".
Then it should restrict the users for their specific company codes and for users with ALL access, they will get ALL.
Feel free to come back questions.
BR,
Thore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.