cancel
Showing results for 
Search instead for 
Did you mean: 

Print Button in Web Dynpro ABAP

Former Member
0 Kudos

Hi Everybody,

i hope that someone know or have a code sample how i can set a print button to the Web Dynpro for ABAP. On click on this it should open the print window from the Internet Explorer.

Please let me know if there is any information about this.

Thanks

Best regards

Markus

Accepted Solutions (1)

Accepted Solutions (1)

Sm1tje
Active Contributor
0 Kudos

Well, I don't think there is any standard way of doing this except for example for tables (et al). But it depends on what you want to print. Normally, you should (could) use the Interactive form UI element for this. For displaying and printing via Abode (reader). But it is also possible to create a smartform and call that via a button.

What is it that you would like to print?

Former Member
0 Kudos

Hi Micky,

thanks for your answer. I will only print what the view shows like File->Print. I hope you understand and can help me.

Regards

Markus

SergioFerrari
Active Contributor
0 Kudos

Hi Markus,

Web Dynpro doesn't allow any custom javascirpt that would be the way to display the Browser Print function within the page.

I think what are you asking is not supported but you have all the other ways previously reported .

Sergio

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If you are using the Internet Explorer 7, you can use CTRL + P to invoke print directly on any WebDynpro ABAP view. This is IE 7.0 browser featute & always has print preview & print options available from File Menu's. So you dont require any additional buttons on view :).

For table data if you use ALV you get options to export data to excel or fire print directly

Greetings

Prashant