Capgemini interview question

How to add authorization object in CDS views

Interview Answer

Anonymous

31 Oct 2023

In SAP S/4HANA, you can add authorization checks directly in CDS views using the @AuthorizationCheck annotation and the DCL (Data Control Language). Define the Authorization Object, Create a DCL Source File, Add Authorization Annotation in CDS View and Assign the Role to Users, check in PFCG.