Application Development and Automation 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: 
Read only

Call print method from WebDynpro abap

Former Member
0 Likes
644

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
Read only

raja_thangamani
Active Contributor
0 Likes
595

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

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.

2 REPLIES 2
Read only

raja_thangamani
Active Contributor
0 Likes
596

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

Read only

0 Likes
595

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