cancel
Showing results for 
Search instead for 
Did you mean: 

Base64 Encoding Handling in XI

Former Member
0 Kudos

Hi

I am going to receive an Base64encoded message in XI via a CIDX Adapter and then I need to post an IDoc in SAP R/3.

Can the XI handle Base64 messages automatically or they need to decoded first before posting an IDoc to R/3 ?

Tips awaited from SDN members.

BR / Swetank

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

write a UDF. below is the link for java program which does Base64 encoding.

Please use this program and build your UDF.

http://www.macs.hw.ac.uk/cs/online/2nq3/4/7.htm

--Archana

Former Member
0 Kudos

Hi all,

Mu scenario is Asunchronous Outboung.

All information coming from 3rd party will be received on base64 encryption

All information sent to 3rd party have to be sent using base64 encryption.

How I will do this? Can I do this using UDF? Please reply. My version is PI 7.1

Regards,

Sanghamitra

Former Member
0 Kudos

I think the more clean way will be to decode the message with a "Java mapping" that will be the first step of the Interface mapping; the second mapping, that you can make with the message mapping tool, will be for the final transformation into IDoc.

For the Java Mapping you can follow this <a href="/people/venkataramanan.parameswaran/blog/2006/12/12/java-mapping-to-handle-flat-files-in-sap-xi

Regards,

Sandro