Customizing the work protect mode

Hi,
I have a problem in customizing the sap providing work protect mode. When I activate the work protect mode, a pop up is coming up and the default radio button selected is to open the unsaved data in a new window. Can you please let me know can we change the default selection by any option like
1. modifing the com.sap.portal.epcf.loader. par file
2. By any configuration. etc..
please help me .
Regards,
Rambabu

I don't think there is a configuration available to change the default selected radio button.
You will need to make the changes in the par file com.sap.portal.epcf.admin.par
u2022     Download the com.sap.portal.epcf.admin.par
u2022     Unzip the com.sap.portal.epcf.admin_core.jar and edit the WorkprotectPopup class
Thanks,
Shanti

Similar Messages

  • Default setting of the Work Protect Mode property

    Hi,
    can we set the default work protect mode to a particular value for every user in portal.
    Where we would have to make the changes in Portal.
    Best Regards
    Sid

    Hi Sid,
    You can set the default work protect mode in the epcfloader service configuration.
    Go to System Administration -> System Configuration -> Service Configuration, and edit the epcfloader service configuration.
    Change the workprotect.mode.default to the setting you like:
    1 = Protect unsaved data by opening a new browser window (standard setting)
    2 = Unsaved data is lost
    3 = Required behavior can be selected each time the popup appears
    If you don't want your users to be able to override this setting in personalization dialog, set workprotect.mode.personalize=off.
    See also http://help.sap.com/saphelp_nw04/helpdata/en/37/50fb5066f9db43b3b5d5fc8de0c051/frameset.htm.
    Best regards,
    Johan

  • Work Protect Mode

    Hi All,
    I have a requirement to display the work protect mode pop up when the user clicked on the log off link or user directly closes the window.
    Do any of you can confirms if this can be achieved by any means.
    Thanks in advance.
    Best Regards,
    Sash.

    Hi Sash,
    It can be achieved, but it will require some custom development.
    What you need to do is trigger the popup from the logoff link (before the logoff popup I guess) and from the body onunload event.
    The logoff link is inside the masthead, you can add a script there and call it before the logoff script is called.
    Body onunload is a little bit trickier, because you don't have access to the body tag... But what should work is add a script that changes the body onunload function. You could place this script also in the masthead.
              function addUnloadEvent(func) {
                var oldonunload = window.onunload;
                if (typeof window.onunload != 'function') {
                  window.onunload = func;
                } else {
                  window.onunload = function() {
                    if (oldonunload) {
                      oldonunload();
                    func();
    The function you need to create would be something like this:
              function workprotectPopup() {
                   if (EPCM.getDirty()) {
                        EPCM.popupOnUnsavedData();
    You can then add it to the onunload by using:
              addUnloadEvent(workprotectPopup);
    Regards,
    Johan

  • Clear flag of Work Protect Mode

    Hi there,
    I'm using work protect mode functionality in my WD ABAP application. The problem I'm facing at the moment is that I would like to clear this flag explicitly before I trigger a navigation. The scenario looks as follows:
    1. I change data on my OIF screen.
    2. I press a button to navigate to an OCI catalogue and suspend the current WD application. (Navigation is done inplace)
    3. Some data has been chosen and the navigation back to the WD application (resume) is done --> Application is set to dirty
    4. Now I want to navigate to the OCI catalogue again. Before navigation is done, the dirty flag is set to false explicitly.
    Even though the dirty flag is set to false, the work protect mode is doing his job and opens the OCI catalogue in a new window, which is intended be displayed inplace. Now to my question:
    Is there a way how I can clear the Work Protect Mode or set it to false explicitly?
    Kind regards,
    Albert

    Not sure if it will solve your particular problem, but have you tried setting the Work Protect Mode to APPLICATION_ONLY?
    More info here: http://help.sap.com/saphelp_nw70/helpdata/EN/45/b76f4169e25858e10000000a1550b0/frameset.htm

  • Work Protect Mode for IAC/BSP iViews

    Does anyone know how I can enable Work Protect Mode for BSP or IAC iViews in the portal?
    It works correctly as per the desired mode level for WDP iViews, but when a user makes changes on a form on a BSP/IAC and navigates away from the page, no pop-up appears.
    Is some JavaScript required in the BSP to set the page as "dirty" or to subscribe to the Work Protect event handler in the portal, or is there a simpler way to enable this or a similar feature?
    Thanks,
      Tom

    Hello friends,
    I have same issue.. I have applied Work Protect Mode to 3.. but it doesn't work for IAC iViews.
    Is your issue resolved by any mean..
    I cant apply Java script code on every back-end application...
    the issue again... is this doesn't come when user directly logs in through ITS. over there user gets the alert. but only when user moves from Portal the work protect mode doesn't.
    It  became very urgent issue.
    I appreciate any help..
    Regards
    pankhuri

  • Work protect mode and wedynpro ABAP

    Hi,
    Does anyone know how the work protect mode should work for webdynpro abap?
    We are using webdynpro abap ivews for travel. When i click on the exit button within travel I get a pop up. If I navigate away i.e click on personal information I don't get a pop up.
    When I navigate away form a webdynpro java iview to personal information I always get a pop up.
    Shouldn't this happen  for webdynpro ABAP ivews as well?

    Hi
    In webdynpro java we have the class like WDPortalWorkProtectMode. But I could not be able get that in ABAP. Can you please help me by providing the name of the Class.
    Regards,
    Srikanth.

  • Work Protect Mode Pop up

    Hi,
    I would like to get the source for the Work Protect Mode pop up that we see in the portal.
    Can anyone point out where can I get the actual source code?
    Regards
    J

    Hi Kai,
    Thank you for the response...
    I am not sure of the location of the text you suggested, but I found that
    text is maintained in CL_FPM_CONFIRMATION_REQUEST abap class. this text is divided in to two text 1) This application contains unsaved data which may be lost. and 2) Do you want to continue without saving the changes? And append this is the class constructor.
    We can change the text here... But thought changing the text is not a solution for my issue, so I need to address the root cause....
    I contacted SAP (raised an OSS message) and working with them on this, as of now we modified our logic in Value Determination BADI and it is working fine 90%
    Update: modified Value determination BAdi and V_T77SP_2 table entry to solve this issue!
    Thanks,
    Pradeep

  • Work Protect mode and browser navigation?

    Through testing we have noticed some behaviors with Work Protect that I did not expect. Can anyone help?
    We are on EP6 SP18. When changing data (ie. setting the dirty flag) on applications (CRM PCUI for instance) and then clicking some other link, button, etc. anywhere within the browser content area, the Work Protect mode fires correctly and pops up a confirmation warning.
    However, in these cases:
    (1)user clicks forward/backward browser buttons
    (2)user manually enters URL in address bar
    (3)user close browser
    (4)user clicks mouse buttons for backward/foward navigation (such as 3rd or 4th mouse button programmed to do back/forward)
    ...Work Protect does NOT fire and catch those events.
    Is this truly a limitation of Work Protect or should we investigate further? I can not find any definate wording of the above issues/limitations in any of the documentation (help.sap.com or on service.sap.com in notes).

    Hi
    In webdynpro java we have the class like WDPortalWorkProtectMode. But I could not be able get that in ABAP. Can you please help me by providing the name of the Class.
    Regards,
    Srikanth.

  • Issue with Work Protect Mode

    Dear All,
    I am using SAP EP 6.0 SP21.I have enabled the work protect mode.
    Problem:I am in JSP page ,  I am trying to navigate to top level tab by selecting the option "Open in new Window" its navigating fine. I am closing the new window again from parent window i am trying to open 2nd lavel tab,instead of opening the 2nd level tab its openings the again top level tab, which i was slected before.
    But if i am navgating to top level then its working fine , it also works fine while navigating only in 2nd level.
    Only problem is after navigating from top level ,again navigating to 2nd level its not working.
    Please suggest,
    Thanks & Regards
    Manoj Sahoo

    It solved by upgrading the support pack.
    Regards
    Manoj SAhoo

  • Work Protect Mode with BSP in EP 6.0 SP14

    Hi,
    we need to create a BSP application that runs in a EP portal. We have many BSP pages in this application, each requiring a lot of user input.
    It would be really helpful to send a reminder to the user once he leaves a page and clicks another entry in the portal menu.
    We understand that the "work protect mode" does this trick in NW2004s under certain circumstances (i.e. "dirty flag").
    Is there any chance to build this behaviour also in the combination of a ABAP AS 6.40 (for the BSPs)with an EP 6.0 ?
    We would appreciate any help on this topic.
    Regards
    Marcus

    Hi,
    Does that drop down list change results in a reload of the page with new data on? If so, you should set the variable for confirm to exit after the reload.
    If there is no reload involved, the msg shouldn't show up. If lots of pages with drop down which work like this.
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • Portal Work Protect mode is not working properly after upgrade to NW 7.4

    The portal Work protect mode value is set to '3' ("Choose action in popup on unsaved data")
    When we edit a standard ESS java Web Dynpro application and click exit, the portal should show us the Work protect mode popup.
    Instead, the portal exits to the overview page and when we try to navigate away from the overview page, it shows the work protect mode window.
    This was working fine before upgrade to SAP NW 7.4 SP 5.
    Please let me know if anyone have faced this issue before or have an resolution.
    Thank you.

    Hi Sundar & Rakesh
    I've followed Sundar's request in the previous thread we worked on together to provide further assistance here:
    ** Scenario Summary **
    The portal Work protect mode value is set to '3' ("Choose action in popup on unsaved data") When we edit a standard ESS java Web Dynpro application and click exit, the portal should show us the Work protect mode popup. Instead, the portal exits to the overview page and when we try to navigate away from the overview page, it shows the work protect mode window. This was working fine before upgrade to SAP NW 7.4 SP 5.
    Ok the first point of reference and analysis here is to check and review: Workprotect mode via the following navigation path:
    System Admin-> System Configuration -> Service Configuration -> Under one of the services: Work protect mode property.
    Now in terms of this popup kindly ensure the configurations are setup accordingly as per the following document:
    http://scn.sap.com/docs/DOC-2513
    What is the setting of WDPortalWorkProtectMode.setApplicationDirty ?
    Work Protect Mode
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm
    Lastly have you attempted to change the property value and restarting the service ?
    Restart the config by right clicking on com.sap.portal.epcf.loader. Click Administrate ->restart
    Kindly update me as per your findings.
    Kind Regards
    Troy Cronin - Enterprise Portal Support Engineer.

  • Work protect mode enabled - but giving javascript issue in IE8

    Hi Experts,
    We need help on work protect mode issue. we enabled the work protect mode.
    When there is unsaved data and moving from existing page to other role, we are getting script error in IE 8 version. But for earlier versions(IE7) , it is working perfectly.
    It looks like some issue in the browser or some patch needs to installed for resloving this issue.
    can anyone help me in this regard.  Thank you.
    Thanks & Regards,
    Raghavendranath G

    Hi,
    The alternative way is....you can open the page using the compaitbility view..(You should be able to see the compatibility option in the address bar) This will prompt you to reload the page.
    Regards,
    Narendra

  • Enable Work-Protect-Mode in BEx-WEb

    Hello,
    I am using integrated planning in the SAP EP 6.
    Every time someone clicks on the portal navigation all changes get lost, unless the planning app was saved before.
    Is there a way in Bex Web to activate the dirty-flag and the work protected mode? This way the Portal itsself would recoginze changed data and prevent the loss of data.
    regards,
    Michael Kulhanek

    Hello Michael,
    just check the OSS 0734861.
    enter value "3" for workprotect.mode.default. perhaps this will help.
    best regards,
    michael

  • IAC and Work Protect Mode

    Hi,
    I have created a Role in Portal which is calling an IAC (bbpsc02) from SRM box. The problem is that whenever user open this transaction and if he without doing anything navigate to other role, he is getting Work Protect Mode dialog
    u201CYour Current page have unsaved data. Please take following actionu2026u201C
    Although the user had not done anything on this page but he is still getting this message. The transaction on screen display some text and ask the user to select some options using links. No input field on screen.
    Please provide some input on this peculiar problem.
    Regards,
    Anup Batra

    Hi,
    If the user clicks a link to start a transaction,then he/she has to complete the transaction or abort that one.
    To set the default behaviour for a transaction in the portal, the work protection  mode setting is available.
    Thanks
    Muthukumar

  • Setting Work Protect Mode in Portal

    Hi ,
    Can anyone tell me how to set up the Work Protect Mode in for the portal general settings.
    Best Regards
    Sid

    Hi
    Click the personalize option in the masthead of the Portal default framework page. A popup opens and in the detailed navigation of the popup, the last option is work protect mode.
    The four option in it are as follows:
    Use default portal setting
    Protect unsaved data (open page in new window)
    Discard unsaved data (open page in same window)
    Choose action in popup on unsaved 
    Save and refresh the browser for the change to take effect.
    Regards,
    Ganesh N

Maybe you are looking for

  • SETUP tables not filling for 2LIS_02_ITM

    Hello all, I am trying to run the SETUP process from OLI3BW for few Purchasing doc's But I do not see any entries  in the setup table 'MC02M_0ITMSETUP' after the SETUP run. and Yes,I have DELETED setup tables data prior to running the Setup process.

  • How to work with Back Button of Web Browser for Flex Application

    Hi........... I am developing a Web Site for that I have created 10 MXML Components for 10 links I am using ViewStack in Home Page and I added the 10 components to this ViewStack and I am using 10 links for 10 Components My problem is that When I am

  • Dvd player and screen caps..

    im posting this here because its basically a tiger app, but is there a way to get screen capture or small video clips from movies played in dvd player? not idvd

  • How to clean dirty keyboard and aluminum around monitor?

    Hi all, I've been happily using my 24 inch aluminum iMac since Christmas. I've noticed that some of my keys on the keyboard are getting dirty (I guess this happens with white keys!) and also the nice band of aluminum at the bottom of my monitor could

  • How can i use Java proxies?

    Hi, Q1. Where all can  java proxies be used?  Is it only in scenarios where a java appication(like jsp) is involved? I have a IDOC-XI-SFTP scenario. I have a java program that creates the SSH session and transfers files. I can use this as a Java Mapp