Hi Jibin,
you can define authorization checks within your CDS view.
The new CDS authorization concept exists alongside the classic authorization concept and can be used independently or in combination with the classic concept (Authority-check).
The DCLs (data control language) are an extension of the DDL document that is used to define the CDS view.
A typical example would be the following:
@EndUserText.label: 'Role to view translation objects by language'
@MappingRole: 'true'
ROLE demo_documents {
grant SELECT on demo_translation
WHERE ( targetLang, textType ) = ASPECT pfcg_auth
( S_TRANSLAT, TLANGUAGE, TRANOBJ, ACTVT = '02'); }
See also the blog from Horst Keller
ABAP News for Release 7.50 - ABAP CDS Access Control
Best Regards
Andre