Skip to Content
0

How to get Result of DCL during ABAP Runtime

Apr 16 at 10:12 AM

27

avatar image

Hi Experts,

is there any way to access the Result of a DCL for an CDS-View during ABAP-Runtime?

My Requirement is to show wether the result list is filtered by a DCL or not. (Something like displaying a Message: "Attention, the Result is filtered during missing authorizations")

Normally it would be easy to read all Data and then filter on ABAP-side during a Loop and AUTHORITY-CHECK.

But this is not possible in my case because i make use of SQL-Commands LIMIT & OFFSET because of Pagination.

Was wondering if there is any Standard Implementation for this.

Any help is appreciated!

Thanks in advance,

Sascha

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

1 Answer

Guus Werinussa 6 days ago
0

Not really an answer to your question, but:

But this is not possible in my case because i make use of SQL-Commands LIMIT & OFFSET because of Pagination.

This sounds like you're using something like ALV to display your data. If that's the case, try ALV with Integrated Data Access (IDA) It takes care of all the paging and so on.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your answer.

Unfortunately im not using an ALV. The Statement is progressed in my OData Data Provider Class. :)

Even tried using the SADL-Framework but this doesnt give me the result of the DCL either. Seems that there is currently no way to get the Result of the DCL in the ABAP Layer.

0