How to split the line at tab

Question: Hi to every one,

I am trying to read txt file, where the fields are seperated by tab.

I declare a field for example char1(200) type c and trying to read the first record into this field.

I am filling the field with ws_upload.

But how should I split into different fields? As split at ' ' ( tab) is not working.

In debugging mode i see the char1 is filled with record and fields are seperated seperated by # . But I cannot say split at # as there no space between field to field...


Is there any format to read, if the fields are seperated by tabs in the text.

Any help is greatly appreciated.

Thanks
guest

Answer:
Here we go again (and again).
This topic is covered nicely in the ABAP Knowledge corner:
/forums/viewtopic.php?t=100826

It even has an example using TAB.

DK
Copyright ?2007 - 2008 www.jt77.com