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

Printing Adobe PDF using mass/batch processing

Former Member
0 Likes
1,886

I've got Purchase Order, Contracts and RFQ forms created using Adobe PDF print forms. Currently, immediate processing is used to print/email/fax the forms (that means that after a PO/Contract/RFQ is created, it is immediately printed/emailed/faxed). An enhancement I'm working on is to allow for mass/batch processing so that the forms will be printed/emailed/faxed at a set time each day. The issue I'm facing is that using mass processing, the PDFs become corrupted (for example, the first PDF form is sent ok but subsequent forms become corrupted or become a duplicate of the first one). When customers receive the corrupted PDF, they get the error that the form cannot be opened.

Does anyone have a suggestion on how to accomplish batch/mass processing using Adobe PDF forms? Right now, the immediate processing path is working fine since the there is low volume. However, the goal is to switch to mass processing once volume increases.

2 REPLIES 2
Read only

Kanagaraja_L
Active Contributor
0 Likes
1,216

How the process is happening for Mass Printing? If we want to print Multiple form (Multiple PO.....) at one time run. Can you Loop the generated function moudle and pass the each PO ?.

if it is not clear give me the clear picture.

Kanagaraja L

Read only

0 Likes
1,216

I copied and made modifications to the SAP standard print program SAPFM06P and called it ZSAPFM06P. I also made copies of the include files. So for immediate output processing, each time a Purchase Order PDF is created it calls the print program ZSAPFM06P. This process works great no matter how many PDFs are created from POs.

The issue is with BATCH/MASS PROCESSING. Here is the scenario:

- Purchase requisitions are created anytime during the day.

- Every 15 mins., the purchase reqs are batched together and an automatic process starts that converts them to purchase orders.

- Creating each PO calls the print program ZSAPFM06P and depending on the communication strategy, the POs are either printed, emailed or faxed to the customer.

The problem seems to be that when multiple POs are created, some get corrupted and some become duplicate of other POs. However, using immediate processing, this is never the case no matter how many POs are created.

I checked the program and the internal tables and variables used in the code do get cleared/reset each time a PO is created so I don't see how using immediate processing works while batch processing doesn't even though they both call the same program.

I hope this makes it clear a little bit.