cancel
Showing results for 
Search instead for 
Did you mean: 

Save Changes before leaving a web dynpro application

Former Member
0 Kudos

Hi,

I would like to propose to the user a popup window to save changes if he leaves the web dypro application without saving the changes he has just done.

How may I do this?

In which methode can i do this? The wddoonclose of the window? in the wddoexit of the differente views of my window.

Thanks a lot for your help.

Geoffrey

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Check this thead:

Regards

Manas Dua

Answers (2)

Answers (2)

Former Member
0 Kudos

Good day Geoffrey,

Just open the WDR application in se80 which demonstrates the functionality.

WDR_TEST_PORTAL_PROTECT

Regards and Best wishes.

saket_abhyankar
Active Participant
0 Kudos

You can achieve this (if your application has been embedded on portal) by using work protect mode (portal events). There you set the dirty flag and based on this popup will be given.

Refer following link and std. web dynpro application 'WDR_TEST_PORTAL_WORKPROTECT' for more help: [Work Protect Mode|http://help.sap.com/saphelp_nw70/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm]

Regards,

Saket.