Skip to Content
0
Former Member
Jan 16, 2007 at 02:41 PM

Application Server

37 Views

Hi,

I want to access the file from application server. for that i want to put the file from presentation server to application server.

In the flat file the seperator is tab. and it is having 9 fields. I want to put the file file into application server. for that first i uploaded the file into an internal table using 'gui_upload'. i given filetype as 'asc' and the seperator is 'X'. it is working fine.

Then in the program, i read the file into an internal table having one field text(255) type char. Then i am trying to split the record into an internal table having 9 fields. But only the first field i am able to get into the required internal table. the sy-subrc is returning 4. How can i get all the fields into the required internal table.

But in the 'gui_upload' if i remove the seperator i am able to get all the records. But i want to give the seperator and i want to get all the fields here........ Can any body help me how to get.......

If any body having the code, to upload the file using 'gui_upload' and then to put the file into application server in real time scenario, Please send it to me.......

Urgent....

Thanks & Regards............