cancel
Showing results for 
Search instead for 
Did you mean: 

Print screen

Former Member
0 Kudos

Hi All

My customer wants me to print the application screen every time he save the data.

Meaning he wants screenshot to be sent to default printer of the user.

There is an option of doing that by alt+f12 then selecting hard copy.

My question is how do I make this print option happen automatically ?

I will be grateful for every answer!!!

Thanks,

Nitsan

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

In 7.0 and 7.01 there is no functionality in Web Dynpro ABAP to trigger the browser print via JavaScript. In 7.02 we added this functionality. It can be triggered via the following API call:

wd_comp_controller->wd_get_api( )->get_application( )->print_page( ).

Before 7.02 you would either need to have the user trigger printing manually from the browser menu or try some workaround. Maybe a BSP appliation that hosts your WDA in a iFrame. The printing could then come from the surrounding BSP. Of course having a BSP frame could lead to other problems - espeically if running in the portal. Probably best to just have the users manually choose print from the browser until you have 7.02.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nitsan,

You can use the Interner Explorer Print option for Save screen printout, but it will be handled manually.