cancel
Showing results for 
Search instead for 
Did you mean: 

Base64 encoding in SAP PI

0 Kudos

Hi Folks,

I have a requirement ,We have to pick the PDF file from FTP and keep the file in Sharepoint by encoding with base64.

I know this can be handled with Java Mapping.

My question is whether we can handle this scenario without using Java?

Is there any module to handle it.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Pavithra,

the base64 encoding can be done in SAP-ECC side. There is a function module to do the same. You can place the file in the NFS location and ask the ABAP program to convert it to Base64.

Regards

Dave

0 Kudos

Thanks Evgenity for your response.

I can see its a custom module.

So it means we cannot handle this by Standard module.Only by Custom module we can handle this scenario.

former_member190293
Active Contributor

Hi Pavithra!

This module has been written by Eng Swee Yeoh, the famous and respected Community member and Java expert. You can deploy it to your PI server and use it like any other adapter module.

Regards, Evgeniy.

RafaelVieira
Active Participant
0 Kudos

I also recommend you using this custom module.

Have used it in the past to encode/decode JPEG/XML files and it works greatly!

former_member190293
Active Contributor
0 Kudos

Hi Pavithra!

Take a look at this blog:

https://blogs.sap.com/2015/04/30/base64decodeconverter-base64-decoding-made-easy/

Regards, Evgeniy.