What I did so far:
I created a HANA CDS view using the eclipse IDE- with annotation @OData.publish: true
I activated the Odata service using the tcode /iwfnd/maint_service
I created a fiori app using the Web IDE smart templates.
My problem:
Since the CDS view has a parameter, I need to display this parameter on the UI, however, I am not able to bind the value from the frontend to the Odata service. When I debugged the method Get_entityset of class CL_SADL_GTK_EXPOSURE_DPC, I found that it triggered an exception LCX_MISSING_PARAMETER.
I searched a lot but the only suggestion available is to create the Odata service using SEGW tcode and redefine the GET_ENTITYSET method. This method worked for me as well, but I would like to know how I can give the correct HANA CDS view annotations so that I can successfully pass values from the fiori app to the backend. Somehow there is very little explanation on how to use the annotations (such as @Consumption.filter etc) with the cds view parameters. Hope someone has found a solution for this and would help me! Thanks in advance