Skip to Content

Row level Data security in ABAP CDS

Hi All,

For row level data security I used to use Analytical privileges extensively in native HANA and wanted to achieve a similar functionality with ABAP CDS views in SAP S4/HANA.

Now, what I read was we create these DCL files that work the same way.

My questions are:

1. On the standard CDS consumption views, the authorization checks are not enabled (@AccessControl.authorizationCheck: #NOT_ALLOWED) . We don't usually change the standard CDS code as best practice. How do I make sure that this auth check is performed on data access here? I need standard Fiori apps that are hitting these views to return the data relevant to the user roles.

2. Does this DCL work with A4O, Fiori and SAC? Or are there any restrictions? I read in one of the comments in an article where someone claimed that it did not work with A4O.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers