Skip to Content
Former Member
Feb 19, 2013 at 09:59 PM

CRM Prevent Exit Without Saving


I'm a newbie to SAP CRM and can't seem to find a solution to my problem.

If bring up a transaction in the Web UI directly without using the portal. I navigate to an object and start changing it. If I close the browser or type in a new URL, CRM doesn't ask me to save the document before exiting. Now if I bring the document back up, it is locked by my other session that I didn't close properly.

Is there a way to prevent the user from closing the browser or navigating to a new page if there are unsaved changes still outstanding?

If I navigate within SAP CRM I get the dataloss popup that asks me if I want to save the changes, but if I close the browser window I don't get this popup.

We've done this in the past with Web Dynpro applications in ECC using the following method.

But I can't seem to determine how to do this in the Web UI of SAP CRM 7.0. BTW, I'm not using SAP Portal, Web UI directly in a browser.