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: 

Tabulator in dataset on Unicode system

Former Member
0 Kudos

Hi there,

Does anybody know how to use the tabulator as file delimiter when downloading a file on a unicode application server (using a dataset)?

Thank you for your help,

Olivier.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

data v_tab type c value

CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

This V_TAB we can use as Horizantal tab instead of TYPE X VALUE '09'.

Regards,

Srikanth

Message was edited by: Srikanth Kidambi

2 REPLIES 2

Former Member
0 Kudos

data v_tab type c value

CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

This V_TAB we can use as Horizantal tab instead of TYPE X VALUE '09'.

Regards,

Srikanth

Message was edited by: Srikanth Kidambi

0 Kudos

Thanks. Here is the code for who's interrested.

DATA: ctab TYPE c value cl_abap_char_utilities=>horizontal_tab.

CONCATENATE field1 field2 fieldn INTO buffer SEPARATED BY ctab.

OPEN DATASET 'dataset' FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

TRANSFER buffer to 'dataset'.

CLOSE DATASET 'dataset'.