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

Inserting records in SAP HANA using SAPUI5

$
0
0

Hi All,

 

As per my requirement I need to upload the .csv file through SAPUI5 frontend into table control and on click of submit button , It should save the data in SAP HANA back end table.So to achieve this I have created a SAPUI 5 project where I am posting the data uploaded in frontend using AJAX call on submit event of the button.

jQuery.ajax({

    url: '../Services/XXXXXXX.xsodata',

    data: sap.ui.getCore().byId("BatchTable").getModel().oData,

    type: 'post'

});

 

Now how can I read these set of records in .xsjs file and parse the json data and insert into the SAP hana table?

or

Do we have other way to do this ?

 

Do we have step by step doc to achieve this?

 

Regards,

Hennry


Viewing all articles
Browse latest Browse all 5115

Trending Articles



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