cancel
Showing results for 
Search instead for 
Did you mean: 

Prepare List with text file fields

Former Member
0 Kudos

Hi,

This is rama krishna. I need to convert text file fields to a List.

My requirement is to read a text file and prepare one list depending up on the fields.

For example I want to read the following foollowing text fields into list(it may be list or linked list).

<b>

Invoice Number voice Date Voucher ID Gross Amountount Available Paid Amount

51169 Nov/17/2005 00538767 7,043.23 0.00 7,043.23

51275 Dec/14/2005 00542544 929.87 0.00 929.87

601001 Jan/08/2006 00542545 1,837.14 0.00 1,837.14

Vendor Number Check No Date Pay Amount Total Discounts tal Paid Amount

21C029 218534 Jan/19/2006 $9,810.24*** $0.00 $9,810.24</b>

I want Vendor number as on list to that list I want add

Invoice nos lists.

Thanks & Regards

Rama Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, Rama!

Unfortunatly it' s beyond the scope of this forum to give that detailed advice on basic java se techniques like opening a file input stream and working with collections.

Please refer to the suns standard documentation on file i/o and collections for detailed information on that.

If you' ve any additional questions on more SAP specific problems, don' t hesitate to ask!

Regards,

Thomas