Skip to Content

Base64 encoding in SAP PI

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 09, 2016 at 10:06 AM

    Hi Pavithra!

    Take a look at this blog:

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

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 09, 2016 at 10:13 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 12, 2016 at 10:16 PM

    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

    Add comment
    10|10000 characters needed characters exceeded