‎2007 Sep 12 11:43 AM
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
‎2007 Sep 12 12:13 PM
‎2007 Sep 12 12:53 PM
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
‎2007 Sep 13 3:52 AM
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.
‎2007 Sep 13 4:25 AM
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