Reg: save exit and cancel buttons

Hi,
In normal report programs when we enable the back , exit and cancel buttons they work fine without writing any code.but its not in the case of Module pool why?
In thr normal reports where does the code come from?
regards
prasanth

Hi....
Module pool programs is nothing but screen flow + reports...
Here we designing the screens....
So we hav to to give every functionality.. for all buttons and menu items of the appeared screen...
Where as in reports...,
We are just using the standard screen (sellection screen and list output screen ) s mostly...,
Here also some times we hav to go for created screens.. nothing but.... interactive reports...,
There we need to give again all those functionalities...
And..,
To see the BACK button logic and other logics in the reports...,
Ex: PAI event of SAPLWBABAP program..., 
You can find that name with...
By giving /H and enter before ur action...
Thanks,
Naveen.I

Similar Messages

  • What are logics for the SAP UI icons of "Back", "Exit" and "Cancel"?

    Hi SAP experts,
    This question may sound kind of strange - isn't that obvious?
    While, it is in fact a very important and difficult issue for UI app implementations when UI flow should be kept persistant. I have been feeling confused when doing UI implementations in Personas, specially when at some screens I need to add my own "BACK" button in order to go back to the previous screen (which can be different screens depending flow conditions.)
    Can anyone explain what the basic logic is used for the SAP "Back", "Exit" and "Cancel" buttons (see below)?
    Here are my understandings (which may not be accurate or correct):
    1. "Back" icon (left): By pressing this icon, all the changes made in the current screen are discarded, and UI moves back to the previous screen. If there are some fields already been filled with values in the previous screen, there can be two UI behaviours depending on the platforms used:
        a) Some platform will restore the values so the screen looks EXACTLY like before.
        b) Some others will leave all fields empty (While, this can be annoying if you have to re-fill all the fields).
    2. "Exit" icon (middle): By pressing this icon, all the changes made in the current screen are discarded, and UI moves back to the "Initial (or Home)" screen which in most time should be the first launching page of the app.
    3. "Cancel" icon(right): I am very confused by this key - what is the special functionality of this key compared to those of the "Back" key and "Exit" key?
    I have been working in many years on developing UI apps for mobile devices, and there were no such three types of keys for UI navigations. Maybe I missed some special points that is special only on SAP?
    Thanks a lot in advance!
    Dong Zhu

    This may not sound that interesting so I will close it to keep our track "clean".
    By the way, just want to share some finding - in Personas, when replacing the Exit or Cancel buttons by transactions, I found that "/n" and "SMEN" does not give the same result, and it depends on whether it is the Exit button or Cancel button that is to be replaced.
    Close this question.
    Dong Zhu

  • Unable to disable Save and Cancel button on change user answer form

    Hi,
    I am not able to disable Save and Cancel button on change user answer form depending on a condition. Any kind of help will be appreciated.
    Thanks

    save and cancel are the default buttons
    check the disable default buttons...
    Nsankar

  • Differences between 'Cancel' , 'Exit' and 'Back' buttons in a dialog prog.

    Hi all,
    I have a straightforward questions about handlign the Cancel, Exit and Back buttons in a dialog program. What is the way of handling these function codes? I guess with 'Exit'  we leave the transaction using command 'Leave Program',  with 'Back' we can use 'Leave to screen 0' . Right? What about Cancel command?
    Regards,
    Sükrü

    hi
    good
    CANCEL->Cancel the Current Session back to exactly last session
    EXIT->Exit From the current session and back to main session
    BACK->Back to the exactly the last session
    thanks
    mrutyun^

  • Mapping enter and esc to ok and cancel buttons

    Hi,
    Does java's fine API offer any method of mapping Enter and ESC to OK and Cancel buttons in a customized JDialog?
    The current way I'm doing it is through a brute force of adding a KeyListener to every component in the dialog box (in an automated way), is there another way?
    Any suggestions would be appreciated.

    Uh oh, should I be scared because he knows more about
    Swing than just about anyone?
    Yes. Because if you really get stuck then he won't help you and then you are doomed.
    If anybody was rude it was him, and if anybody is an
    idiot it's you. See how easy it is to make claims
    without providing any reasons or rationale?Reasons and rationale have been provided but I guess you didn't grasp them the first go around so here goes.
    1) You were impatient
    You waited 30 minutes before whining and bumping. That is impatient. Nobody is being paid to deliver answers to you.
    2) You posted in the wrong forum.
    This is not the Swing forum is it? No it is not.
    3) You should learn to search
    If you had searched for even up to 15 minutes (and you wouldn't have needed this long) then you would have had your answer in half the time. Searching saves YOU time.
    4) You were rude
    When the facts (and please note the use of the word "fact" not personal opinion) above were pointed out to you then you were rude.
    Finally the "you are an idiot" problem. I will give you this is the most subjective of the lot although given that you cannot dispute ANY of the above facts (although you seem to be trying and that's helping to make the case that you're quite the idiot) that's really not saying much.
    However, it seems to me that if Person A wants the assistance of Person B (who is a valuable resource of information for person A and others) it does not seem wise for Person A to be rude to person B. So in the case of Person A who is rude to Person B who they are relying on as a free resource we can make the assertion that Person A is an idiot.
    In case you couldn't follow that you are Person A.

  • Yes, No and Cancel Buttons on Pop-Up for BACK or NEW button

    Hi Experts,
    First scenario:
    We have crated few mandatory fields in incident when ever we are not filling the mandatory fields and try to SAVE (Incident Tool bar button) the Incident, it will Check for any Error Messages, before saving the Document,
    If entries not found in mandatory fields record will not get saved.
    This functionality we are controlling in EH_ONSAVE method of the SRQM_INCIDENT_H/IncidentOV.
    Second scenario:
    But After filling few fields in Incident screen, If I click on NEW button for a new incident or BACK button ,  it give one popup with message Do you want to  save the changes ? With Buttons Yes, No and Cancel. If I click on the Yes button Incident gets saved with an IRN number without entry of any mandatory data.
    How can I control the second scenario as first scenario? Please suggest how to controll Yes, No and Cancel Buttons on Pop-Up for BACK or NEW button as SAVE button.
    Thanks in advance
    Chand

    hi,
    you can control  the pop-up SAVE button without saving your details or write your ownlogic on pop-up save.
    please refer to this post.
    Re: Suppress POP-UP
    regards
    Ismail

  • Using Tiscali Webmail with Firefox 6. If I try and delete an email the Ok and Cancel buttons are disabled and nothing happens, have to use F5 to take me back. IE8 works so is this a compatibility issue?

    Using Tiscali Webmail with Firefox 6. If I try and delete an email the Ok and Cancel buttons are disabled and nothing happens, have to use F5 to take me back. IE8 works so is this a compatibility issue?

    It appears OP solved the problem: [/questions/874744]

  • Creating a dialog box with OK and Cancel buttons without OADialogPage

    Hi Experts,
    i want to create a dialog box for Delete Confirmation means after clicking on delete it should pop up a small dialog box with OK/Cancel buttons
    and need code for the same to handle the buttons.
    i have created with OADialogPage but its showing in a complete page but i want to show those buttons in a small box.
    Plz help.
    THANKS IN ADVANCE.
    Thanks
    Raja.

    Hi,
    I have not tried using javascript in destination URI as suggested by Mukul.
    I have tried the below code for opening a page as dialog box.
    You can try it for your requirement by creating a dialog page of your own, say XXDialogPage (with OK and Cancel button)
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?page=/xx/oracle/apps/fnd/dialog/webui/OADialogPG";
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:500, height:500},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    In dialog page's controller, you can forward it to the page onc ethe user selects OK or Cancel.
    Pass the selected value back to the main page and further you can use it for deleting.
    Regards.

  • How I can internatiolization OK and Cancel buttons confirmDialog?

    private void clickButton() {
              int response = JOptionPane.showConfirmDialog(this, resBundle.getString("Confirmation_text_itroduction"),
    resBundle.getString("Confirmation_title"), JOptionPane.OK_CANCEL_OPTION,
                        JOptionPane.QUESTION_MESSAGE);
    if (response == JOptionPane.OK_OPTION) {
                   System.out.println("OK button clicked");
              } else if (response == JOptionPane.CANCEL_OPTION) {
                   System.out.println("Cancel button clicked");
    As you can see I internatiolization the title of confirm dialog and text (use object resBundle). OK!
    But how I can internatiolization OK and Cancel buttons is this confitm dialog?

    OK, I can internatiolization buttons "OK" and "Cancel" in confirm dialog:
    private void clickTestKindButton(String message) {
              Object[] options = { resBundle.getString("OK"),
                        resBundle.getString("Cancel") };
              int response = JOptionPane.showOptionDialog(this, message, resBundle
                        .getString("Confirmation_title"), JOptionPane.OK_CANCEL_OPTION,
                        JOptionPane.QUESTION_MESSAGE, null, options, options[0]);
              if (response == JOptionPane.OK_OPTION) {
                   new IntroductionTest();
              } else if (response == JOptionPane.CANCEL_OPTION) {
                   System.out.println("Cancel button clicked");
         }It's work OK!
    But how I can internatiolization buttons "OK" and "Cancel" in the input dialog ?

  • Moving ok and cancel buttons

    Hi,
    When I do JOptionPane.showOptionDialog(...);
    Can anyone tell me how to make the ok and cancel buttons appear at the bottom right of the dialog instead of the bottom center.
    Thanks,
    Jim

    Sure, use another panel as a spacer thusly:
    | |
    | Other Panels |
    | |
    | Spacer | OK Can|<-position panel contains both panels
    Use BorderLayout for the entire dialog and set a position panel to be SOUTH (If you are using someother layout, add a full panel as a backdrop and move your Other panels into it using NORTH). Add the Spacer panel and 'OK/Cancel' panel to this using GridLayout (2 columns, 1 row).
    There is no restriction, other than memory size, to how many panels you use and their hierarchy.
    Robert Templeton

  • Hide Ok and Cancel buttons in a Popup

    JDev 11.1.1.5.0
    I am using an <af:popup> component. By default, when I run it shows Ok and Cancel buttons at the bottom. I don't want these two to be shown.

    Yes. I just found it right after posting this. So unmarked this thread as a question.

  • Would like to change my home page. I click on options and my general tab is blank with only the ok and cancel buttons showing. How do I fix this?

    In options, under the general tab, it is blank all except the ok and cancel buttons. I can't change my home page. Please help.

    Hi cor-el,
    Thank you for your reply. Before I had seen your reply. I went into options and under general, all of a sudden it showed what should be there. I closed browser and did it again and it didn't show. It has been blank for roughly two months. Just seems funny that I ask a question and after all this time of not showing what it should, it does, to only be blank again.
    I have also been trying to update the flash player. That comes up completely blank as well with nothing showing at all. I did this several times the day before I posted my question. That same day I also hit the reset button for firefox when I was having trouble trying to update the flash player.
    I did as you said to do. Nothing has changed. Is there something else that I could try?

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • Popups how top program the ok and cancel button

    How do I program the ok and cancel button in the popups. I want to add functionality to the existing ok and cancel buttons in the popup
    Thanks,
    Veena

    You can ise a dialog inside the popup and use a dialogListener to check how hte dialog has been closed
    public void handleDialog(DialogEvent event)
      if (event.getOutcome().equals(DialogEvent.Outcome.no))
        setGender(getOldGender());
        // reference to the gender component is from component binding
        // see selectOneRadio above - binding="#{sharedPopup.genderComponent}
        RequestContext.getCurrentInstance().addPartialTarget(getGenderComponent());
    }{code}
    Timo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT4463 I keep getting the message "The application could not be downloaded. The installation could not be started."  with a "Retry" and "Cancel" button,  I have been re-trying for several hours to no avail.  What is the problem?

    I keep getting the message "The application could not be downloaded. The installation could not be started."  with a "Retry" and "Cancel" button,  I have been re-trying for several hours to no avail.  What is the problem?

    You'll need to contact support and have them check your account
    https://expresslane.apple.com/GetproductgroupList.action

Maybe you are looking for

  • OBIEE error while scheduling the report.

    Hi, I scheduled one report in OBIEE tool for 8.30 pm but that report get failed. I executed the same report many times with the same database configuration, same FTP configuration, I never get such exception before. In the morning i again execute tha

  • LG Revolution Open Links in Text Messages

    Moved for greater exposure

  • Can I put a 500 gb hdd in a T61

    I have a T61 running XP PRO with a 100 gb hdd. Can I replace that with a 500 gb hdd. BIOS shows the correct drive model. When I boot off a Windows cd, the drive is visable. When I boot off a Ghost cd, I can copy an image to the drive, but the drive w

  • Audio solution needed for noise & echo

    I need to get rid of or minimize some noise in an audio clip in Final Cut Pro. There is also a bit of echo in it that I would like to minimize or eliminate as well. Also, if the solution to this requires frequencies or things of that nature, could so

  • Error while creating IT 0045

    Dear Friends,      when i am creating loan record for a employee in IT0045. it is showing me a error THE MAXIMUM LOAN ALLOWED FOR ******** IS 0   plz tell me where is the problem and how to solve it? Regards.