on 01-12-2007 4:21 PM
Hi all,
I need some help. I have a text file with set of name, phonenumbers . I want to know how to display the data using Webdynpro. Could some one help me. help is appreciated and I promise to award points for right answer.
Thank you
Maruti
Hi
Please refer the below link for complete details on how to read the data from a text file:
http://help.sap.com/saphelp_nw04/helpdata/en/9e/093aeec9b8634789fa07b3301f1a44/frameset.htm
Thanks & Regards,
Amar Bhagat Challa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maruti,
just open the file and loop on the rows, here an example::
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
.......
FileReader f = new FileReader("c:
FileName.ext");
while ((s = in.readLine()) != null)
{
//Here you can put the line into a WD context structure, i.e:
wdContext.currentContoEconomicoFormElement().setField(s);
........
}catch (Exception e) {.....}
in.close();
f.close();
For any others questions, please, let me know.
Vito
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.