SAP script and External docs - print in PDF
We are printing maintanence orders (SAP script) through IW32 and recently we have added custom logic to print the external docs(word or excel) attached to the maintanence orders. So if we print a maintanence order with two attachments, we would get Order, Attach_1 and Attach_2 printouts. This functionality is working fine but when we print several orders at the same time all prints are getting mixed up. I was wondering if somthing like this would be possible.... Let's say we have a order of one page with two attachments, Attach_1 & Attach_2, of one page each and we create one single PDF document with these three pages in the print program and print this PDF at the end of the print program so that all the prints associated with one order come out as a single doc.
Any ideas / sample code is appreciated. Thanks.