Skip to Content
Nov 15, 2010 at 04:30 AM

Webservice that can provide attachments to the invoking clients


Hi All,

As of now, from sap ecc, we are exposing BAPIs/RFCs as webservice (eg. z_get_emp_payslip_data), and our nonSAP webservice clients can invoke the webservice by passing parameters (e.g. empNo) and can get the payslip data in xml format.

but in sap, we can generate payslip pdf.

is there any way to have/develop a webservice such that it can send the pdf itself to the invoking webservice clients.

basically our non-sap webservice client will invoke the webservice, and it should get the pdf file (instead of xml data).

I explored on net, it is possible if we use the concept of SOAP with Attachments.

Does SAP ABAP support SOAP with Attachments ?

thanks in advance,