cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom authorization object to standard CDS DCL

SumitKundu
Active Participant
1,082

I want to add my own authorization on a custom field , e.g. Sales Office in a standard fiori app Manage Sales Orders (F1873). I understand that this app has an access control using DCL based on CDS view C_SalesOrderWl_F1873. But is there any way I can add on to the standard DCL using a custom DCL? What is the recommende way to extend DCL in such fiori apps?

Best regards,

Sumit

Accepted Solutions (1)

Accepted Solutions (1)

filipn
Product and Topic Expert
Product and Topic Expert

Hi Sumit,

You can have multiple DCLs for one CDS view - in such cases there is OR relationship between DCLs. You can change the relationship to AND logical operator with the annotation "combination mode and". This is available since S/4HANA 1909.

When you have two DCLs for one CDS View, it is really important which operator do you use:

OR -> enlarges set of data returned

AND -> reduces the data set returned

https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/abencds_dcl_role_cond_rule.htm

Regards,

Filip

Answers (0)