Skip to Content
Former Member
Aug 10, 2005 at 02:13 PM

Generating PDF Reports in Dynpro


I have a need to create and allow downloading reports in PDF format. To create the PDF files I plan on using iText.

My question comes in transferring the PDF files to the client. Is their a way in Dynpro to change the response content type and write the PDF to the response? Or is it possible/better to write the PDF somewhere accessible through a url and forward the request to that address?

I would also like to store the PDFs anyway if possible so that if the same reports is requested multiple times it doesn't have to regenerate the report each time. I am just not sure of what capabilities I have in Dynpro yet for accessing the ServletResponse object or the file system for storing the PDFs.