Exit Button

Hi, I am using Forms 5.0 on Windows 2000 Platform. In a Button block, I have two buttons save and exit. The exit button is working fine in the middle of entering records, but it's not working when there is no data in any fields in the first block. I have tried key_exit at form level and also, exit_form(no_validate). This is making the button useless after the user succesfully enters some records and wants to quit the application. Now they are forced to use the window close button on top. Any help is greatly appreciated. TIA.
Ram S.

Also, if your pushbutton is not in the block where you have initiated the Enter_query, you cannot click the button unless its Mouse Navigate property is set to NO.
Otherwise, you will get an error message when you click the button.
And the advice to use a cancel_query command is completely wrong. Exit_form is the correct command.

Similar Messages

  • In Editable ALV the BACK/CANCEL/EXIT buttons are not working?

    Hello,
    I wrote a editable FM based ALV, working fine that when user changes the data and press SAVE button, values are transfering into prog. But, i need to put a validation that, if user changes the values and press BACK/CANCEL/EXIT button, i need to popup the message that "Do you want to save changes", my PF-STATUS is good(because, SAVE is working).
    But, its not working that when user done changes and press BACK button (forgot to press SAVE button), system taking me to selection screen/screen 0!! I my code is as below,
    FORM pick USING v_ucomm     TYPE syucomm
                                         it_selfield TYPE slis_selfield.
      DATA: v_answer TYPE char1.
      READ TABLE it_z_tbl  INDEX it_selfield-tabindex
       INTO w_z_tbl.
      CASE v_ucomm.
        WHEN '&IC1'.
            " working fine this functionality
          ELSE.
            MESSAGE i000 WITH 'Double click on key field'.
          ENDIF.
        WHEN 'SAVE'.
            " working fine this functionality
        WHEN BACK' " OR 'CANCEL' OR 'EXIT'.
          PERFORM popup_for_user_decision CHANGING v_answer.
          CHECK v_answer = '1'.
          PERFORM now_update.
      ENDCASE.
    ENDFORM.     
    when i put the break point on the first line of this piece of code, its not stopping on pressing BACK/CANCEL/EXIT buttons!! (its stoppig for SAVE press or double click)
    Its stopping at this point,
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
    EXPORTING
    i_callback_user_command  = 'PICK'
    IMPORTING
    EXCEPTIONS
    IF sy-subrc <> 0 =================> its stopping at this point!
    ENDIF.           
    Pls. let me know why system is not recognising that i hv a PICK form (SAVE and Double clicks are working fine)?
    Thank you

    Hi,
    Actually BACK is standard user command so it is not stopping and going to selection screen.
    Give some other use command like 'BCK' and try....

  • Exit button not working in exe file made with Aggregator

    Hi,
    I created an .exe file using Aggregator in full screen mode but the exit button on the skin doesn't work. When I click the exit button, the dislay hiccups (wobbles a bit) but the file keeps playing and doesn't close. This is especially problematic since this occurs in full screen. The only way to exit is by hitting the Escape key on the keyboard. The exit button works fine in individual .exe files of the modules; it's just in the aggregated .exe file that the exit button doesn't work. Is there anything special I need to do to make the exit button work with Aggregator?

    Hi, this is more J2EE related stuff, SAP came with a solution but is taking ages to get the next page after the "Exit" button is pushed:
    Go to VisualAdnmin >server(n) >Services >Configuration Adapter >
    (Right side Pane) webdynpro >sap.com >tcwddispwda >PropertySheet
    default.
    Edit the property sheet and change the custom value for the property
    "sap.locking.maxWaitInterval" to 200.
    Note 1113811, explains why these kind of errors happen.
    I still waiting for a better solution from SAP.
    Cheers

  • Exit button not working in MS Explorer

    Hi. The exit button in our Captivate courses are not working
    all of a sudden. They work in FireFox but in MS IE. We are using
    Capivate 2.0. IE version is 6.0.

    Hi Apparo,
    In onAction method of the Exit button, a call is made to the TargetExitApplication as follows:
    fpm.navigate(wdThis
    .wdGetFcNavigationInterface()
    .getNavigationTargetExitApplication());
    Also, the Exit button does work in the Address Overview/Edit/Review Page, but not in W-4 Tax and Benefits Enrollment.
    Any help on this problem !!!
    Regards,
    Adren

  • Exit Button not working in ESS

    Hi All,
    We have configured ESS in our landscape. When I go to any Overview/Edit/Review Page (in W-4 Tax, Add/Change dependents etc..), the Exit button which is present is not working. When I click the Exit button, it doesn't exit the current view,  but instead stays at the current location.
    Can anyone tell me the reason for this strange behaviour? Also, where should I make the code level changes for the Exit button work.
    Any kind of help would be greatly appreciated.
    Regards,
    Adren

    Hi Apparo,
    In onAction method of the Exit button, a call is made to the TargetExitApplication as follows:
    fpm.navigate(wdThis
    .wdGetFcNavigationInterface()
    .getNavigationTargetExitApplication());
    Also, the Exit button does work in the Address Overview/Edit/Review Page, but not in W-4 Tax and Benefits Enrollment.
    Any help on this problem !!!
    Regards,
    Adren

  • How to make Exit button for Out-of-browser application

    Greetings all,
    This sounds so simple, yet I can't find anything about it.  I want to make an Exit button in a Silverlight 4 Out-of-browser application.  When the user clicks the button, the application is to quit or close or exit.  (The same effect as if the user clicks
    the red X icon in the upper right-hand corner of a window.)
    Any ideas will be appreciated.

    Jonathan --
    Yes, the word Page has taken on many meanings in the last 15 years.  I'll clarify.  When I make a simple Silverlight OOB (out-of-browser) application using Visual Studio 2010, I ask Visual Studio to Add New Item, then choose Silverlight Page.  Let's
    say I name it Page2.xaml.
    By default VS2010 already made another page for me, MainPage.xaml.
    Now, here is my need:  On the page called MainPage.xaml, I want to place a large button that says Exit Application.  When the user clicks that button, I want the application to end and the entire window to close.  This is the standard behavior in most traditional Windows
    applications, for example in Microsoft Word or Microsoft Excel or Microsoft Access.  In any of those traditional applications, the user can, from the menu, choose File/Exit.  If he does, then not only does the application quit, but also the window
    closes itself.  The user doesn't have to click the small red X icon in the upper right corner. 
    That simple behavior of almost all traditional Windows applications, large and small, is what I'm looking for in my simple Silverlight
    OOB applications:  An Exit command that quits the application and closes the window itself.
     Sorry for the confusion.  I really appreciate your help.  Any ideas?

  • Exit Button script won't work in Adobe Reader 8

    Hello,
    I have this code on Exit button for pdf form:
    app.execMenuItem("Close");
    Or
    to give warning before Exit: Have a second RealExit Button hidden to execute the code
    var answer = xfa.host.messageBox("Are you sure you want to Exit?","Warning Message",2,1);
    if(answer==1){
    RealExit.execEvent('click');
    I tried both the code one at a time but no luck in Adobe Acrobat Version 8, works like a charm in Adobe Acrobat 9
    I would like the user to click the Exit button if they choose to exit. However it doesn't work in Adobe Acrobat 8 but works in 9 version. Is there a work around? Any suggestions???
    Thanks

    This answer may not be a big help but sure will give you some level of understanding....
    Check the URL>>>http://kb2.adobe.com/cps/402/kb402673.html
    Check the section "PDF Forms-related issues:" starting mid page.....
    Not all releases/versions are good. Some releases tend to have some bugs...the version you tested could be one of them. Adobe always recommends to be on the latest version. If client still on older version that is client's problem especially there should not be any restrictions on upgrading to Latest version when the software is free!

  • Custom close / exit button in HTML widget

    Hi,
    how to set a custom close / exit button in a HTML widget for iBooks Author? I want to replace or hide the standard button in the top left corner.
    I already tried some JavaScript but nothing seems to work so far. Where can this button be modified or disabled and how to create a custom one?
    Best regards

    Hi Ken,
    thanks for your reply.
    It's good to hear that this button can be changed.
    It would be interesting to know how this can be achieved. Any hints?
    Best regards

  • Exit button code not working in published captivate file

    Hi,
    I have created a elearning module in captivate 8. I have an exit button at the end of the module. The button has the inbuilt code ''on success - exit''. When I publish this file to swf or AICC format, this exit button doesnot work. Please help!

    have you confirmed that this javascript code ( only
    javascript code in html, no swf) works?
    in some cases the window.close() statement works only for
    popup windows. so make sure of it.

  • How to hide exit button on overview view of adress iview.

    Hello Gurus,
    Can anybody suggest me how to hide the exit button on overview page of address iview?
    Thanks,
    Sha

    Hi
    1) If you want the exit button to be hided u can use the following code in doModify as we know this doModify will be called each time the action is performed so when we use this code exit button will be hided all the time.
    Button btn_ui= (button) view.getElement("Button_ID");
    btn_ui.setVisible(WDVisibility.NONE);
    2) if you want to hide only on specific time then better to use the value attribute of type com.sap.ide.webdynpro.uielementdefinitions.Visibility  then bind this to exit button's property--> visibility and in your code wherever required set the visibility.
    Ex: value attribute name : va_Exit_Visible
          type : com.sap.ide.webdynpro.uielementdefinitions.Visibility
    wdContext.currentContextElement().setVa_Exit_Visible(WDVisibility.NONE);
    Regards
    Prasad.

  • Exit button not working in Captivate 7 published output

    Hi. I am using Capivate v7 and am experiecing this problem with published output:
    I am using an Exit button that runs the standard javascript code
         javascript:window.close()
    so that the user can exit the presentation. The button works fine when I test out the presentation using Internet Explorer 8, but when I generate an output and try running the .swf file, the button does not work.
    How do I get an Exit button to work for the .swf output?
    Thanks,
    - Michael Fekete

    Yes, the close X does work 100% of the time. That's because the browser itself is just a window in the operating system. And you are commanding the window to close.
    And you might find yourself asking why that would work while the Exit button fails. And it would be that it's a security issue. Security prevents the window from closing because if a web site was nefarious, it could actually trap you by making changes and quickly closing the window and preventing you from browsing elsewhere.
    It's simple to turn off the Exit button. Just click Project > Skin Editor and clear the Close checkbox.
    Cheers... Rick

  • Exit button not working in Safari

    Has anyone run into this, specifically with Safari? I created a module in Captivate 8, that has a close button on the skin. The module has been uploaded to my clients LMS and it closes no problem on all other browsers except Safari. I tried creating a button on the last page of the slide as well with the "exit" action and that doesn't seem to work either in Safari. Does anyone have an idea how to fix this issue?

    I tried an Exit button (clickbox associated with the action Exit).  It freezes Safari for about 10-15 seconds and then finally closes the browser tab.

  • Exit button not visible in standard applications

    Hi all,
    When we call a standard ESS application ( bank or address) from the detailed navigation, the exit button is not appearing in the application.
    However, when we open the same application from the area page, the exit button is appearing correctly.
    Any idea why this could be happening?
    TIA!

    >
    Diana Menezes wrote:
    > Hi Markus,
    >
    > You are right. When i exit the application from the ESS role, it takes me back to the corresponding are page.
    >
    > However, i have multiple ESS roles (different roles for diffrent countries). For now, i have done all the settings ( sap.xss.menuhdr, sap.xss.menuargrp and sap.xss.menuarea iview parameters definition) for the ESS US role. So when i exit the application from this role, it takes me to the area page corresponding to this role. But when i exit the application from any other role, i get an error. This is probably because the system is searching for the area grp/area page that i had defined in the iview. Is there a way i can define multiple area grp/area pages for the same iview/application?
    >
    > TIA.
    Hello Diana,
    no you cant. In this case the system wouldnt know which one to call. But as you have said you have multiple roles each role has its own (version) iview of the area- and areagrouppage. You just have to change the iView setting by editing the iview which you embedded into the role. Open the role and click you through to the iview, adjust the view properties to pass the correct areapage as application parameter. By doing this you neither change the settings of the original iview nor do you change the properties of the iviews of the other roles.
    I hope this helps,
    regards
    Markus

  • Exit button not working on Personal Information DC

    Hi,
    The exit button in Personal Information ( Home Address & Phone ) DC is not working. The issue is when I click on Exit button the screen is getting refresh, but no action is taken place.
    Is the issue related to SPRO Configuration? Because the respective method is calling from FPM -fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetExitApplication());
    So I tried by writing following method, but when I click on Exit button from Edit & Review views, the page is opening in a new window instead of opening in a content area where as Overview page is opening in Content Area.
    WDPortalNavigation.navigateAbsolute
                              ("ROLES://portal_content/abc/hr/ess/iviews/com.abc.hr.ess.iview.area_personal_information",
                     WDPortalNavigationMode.SHOW_INPLACE,
                     WDPortalNavigationHistoryMode.NO_HISTORY,
                     null);
    Also I would like to know what are the configurations we need to do in SPRO with respect to ESS & MSS.  
    Thanks in advance to resolve the issue.
    cheers
    dev

    Create an alert with name close_alert write message of you choice give lable to button1 and button2 Yes and No respectively.
    On your exit button write below code
    declare
         al number;
    begin
         al:=show_alert('al_close');
         if al=alert_button1 then
              exit_form(no_validate);
         end if;
         end;Edited by: XeM on Apr 6, 2013 2:39 AM

  • Custom Exit Button not working..looks for required input field on screen?

    I defined this EXIT button as type E in Menu Painter.
    I am using "MODULE At EXIT-COMMAND" in my PAI.
    SAP message still asks for the required input field when I select the function EXIT button?
    The logic still will not break into the At EXIT-COMMAND of my PAI?
       Thank-You.

    Hi
    Have you assigned variable OK_CODE in the list of screen element?
    IF NOT zin_railid is initial.
        LEAVE TO SCREEN 0100.
    ENDIF.
    Which is the sense to create a button for exit-command and doesn't allow the exit if the input field is empty?
    In SE41 I entered "Back" over the back button, "EXIT" over the exit button, and "CANCEL" over the cancel button.
    I selected each one, and got a popup to enter "E" for each type. As I said they appear, but do nothing?
    Did I need to set a status for these?
    No you don't, it's only important to define a functional having the attribute for EXIT-COMMAND
    Max
    Max
    Edited by: max bianchi on Nov 5, 2010 6:31 PM

  • Exit button not functioning in MSS Team - Recruiting - Create new Candidate

    Hello Experts,
    Exit button not functioning in MSS Team - Recruiting - Create new Candidate Assessment iview
    Location of exit button :Create new Candidate Assessment iview we have next button when we click on we can see exit button in next iview
    any idea why it not functioning / help on this / or is it a bug from SAP
    Thanks,
    Regards
    Vijay

    Hi Krishore,
    Thanks for reply,
    The version of BP_ERP5ESS is 1.0 SP8 and The version of SAP_ESS is  600 SP8.
    do need to add extra patch for this.
    please help me on this issue. 
    Thanks,
    Regards
    Vijai

Maybe you are looking for

  • Can Disk Utility's seven-pass Erase feature do unfixable damage?

    I have begun posting about this under a different HD topic, but thought I would open a new thread as this would seem to be an important issue not much remarked on. If anyone has any ideas how to fix this, they are most welcome. First, my cautionary t

  • Compiler replaces final static

    Hi! I've got the following problem:I need to check the version of an external jar which is contained in an attribute number of of class called Version. The problem with this is that the attribute is static final and therefore is replaced at compile-t

  • Anybody got the Vga out working in Bootcamp yet?

    I would like to use my nice big 26" screen while in bootcamp. I know it hasn't worked with the vga out. Has anyone got a fix? Also the tv takes multiple inputs, Dvi and S-video, so is there another way to get this to work?

  • COPA Product wise profitability

    Hi Sapians I have execute an order settlement and variance is successfully posted in COPA Value field VV002(Qty variance) In product wise profitability report. System shows as follows: Product   Qty    Sales value   Cost @ Std price  order Variance V

  • PageStructureFactory class

    Hello, I have the code: import com.sapportals.portal.pb.dynamic.IPageStructure; import com.sapportals.portal.pb.dynamic.PageStructureFactory; import com.sapportals.portal.prt.component.AbstractPortalComponent; import com.sapportals.portal.prt.compone