Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to create a Popup "navigate away from this page?"

Hi,

In our portal we have several data-entry pages with a connection to planable InfoCubes in BW. Also we have some reporting pages. All these pages are iViews and in menu's.Now, our customer organisation want us to look into the possibilities of creating a popup "Leaving this page will cause loss of data. Are you sure you want to navigate away from this page?", since it can happen that someone accidentely clicks on a menu-item. And this message may only popup in data-entry pages and only when the data is not yet saved.

Is this even possible? There seems to be no way to do this in iViews in Content Management, dynamic navigation is not for this purpose. I see ony possiblilities in altering jsp pages. But isn't this is a huge investement in time for such a simple popup? Does anyone know of a solution to do this, other than jsp and a lot of time?

Thanks in advance

Former Member
Former Member replied

Hi,

I dont know how application is developed. Check to see whether workprotect mode will help you.

Go to system admin -> system config ->service config->Applicaitons ->com.sap.portal.epcf.loader

Change workprotect.mode.default to 2

Restart the config by right clicking on com.sap.portal.epcf.loader . Click Administrate ->restart

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8382535d-0d01-0010-dbb5-d3d41dfefd10

http://help.sap.com/saphelp_NW04/helpdata/en/88/585d420447e054e10000000a155106/content.htm

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

Regards

Baby

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question