Code page translation problem

Hi guys,
I have the following scenario in XI:
     1. SAP R/3 creates a file in code page 1208 in AS 400
     2. The file is transferred via XI to the client's AS400 system. In XI this is a simple file-to-file scenario that reads from ftp location where SAP R/3 is found and copies the file into XI file system, it then runs an OS command after message processing (receiver file communication channel), that ftp's the file to the client's AS400.
     3. Our client then runs a translation CLP (I am not sure that local IT fully control this CLP) expecting to have as result the file in the correct CP. The correct CP is 813.
The strange thing is that the ABAP program returns some files with Codepage 1208 and some others with 813. When the codePage is SAP R/3 is 813, the XI transfers correctly to the client's machine and all characters are then displayed just fine.
However, when the codepage in SAP R/3 file system is 1208 then we cannot get the characters correctly in target system.
We could not assume how the codepage changes in SAP R/3 system since the ABAP program remains the same.
In XI I have used all the possible encodings: Text, Binary and all codepages.
Any ideas??

When I understand this right, the ABAP downloads the file in CP1208, then a CLP transfers this to CP813 and afterwards the file is processed by file adapter.
I guess that the file adapter is sometimes too fast and processes the file before it is prepared with the CLP.
Maybe it helps when the CLP renames the file after processing so file adapter and to set wildcards in the file adapter channel for the new name.
When you set file to binara in sender and receiver and you have no mapping, the file will be transferred unchanged.
Regards
Stefan

Similar Messages

  • Code page translation

    How do I handle code page translations when the server resides on a Unix box, using
    ISO-8859 and
    the client runs on a NT?

    Look at the iconv() function set on UNIX.
    Peter Holm wrote:
    >
    How do I handle code page translations when the server resides on a Unix box, using
    ISO-8859 and
    the client runs on a NT?

  • Smartform Translation using SE63 returns Error 'Incorrect Code Page'

    Hi,
    I have created a smartform in english & want to translate to Language IT, FR, DE.
    I am able to translate it using SE63 for DE but unable to translate to IT, FR.
    The error in status is <b>'Incorrect Code Page'</b>.
    Language Attribute is set to : Translate to all Languages.
    In SE63 the Source Language: EN, Target Language: IT
    The Languages installed in the system is EN & DE only.
    My questions on this issue:
    1. Is it required the language fonts for IT & FR be uploaded & then the Translation   in SE63 work fine ???.
    2. Is some other parameter needs to be set.
    Rgds
    Vincent

    If you need to translate the Smartform to any target language the Target Language must be intalled in the SAP System. The error occurs because IT, FR is not installed in the SAP System.
    Installing the Language Code pages will solve the problem.
    Hope That Helps
    Anirban M.

  • Page expire problem in one env of two environments having same code

    Hi,
    We have an web application deployed into two environments. The application versions and server versions are same in both environments. We are using sun one application server.
    When we click on back button (Say Env1) we are getting page exipre problem. The same code is working fine in other env (Say Env2).
    We have not coded anywhere to clear the client side information after it is displayed. It looks like there is some server setting using which we can specify not to save any information at client machine.
    Can any one of you help me in resolving this issue.
    Thanks in advance.
    K Vishnu Chaithanya

    http://support.microsoft.com/kb/234067
    http://lists.evolt.org/archive/Week-of-Mon-20040405/157547.html

  • Regarding the File Adapter with Code Page problem

    Hi All,
    I have a scenario where I am processing file at receiver end. The code page of the file is Cp037. When I try with this, I am facing the problem. Is there anyway where I can chage the code page of the file which is to processed by File adapter receiver.
    I have one idea but I don't know whether it is possible or not. It is to use XML Anonymizer Module.
    Please get back to me with your ideas.
    Regards,
    Achari

    Hi Achaari,
    Cp037 ( EBCDIC ) is not a basic but an extended encoding set which might not be supported by the file encoding parameter at the receiver file adapter.
    Either you can try the code page conversion using java code  as mentioned in  this[ post|Code page conversion;
    Please refer Problem with EBCDIC
      Michale's reply and the sriram's reply which talks about  some work around using .BAT files.
    Regards,
    Srinivas

  • National characters (code page) problem

    I made JSP page with code page 1250 with characters specific to this code page. In JDeveloper everything looks OK. Compiled page (Java file) also shows good, but when I open it in Web browser all national characters are lost (question marks instead of letters). Can anybody help me to solve this problem?
    Note: JDeveloper is configured to mentioned code page.

    have you tried posting in the ABAP webdypro forum?

  • Incorrect code page in SE63

    Hi,
    Several of my Long Text (SE63) Other Long Texts: SAP Forms cannot be translated in SE63.
    EX: trying Z_ORDERCONF from EN to SV
    It gives me an error "Incorrect Code Page" and nothing more happneds.
    During the weekend our SAP Admin did an upgrade to SAP DEV and we run now on SAP_BASIS 620 0060 (before 0059).
    Don't now if this has anything to do with my problem...
    //MA

    You must set up the code page for all target languages. Perhaps OSS notes 73606, 15023, 42305 can help you.

  • Translation problem , While conversion from English to Poland

    Hello Gurus
    Pl suggest  Translation problem , While conversion from English to Poland  getting message
    "Code page not found for Poland "
    Code page 1401 exits in system
    SAP version 4.6C
    Best regards
    Krish

    Dear Vamsi,
    Please check the below lonk may be it heps.
    Translation to different languages. How??????
    Regards
    Pranay

  • Infopackage Idocs in status 2 - could not find code page for receiver system

    Hi,
    We just migrated our production system from BW 7.01 non unicode to BW 7.4 on HANA.
    We now encounter issues with idocs while loading data into bw from our ECC5 source. When we analyze idocs in the source system it appears with the message "could not find code page for receiver system"
    One weird thing is that the idoc seems to have been created before we started the infopackage in bw.. We controlled system time and AS time and everything seems ok.
    We did not encounter this issues on our previous migration test runs..
    Hope someone can help
    Christophe

    Hi,
    Thanks for responding. We finally found out what the problem was.
    We have two applications servers on our ECC with 2 different OS. One of them could not reach the new BW HANA server.
    Regards
    Christophe

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Open data set / code page

    Hello ,
    I am sending file to print server  and i am accounting problems with  special characters
    In first version of  program  ( please see the code below )
    "OPEN DATASET g_filename  FOR OUTPUT IN TEXT MODE ENCODING DEFAULT."
    The special characters l from German and French   alphabet were NOT printed properly  , and we had  some nonsense results . Other '"Normal "characters  like A , B... are printed without errors .
    To prevent this error i wrote new line of code for open data set ( below ).
    "OPEN DATASET g_filename FOR OUTPUT IN   LEGACY TEXT MODE CODE PAGE '4110'  IGNORING CONVERSION ERRORS."
    This was working only when FTP was NOT used  , when FTP was used i had  following short  dump.
    I am working in SAP release 6.0
    Please Advice
    SHORT DUMP Message :
    What happened?
        The conversion of texts in code page '4102' to code page '4110' is not
        supported here.
        The current ABAP program 'SAPLZPRN_AUTO_LBL' had to be interrupted because
         incorrect
        data would have been created by the conversion.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_CODEPAGE_CONVERTER_INIT', was
         not caught in
        procedure "Z_TRANSFER_FILE" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        Possibly, one of the codepages '4102' or '4110' - needed for the
        conversion - is unknown to the system. Another option is, that a Unicode
         codepage was specified for a file in LEGACY MODE, which is not allowed.
        Additional parameters for the codepage conversion (as , for example, the
         replacement character) might have invalid values. You can find further
        information under 'Inernal notes'.
        If the problem occurred at opening, reading, or writing of a file, then
        the file name was '/te/mm/labels/0488_20091208_051317_EC008119_01_001.dd'.
         (Further information about this file: " X ")

    Hi,
    Also check the character set supported by the Printer. Printer configuration should also be checked on SAP side to determine character set and code page using SPAD.
    Regards,
    Nishad

  • How to change the default code page in SAP?

    My colleague tries to download a report in Excel but she is having some problems with the output as each of the lines are all included in one cell. When I download the same report, my output is fine and the columns in the lines are properly aligned in various columns in Excel.
    I noticed that her code page is 4110 and mine is 1160.
    4110     Unicode UTF-8
    1160     Microsoft 1252, Superset of ISO 8859-1
    As a workaround, I just asked her to modify the code page to 1160 everytime she downloads a report. I want to know how this setting is derived.
    My questions are:
    1) Is there a way to set the default code page?
    2) Is this a problem with the SAP version? If she downloads another SAP GUI, will the issue be gone?
    Thanks!
    Joey

    1, You can change the codepage in SAPGUI: Select the system => Properties => Others
    2, Could be, best is to have the same and most up to date SAPGUI for all

  • How to change a Code Page in SAP SCRIPT ?

    I have a specific requirement, would need your help :
    There is a <u><b>CODE PAGE</b></u> which is getting assigned to the <u><b>SAP SCRIPT FORM</b></u>. <i><b>For E.g : 1100 is generally used for SAP SCRIPTS.</b></i>
    I would like to know if there is a possibility to change the <u><b>Code Page</b></u> based on certain conditions ??
    Also i would like to know how and where is a <u><b>CODE PAGE and SAP SCRIPT FORM linked.</b></u>
    I have analysed that a <b>default code page</b> can be set in the <b>SAP LOG ON PAD</b> but not able to find the issues mentioned above.
    Kindly help me out with your valuable suggestions and solutions.
    Thankyou
    Brijesh.

    Hi,
    MDMP means Multi Display Multi Processing. See the note system for details. The problem of MDMP is that the different languages use different codepages and not all characteres can be displayed in every codepage.
    A solution would be a unicode conversion of the system. In unicode there is only one internal codepage, which contains all special characters of the individual languages. However the migration needs several hours of down time and unicode systems need more memory and disk space. I can't tell you a percentage for that. You need at least R/3 4.7 for unicode.
    In non-unicode system I believe you can't change the codepage inside a SAPscript document directly. I would have to end form processing an start a new form. To change the language you can try the ABAP-command SET LOCALE. Also see the language parameter in START_FORM.
    If that doesn't work I would try using RFC-Connections. Make RFC-Connections in your system which contain the system it self as target system, but with the desired language filled in. You do not need to provide a user or password, that would be taken form the logged on user.
    Inside your printing program you put the real printing into a function module. Your report then can call the function via RFC using a connection in the correct logon language.
    Greetings

  • SSIS Error Text was truncated or one or more characters had no match in the target code page

    I the same issue or something close.
    Except I have one Field (27) that get a trunacation error
    Error:
    Data conversion failed. The data conversion for column "Column 27" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
    The "output column "Column 27" (91)" failed because truncation occurred, and the truncation row disposition on "output column "Column 27" (91)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
    Data looks like:Red Text is the field that is throwing the error!
    00000412,
    0000000011411001,
    0273508793,
    01,
    "RUTH           ",
    "EDWARDS             ",
    19500415,20080401,
    "N",
    04488013,
    "1",
    "F",
    365094,
    20080401,
    000472162716,
    "1447203880    ",
    43995202341210,
    00120.000,
    0010,
    00008.26,
    00004.96,
    000.00,
    00002.70,
    00007.66,
    0,
    "PROMETH/COD  SYP 6.25-10 ",
    "Y",
    "Promethazine w/ Codeine Syrup 6.25-10 MG/5ML               ",
    0000,
    "001C",
    610020,"WELLP1537",
    "O",
    "N",
    00,
    "D",
    "S",
    "G",
    "ID01V012008782",
    "TOM AHL CHRYSLER              ",
    "M",
    "M",
    "PBD $20/10+40%/20%            ",
    00008.26,
    "1184641367"

    I have found four things that I always check when I run into this problem.  I have yet to find a time when one of these didn't work (specifically helps when reading data from flat files but I suppose most of the four would apply to any source).  Check out my blog post, content repeated below:
    1.  Make sure to properly configure the "Flat File Source".  When setting the connection properties to the flat file, take time to click on the advanced tab and ensure that the" Name", "DataType", and "OutputColumnWidth" properties are set properly.  I have found that if this is setup correctly when the initial connection is created, some if not all of the data type issues and errors can be alleviated.  The "Flat File Connection Manager Editor" can be accessed while initially creating the connection or by double clicking on a flat file connection within the "Connection Managers" for connections that have previously been created. 
    2.  Depending on the order and steps that were used to create the connection to the flat file, sometimes the data types need to be updated in an additional area.  This can be found by right clicking on the "Flat File Source" and selecting "Show Advanced Editor...".  Once in the advanced editor, click on the "Input and Output Properties" tab.  Expand the "External Columns" folder.  For each field being loaded from the flat file there are some configurable properties.  Make sure that the "DataType" field is properly set for each field.
    3.  Something else that can be done if you are sure that the data type is set correctly in both of the two previously mentioned locations is to set the "Flat File Source" to essentially ignore those annoying truncation errors.  On the same "Input and Output Properties" tab, expand the "Output Columns" folder.  For those fields listed, there is a "TruncationRowDisposition" property.  By default this is set to "RD_FailComponent".  This can be switched to "RD_IgnoreFailure" in order to allow the data to successfully pass through the "Flat File Source" even if SSIS believes that truncation is going to occur.  Along with making this change, you can also check the "DataType" in the "Output Columns" as well.
    Caution: If you do set the "Flat File Source" to "RD_IgnoreFailure" as mentioned above, always take time to review the data loaded in the target table to ensure that the integrity of the data was not jeopardized.
    Note:  I have found that when the "DataType" for both the "External Columns" and "Output Columns" is manually updated that it does not remain the same when the advanced editor is reopened.  For this reason, try Steps 1 and 2 before setting the "Output Columns" manually.
    4.  The last thing to try, and this applies specifically to loading data from Excel files as opposed to text or CSV is to set the package to run in 32-bit mode.  Click on "Project" on the top menu and select "Data Imports Properties...".  Click on "Debugging" under the "Configuration Properties" and set the "Run64BitRuntime" to "False".
    Working with data from flat files can sometimes be difficult in SSIS.  By using one or many of the approaches I have listed above you should be able to create a repeatable process that is frequently needed within most SSIS packages.  Be very careful when setting data types within SSIS and make sure to do it upfront when necessary because it can be harder to debug later in the development process.  If the proper changes are made it should not be a surprise to feel a big SSIS developer sense of relief when the screen shows all green.
    Let me know if this works!
    Check out my blog!

  • Error synchroniz​ing with Windows 7 Contacts: "CRADSData​base ERROR (5211): There is an error converting Unicode string to or from code page string"

    CRADSDatabase ERROR (5211): There is an error converting Unicode string to or from code page string
    Device          Blackberry Z10
    Sw release  10.2.1.2977
    OS Version  10.2.1.3247
    The problem is known by Blackberry but they didn't make a little effort to solve this problem and they wonder why nobody buy Blackberry. I come from Android platform and I regret buying Blackberry: call problems(I sent it to service because the people that I was talking with couldn't hear me), jack problems (the headphones does not work; I will send it again to service). This synchronisation problem is "the drop that fills the glass". Please don't buy Blackberry any more.
    http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?noCount=true&externalId=KB33098&sliceId=2&di​...

    This is a Windows registry issue, if you search the Web using these keywords:
    "how to fix craddatabase error 5211"       you will find a registry editor that syas it can fix this issue.

Maybe you are looking for