on 2024 Oct 15 12:18 PM
Hey Specs,
I've two questions.
I am digging deep into the Topic of the Row Level security.
I've two problem and I am unable to find blog or documentations on it.
Is there a way to assign the Dac object so the row level security to user groups ?
It makes no sense to assign row level security users. We have around 300 users. If i need to do excel for each reports for each functional area then that would be to much manualyti so I would like to create roles for row level sec.
Is there a way to create row level security for a list of values like hierarchy nodes or list of distinct values withouth duplicating rows ?
Now as far as I know if I want give access to multiple values for an user I need to duplicate each user's by the number of distinct values. So if an user can access 300 costcenter then I need to create a table where the user is duplicated by 300 rows for each distinct costcenter. But that would be a nightmare.
Request clarification before answering.
Hi,
Is there a way to assign the Dac object so the row level security to user groups ?
Sure, you can create one local table for the user/user group assignment and another table for the user group/row security assignments and then join the 2 tables in a view which will be used in your DAC.
Is there a way to create row level security for a list of values like hierarchy nodes or list of distinct values withouth duplicating rows ?
I think what you are looking for are the Operators and values and Hierarchy Data Access Control features.
Best regards,
Clément
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With regards to hierarchies, take a look at the DAC for CDS view I_PROFITCENTERHIERARCHY. Again this is only if you have S/4HANA.
Regards,
Mel Calucin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have S/4, you can create a CDS view using the tables usrbf2 and ust12 to get a list of users who have access on S/4 for certain cost centers. You can then use this CDS view in Datasphere for your DAC.
Regards,
Mel Calucin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.