‎2007 Sep 06 9:46 AM
Hi,
i have a requirement where i need to convert data in my internal table which is in text format to UTF-16 format before downloading it to a file,
is there any function module which can be used .
Regards,
Raghavendra
‎2007 Sep 06 10:13 AM
Hi Raghavendra,
As per my knowledge it is not possible to directly to convert to UTF-16. But there is a way to download into application server.
Write data to file
open dataset DSN in text mode for output encoding utf-16.
transfer STRUC2 to DSN.
close dataset DSN.
After converting like that you can download the data.
Regards,
Ameer Baba.
‎2007 Sep 06 10:19 AM
Hi,
I think you can use the class CL_ABAP_CONV_OUT_CE.
Regards,
David