Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Tab delimited file access from Application Server

Hi

I am trying to read a tab delimited file and I see following in a temperary place holder.

0002#02#10032#AAA#AAA_TEXT#

Using following code I am able to delimit # from whole string.

But hash# is still left at the end of the string.How to remove it.

READ DATASET <filename> INTO l_string.

SPLIT l_string

AT cl_abap_char_utilities=>horizontal_tab "Horizontal tab

INTO l_funcloc_clas-tplnr

w_funcloc_clas-class

w_funcloc_clas-klart

w_funcloc_clas-atnam

w_funcloc_clas-atwrt

w_funcloc_clas-atfor.

append w_funcloc_clas to l_funcloc_clas.

points will be there for sure

Regards

Meeta & Palak

Tags:
Not what you were looking for? View more on this topic or Ask a question