Skip to Content

converting a string of idoc in a field to pdf and sending to 3rd party system

May 29, 2017 at 09:05 AM


avatar image
Former Member

Hi Experts,

I have a requirement in which an idoc and PDF simultaneously ahve to picked up by SAP PI. for which we have requested ABAPERS to convert this PDF into a data and send it in a field,

once, PI received this data, this field content haev to send to 3rd party but again this field has to be converted into a PDF .

I wanted to know if there are existing modules which can easliy convert this field Data into a PDF and send it across 3rd party?

Thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov May 29, 2017 at 02:38 PM

Hi Nunu!

If your ABAPERs encode PDF data into BASE64 string before sending it to PI, you can use standard java functionality to decode that string back to binary data and put it to attachments part of your message. But keep in mind that receiver adapter used for communication should support working with attachments as well.

Regards, Evgeniy.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member


Thanks for the reply, but I don't want to send PDF as attachment. Moreover I have to use IDOC necessarily use for push data to them.

Is there any way in which we can send this PDF being converted by BASE64 through File channel??

Former Member
Former Member

Looks like your ABAper has already converted the data to Base64. What is your requirement?

Do you want to send the PDF file to the 3rd party or what?