Skip to Content
0
3 days ago

Create Calculation View with Input Parameters and Expose via CAP

43 Views

Tutorials: https://developers.sap.com/tutorials/hana-cloud-cap-calc-view.html
--------------------------

Hey folks,

I was following this tutorial and had a question. What happens if the Calculation View has Input Parameters? Something like requesting the user to set a Currency, which is used internally by the calc view to convert amounts.

I noticed the hana-cli inspectView -v V_INTERACTION -o cds command completely ignores the parameter mentioned in the calc view. So what would be the proper syntax to make the Input Parameter available at the odata service?

Best regards,

André