cancel
Showing results for 
Search instead for 
Did you mean: 

Display Popup/message when refresh/close browser window

Former Member
0 Kudos

Hi all,

In normal ABAP programing when we exit from any transaction, a popup display with text "Are you sure to exit". I have some doubt to get this functionality in WDA.

I am calling a popup in WDDOEXIT method of the Comp controller and when I do refresh/close the application, this method will triggered, but it does not opens a popup as the application relaod.

Is there any way to get this functionality?

I have also checked the thread [ABAP WebDynPro Refresh (F5) issue|;.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

WDDOEXIT is ilke a garbage collection, lock releases and freeing memory statements can be used in it.

Yes there is an option when the applicaiton is run inside portal.

http://help.sap.com/saphelp_nw04s/Helpdata/EN/45/b76f4169e25858e10000000a1550b0/content.htm

Thanks

Abhi

Former Member
0 Kudos

Thanks for the reply. I have already checked this help page. Is there something in WDA iteself?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Thanks for the reply. I have already checked this help page. Is there something in WDA iteself?

Short answer - no. Only the work proctect functionaltiy that can be used in the portal or the NetWeaver Business Client. By the time WDDOEXIT fires, it is too late to produce any rendering output or stop the browser from closing.