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