EP: Work Protect Mode popup causes second tab
Background: When you are navigating and performing actions in the Enterprise Portal (EP) you notice that the upon selecting “ok” on the Work Protect Mode popup, the application is opened in a second tab.
Overview: The first tab from the previous step selection is still active in edit mode and the actions performed in this previous step result in that record continuing to be locked by the user.
Sample Scenario: Login into the portal from desktop. http://<host>:<port>/portal Select an application Make a change but do not save (such as Purchase Requisition Message). Click on another tab The following message is shown: Your current page contains unsaved data. Do you want to continue with navigation and open a new window? OK or Cancel. Click OK – the application is opened in a second tab, the first tab remains active in edit mode and that record continues to be locked by the user.
Area of Interest: SAP NW Portal
Why: The Work Protect Mode options displayed in the popup are determined by the configurations maintained in the EPCF Service.
Overcoming this: Go to: System Administration -> System Configuration -> Service Configuration -> Applications -> com.sap.portal.epcf.loader – > Services -> epcfloader. Set Workprotect.mode.default to one of the following values which suits the scenario requirement: (a) Protect unsaved data (open page in new window) (b) Discard unsaved data (open page in same window (c) Choose action in popup on unsaved data. Click on save.Right click on com.sap.portal.epcf.loader. Click on refresh.