cancel
Showing results for 
Search instead for 
Did you mean: 

CDS View with Input parameters - any workaround for accessing from DWC

benxp
Explorer
0 Kudos

Hi All,

In DWC Data builder we understand that if we have Sources as S4H , then currently we cannot use CDS View's with Input Parameters. This is one of the known constraint. My question here is I would like to understand if any one has found a work around here so that we could re-use the CDS Views with input parameters.

Thanks,

Puru

Accepted Solutions (0)

Answers (1)

Answers (1)

lutzi3
Participant
0 Kudos

You could define a 2nd "wrapper" CDS which uses the CDS with parameters but provides values for all mandatory parameters like in this example:

define view ztest_cds_calls_param // new CDS without parameters

as select from ztest_cds_with_param( param : '1' ) // CDS with a parameter called param

{

* // all fields

}

benxp
Explorer

Thanks Lutz yeah this is one of the feasible solution. Currently I assume this is the best possible workaround. I am also implementing this hard coded views ( which i dont like!).