on 07-21-2008 3:20 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
have look at this blog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
Have a look at this links.
Regards,
krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.