cancel
Showing results for 
Search instead for 
Did you mean: 

Foreign Character Encoding in PRoxy to File

Former Member
0 Kudos

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

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.

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

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

Regards,

Michal Krawczyk