on 2016 Dec 22 1:33 PM
HI Gurus,
I am facing character encoding issue for one of the EDIFACT inbound interface.
We are receiving edifact file from vendor via AS2 adapter in sap PI and it split by Ediseparator.
It will pass to sendor ediseparator and process and converting the edifact message into xml and post the data into ERP.
Here while converting to edifact xml we special character are generating with junk.
Example character is : Å
Please help me here to over come from this issue.
Regards,
Naga Uday.
Request clarification before answering.
Hi Naga,
As you are using EDISeparator receiver channel, please also defines the encoding of the input message in
EDISeparator receiver CC. If you do not use this parameter, the adapter will use encoding ISO-8859-15. For more details you can refer to SAP help document:
Best Regards
Ray
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.
I had the same problem. I solved it as follows:
I configured the AS2 channel to convert form UTF-8 to ISO-8859-15 (Adaper Sepcific - Gerneal - Charset Conversion). Then, in the Edifact Sender channel (not receiver!) I've set the character encoding option ("General" tab) also to ISO-8859-15 (encoding module parameter seems not necessary anymore, since we have the configuration option on the General tab).
Regards,
Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Thanks for your Guidance...
Issue got resolved as we have requested vendor to send the data in ISO format. Now the characters coming correctly.
Regards,
Naga Uday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
We have used module level parameter and it reading as UTF-8 but the characters are not yet changing.
Attached the screen shot of AS2 channel parameters at module level.
Input giving as
MÅRBACKAGATAN 11
After converting into xml before message mapping
<D_3042_1>MÃ RBACKAGATAN 11</D_3042_1>
After mapping converting to idoc xml
<STRAS>M�RBACKAGATAN 11</STRAS>
Please correct me with your inputs to over come from this issue.
Regards,
Naga Uday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Uday,
You See the problem is not in module because the Character is represented as it is after Edifact converter module but it is getting converted into illegal character after message mapping in IDOC XML.
I would suggest you to run end to end scenario then check in ECC how the character is psoted.
Br,
Manoj
Hi Manoj,
I have tried that and alos is have added the same in TPA also. But still no luck.
And while converting the EDIFACT to xml its taking ISO-8859-1 encoding even we have maintained as UTF-8.
Please help me here.
Regads,
Uday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Uday,
Maintaining in TPM is not mandatory until and unless you are reading the configuration from TPM
ISO-8859-1 is the default encoding taken by module EdifactConverterModule in case if you have not maintained edifact.encoding parameter.
Can you please put the screenshot of the channel configuration along with module and also the Message monitoring log of module execution.
And also do check in your first flow if the the character is coming as expected , if not then you need to enable encoding option in your encoding in AS2 channnel.
Br,
Manoj
Uday,
Did u try Adding parameter :edifact.encoding for edifact convertermodule in sender edi seperator channel.
ex: edifact.encoding utf-8
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.