Skip to Content
1
J S
Aug 26, 2019 at 12:04 PM

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

173 Views Last edit Aug 26, 2019 at 02:51 PM 3 rev

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?