on 06-30-2010 10:45 AM
HI,
How to pass exact characters what I receive from source to target.. There are some special characters which are passing from source but they are converted in to some wired characters when reached to target system..
Scenario is XML-XML .... Is there any settings I am missing in sap pi ? passing Greeck/spanish/french characters.
Regards,
Rajeev
Hi Rajeev,
if the scenarion is XML file to XML file then it is recommended to set the File Type parameter of sender or receiver channels as
"Binary",
i.e.,
see 'Q16. File Encoding'
of the note -
[#821267 FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter|http://service.sap.com/sap/support/notes/821267]
Regards
Kenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Yes I set file content type as Binary but still I see european characters are not passing as required.
So I have to set the coding in Message mapping only?
How If I have multiple code pages (Greek, spanish, urdu and so on)? I have to write multiple Java mapping?
For flat files we have the option in File receiver CC to set the code page but for XML we dont have right?
Any any one came accross this situation? Please share.
Thanks
Rajeev
> For flat files we have the option in File receiver CC to set the code page but for XML we dont have right?
The codepage is part of the XML header. If the XML header is missing, then the codepage is UTF-8 (default)
Check, if your incoming XML is correct. You can see this easily by open it with a web browser.
Hi Rajeev,
is the encoding of the source XML files correct?
It's possible to use the XMLAnonymizerBean to change encoding for XML fiiles (e.g. to UTF-16)
[Configuring the Receiver File/FTP Adapter |http://help.sap.com/saphelp_nw70ehp2/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm]
but I think the source file encoding may be incorrect.
Regards
Kenny
Hi Rajeev,
Please check out the blog - http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
regards
sunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Please check out the blog - http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
This blog is not about special language characters.
Hi,
can you please check given link
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.