cancel
Showing results for 
Search instead for 
Did you mean: 

PDF file transfer using web service

Former Member
0 Kudos

Hi,

We are using ABAP web service (through function module) to transfer some data from ECC to a portal system which is Non-SAP system.

One of the requirement is to send Invoice print out in PDF format through web service?

Can we achieve that?

I know we can create a spool and convert that spool to PDF binary format using FM  CONVERT_OTFSPOOLJOB_2_PDF.

But once data is converted, I checked within SAP in debug mode, it is coming in some non-readable format.

WSDL file is not able to interpret that data for front end system and front end system is giving error "http/1.1 500 internal server error"

Any pointer on this will be highly appreciated.

Thanks

Puneet

Accepted Solutions (0)

Answers (1)

Answers (1)

jitendra_it
Active Contributor
0 Kudos

Hello Punit,

One way you can try is sending internal table data in XML format.

Check with front end system if they convert XML data to PDF or not.