Skip to Content
0

Row level Data security in ABAP CDS

May 16 at 03:47 PM

18

avatar image

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.

Thanks,

Shyam

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers