Skip to Content
0
Jul 30, 2018 at 03:21 PM

Passing values to input parameters using associations in CDS Views

7138 Views

Hi All,

Im trying to pass values to input parameters while doing an association between two CDS views. My scenario is as follows:

I have time-dependent HANA view H1 that has keyDate as input parameter. Created a CDS table function CDS1 on H1 and was able to pass inputs to the keyDate. While Im doing an association with another CDS view CDS2, I would want to pass a date from CDS2 to keyDate. I was able to pass current date using the following syntax,

associationDetails(keyDate : $session.system_date).column1, but getting an error while trying to pass a value from CDS2.

Is this scenario possible?