Quantcast
Channel: SCN : Discussion List - SAP GUI
Viewing all articles
Browse latest Browse all 3066

Security popup GET_SCREENSHOT change topmost window

$
0
0

I've a report that's call the GET_SCREENSHOT method of CL_GUI_FRONTEND_SERVICES to capture the current Windows.

 

My aim now, is to capture an other SAP Windows. This will allow the user to capture any SAP screen using this report. Ideal for quick support isnt-it ?

 

For this purpose, I've set a 3 seconds delay before the snapshot, This delay allow enough time to the user to switch (alt+tab) to the SAP Windows he wants to copy .

 

It seems that's Iv'e an issue with the security popup "The server is trying to take a screenshot of the active SAP window". This popup cannot be by-passed ! (see OSS note 1835429 for more details)

 

The main problem caused by this popup is that's it change the topmost Windows when it appear. The popup switch back to the initial screen. So I always capture the wrong screen (the screen of the calling report and not the screen selected by the user).

 

Does someone have any idea to keep the topmost Windows selected by the user?


Viewing all articles
Browse latest Browse all 3066

Latest Images

Trending Articles



Latest Images