Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Consume Stored Procedures In HANA ODATA Services

$
0
0

Hello Arun.

 

1) Your scripted calculation view can just have one result parameter. Think about the situation in which you make a query (SELECT) on the view. How the query should handle several result sets? That is not possible.

Within the scripted calc. view you can call procedures which have several output parameters. But the output parameters than have more the character of an intermediate result before getting the final result returned by the view (which can only be one).

 

2) For a GET operation of an OData service you cannot handle the call of a procedure with several output parameters directly or via a scripted view, as there must be one result set. Not knowing your case, maybe it is an option for you to define an OData service with several entity sets. Each entity set refers to a scripted calculation view and each scripted calculation view returns one of your result parameters.

 

Best Regards,

Florian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>