Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to access tab delimiter file from network,How can i do that?

Former Member
0 Kudos

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?

2 REPLIES 2

Former Member
0 Kudos

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

andreas_mann3
Active Contributor
0 Kudos

use abap commands translate (look F1)

A.