cancel
Showing results for 
Search instead for 
Did you mean: 

RAP Service Unmanaged Save with CDS Parameters

axel_brke3
Participant
0 Kudos
368

We want to create a RAP Service using a CDS View which relies on Parameters.

 

define root view entity ZTEST_CO_VIEW
  with parameters
    p_fiscalYear        : gjahr
  as select from ZTEST_CI_VIEW(  p_fiscalYear : $parameters.p_fiscalYear )
{       
    key matnr,
    field1,
    field2
}

 

However, when creating a behavior for this View and exposing as a Service (we would like to use unmanaged Save), we get the following error message:

 

Non-hidden view parameters are not allowed in transactional entity ZTEST_CO_VIEW

 

Am I right to understand that I cannot use CDS View Parameters with Behaviors?

Does someone know if this is documented somewhere?

Thanks and regards,

Axel

 

Accepted Solutions (0)

Answers (0)