02-15-2009 5:06 AM
Hi all,
I need to generate a print preivew of a report output in PDF. When the report is executed, it displays the output. On the status bar, there is a button. When the user clicks on this button, instead of downloading the report in PDF, the report should be displayed in PDF format. Can anyone explain how this can be achieved?
regards,
Hamza
02-15-2009 5:21 AM
02-15-2009 5:18 AM
Hi see this tutorial.
It is about displaying smartform output as pdf in web dynpro.
in the code given there is a method display pdf, try writing ur report code inside it and see if it gets displayed as pdf.
Not sure if it would work but can give it a try.
кu03B1ятu03B9к
02-15-2009 5:21 AM
02-15-2009 5:24 AM
Hi a®s,
I was following the thread before, but lost it somewhere thanks for posting the link, its quite useful.
кu03B1ятu03B9к
02-15-2009 6:34 AM
thanks a®s and Rich Heilman. I have used the code in the link but the PDF is not opening. Instead I get this message "Could not find Acrobat External Window Handler". How do i handle this?
regards,
Hamza
02-15-2009 6:43 AM
see this technote about this error on adobe's site
http://kb.adobe.com/selfservice/viewContent.do?externalId=326299&sliceId=2
кu03B1ятu03B9к
02-15-2009 6:51 AM
Thanks guys for quick your replies. Thankyou a®s and Rich Heilman for the solution.
regards
Hamza