05-03-2024 11:34 AM - edited 05-03-2024 12:00 PM
Hello,
I can not find a documentation for this.
I want to use the generic authorization concept of BOPF to save me a lot of work for implementing authorizations into my application.
A easy way to work with BOPF is to generate them out of an cds view with the ObjectModel annotation. I created an cds view with these annotation and it generated an BOPF. No I want to assign an authorization object to the generated BOPF. The only option I can see in ADT is the authorization tab. I can add an authorization class there but these results in this error: "Authorization check class specified, but relevance flag not marked."
Also in SAP in transaction BOBX the option “Businessw Object has Authorization checks” is not chooseable.
Is this not possible because cds view authorization works over access controls?
But my understanding is that these only work for read access. But I need to authorization for all crud operations. Is there something I missed?
Thanks for the help.
Hi Seph,
You can only maintain the authorization class for generated business objects.
The details are mentioned in the help documentation : https://help.sap.com/docs/ABAP_PLATFORM_NEW/cc0c305d2fab47bd808adcad3ca7ee9d/11682c24ecca4ce4a793937...
Thanks and Regards,
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.