cancel
Showing results for 
Search instead for 
Did you mean: 

Attach a file in a Web Service

AntonioSanz
Active Participant
0 Kudos

Hi all,

I have a question, and I need help to resolve it.

I want to work in a syncronous RFC - WebService integration scenario and I am not sure if it is possible to send a file (pdf, excel, msword,....) within the body of the xml message. I need to send/recive pdf file from a SAP system to another third party system.

It is possible? How?

It is possible to build a RFC which sends/receives files?

It is allowed in SAP XI 3.0 or SAP PI 7.0?

Thanks for all.

Accepted Solutions (1)

Accepted Solutions (1)

jyothi_anagani
Active Contributor
0 Kudos

Hi,

only file adapter (sender)

RFC and IDOC do not support it

basically attachments are handles via proxies

(ABAP, java) and some adapters like file, or mail

have a look at this weblog:

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

Thanks.

Answers (2)

Answers (2)

former_member181962
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Antonio,

RFC, Idoc adapters does not support attachments.

You can use ABAP proxies instead. ABAP proxies support attachments. If you are looking for some code sample, search SDN with key terms as "Client proxy attachment", you will get some code samples. SOAP adapters also support attachments. So it should be fairly simple.

Regards

Jai