on 08-24-2015 12:08 PM
Hi Experts,
I have a scenario JMS to ECC(IDOC) thru PI...Can you some one help me for ...how do I pass the special character which is specified in subject line to IDOC.
Can you please provide me the solution ASAP.
Thank,
Chandar
Hi Chandra,
Normally in dual stack scenarios, we specify as unicode in the RFC destination created to send the idoc to ECC. But in single stack we don't have such feature.
Can you let me know the error you are getting when you are trying to push this data to ECC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Chandar,
Please remove the software component for that interface, it should then handle the special character.
Just for info, the SWCV (Software Component Version) allows only XML format to pass through PI. If you remove the software component, then the special character can be handled.
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the modules "AF_Modules/MessageTransformBean" and "AF_Modules/TextCodepageConversionBean" in sender JMS adapter:
Number | Module Name | Type | Module Key |
---|---|---|---|
1 | AF_Modules/MessageTransformBean | Local Enterprise Bean | Codepage |
2 | AF_Modules/TextCodepageConversionBean | Local Enterprise Bean | Convert |
3 | localejbs/CallSapAdapter | Local Enterprise Bean | 0 |
Module Key | Parameter Name | Parameter Value |
---|---|---|
Codepage | Transform.ContentType | application/xml;charset=ISO-8859-1 |
Convert | Conversion.charset | utf-8 |
Hi Chandra,
Can you insert the modules before IDOCoutbound Bean module and check the outcome.
Hi Chandra,
Actually to set encoding, we use either message transform bean or textcodepage coversion(for text files) or xml anonymiser bean.
http://www.saptechnical.com/Tutorials/ABAP/Conversion/Index.htm
I am not sure here what causing the issue.
Can you check the below notes and see if it helps you.
IDOC_AAE Adapter-Handling invalid XML characters-1872390
Hi Chandar,
I had similar issue few years back wherein we discovered that certain settings related to unicode compliance needs to be done on ECC also.
Here is what i can suggest to check if its ECC related issue.
In ECC, try to post IDoc manually with special characters through transaction WE19 and see if those values are getting updated and displayed properly in ECC IDoc and tables. If no, this means something relevant to ECC needs to be changed and from PI perspective everything is fine.
Check if this link is useful but thats all i can suggest
http://scn.sap.com/docs/DOC-28791
Thanks,
Amit
Hi Chandar,
Here are my observations on your issue.
1. You can see the character properly in IDoc XML in PI after message mapping pipeline step.
2. In ECC, when you post IDoc manually from WE19 with special character; it displays the character properly.
If my assumption is correct then I feel the only place which needs to be checked is if there is any option in RFC destination in NWA of PI to allow encoding in unicode.
Thanks,
Amit
Hi Chandar,
Also check if reply from Hareesh in this link helps in resolving issue
I assume you have created the RFC destination in NWA.
Go to RFC destination ->Specific Data -> Advanced Settings - here we have an option to mention the code page.
If this works, then i feel you would have to create one additional explicit RFC destination for your interface and use it in your receiver IDoc communication channel.
Thanks,
Amit
Hi Amit,
thanks for the reply, we are using PO7.4 single stack. and we are using IDOC_AAE adapter as receiver adapter. As you correctly assumed, we are not facing issue in mapping, special character is as it is, so there is no problem with mapping, after coming out from the receiver adapter channel, this special character changing to some other character.
Now we are using the rfc destination in IDOC_AAE receiver channel as XI_IDOC_DEFAULT_DESTINATION_SyID.
Can you please clarify me, do I need to mention the code page option in NWA? and why do I need to create additional explicit RFC destination? It would be grateful if you give more details on this please
Thanks,
Chandar
chandar,
refer this guide on handling encoding in PI
regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.