Hi Anand,
You will have to create a Scripted Calculation View from the Modeller perspective.
In your case since you want to wrap a procedure. Below is an example I just tried.
Add Columns & Input Parameters
Consume this Calc View in your Odata service :
service namespace "services.test"
{
"pda.Models::CV_TEST" as "Customer"
keys generate local "ID"
parameters via entity;
}
Check your service by Passing the Input Parameters
http://<host>:<port>/<>/services/test.xsodata/CustomerParameters(2)/Results?$format=json
Hope this was Helpful
Regards
Avinash Raju