Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Optional parameters in ABAP CDS views?

Tags:

view

cds

I'm trying to create a CDS view for consumption with optional parameters. But at the moment, optional parameters are not supported.

Is there a workaround available to somehow choose which where clauses are to be executed/used based on input parameters ?

like image 879
codemania23 Avatar asked Mar 12 '23 08:03

codemania23


1 Answers

Did you check the Consumption.defaultValue annotation Please have a look at reference document

like image 132
Eralper Avatar answered Mar 27 '23 12:03

Eralper