on 03-09-2011 8:48 AM
Hi,
There is a scenario IDOC -> PI -> JMS. When the data comes into PI from IDOC, one character gets unwantedly converted.
IDOC_FIELD = Pankaj's Address (as seen in SAP ECC system)
IDOC_FIELD = Pankaj#s Address (as seen in SAP PI - SXMB_MONI)
Can anyone tell me why is this happening in PI and how should this be avoided?
I do not want to make use of ReplaceString option as this does not seem to be a good option.
Thanks
Pankaj.
Hi,
Have you seen unicode setting enabled in the rfc destination used. from ECC to PI ..check once ...
May be that can also be the cause..
Regards
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
I assume the system where the IDOC is created is Non-Unicode (based on ISO-8859-1).
The PI system is based on Unicode by default.
Hence the system has to convert the textual data in the IDOC from ISO-8859-1 to Unicode.
However there are many variants of apostrophes (or symbols displayed in a similar way) in computer systems.
On Microsoft Windows CP1252 there are at least 3. Please have a look at:
http://msdn.microsoft.com/en-us/goglobal/cc305145
27 = U+0027 : APOSTROPHE
91 = U+2018 : LEFT SINGLE QUOTATION MARK
92 = U+2019 : RIGHT SINGLE QUOTATION MARK
U+0027 is available in all code pages.
But U2018 / U2019 are available in MS CP1252 only (and not on ISO-8859-1).
Therefore I assume you are using one of these Non-supported symbol and in the interface this symbol is converted to #.
Possible solutions:
1) Use U+0027 only as apostrophe
2) Convert the source system to Unicode
Best regards,
Nils Buerckel
SAP AG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thank you for the replies!
I assume the system where the IDOC is created is Non-Unicode
I logged into the source SAP R3 system using SAP Logon and checked the Status; in the status there was an entry like Unicode -- Yes (similar entry is available for SAP PI). Does this mean that both PI and R3 system are Unicode?
As mentioned by Rajesh I have made an entry into the RFC Destination of SAP PI for Unicode and this seems to be partially working.
If I use the existing value like Pankaj's Address in the IDOC, then the result in PI is still Pankaj#s Address -> WRONG
However if I use a new value like User's Address in the IDOC then the result in PI is User's Address -> CORRECT
I have deleted and re-imported the IDOC metadata into PI but still facing the issue for old values.
Please Help.
Thanks
Pankaj.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.