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: 

Download data to application server in unicode for SAP 4.6B

former_member220801
Participant
0 Kudos

Hi experts,

I am now using SAP 4.6B. I need to write a program to download data to application server and the file must be in unicode. Is it possible? If yes, how can I do this?

In SAP 4.7 onwards, I can use

OPEN DATASET xxxx IN TEXT MODE ENCODING DEFAULT.

But in SAP 4.6B, it seems that I can't specify encoding...

<removed_by_moderator>

Edited by: Julius Bussche on Sep 16, 2008 10:56 AM

1 ACCEPTED SOLUTION

franois_henrotte
Active Contributor
0 Kudos

you need some unicode codepage on your SAP system

do a translation to this codepage before you write file (in binary format)

on my system:

4100 UCS-2 BE Unicode

4101 UCS-2 LE Unicode

4102 UTF-16BE Unicode

4103 UTF-16LE Unicode

4104 UTF-32BE Unicode

4105 UTF-32LE Unicode

4110 Unicode UTF-8

4120 Unicode UTF-8 pure

LE = little endian, BE = big endian

1 REPLY 1

franois_henrotte
Active Contributor
0 Kudos

you need some unicode codepage on your SAP system

do a translation to this codepage before you write file (in binary format)

on my system:

4100 UCS-2 BE Unicode

4101 UCS-2 LE Unicode

4102 UTF-16BE Unicode

4103 UTF-16LE Unicode

4104 UTF-32BE Unicode

4105 UTF-32LE Unicode

4110 Unicode UTF-8

4120 Unicode UTF-8 pure

LE = little endian, BE = big endian