cancel
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.

Thanks

~Raj

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189631
Active Contributor
0 Kudos

Raj,

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.

http://help.sap.com/saphelp_nwce71/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/37/50fb5066f9db43b3b5d5fc8de0c051/content.htm

Ram