Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: Using RFC to get job spool in PDF format

$
0
0

Hi Maria,

 

I took a look at the .h file, I'm still lost here.

I run the API "BAPI_XBP_GET_SPOOL_AS_PDF" from Java code. One of the returned values is E_PDF, as documented in the dev guide by SAP

 

  • E_PDF: Spool List in binary format
  • E_COMPRESSED: =’X’ when spool list is compressed
  • E_JOBNAME: Jobname of the PDF conversion job
  • E_JOBCOUNT: Jobcount of the PDF conversion job

 

Now I hold the content of E_PDF, which in my case is "[B@4d67e8f2", from this point, I have no idea how to save this to a file and get the zip/pdf.

Am I supposed just to save this string to a binary file?

 

Do you have a sample code, preferred in Java, but I can cope with C as well, that shows how it's done?

 

Thanks!


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>