cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to 'Extend' SAP-Delivered DCL?

hanyean
Explorer
2,516

Dear Gurus,

We have identified a Standard CDS (and the corresponding DCL/ Access Control).

Question:

Are we able to "extend" the Standard DCL?

Regards,

HanYean

Accepted Solutions (0)

Answers (1)

Answers (1)

eric_zhu
Product and Topic Expert
Product and Topic Expert

Hello HanYean,

Per the link below, it should be possible to define an additional access control to replace the standard one, using keyword REDEFINITION.

https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abencds_dcl_role_cond...

"

... REDEFINITION

The optional addition REDEFINITION is used to indicate that the access rule in question is the only existing access rule for the CDS entity and any other access rules are ignored. The addition makes it possible for customers and partners to replace all access rules delivered by SAP for CDS entity with their own access rules without making modifications. The language element INHERITING CONDITIONS FROM SUPER can, however, be used to incorporate conditions delivered by SAP in customer or partner access rules.

"

regards,

Eric