‎2008 Jul 30 5:19 AM
Hello,
I am currently using program RSTXPDFT4 to convert spool requests to PDF. Is there a way to convert more than one spool request at a time to PDF? I'm dealing with large numbers of documents that need to be converted to PDF and it is time consuming and cumbersome to convert them one at a time. Help is appreciated.
Regards
‎2008 Jul 30 5:29 AM
I Don't think there is a function or program for this...
But you can do this using some custom logic.
Create a Function module and it takes input of Spool
and converts to PDF. make this function as RFC enabled.
for conversion logic :- Conversion you can use the Standard functions.
So Now using the Function you can use parallel processing and parallely you can create the PDF for many spools
I used it for one of my requirements/
Read here...
http://help.sap.com/saphelp_nw70/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm
But you need to collect the data to internal table, that internal table should be some deep structure.
internal tables consists of PDFs
‎2008 Jul 30 5:30 AM
‎2008 Jul 30 5:36 AM
‎2008 Jul 30 5:39 AM
‎2008 Jul 30 5:40 AM
Hi Khan,
Do one thing before converting the data into PDF u 'll be having all the data in single internal table know. Don't convert that internal table into PDF immediatly after processing a spool request number instead of tht create another internal table of same type and pass the values into that for the first time and after that process the other spool request number and append the values in the common table and finally conver it.
Thanks,
Arunprasad.P
‎2008 Jul 30 6:05 AM
Hi Khan.
I would like to suggest a few references, as it is quite similar to your issue,
[SAP HELP - Standard Reference for Adding Spool Requests to Another Spool Request |http://help.sap.com/saphelp_nw04/helpdata/en/e3/31f03bb8e8ed0ce10000000a11402f/content.htm]
[SAP HELP - Standard Reference for Exporting the Contents of a Spool Request as a PDF File|http://help.sap.com/saphelp_nw04/helpdata/en/85/54c73cee4fb55be10000000a114084/content.htm]
[SDN - Reference for Generating mulltiple PDF from single spool|;
[SAP HELP - Standard Reference - Output Control of Spool Requests and Output Requests|http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a8efb51ea11d189570000e829fbbd/content.htm]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave