cancel
Showing results for 
Search instead for 
Did you mean: 

Change Encoding in Graphical Mapping

Former Member
0 Kudos

Hello guys,

I have an interface like File-> PI 7.1 -> Proxy

The problem is that some characters are not correct at the proxy, and I have an error when the proxy is executed.

I have at the sender file adapter the encoding ISO-8859-1, but the problem is that in my Operation mapping, I java a Java code, where I put iso-8859-1, and after a message mapping. After the java mapping the encoding is iso-8859-1, but after the message mapping and when the message arrives at the proxy is UTF-8.

There is any way to change the encoding during the message mapping or in the Proxy adapter? There is also the possibility to change the encoding at the ABAP code of the proxy?

Many thanks in advance.

Regards,

Xavi.

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor

Hi Xavi,

Can't you put one more java mapping after the message mapping to convert form utf-8 to iso format?

Also check this wiki page http://wiki.sdn.sap.com/wiki/display/ABAP/Characterencodingconversion

Regards

Suraj

Former Member
0 Kudos

Hello Suraj,

I would like to avoid to do another mapping to change the properties. There is no way to change the XML encoding during a message mapping?

Many thanks,

Xavi.

former_member187339
Active Contributor
0 Kudos

H Xavi,

--Unfortunately no because the standard format in PI is utf-8-

Try this http://www.dataxstream.com/2009/06/pi-message-mapping-editor-hidden-menu/

Also we cannot use XMLAnonymizer bean here as the receiver adapter is XI adapter

Regards

Suraj

Former Member
0 Kudos

Many thanks Suraj.

I would do the java mapping to do the conversion.

Regards,

Xavi.

former_member187339
Active Contributor

Answers (0)