cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert ANSI xml files to UTF-8 xml files in SAP PO 7.4

sateesh437
Participant
0 Kudos

Hi Experts,

We have a scenario where we need to compare the ANSI xml files to UTF-8 xml files.

Our scenario is File to SFTP (SAP provided SFTP adapter) without ESR in SAP PO 7.4

Please help us in resolving the issue, we tried using 'Message Transformation Bean', 'TextCodepageConversionBean' and 'XmlAnonymizerBean' at SFTP receiver side.

Regards,

Sateesh.

Accepted Solutions (1)

Accepted Solutions (1)

sateesh437
Participant
0 Kudos

Hi All,

Sorry for the late response..!

we have achieved with below configuration:

The Main issue we faced with the char-set which one we need to use, before we have used cp1252 later we changed to the above it worked.

Thanks & Regards,

Sateesh Kumar P

Answers (3)

Answers (3)

vicky20691
Active Contributor
0 Kudos

I would ask you what Ryan asked. Is there any character with which you facing problems..

PI supports UTF-8 by default.. now if you have nothing mutually exclusive within ANSI xml to UTF-8 format then it wont create problems..

Anyways follow this

Change of Content-Type with Module MessageTrans... | SCN

regards,

vikas

stefan_grube
Active Contributor
0 Kudos

The XmlAnonymizerBean is the only working one. Set parameter anonymizer.encoding to UTF-8 (target encoding) Make sure to declare all namespaces inside the XML. Use parameter: anonymizer.acceptNamespaces Do not use MessageTrasmform or TextCodepageConversionBean. They are intended for text payloads only and will corrupt your XML.

sateesh437
Participant
0 Kudos

Typo mistake

We have a scenario where we need to convert the ANSI XML files to UTF-8 XML files.

Ryan-Crosby
Active Contributor
0 Kudos

Hi Sateesh,

What exactly is the problem you are experiencing when trying to convert to UTF-8?

Regards,

Ryan Crosby

former_member186851
Active Contributor
0 Kudos

Hello Satheesh,

By default PI handles in UTF-8 format.

Or you can beans as well to convert to particular format if required.