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

Unicode - Non Unicode

Former Member
0 Likes
750

Hi all,

We are upgrading Japanese language SAP 4.6c version to Ecc 6.0 version.

This japanese system integrates with many other systems which are non-unicode.

How the integration process is -- we download a file in a specific folders and the other systems will upload to their systems.

Even though we upgrade to UNICODE SYStem (ECC 6.0) we need to download all the files in Non-Unicode format, becasue all the connectiong systems are non-unicode.

For application server download we are using LEGACY TEXT MODE....but this is not working.

I am not aware of how to download a file to presentation server - NON-Unicode format.

Pls guide. We are in a very crusial stage of the project.

Thanks in advance.

Rajanya

4 REPLIES 4
Read only

Former Member
0 Likes
616

Pls answer this question.

Read only

Former Member
0 Likes
616

Hi,

what do you mean <i>"...but this is not working?"</i>.

Is the texfile not readable or the file will not be written?

To download a file to the presentation server (i think you mean the computer where teh sap gui runs) you have to use a method of the class CL_GUI_FRONTEND_SERVICES.

For example GUI_DOWNLOAD, and take attention to the codepage..

I hope this help something...

Regards,

Gianpietro

Read only

0 Likes
616

Hi, Thanks for the reply.

The text files will contain all japanese characters.

We have tried with almost 50 code pages....but none is giving the same result as SAP 4.6c i.e NOn-Unicode format.

Read only

Former Member
0 Likes
616

If the system is a Unicode system:

open dataset gw_file in text mode encoding default.

While saving the text file, if you are using notepad, then in the SAVE AS pop-up select encoding as “UTF-8I”.

If the system is a Non-Unicode system:

SET LOCALE LANGUAGE <>. “Specify the language

open dataset gw_file in text mode encoding NON-UNICODE.

While saving the text file, if you are using notepad, then in the SAVE AS pop-up select encoding as “ANSI”.

<b>TRANSLATE TO CODE PAGE Not supported in ECC6.0</b>There is an alternative FM 'SCP_TRANSLATE_CHARS_46’ which functions similar to TRANSLATE to CODE PAGE statement.

Please refer SAP NOTE 78076