cancel
Showing results for 
Search instead for 
Did you mean: 

Requirement of sending pdf document using REST receiver adapter

Former Member
0 Kudos

Hi Experts,

I have a scenario of sending attachment along with payload to 3rd Party.

SAP ECC (SOAP Adapter)--> PI --> 3rd Party (SAP REST Adapter)

Could anyone please suggest if it is possible to send attachment using REST adapter provided by SAP.

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Manjula

Attachments are not supported in SAP's REST adapter. Please refer to the following SAP Online library link.

REST Adapter Overview - Advanced Adapter Engine - SAP Library

As suggested by Maheswarareddy, you can opt for the SOAP adapter instead as it supports attachment in the receiver channel and it behaves like an HTTP POST. You can check "Do not use SOAP envelope" so that the payload is transferred to the receiver system without the SOAP envelope.

If you still can't resolve it, please elaborate further on your scenario especially what is the receiver system and its constraints/requirements.

Rgds

Eng Swee

Answers (3)

Answers (3)

nitindeshpande
Active Contributor
0 Kudos

Hello Manjula,

You can go through the below post and follow Eng's suggestion of using payloadswapbean -

https://scn.sap.com/thread/3728639

Regards,

Nitin

maheswarareddykonda
Active Contributor
0 Kudos

I am not sure about REST adapter whether that supports , but why don't you use SOAP instead Rest

manoj_khavatkopp
Active Contributor
0 Kudos

Hi,

Not sure of SAP REST adapter but yes it is possible to send attachments using Advantaco REST's Adapter.

Regards,

Manoj

Former Member
0 Kudos

Yes , Advantco REST adapter has the option to " Keep Attachments" but we have to use SAP REST adapter.