Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

(CDS) authorization check for SQL view uses S_TABU_DIS and S_TABU_NAM

junostarke
Explorer

Hi!

I have created a CDS view and use it in a report, using cl_salv_gui_table_ida=>create_for_cds_view( .. ).

The CDS view does not have access control added.

The problem is, there is an authorization check on the SQL view name of the CDS view using authorization objects S_TABU_DIS and S_TABU_NAM (both activities 2 and 3 are checked). Because this is an automatically generated sql view, I cannot change the authorization group of the view. It also looks like the sql view is treated like a database table. The result is that the user cannot access the report results.

What could be the cause of this check and how can I still grant access to the user?

1 REPLY 1

gmitrani
Explorer
0 Kudos

Hi JS,

Though this is an old post but I am just trying my luck. We are facing a a very similar issue while trying to access the CDS view via a SEGW service by CDS mapping. We observed similar checks were required. By any chance were you able to solve this issue? If you don't mind and if you were able to solve this issue can you please share the solution with me?

Thanks

Gaurav