‎2020 Oct 21 5:23 AM
Hi All,
The scenario is that, I am passing two filter parameters (BEGDA & ENDDA) to my CDS based OData service. I have a virtual element for which the data is obtained from a calculated class.
When I call the CDS by passing the filters (BEGDA & ENDDA) the CDS view is called and which in turn calls the class I had created for the virtual element. Inside this class I am try to call an FM which requires the BEGDA and ENDDA as the input parameters.
I am unable to access the dates (BEGDA and ENDDA) that is passed to the CDS entity set inside by virtual element calculated class.
Can anyone help with a solution?
Thanks in advance,
Regards
‎2022 Jan 26 7:54 AM
HI chandruu0208,
have you found a solution for this problem?
‎2023 May 31 7:20 AM
Hi Chandrasekhar, have you found solutoin on this 🙂
‎2023 Jun 09 11:46 AM
Hi Lei Li, Unfortunately it is not possible to pass filters in this approach. Instead we need to create an unmanaged query to achieve this.
Regards
‎2023 Oct 26 4:30 AM
Hello Chandrashekar,
The reply is quite late. May be you can check the Filter Push down approach as mentioned in this blog.
Regards,
Sushanth Herle