‎2010 Apr 19 8:33 AM
Hi experts,
I have one problem regarding PDF. I had generated 5000 PDF's for annual bill. Now, i want to incorporate one hard coded message in that PDF. Is,it possible to include this message in the existing PDF.
Kindly, any one give me one possible solution.
Advanced
thanks
Vijay
‎2010 Apr 19 8:57 AM
I'm not sure the format of the pdf file used in your case. Is it possible to make the changes in the PDF generating program or form and generate all the PDFs again?
If it's not possible, a custom program can be generated to convert the PDF files to XML. Then convert the modified XML data to PDF. Need to check the feasibility. Check interface IF_FP_PDF_OBJECT for the methods.
‎2010 Apr 19 9:04 AM
Hi,
thank you for your reply. There is possibility to regenerate the PDFs again. But is there any option to change the present PDFs only. Please ,kindly give me a solution.
thank you
Vijay
‎2010 Apr 19 10:14 AM
In scope of ABAP, a custom program can be created to modify the PDF output. But as told the no of PDF files is large and I'm not sure the amount of time required to modify the output by the program. Again, effort is required to create the custom program and test it.
Also i'm not sure of the layout of the PDF and whether changing the contents through ABAP program is feasible or not.
So, it will be better, if the changes are made in the PDF generating smartform/sapscript/report and generate the files again.
I'm not sure if it can be done by some other tool for PDF not using SAP.