cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading CSV File into Web Dynpro Java Table and Write back to a Database

Former Member
0 Kudos

Hi Gurus!

I would like to upload a csv file and read the content into an UI table element.

Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.

could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.

thanks in advance.

farid

ps. helpfull answers will be rewarded with points!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

once you have uploaded the file

you have the byte array

byte[] file

You can turn it into a String

String contentAsString = new String(file, "UTF-8");

then you can can fill the table or whatever you want.

regards

Diego

Former Member
0 Kudos