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: 

down load to flat file with double delimeter

Former Member
0 Kudos

hi,

i open a table in se11, i download the records in the flat file (sytem > list > local file)

i get a single pipe symbol as a delimeter,

i need double pipe symbol as a delimeter, can any on suggest

3 REPLIES 3

Former Member
0 Kudos

Hi,

To do that, you need to have filler(1) field of type C in your internal table, and this needs to be populated with some delimiter value say for ex, '|', if you need two delimiters, after every field in the internal table, you need to have 2 filler fields, you can have the internal table with the structure given below,

data: begin of itab_final,

field1 type table-field,

filler(1),

filler(2),

field2 type table-field,

filler(3),

filler(4),

end of itab_final.

Once you populate with these values, download the file,

Hope this helps,

Rgds,

former_member181962
Active Contributor
0 Kudos

After you get the data into the file, replace all '|' by '||' using ctrl+h..

Regards,

Ravi

former_member188685
Active Contributor
0 Kudos

Hi,

why do you need double delimeter.can you explain.

Regards

vijay