Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

xsOdata service with procedure call for UPDATE

$
0
0

Dear Experts,

 

I am running on HANA SP8.

I am facing issue to use xsodata for UPDATE / PUT calls. Initially I have created one hdbprocedure with input of one row of the table to be changed  and with one output for error handling defined in HDBDD file.

 

When I try to activate the xsodata, I am receving error that INVALID PROCEDURE OR PARAMETER LIST IN PROCEDURE. I was reading many discussion but without any useful solution.

 

So I decided to create procedure instead of hdbprocedure (although it should not be used anymore) with the same code and the table types are defined in the local table types tab. After adding the new procedure to the xsodata with UPDATE USING procedure name, I try to active the xsodata  but the same error was coming.

 

If I add the procedure as CREATE USING procedure, it is activated properly, also I can add the procedure for DELETE USING. But it is not working for UPDATE.

 

Did anybody had the same issue? Do I need some special IN or OUT variable within the procedure to be able to use with UDPATE?

Also do you know why the hdbprocedure is not working using hdbdd type definitions?

 

At the moment I am doing update using the POST method where I take the line number to be update from the BODY of the call. This is not the best way to do it, but some workaround as long as I cannot put the solution properly.

 

Any advice is appreciated.

 

BR
Tamas


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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