cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member190284
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor

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.

former_member190284
Participant
0 Kudos

Hi,

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??

apu_das2
Active Contributor
0 Kudos

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?

Thanks,

Apu