Skip to Content
Aug 29, 2019 at 08:30 AM

Parametrized ABAP CDS view


We created an ABAP CDS view with input parameters using ADT. When we tried to locate this on the Hana DB, we did not find it under views but rather under table functions.

Upon opening the table function we realized this CDS is persisted a table function definition in Hana dB and not as a view. Why is this?

Secondly if I assign object privileges to this table function, why do they get reset when I regenerate/activate the CDS? Is there a way to retain the granted privileges?

Thanks for the answers.