Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mass conversion to PDF

Former Member
0 Likes
1,295

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

6 REPLIES 6
Read only

Former Member
0 Likes
997

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

Read only

Former Member
0 Likes
997

do u know the spool numbers or using print command?

Read only

0 Likes
997

I'm using SP01 to obtain spool numbers.

Read only

Former Member
0 Likes
997

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

Read only

Former Member
0 Likes
997

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