Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

Exposing non read only stored procedure as OData Service

$
0
0

Hello Experts,

 

Requirement is expose a service which will accept 3 parameters:
- table_name

- field_name

- field_value

 

and return the instance id which is a field in the table queried.

 

lv_sql = 'select instance_id from ' + table_name + ' where' + field_name + ' = '  + field_value';

 

 

I've created a stored procedure in which the select statement is built and executed.

Because this procedure is a non read only one, I cannot expose it as a result view.

 

Any idea how this procedure can be exposed?


Viewing all articles
Browse latest Browse all 5115

Trending Articles



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