Showing results for 
Search instead for 
Did you mean: 

Popup before user navigate away from current view via portal link

Former Member
0 Kudos

Hello all,

I am trying to provide the popup  to the user saying "Data might be lost".

I have portal with create , change and display link and right side webdynpro for abap component is embedded using Iview.

Let's say user is in Change mode and changes something in the webdynpro view now when user click on the Display link -->> in the portal.

I want to display the popup.

I have tried provided WDDOEXIT method ( which only i feel getting triggered ) but its not right place to put the popup .

Waiting for the suggestion.



Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos


In your case the WDA applications are independent iViews. So writing code in exit method doesn't work.

One way is to achieve your requrement is to capture the onclick of portal DLN links and  provide a popup over there. You can use EPCF eventing and data bag API for this. DLN cutomization needs to be done.

Also, Check this can be achieve through a standard way using Work Protect mode option. Work protect mode is to handle unsaved data when there is a page navigation with in portal.