on 12-04-2012 4:18 AM
We have a interface IDOC to File creation.
We have a text hardcoded in message mapping to one of the target fields which has Euro sign and ' sign in it. In MONI the xml payload has the sign coming correctly. But while the file adapter converts the xml to txt the Euro symbol and ' sign is converted to "?" . We have tried giving encoding ISO-8859-1, ISO-8859-15 etc. But still not working . Please help to resolve this.
Hi Shyamalima,
As you mentioned you can see the right character in SXMB_MONI, so there is issue in adapter conversion. Please use the destEncoading as well as srcEncoding parameter in adapter as utf-8.
Regards,
Sagarika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyamalima,
You can use "XmlAnonymizerBean" in your adapter. As Stefan mentioned you can use CP1252 and check. Please find more:
http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm
The Euro sign is not part of ISO-8859-1.
You could try cp1252 (Windows code page) instead.
ISO-8859-15 has also a Euro sign, but it is a different hex value as in cp1252.
The question is, which codepage is expected by the receiving system of the file. Ask for this information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shyamalima,
Why dont u use an XSLT mapping or java mapping to convert xml message of sxmb_moni(which is in UTF-8 format) into ISO-8859-1, ISO-8859-15 etc and then send that message to File adapter.
Regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyamalima,
Check the point 3.1 in this document: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79f...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As you mention you can see the right character in SXMB_MONI, so there is issue in adapter conversion. Please use the destEncoading parameter in adapter with utf-8.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.