Work Protect Popup coming up on Confirmation Page

I understand how the Work Protect options works, and we have chosen to enable it in our ESS installation.  However, since the install of SP14 for ESS I have noticed the Work Protect Popup coming up for some countries when trying to leave the Confirmation Page via the "What do you want to do next?" links.
The links on the backend have not changed, and I would assume since I'm on the confirmation page, the transaction should be complete and no issue with data saving should be present.  Also, it depends on which link I hit as to whether or not the popup appears. 
For example, in Taiwan, when completing a Personal Data application change, I come to the Confirmation screen and am asked "What do you want to do next?" with the standard options
1. Go to Overview Page
2. Go to Areapage
3. Go to ESS Homepage
If I select the Overview Page, the request is executed without issue.  However, if I select either of the other two options, I get the Work Protect mode popup asking how I want to proceed. 
Has anyone else seen this issue?  And if so, any idea how it is corrected?

I am a colleague of Robert Bimonte's.  FYI, the SAP Development team in China has provided a fix for this bug.  In the interface controller implementation of the Overview, Detail, and Review views, the "isDirty" method must be modified to include this code:
  public boolean isDirty( )
    //@@begin isDirty()
        return wdThis.wdGetVcPerBankTWDetailController().isDirty();
    //@@end
The 'return' statement above replaces the 'return true' value.  This fixes the problem for most of the applications.  One exception is for the Taiwan Personal ID's application, which you must make the fix described above, plus add the 'isDirty' method to the Component Controllers of the 3 views as well.

Similar Messages

  • Custom defined links on confirmation page does not work.

    Hi,
    I am trying a define a custom link for the leave request confirmation page in the ESS module of the portal. I am able to see the url link, but when I click on it, it does not navigate to the new page. Here are the steps I completed.
    - created a custom webdynpro application.
    - created an iview and a page for the custom web dynpro application.
    - created test role and workset, tested the iview successfully in the
        portal from the menu.
    -  Defined a custom resource for the iview, put the url of the PCD page in
        the  "URL of PCD Page" field.
    - Defined a custom webdynpro service for the above resource.
    - Defined a custom link on the confirmation page using the above service.
    I would appreciate if anyone can provide any guidance, tips or ideas on missing steps...
    Thanks in advance,
    Saket

    Hi for X in range,
    You may take a try to contact Microsoft local license support team:
    http://www.microsoft.com/en-gb/licensing/contact-us.aspx
    Best regards
    Michael Shao
    TechNet Community Support

  • 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

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

  • 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

  • Confirmation Pages

    I am very, very new to Dreamweaver and I have just been put
    in charge of my companies website. There really isn't much to it,
    so i know the basics, but the one thing that has my companies
    members fussing about is, when they register online for an event
    that we are holding, they do not get any kind of confirmation page
    or feedback or anything like that. The previous person that worked
    here before set all this up and I just inherited it all, & now
    the problem has grown & I do not know what I should be doing. I
    can tell you this, when they hit the submit button i have it set to
    a mailto: action and I get an email when someone registers, and
    they get a litte "Thank you for registering" and are redirected
    back to our homepage, but they would like more than that so that
    they can keep it for their own records. Please Please Help
    Me!

    Are you looking to hire someone? Otherwise, we would need to
    see a) the
    page with the form, and b) the script that is processing the
    form's data.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "macandi2006" <[email protected]> wrote in
    message
    news:eioeif$bd8$[email protected]..
    >I am very, very new to Dreamweaver and I have just been
    put in charge of my
    > companies website. There really isn't much to it, so i
    know the basics,
    > but the
    > one thing that has my companies members fussing about
    is, when they
    > register
    > online for an event that we are holding, they do not get
    any kind of
    > confirmation page or feedback or anything like that. The
    previous person
    > that
    > worked here before set all this up and I just inherited
    it all, & now the
    > problem has grown & I do not know what I should be
    doing. I can tell you
    > this,
    > when they hit the submit button i have it set to a
    mailto: action and I
    > get an
    > email when someone registers, and they get a litte
    "Thank you for
    > registering"
    > and are redirected back to our homepage, but they would
    like more than
    > that so
    > that they can keep it for their own records. Please
    Please Help Me!
    >

  • JSP Form with Formatted Confirmation Page

    I have a basic form, and I would like to have a confirmation page pop-up when the user clicks that they are done. The confirmation page needs to have considerable formatting on it, and include the data the user inputted on the form. It also needs to have a "Continue", "Go Back" and "Print" buttons. Continue will tell the form to proceed with submitting the form to the servlet, Go Back will put the user back on the form, Print will bring up another JSP with the form data in printable format with print/email options. Upon exit from the print page they will be back on the Confirmation Page.
    The code below will allow for an OK, and Cancel button in the standard Message box, but this won't work.
    I am assuming I need to create another jsp for the confirmation page. But i am stuck on two issues. How can i ...
    1) Get the data onto the confirmation page from the form?
    2) How can I pass back to the initial form the value of what the user selected (Continue or Go Back) so i know whether to proceed with submitting the form, or staying put.
    Thanks for any help! I am very new to jsp programming.
    <FORM
    ACTION="http://www.mcfedries.com/scripts/formtest.asp"
    METHOD="POST"
    NAME="Monikers"
    onSubmit="return validate(Monikers)">
    Here's the JavaScript for this function:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function validate(frm) {
    // Build the form data
    var formData
    formData = "First Name: " + frm.First.value + "\n"
    formData = formData + "Last Name: " + frm.Last.value + "\n"
    formData = formData + "Nickname: " + frm.Nick.value + "\n"
    formData = formData + "Stage Name: " + frm.Stage.value + "\n"
    // Show the data to the user
    return confirm("Here is the form data you entered:" + "\n\n"
    + formData + "\n"
    + "Do you want to submit this data?")
    //-->
    </SCRIPT>

    Does the problem persist if you upload All Files (and not just modified). Do you continue to receive the message even if you choose "After Sending: Stay on Current Page" option? If yes, a site URL would help in identifying the issue.
    Also try inserting a fresh form on a page/new Muse site and see if you're able to replicate the behaviour on different browsers.
    Thanks,
    Vinayak

  • Order confirmation page - include copy of order

    Is it possible to include a copy of the customers order on the online order confirmation page?  It's a bit sparce at the moment, and a customer has commented that it looks dodgy.
    I've just tried using the tags from the order conf email but that didn't work.
    Thanks
    Ben.

    No easy solution. Why would anyone want to see what they’re buying before submitting credit card details? I kid, I kid
    The only solution is to use ajax, perhaps jQuery’s .load() function to pull in the content of the shopping cart onto that page, parse out only the stuff you need and render it on the page. This is made more difficult by the fact that BC renders the whole cart inside a single TR, and then TDs have these divs in then rendered by the tags, indistinguishable from each other, by IDs or classes.
    Good luck!
    _M

  • Work protect - admin settings in Portal?

    Hi,
    Is there any config for switching on work protect mode?
    I have a 2 portals with ESS ERP2004 that behave differently.  eg under Personal Data > Address Data if I make a change and hit exit
    Portal 1
    I get a pop up box asking if I want to continue and loose changes
    Portal 2
    a new portal is kicked off leaving the edited address open in the orginial window.
    I'm guessing this might be due to different setting in work protect mode but not sure where the setting is. 
    TIA
    J

    hi,
    Are you asking where the work protect feature has to be changed?
    Go to personalize link - > work protect mode.
    1. protect unsaved data
    2.choose action in popup on unsaved data
    3. discard unsaved data.
    select any and restart the browser.
    There is also workprotect apis
    Regards,
    Ganesh N

  • 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

  • ShowPrintablePageBehavior is not working inside popup. Is it an ADF Bug?

    Hi,
    I am facing some issues with showPrintablePageBehavior component.
    1. I have placed a command button with showPrintablePageBehavior inside a popup. But I am getting a blank page in print mode. But the showPrintablePageBehavior is working fine without popup.
    2. I have a pivot table with a button having showPrintablePageBehavior and these components are surrounded with panelSplitter. But pivot table is not rendering in print mode.
    Using JDeveloper 11.1.1.5.0 / 11.1.1.6 - adfbc
    code:
    <af:form id="f1">
    <af:panelSplitter id="ps1">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl1">
    <af:commandButton text="Popup" id="cb1">
    <af:showPopupBehavior triggerType="action" popupId="p1"/>
    </af:commandButton>
    <af:commandButton text="Print" id="cb3">
    <af:showPrintablePageBehavior/>
    </af:commandButton>
    <af:outputText value="Hai Output Text" id="outputText1"/>
    <af:popup id="p1">
    <af:dialog id="d2">
    <af:panelSplitter id="ps2">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl2" clientComponent="true">
    <af:commandButton text="Print" id="cb2">
    <af:showPrintablePageBehavior/>
    </af:commandButton>
    <af:outputText value="Hai Popup Output Text" id="it9"/>
    <af:clientAttribute name="print" value="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </af:dialog>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </af:form>
    Thanks,
    Dinil Mithra V S

    Thank you Srinivas,
    Point 1.
    I wanted to print the content of popup. So I have placed an af:outputText text inside af:panelSplitter component. But this layout is not rendering in print mode while printing from a popup ant it works without popup.
    Point 2.
    I have downloaded and deployed oracle dvt-demo war into my local wls.I can see the same issue (pivot table is not rendering in print mode) in my local deployed version.
    Thanks,
    Dinil Mithra V S

  • Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?

    Hi,
    Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?
    {module_webformresults} is auto rendedered as a table with CSS IDs attached but nothing specific for the ERROR message - resulting in the error not being seen.
    The ERROR is triggered by a dulplicate User Name or Password.
    I tried using a JQuery text selector, but it does not work with the results for some reason.
    Any ideas?
    Attached is are the error results, see Username
    Thanks!
    P

    Hi Patrick,
    It should work. You know the id of the specific area, you know what string to search for in order to condition the appearance of the new message.
    Kind Regards,
    Alex

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

Maybe you are looking for