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: 

Call print method from WebDynpro abap

Former Member
0 Kudos

Hi,

This issue was discused earlier. But I'd like to confirm. I would use print method like window.print() from WebDynpro for ABAP. Is there any way to use this method??

Thank you in advance.

1 ACCEPTED SOLUTION

raja_thangamani
Active Contributor
0 Kudos

You can NOT use Javascript in WDA. you can try to place HTML/Javascript page having window.print( ) command putting it in IFrame control, but it only prints the HTML page not the rest of the WD page, I have even tried with the command

window.parent.print( ); still was not working..

You can use Interactive forms approach to print.

<i>*Reward each useful answer</i>

Raja T

2 REPLIES 2

raja_thangamani
Active Contributor
0 Kudos

You can NOT use Javascript in WDA. you can try to place HTML/Javascript page having window.print( ) command putting it in IFrame control, but it only prints the HTML page not the rest of the WD page, I have even tried with the command

window.parent.print( ); still was not working..

You can use Interactive forms approach to print.

<i>*Reward each useful answer</i>

Raja T

0 Kudos

thank you for your quick reply.

I would use Print function on IE, because Intaractive form is not available due to limited resource.

regards.

Tomihiro