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

Similar Messages

  • Change text in WD ABAP work protect mode pop up

    Hi All,
    We have implemented MSS Appraisals, In appraisal document (WD ABAP application --- HAP_MAIN_DOCUMENT) in review phase, when user selects "Save and Exit " radio button and click on continue button, a pop up comes with message -
    "This application contains unsaved data which may be lost.
    Do you want to continue without saving the changes"
    How to change this text?
    I think its using FPM message manager (FPM_MESSAGE_MANAGER) application but I couldn't find above message anywhere to customize the text (its not there in T100 table).
    Any ideas? Please help.
    Thanks,
    Pradeep

    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

    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

  • 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

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

  • FPM and Work Protect Mode

    Hi Gurus,
    Need your help with an issue I am facing.
    I need to implement Work Protection in a custom ESS appl. I read in the forum/ help that FPM itself manages WorkProtection/ Confirm Loss-of-Work for ESS applications.
    However, It doesn't prompt for 'saving' data in my case. I am not able to figure out a way to incorporate it?
    Any idea how to implement it? I did go through the FPMComponent in xsfpm dc. But, am not sure how to implement it in my application.
    Thanks in advance.
    Anjana R.

    Hi Ayyapparaj, Thanks.
    I am on NW04 SP 21. And Work Protect Mode works on the standard ESS applications.
    I am not sure how to implement work protection in my application or how to trigger the Standard Work Protect confirmation dialog window.
    I created a custom Confirmation window, but the client wants it to be consistent with the standard Work Protect Pop Up.
    I did set the isDirty to true and turned on the "Prompt to save work" option on Portal. But, still doesnt work.
    Could you please help me with this?
    Anjana R.
    Edited by: Anjana Raghav on Dec 20, 2007 7:42 AM

  • 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

  • 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!

  • 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

  • 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

  • Work Protect Mode for transactional iView...

    Hi Experts,
    Please help me to understand significance and features of Work Protect mode in portal.
    How to implement it.
    But main point is, is it possible to implement Work Protect Mode in Transactional iViews, i.e. let say we have created one transactional iView for SU01 tcode, which opens in New Window.
    Now if I directly close that window then ideally one popup should come telling the data is not saved.
    Also let me know if there is any other way to achieve my requirement.
    Appreciate for help.
    Regards,
    Ravi

    Hi Ravi,
    Thanks for your response.
    Kindly suggest what vaue we should give in this property "workprotect.mode.default".
    I was going through one link : [http://help.sap.com/saphelp_erp2004/helpdata/en/37/50fb5066f9db43b3b5d5fc8de0c051/content.htm]
    Also are you sure this setting will enable WorkProtectMode for Transactional iView as well.
    Regards,
    Ravi

Maybe you are looking for

  • Overide XML Report Publisher renaming?

    Anyone know if it is possible to prevent the XML Report Publisher report from renaming the concurrent request on completion. This makes it very difficult for users to understand what requests are, especially when they are automatically submitted from

  • How to restore proper display prefs

    I was testing different display resolutions using the prefs panel. One setting that does not work with the monitor has "stuck" and now the monitor complains with "input not supported". I don't recall pressing Enter to accept the setting, but the beha

  • Help with Blurry Photo after file move

    Please help.  I created a brochure in ID and then moved the file to another folder.  I opened up ID again and now one of the images is blurry.  What happened??

  • Airport Express light went out, stopped working.

    Airport Express light went out. iMac says the connection is "excellent," but it's not working (I use it to stream audio) and is getting very warm. Did it die?

  • Easier and better ways to solve current problems with Acrobat?

    Is there no better and easier way to solve the problems (installation, re-installing and crashing) with Acrobat? I really think that the ball is in Acrobat's corner right now, because I should not (for example) need to deactivate and re-activate my s