Skip to Content
avatar image
Former Member

Foreign Character Encoding in PRoxy to File

Hi Experts ,

We have a scenario from Proxy to File . Recently we have encountered a problem of foreign character 'José Cordeiro' coming from Proxy which is failing in Moni with the error code "  Runtime exception occurred during application mapping com/sap/xi/tf/~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Character reference "&#1" is an invalid XML character"

Since sender is proxy we do not have option to change the encoding , by default the encoding is UTF-8 .

How can we solve this problem or change encoding to process the foreign character ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 28, 2013 at 09:26 PM

    It seems the issue is not caused by the foreign character, but by an invisible character ASCII 1.

    Download the payload before mapping and check with a hex editor.

    If there is an invisible character in the payload, adjust the sender ABAP program.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 28, 2013 at 08:05 AM

    Hi,

    you can do use a java mapping to handle issues like that in case the message mapping fails

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 28, 2013 at 01:32 PM

    Fixing the data issue at the sender system before pushing to PI is better.

    Add comment
    10|10000 characters needed characters exceeded