‎2008 Sep 19 9:25 AM
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/????
‎2008 Sep 19 9:28 AM
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'.
‎2008 Sep 19 9:28 AM
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'.
‎2008 Sep 19 10:10 AM
Even i tried that.. Still i am getting dump... saying that it will support only char type objects.
any other idea please?
thanks
vennila.