on 07-25-2006 10:46 AM
Hi to all,
We receive via http a XML-File UTF-8 encoded in XI (unicode system). XI does the conversion to IDOC-Orders. Through IDOC Adapter we send the ORDER to our R3 4.6C (non-unicode). To get the right encoding we use a little stylesheet for converting utf-8 to iso-8859-1.
-
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xslt/java" version="1.0"> <xsl:output method="xml" encoding="ISO-8859-1" />
<xsl:template match="/">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
-
When I test the mapping everything works fine. The resulting IDOC is converted in iso-8859-1. But when I send data through http I still receive utf-8 converted chars in our r3 - so it seems like the behaviour between testing and "reallife" is different.
Any ideas what to do.
Many thanks in advance.
Michael
Hi Michael,
you wrote, the mapping works fine. I think, it is the RFC-destination, used by the IDoc adapter. Have a look to note 547444 to solve your problem.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
thanks for your suggestions. Definitly the testtool from the RWB was the problem. When I send data through this, my converting efforts are ignored. After I set up the whole process and test this real-life, XI is doing what it should do.
Regards Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Try the option ' Ignore converting errors'. Just give it a shot
cheers,
Prashanth
P.S : Please mark all helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>> To get the right encoding we use a little stylesheet for converting utf-8 to iso-8859-1.
do you do it in the mapping?
I don't think this will work in the real flow
(changing the encoding inside the XI)
did you check the logs? was the encoding really changed?
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prashanth,
the settings are:
Default settings: Ignore error - error indicator: #' = U+0023
Is that right or should I try the option "ignore converting errors".
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Go to transaction SM59 and double click on AI_RUNTIME_JCOSERVER(XI destination for adapter engine)
Inside that, under tab MDMP and Unicode, There is an option for display of conversion errors
Check if the error indicator is set to #, and that U + 0023 is also set.
Just a hunch!
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.