Ich hope you can help me. For my company I have to search for a way to print PDF Attachments from GOS automatically (in an own report).
In Transaction VF02 you can change or create a billing document.
Then you can choose the Button 'Services for Object' on the bottom of the page and show the attachment list.
This service is available in many other transactions and functions and I need to create a spool of this pdf files. At best in one spool with alle the files if possible.
I create a report and read the Files with the function SO_DOCUMENT_READ_API1 and get a Table of structure SOLISTI1... works fine. But how can I create a pdf spool of this documents? I found an other discussion with the notice to use the report RSPO0023 . This one creates a Spool (Function Module ADS_SR_OPEN) but how can I Transfer the content of my pdf Documents to it.