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

Re: Is it possible to do POST (insert) on HANA using oData service from XS?

$
0
0

Hi Rohith,

 

You cannot issue update commands via oData service, however you can use XSJS to post/update/delete records to HANA.

 

XSJS is a server side script that connects directly to the HANA server and can execute SQL statements such as SELECT/INSERT/UPDATE/DELETE. You can use a client side page which makes an ajax call passing certain parameters to the server side XSJS script, which can then insert/update/delete records to HANA.

 

You may refer to the following blog by Henrique Pinto which provides step by step details on how to insert values to HANA using an XSJS script.

 

http://scn.sap.com/docs/DOC-33902

 

Kind Regards,

Sharan


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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