Skip to Content
0

how to read a CSV file using xsjs program and Batch operation into Hana database??

Aug 09, 2017 at 03:09 PM

186

avatar image
Former Member

Hi , I am new to ui5..

can any one tell how to read data form CSV file using xsjs program and performing batch operation to send data into hana database.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sergio Guerrero Aug 09, 2017 at 09:29 PM
0

vasu,

you can use a file upload control in ui5 and you have to post the content of the file into your xsjs service.

in the service you have to read the body and parse it out accordingly.

if you google upload csv to xsjs you will find a lot of results:

https://blogs.sap.com/2016/09/01/upload-and-retrieve-image-using-sap-hana-xs-sap-ui5/

https://blogs.sap.com/2013/09/02/upload-data-to-hana-table-with-extended-services/

etc... please google your topic before posting a question

Share
10 |10000 characters needed characters left characters exceeded