OData for CDS with Parameters
Let me share my experience and ‘How to’ while creating OData Service for CDS View with Parameters.
I am not sure whether the steps i will be explaining is the right one but i would like to share how i did it.
Add the Package to Eclipse Project Explorer and create a DDL Source .
Define a sample view with Parameter and Activate it.
Anotation OData.publish will expose the CDS View as OData Service.
Add the Service using the /iwfnd/miant_service.
Get the metadata and find out the entitySet of an entity without a sap:parameter
Execute the URL as shown below
voila thats the result…
Open to comments and anybody can edit appropriately.