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

application server download

Former Member
0 Likes
393

Hi Gurus

I have to download a tab delimited file to application server.

first of all , i want to know how to make a tab delimited file.

1) I created one Hexadecimal variable with value '09' and

i inserted that between internal table fields..

I used open dataset **

loop at internal table into WA.

transfer WA to file,..

endloop.

Close dataset...

it is going for dump-saying that it supports only char type objects.. since my internal table has hexadecimal fields, i couldnt do it..

can you please tell me how to make a tab delimited file and download to application server/????

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
354

for tab try use the constant HORIZONTAL_TAB of the class CL_ABAP_CHAR_UTILITIES.

1. Declare a constant to store the tab
CONSTANTS: c_split TYPE c
VALUE cl_abap_char_utilities=>horizontal_tab,

Suppose you are in 4.6C or earlier you will need the hex value

CONSTANTS: c_split TYPE x VALUE '09'.

2 REPLIES 2
Read only

Former Member
0 Likes
355

for tab try use the constant HORIZONTAL_TAB of the class CL_ABAP_CHAR_UTILITIES.

1. Declare a constant to store the tab
CONSTANTS: c_split TYPE c
VALUE cl_abap_char_utilities=>horizontal_tab,

Suppose you are in 4.6C or earlier you will need the hex value

CONSTANTS: c_split TYPE x VALUE '09'.

Read only

Former Member
0 Likes
354

Even i tried that.. Still i am getting dump... saying that it will support only char type objects.

any other idea please?

thanks

vennila.