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: 

Downloading file in Unicde format.

Former Member
0 Kudos

Hi,

I want to download file in application server in unicode format.

Thaks in Advance,

Neha

7 REPLIES 7

Former Member
0 Kudos

which tool your using or what method you are using for that, can u tell me.

0 Kudos

Hi tapan,

I am trying to download the file using open dataset for output.

but i think we need to convert to unicode before downloading the file.

cuurently when i download the file it is saving in ANSI format. but i wanted it in Unicode format. this format you can check by opeing the text file and say Save as ,below you will see differnent encoding formats like ANSI, UTF_8 , UNICODE, UNICODE Big Endian. my requirement is to download in Unicode format.

please let me know if there is any class or method thoroug we can create unicode files.

0 Kudos

let me know first , u r doing that through

ale,lsmw,bdc,etc

0 Kudos

Hi,

Its a Abap program no BDC or ALE or LSMW used . i am just fetching the data from tables and downloading the file. i need to download file in UTF-16LE format.

0 Kudos

Hi,

use

oPEN DATASET uv_filename FOR output IN TEXT MODE ENCODING utf-8.

Transfer data.

close dataset.

It creates an unicode file

Message was edited by:

Raghu Devagiri

0 Kudos

Hi raghu,

i dont want in UTF-8 format i wanted in UTF-16 format .

0 Kudos

Hi,

I guess UTF-16 is not supported.Even SAP help says UTF-8 should be maintained.