Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8894

Print DMS-documents using SAP-spool

$
0
0

Hello!

 

I'm facing the following problem:

 

When a production order is printed the documents linked with this production order also should get printed automatically. The documents (especially pdf) are managed by DMS.

 

My (not working) idea:

 

1. Retrieve the file content of the dms-originals with fm CV120_DOC_CHECKOUT_VIEW

2. Print to spool using class CL_RSPO_SPOOL_HANDLE

    -> write file content to spool using method WRITE_BINARY

 

Unfortunately this does not work (only the raw-data of the pdf is printed)! Has somebody any idea, how a file can be printed using SAP-spool?

 

Thanks in advance!

 

Greetings

Wolfgang

 

p.s.: I have already recogniced the thread 'Integrated output of DMS-Documents with production order papers' which is no help.


Viewing all articles
Browse latest Browse all 8894

Trending Articles



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