on ‎2022 Nov 22 3:46 PM
Can we create CDS entity Access control comparing the Value of CDS entity with class/Function module value
Request clarification before answering.
Hi Vijay.
Not directly.
But maybe you can change a bit your class method or function module to validate an auth object and then use it also in your CDS Access Control with 'aspect pfcg_auth'.
Or you can also turn your CDS data definition into a parameterized one and send the method/function name when calling it. Then you can play a bit with CASE and other SQL functions in your CDS to restrict the data you want to show.
Regards,
Marcelo Monsores
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 9 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.