Application Development and Automation 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: 
Read only

Tab dilimited

Former Member
0 Likes
683

Hi,

I am working on an interface in 4.0b system. I want to create a tab dilimited file. Can any one tell me what should be the seperator in the concatenate statement.

In 4.0b system CONSTANTS: con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.

this statement cant be used.

Thanks.

Irfan

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
636

Try thsi way



data : v_tab type x value '09'.

Concatenate the fields separated by V_TAB and then transfer the data to the application server.

Hi,

I am working on an interface in 4.0b system. I want to create a tab dilimited file. Can any one tell me what should be the seperator in the concatenate statement.

In 4.0b system CONSTANTS: con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.

this statement cant be used.

Thanks.

Irfan

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
637

Try thsi way



data : v_tab type x value '09'.

Concatenate the fields separated by V_TAB and then transfer the data to the application server.

Read only

0 Likes
636

when I do this, it gives an activation error and says, "<x type data with value 09> must be a character-type data object such as c, n, d, t, or string.". Can you help me?

Read only

Former Member
0 Likes
636

HI,

Try this out.

DATA: L_TAB(1) TYPE x VALUE '09'.

concatenate fld1 fld2 fld3... into wa_itab separated by L_TAB.

APPEND WA_ITAB TO IT_ITAB.

If you still face error double click on the error. Is it giving error at Declaration of variable L_TAB or at the concatenate statment let me know