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

Problem with PDF output

Former Member
0 Likes
496

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

3 REPLIES 3
Read only

Former Member
0 Likes
430

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.

Read only

0 Likes
430

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

Read only

0 Likes
430

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.