Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

How to send PDF rawstring data to SAP Print Spool

$
0
0


Hi,

 

I am developing a Webdynpro ABAP application for creating Sales Orders.  In this application, I would have the file upload functionality from  where the user can upload PDF file attachments.  The file upload mechanism is simlar to the SCN article:  http://scn.sap.com/docs/DOC-51061.  The database table would have the sales order number in addition as key to identify the respective file attachments.

 

Requirement:

With the sales order search functionality, the sales order details and its associated file attachments could be viewed from the Sales Order Search WebDynpro Application.  The requirement is to implement a button with ‘Send to print spool’ functionality as shown in the below mock-up screen.  On click of ‘Send to print spool’, the program should be able to send this PDF rawstring data to the SAP print spool.

salesordersearch.png

 

A test report program is created to use the function modules 'SCMS_XSTRING_TO_BINARY' and 'SCMS_BINARY_TO_TEXT' and then send the text to print spool, but did not work.  These function modules work well for Smartforms or Adobe forms related pdf data.  But they do not seem to work for the PDF rawstring data available from database table.

 

Do we have any means by which the pdf rawstring data could be sent to SAP print spool?

 

Thanks in advance!

 

Warm Regards,

Yuvi


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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