Application Development 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: 

Generating Print Preview of report in PDF

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

There is a similar requirement posted 2 days back check this

6 REPLIES 6

Former Member
0 Kudos

Hi see this tutorial.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf...

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к

former_member194669
Active Contributor
0 Kudos

There is a similar requirement posted 2 days back check this

0 Kudos

Hi a®s,

I was following the thread before, but lost it somewhere thanks for posting the link, its quite useful.

кu03B1ятu03B9к

0 Kudos

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

0 Kudos

see this technote about this error on adobe's site

http://kb.adobe.com/selfservice/viewContent.do?externalId=326299&sliceId=2

кu03B1ятu03B9к

Former Member
0 Kudos

Thanks guys for quick your replies. Thankyou a®s and Rich Heilman for the solution.

regards

Hamza