11-05-2007 1:47 PM
Hello all,
I want to access tab delimiter file from network,How can i do that?
I am using open dataset ,
read dataset ,
close dataset.
But it's not accesing file in proper format, it showing # after each field.
How can i handle that?
11-05-2007 2:06 PM
Hi Megha,
just after reading a line, you may SPLIT this line into several fields at every tab. For example:
data: l_tab type x value '09'.
data: l_string_from_file(200) type c. "<-- here you'll get the file content
data: begin of lt_columns occurs 0,
field(50) type c,
end of lt_columns.
split l_string_from_file at l_tab into table lt_columns.
I hope it helps. Best regards,
Alvaro
11-05-2007 2:07 PM