Customize CANCEL button on ESS WD-ABAP

Hi,
Currently clicking the EXIT or CANCEL button on all ESS applications is opening a new window. We want the user to go back to initial screen while staying on the same window within the portal. Could anyone pls advise how to do this? I dont want to use the Workprotect mode as it is user specific.
Please advise.
Thanks.
Aditya.

Hi Aditya,
Currently all the ESS/ MSS  applications are FPM based web dynpro applications . So if you need to to modify any of the functionality, even button actions, you need to modify the FPM based web dynpro code. Most of the buttons(like review/ Exit, etc) have the standard FPM based events triggered when ever they are clicked.
One has to dig into the code and understand the flow of control in FPM. You can try to find out which event is being triggered when user clicks on the exit button, and  modify code accordingly.
Thanks,
Sonali.

Similar Messages

  • ESS Leave Request - Portal Runtime Error when the "Cancel" button is hit

    We have configured the Leave Request application, created a custom workflow, created security roles, and we are now testing in our quality environment. 
    We are encountering a very strange "Portal runtime error" which we cannot resolve - When you come into the Leave Request application, and then, without completing the request, just hit the "Cancel" button, the runtime error is generated.
    We have run a trace of authorizations and everything has come up clean.  Everything is configured, and there are no problems actually creating, approving and posting requests. 
    Any ideas?

    Hi,
    please check whether the user is authorized to cancel the request.
    and take a look at this WS12300111
    Regards
    Manohar

  • Displaying Refresh, Edit Page, Customize Page buttons from Banner Template

    I have built a customized banner template which displays button images for refresh, edit page, and customize page. The functions all work well, but these functions should not be invisible to the user when they do not have the proper privileges
    For Example, when page caching is enabled, I need to see the Refresh Link (icon), or when the user cannot edit the page, then the icon for page editing should not be displayed.
    What are the API calls that I can make from a banner template to decide if the page is cached or not?
    How do I tell whether the user had edit page privilege? Customize Page?
    null

    All these solutions offered above are correct related to the refresh of the page, but it seems to be other problem, it seems that when the Save button is pressed, the commit is done(after I press Save I checked the database and the row is updated), but the transaction is not ended, it seems to get stuck, this is the reason why a refresh is not done on the page, only when Cancel is pressed, the transaction finishes and the page refreshes.
    Is this possible for the inline popup, not to end the transaction even if on the task flow I have a task flow return for Save, where at the End Transaction property I have Commit?
    I have changed the task flow by setting Behaviour to <No Controler Transaction>, for the task flow returns I changed End Transaction from Commit/Rollback to none and added on the jspx page of the inline popup the Save and Cancel buttons, with actionListener="#{bindings.Commit/Rollback.execute}" but the problem remains the same.
    I suppose that it's a problem with the way I use the VO instance in the popup. Do you have any idea in what situations this can happen or did you encounter similar situations?
    Thanks,
    Georgiana

  • For "select-form" in the same page, add a cancel button in editing status

    Dear JHeadstart team
    For "select-form" in the same page, I still have a trouble.
    How can I customize the Tempalte File to make the editing page have cancel button to abandon the edit.
    If I want to learn the the JHS's Template costomizing (.vm file) and where can I find more reference documents about JHS's Template costomizing (excepting "Oracle JHeadstart 10g for ADF Developer's Guide").
    thanks!

    Can you be more precise on what you want:
    - should the cancel button be displayed when creating new row AND editing existing row?
    - when pressing the Cancel button, where do you want to go, to the select page?
    Steven Davelaar,
    JHeadstart Team.

  • PR05 - Cancel button is not visible

    Hi Gurus,
    In PR05 the 'cancel' button is not been displayed in Development system. It is been displyed in Quality and production system.
    What should be done to get it back? Is it something related to menu customization?
    Please help.

    hi
    check whether the authorization is available for cancellation of  a trip document.

  • Removing cancel button

    For some time now I try to customize UIImagePicker and ABPeoplePicker. I want to remove 'Cancel' buttons that appear next to the title on the navigation bar of both controllers. Any help with this issue is greatly appreciated, as I ran out of ideas and am fed up with lack of documentation how to customize the controllers

    I solved this, all you have to do is to implement delegate method -willShowViewController and for any bar button item you want to disappear you need to make it's frame to CGRectMake(0,0,0,0).

  • Timesheet Cancel Button - no "Are you sure?" warning

    Hi,
    ESS WebDP timesheet ECC6 WAS 7.0....
    We have implemented ESS timesheets but have a complaint that the "Cancel" button on the timesheet throws away data without warning.
    I switched on "workprotect" mode  that prevents "Persaonal Info" being lost but the timesheet "Cancel" button ignores this and just exits the screen loosing the entered data.
    Any idea if there is a way of configuring the "Cancel" button on Timesheet to ask the user whether they are sure they want to throw away their data?
    TIA
    J

    Hi Jambo,
    see if you can specify any client click attribute for the cancel button. If you can then provindig a java script will solve the issue...use the confirm popup function of the java script...
    hope this helps..

  • Why is there 2 cancel buttons in MOPZ?

    Hi,
    Thanks for the answers.
    In MOPZ down below when I go to download files, I can see two cancel buttons. Is there any issues with my setup or SAP has given an extra CANCEL button free ?
    Thank you, KL

    Hello,
    To correct this error, you must manually change the translation in your system.
    To do this, proceed as follows:
    1. Call transaction SE63 (Standard Translation Environment)
    2. Select: Translation -> ABAP Objects -> Short Texts
    3. Select object type S3 ABAP Texts -> REPT Text Element
    4. Enter "/TMWFLOW/CL_MO_HTML_REQUEST" as the object name
    5. Select the Source Language "deDE" German DE, and the appropriate Target Language (for example, "enUS" English US)
    6. Click Edit
    7. Find TEXT   WID , with the German text "Zurückziehen"
    8. Replace the translation "Cancel" with "Withdraw"
    9. Save your changes
    I am sure this will help you
    Ciao, Mehfil Meherali

  • How to stay back on same section of a report after pressing cancel button

    Hi,
    How we can stay back on a same section of a report page when I press Cancel button or Apply Changes button from linked Data Entry Form. For instance if I have a 200 rows in a report and I scroll down to 80th row and press Edit button when called a data entry form. Now when I press Cancel it again re-load the report from the start of the page.
    Any idea!
    Thanks
    Sabahat

    Hi Sajid,
    Thanks for reply.
    I have used RETURN statement like below.
    SUBMIT RFWT0010 WITH vendor       = 'X'
                     WITH i_lifnr  IN i_lifnr
                     WITH i_bukrs  IN i_kunnr
                     WITH test         = 'X'
                      AND RETURN.
    The output of RFWT0010 is displayed. but on pressing "back" button on toolbar, the flow is coming back  from RFWT0010 to calling report. I want that On pressing ENTER button of keyboard. The flow should come back to calling report.
    Regards,
    Ratnesh

  • How to change the behaviour of the Cancel-Button of SSO-Login-Page (Forms)?

    Hi Folks,
    we use SSO-Login to authenticate users using Forms. How do I change the URL which is opened when a user clicks on the cancel button on the SSO Login page?
    In the formsweg.cfg file there is a parameter named ssoCancelUrl, but if I define it, it doesn't work anyway. Seems like it has something to do with ssoDynamicResourceCreate, but I don't exactly understand what.
    Can't I simply change the URL which is opened (globally), when a user hits the cancel button on any SSO-Loginpage.
    Thanks in advance.
    Regards.

    Exactly this does not work! Please watch my settings:
    Global Setting in formsweb.cfg
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=false
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    App-Specific settings in formsweb.cfg
    [proz]
    envFile=proz.env
    form=proz.fmx
    title=proz
    separateFrame=true
    width=1280
    height=960
    ssoMode=true
    ssoDynamicResourceCreate=false
    ssoCancelURL=http://machinename:port/zugangsportal/
    otherparams=useSDI=yes P_SERVER_URL=machinename:port P_REP_SERVERNAME=machinename_proz ZP_TARGET_ID=%ZP_TARGET_ID%
    When I now access http://machinename:port/forms/frmservlet?config=proz I got redirected to the SSO-Login-Page but the Cancel-Button still links to Middletier Home. Why?
    Regards.

  • How to redirect to home page on "Cancel" button click

    Hi,
    I have created a web part for office 365 developed using sandbox solution on Sharepoint foundation 2013.
    On "Cancel" button click i want to redirect user to another page(Home page) using C# only.
    i used some methods like 
    Context.Response.Redirect(SPContext.Current.Web.Url.ToString() + "/Home.aspx");
    but its not working. No methods which includes context or HttpContext is not working.
    Please, tell me how can i redirect user to site home page.

    Hi,
    you can try this
    var button
    = new Button();
    button.Attributes.Add("OnClick"
    , "javascript:{window.location='your
    page url';return
    false;}");
    this.Controls.Add(button);
    Hope it helps!
    Avni Bhatt

  • Delete From Table on Cancel Button.

    Hi,
    i am facing funny problem.
    i have created form with report page and i have implement send email option on Page so i am attach more document with email.if i attach document then it's going in DUMY_DOC_FILE table .
    i have create a process
    delete from DUMY_DOC_FILE .
    Process Point IS ON Submit -After Conmputation and Validation
    On Page No 6.if i press Cancel Button.This button is redirect on page No 4.My Code on Page no 6.
    page is redirect to 4 but doc don't delete from DUMY_DOC_FILE Table.
    How to delete Doc From Table If I press Cancel Button.
    Thanks
    Edited by: 805629 on Jan 13, 2011 5:25 AM
    Edited by: 805629 on Jan 13, 2011 11:49 PM
    Edited by: 805629 on Jan 14, 2011 12:43 AM

    <li>Change Cancel Button in page 6 so that it submits.
    <li>If u have conditions on that delete PLSQL process, make sure that it runs when CANCEL button is pressed also. If it is unconditional, let it be.
    <li>Add a branch for the Cancel button which redirect to page 4
    So effectivelly instead of *[CANCEL] -> [Redirect to page 4]* , it becomes *[CANCEL] -> [SUBMIT] -> [DELETE PROCESS] -> [Branch: redirect to page 4]*

  • Cancel button on form of type form on a table or view

    I am a newbie for apex. I am using 10g. I have created form on table emp(empno , name , salary ) . Form is of type Form on a Table or View.
    Cancel & Save(Apply changes) button are not working at all. so I copied process reset page and execute on condition save button click. But still cancel button is not working. applcation has some other forms of type Form with a Report and are working properly. I have wasted 2 days on this problem.

    Hi,
    You can do that. If you have the branch to in the same form what you have to do use clear cache for that page. Click on the edit page, click on the cancel button in the left button section. scroll down to bottom and type the page 32 in the Clear cache field. However it is better to have branch to the report page (different page from the form).
    Hope this will help.
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • How to stop the Flex application when user clicks on Cancel button from JS-confirm message?

    Hi All,
    I use the next code when a user clicks on a link:
    private function clickHandler():void
          ExternalInterface.call('confirm', 'Of course you want to go to the Adobe forums!');
          navigateToURL(new URLRequest('http://forums.adobe.com'), '_self');
    This will show up the javascript confimation box. But when the cancel-button is clicked, the user goes straightly to http://forums.adobe.com...
    How to stop Flex performing the next code when a user clicks on the Cancel button?
    Or, how to catch which button is clicked by a user in Flex?
    Thanks!

    I agree with Mr. Hall that using mx.controls.Alert in Flex may be a better route.
    Show the Alert like this:
    // show an alert with a question and yes and no choices
    Alert.show( "Would you like to go to the Adobe Forums?", "Question",
         Alert.YES | Alert.NO, this, closeHandler, null, Alert.YES );
    Then handle the response in the closeHandler() function:
    protected function closeHandler( closeEvent:CloseEvent ):void
    if( event.detail == Alert.YES )
         navigateToURL( new URLRequest('http://forums.adobe.com'), '_self' );
    else if( event.detail == Alert.NO )
         // they chose no
    The following documentation on Alerts may be helpful:
    http://www.flexafterdark.com/docs/ActionScript-Alert
    Let me know if that helps...
    Ben Edwards

  • How to handle the "cancel" button and "close" icon of a popup ?

    Hi,
    I have a popup with "cancel button" and "close icon"(on the top right corner of the popup), I want the same operations to be performed on clicking of any of these two components.
    Is there a way to handle such situation ?
    I read about 2 cases to look into this but they didn't work too well for me.
    1. I read about the "popcancellistener" but that listener is called whenever the popup closes, so suppose I have an "ok button" on the popup to create a record, after the record is created, the popup closes and goes into the "popcancellistener", now the question is "how do we know if it came there because of the 'ok button' or 'some other event'".
    2. I even checked the "DialogListener", now I'm able to distinguish between the 'OK' and 'CANCEL' button in the dialoglistener using the "Dialog.Outcome.ok/cancel", but when a user clicks on the close icon, we do not enter the "DialogListener" at all, so in this case "how do we handle the close icon click event"
    Do let me know if you need any more information from my side.
    Thanks for the help in advance.

    The following mechanism responds to any of the following events: <Esc> key, Close icon ('x'), Cancel button
    JavaScript part:
    function popupClosedListener(event){
                  var source = event.getSource();
                  var popupId = source.getClientId();
                  var params = {};
                  params['popupId'] = popupId;
                  var type = "serverPopupClosed";
                  var immediate = true;
                  AdfCustomEvent.queue(source, type, params, immediate);
    }JSF part:
             <af:popup ....>
                  <af:clientListener method="popupClosedListener"
                                           type="popupClosed"/>
                  <af:serverListener type="serverPopupClosed"
                                          method="#{myBean.serverPopupClosedMetod}"/>
            </af:popup>Finally, Java part:
    public void serverPopupClosedMetod(ClientEvent event){
    }

Maybe you are looking for

  • My Time Capsule hard drive shows up in Finder, but I can't access the disk.  I get a connection failed message.

    I can not access my Time Capsule from the Finder.  This was working, but on 12/25/2011, the disk can no longer be accessed.  It shows up in the Finder, but when I try to connect, I get a "Connection Failed" message.  If I cycle the power, it works fo

  • Creation of bapi

    I need to create a BAPI for a classical report YUFA.(Forecast Accuracy) The problem is the report is a quarterly one and every time it shows different columns according to the periods ie 1 month has 4 periods,so  for 7th month starting it shows 25th

  • Error - Settlement for Production order Co88

    Hello, Before Dec 2009 the FG material xxxxx has been goods movement post without maintained split valuation. Then Dec2009 the material xxxxx has been extended to split valuated. While process of production order settlement against said material thro

  • How to find out the page break in the scripts?

    Hi Friends, this is very urgent, plz help me, I want to initialize one field(&script-counter&) at each page break. so how can I find out when the page break has occured? regards, Venkat.

  • Finally IOS7 on my iPhone... now recovery mode?

    Seriously.... I backed up on the 19th of September... attempted to do it a couple times today, but kept getting errors.... So, just took the plunge to update to IOS7.  After a few attempts and after a long time of having the gears turn, it finally we