Skip to Content

IDOC to SOAP - Getting Special Characters in Down Stream System

Hi All,

We have one scenario that is IDOC to SOAP.

In Receiver Down Stream system we are getting Special Characters.

I have attached 3 screen shots

1) IDOC screen shot

2) Adapter Engine Screen Shot

3) Down Stream System Screen Shot.

In IDOC and AE it is showing same value, But in Down Stream System it is showing Some extra Characters.

In IDOC the field name is "ORT01" and value is "SANTO ANDRÉ".

In AE the filed name is "cod_cidade" and value is "SANTO ANDRÉ".

But In Down Stream System filed name is "cidade" and value is "SANTO ANDRÉ".

Why we are getting this special characters?

What are the possible ways and how can we resolve this?

Please help me.

Thanks & Regards,

Vishnu Pallamreddy.

Adapter Engine.PNG (222.8 kB)
IDOC.PNG (8.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 28, 2015 at 03:00 AM

    Hi Vishnu

    I'd suggest that you check with the down stream system technical team what type of encoding does their web service expect. I'm suspecting that they are expecting ISO-8859-1 but PI by default sends UTF-8.

    Once they confirm that you can try adding parameter XMBWS.XMLEncoding = iso-8859-1 in the SOAP receiver channel.

    Refer to question "What character encoding is supported by the SOAP receiver adapter?" in SAP Note 856597.

    Another way you can test is by downloading the AE payload and using SOAP UI to send directly to the web service. Try changing the encoding attribute in the XML header to see what happens in the receiver system.


    Eng Swee

    encoding.png (90.0 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Yeoh,

      As of now I didn't try that one.

      Actually my own Stream System owner is checking from their end.

      We have a process in and we need to follow.

      I am waiting for their approval to add that parameter.

      once they approve I will check and let you know.

  • avatar image
    Former Member
    Oct 27, 2015 at 08:27 PM

    Hello Vishnu,

    You might be facing the issue because different systems have different codepages (character sets).Can you please check the codepage specifications of your receiver system ?

    In your asynchronous scenario ( IDOC > SOAP ), the receiver SOAP adapter has default codepage set as UTF-8. If you want to change this per your receiver systems's codepage specifications, add the parameter XMBWS.XMLEncoding in the module configuration for the SOAP adapter module.

    You may also try other techniques like XSLT and JAVA mapping to influence codepage.

    For more information: SAP Note 856597,960663,880173 - FAQ: XI 3.0 SOAP Adapter



    Add comment
    10|10000 characters needed characters exceeded