How to capture sy-ucomm BACK EXIT or CANCEL button in webdynpro from inbox

I have a webdynpro which is triggerd by a inbox item (the inbox item is now reserved), on pressing BACK EXIT or CANCEL i want  to release the inbox item.
In de webdynpro view methode WDDOEXIT i can do this butr i need to know if one of the three buttons ( BACK EXIT or CANCEL) is pressed by the user.
sy-ucomm is empty.
Is there a way to find out if a GUI button is preesed??
Grtz and thanks
RIchard

hi, thanks for your response!
I can't use your hint, because with the code:
SELECTION-SCREEN BEGIN OF screen 100 as window.
there will be a "GENERATED" screen. This means, there
is a screen with all the input fields und the label 100 which I can't
edit! Because if I edit this screen and activate my source again,
my changes will be undone!
So is my question, if there is another system-field than sy-ucom?

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

  • 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

  • How can I undo a back up that combined the contact info from 2 different phones

    how can I undo a back up that combined the contact info from 2 different phones.

    Once you merge contacts with iCloud or any back up for that matter, it will be merged until you go through and decifer which contacts you would like to keep.
    Was it an iCloud backup?

  • When will apple bring back the onscreen cancel button for incoming calls?

    when will apple bring back the onscreen cancel button for incoming calls?

    No one here would know, as there is no one from Apple here. Suggest such to Apple using this:
    http://www.apple.com/feedback/iphone.html

  • Audio Q: How to capture and play back later?

    Hi,
    Looking at the JMStudio app, it's pretty clear how to capture audio and stream it out through the speakers. What I don't understand is how to capture audio, stop, and at a later time, play that stream back. In particular, I'd like to be able to play it back beginning at a specific position. I see the Positionable interface, but I haven't found any demo code for a DataSource that implements it. Any help appreciated,
    +scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    you have to stream your media to a file and later re-open it. To do this, simply get a DataSink and use it to save on a file.

  • How to get my money back when I cancel my order?

    I tried to buy a new iPhone 6, but I couldn't and Apple sent to me this e-mail:
    Hi xxxxxxxxxxx,
    Thank you for your recent order with the Apple Online Store. We appreciate your business.
    We are unable to complete your order. We do not ship to freight forwarder addresses. Therefore your order has been cancelled. While you may see a pending authorization on your account, you will not be charged and that pending authorization will drop off in accordance with your banks policies. Please contact your bank for an exact timeframe.
    I need to know how to get my money back, because I can't find the money in my bank account !! please help !
    Thank you

    Contact Apple directly at 1 800 692 7753.  Explain you would like a refund on your iCloud storage.  They will be able to look up your purchase, and verify if you successfully cancelled it or not.  They can also ensure it is cancelled. 

  • How do I get Gaarageband back on my G5 when I upgraded from Tiger to 10.5.8?

    How do I get garageband back on my G5 10.5.8, after I upgraded Tiger?

    By reinstalling it from the iLife install disk or your computer's original disks.
    (65124)

  • InputVerifer unable to exit with cancel button.

    Just playing with the verifier and notice that I am unable to "cancel" when I failed the validation. I understand that I can not conintue to next field, but if I failed but how come I can't cancel out of the form? I could exit if use the [x] on the upper right side. which uses the WindowAdapter.
    Any idea on how I can permit my cancel button to work under this situation also?
    Here is my sample code. The basic code I got it from http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/InputVerifier.html
    modified for my own test.
    package verifier;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class VerifierTest extends JFrame {
        public VerifierTest() {
            JTextField tf1 = new JTextField ();
            getContentPane().add (tf1, BorderLayout.NORTH);
            tf1.setInputVerifier(new PassVerifier());
            JTextField tf2 = new JTextField ("next field");
            getContentPane().add (tf2, BorderLayout.CENTER);
              JButton buttonCancel = new JButton("cancel");
              buttonCancel.addActionListener(new CancelListener());
              getContentPane().add(buttonCancel,BorderLayout.SOUTH);     
            WindowListener l = new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                     System.out.println(" win closing");
                    dispose();
            addWindowListener(l);
        class PassVerifier extends InputVerifier {
            public boolean verify(JComponent input) {
                JTextField tf = (JTextField) input;
                  if(tf.getText().equals(""))
                    input.setInputVerifier(null);
                    JOptionPane.showMessageDialog(null,"Error, textfield empty");
                    input.setInputVerifier(this);
                    return false;
                  return true;
         protected class CancelListener implements ActionListener{
              public void actionPerformed(ActionEvent event) {
                   System.out.println(" cacnelListener Action");
                   dispose(); // Or System.exit(0) if you don't want to do
                   // something on close.
        public static void main(String[] args) {
            JFrame f = new VerifierTest();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setVisible(true);
    }

    thank you both. I should of use search forums with the key word. I was getting too much return with jtextfield inputverifier.
    oh well....

  • Exit using Cancel button from form preview.

    Hi
    I am looping into internal table and printing a smartform for every line.
    When I do the preview, and press back button, it takes me through the preview of all the items.
    Is there a way to come out of this preview.
    I am trying to use the cancel button in at user-command, but the program doesnot seem to recognise it.

    Hi,
    Regarding your qusetion about the preview.: In case you are calling the smartform inside a loop, the preview is going to get called. Incase you want just the 1st form to be shown, you could hardcode it in the program. Your logic could be:
    If its print preview, then exit in the 2nd pass of the internal table by checking the sy-tabix.
    Let us know if this suits your need. If it doesnt then throww more light on your question so that we cud suggest better!

  • How to say that variable == null if pressed cancel button.

    Hi! I have code line in jspx page:
    #{viewScope.myParamSusceptibToCrackingKi == null ? SusceptibToCrackingKi.myParamInitialValue : viewScope.myParamSusceptibToCrackingKi}How can I say that myParamSusceptibToCrackingKi == null (nothing) if I press cancel Button in form, or press refresh button in browser?
    Best regards, Hope You help, Debuger!

    Hi, Timo! To better Understand:
    In jspx page I have some inputText fields:
    <af:inputText id="CropTypeKiExplain"
                                      value="#{viewScope.myParamCropTypeKi == null ? CropTypeKi.myParamInitialValue : viewScope.myParamCropTypeKi}"
                                      changed="#{changedFlagsMap['CropTypeKiSkaidr']}"
                                      partialTriggers="CropTypeKi" readOnly="true"
                                      contentStyle="color:Gray;"
                                      rendered="#{skaidrojumaApskate.radit != '5'}"/>
           <af:inputText id="VirusDiseaStatKiExplain"
                                      value="#{viewScope.myParamVirusDiseaStatKi == null ? VirusDiseaStatKi.myParamInitialValue : viewScope.myParamVirusDiseaStatKi}"
                                      changed="#{changedFlagsMap['VirusDiseaStatKiSkaidr']}"
                                      partialTriggers="VirusDiseaStatKi"
                                      readOnly="true" contentStyle="color:Gray;"
                                      rendered="#{skaidrojumaApskate.radit != '5'}"/>variables: myParamCropTypeKi and myParamVirusDiseaStatKi have some value. But I want that if I press button in my form, they will be empty. Where to put code?
    And what code I need to write to say that? Mabe I can write: #{viewScope.myParamCropTypeKi is null} and #{viewScope.myParamVirusDiseaStatKi is null} . But where?
    Best regards, Debuger

  • How can i get my back and foward icon buttons to work?

    When I'm on a website i can't move forward or back because the icons are grayed out. Is thee any way I could fix that?

    Here are some suggestions for getting the best results from this site.
    Give details of the problem. A remark such as "I think I have a virus," or "How do I reinstall," or "X doesn't work" conveys no useful information. If X did work, you wouldn't be here. Instead, you should post something like this: "I did A; I was expecting B; but I got C instead." Include the complete, verbatim text of any error messages you saw, and specify where you saw them: in an application window, a CrashReporter window, a log, or whatever.
    Also describe the steps you’ve taken yourself, if any, to try to resolve the issue. If the problem is of recent origin, did you make any changes to your setup just before you first noticed it? Is the problem reproducible or intermittent? That is, does it always manifest itself when you take a certain action, or only at unpredictable times?
    Before posting, ask yourself whether it’s likely that you are the the only person ever to have had this problem. If not, search the discussions for answered questions similar to yours. If you found any pertinent information, but it didn't help, give details.
    Post in the most relevant discussion area. Usually that means the area for the type of Mac you're using, if the problem is hardware-related, or for the OS X version you’re running, if it’s more software-related. Some other Apple products, such as Safari, iTunes, and iPhoto, have their own forums.
    If asking about third-party software, specify the full product name, what it does, the source (website, App Store, etc.), and the version. Your first recourse should be to the developer and/or its user forum, if any. Include the results of that contact in your message: what you were told and what you did.

  • I rebooted my old MacBook.  How do I get Lion back on there? I purchased it from the Apple Store Application

    Just was wondering how to get Lion back on the computer, now that I've done a dull re-boot.  Any help on this would be great!

    Rebooting does not normally revert to a different version of the OS.
    So what version is currently running?
    And did you purchase Lion at the app store? If so, sign in and it should show up under Purchases and you can download and install it again.

  • How can i hide( close or exit) the windows media player window from front panel after a video is played.

    I want a video to be played when i star executing a vi. After that i want to remove(hide or close) the media player window from my front panel.how can i do this?
    the vi is attached.
    Electronics and Instrumentation Engineer
    Freelance LabVIEW and Arduino programmer.
    For projects contact me ; [email protected]
    Solved!
    Go to Solution.
    Attachments:
    videovi.vi ‏9 KB

    Check out the attached code.
    If it solves your problem then dont forget to mark this as a solution. Also if you like the answer dont forget to give me kudos
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog
    Attachments:
    Main.vi ‏14 KB
    MediaPopup.vi ‏21 KB

  • I recently synced my iphone 5s to itunes. It erased my photos and I can not locate them on itunes. They are nowhere to be found. How can I restore them back to my phone?

    I recently synced my iphone 5s to itunes. It erased my photos and I can not locate them on itunes. They are nowhere to be found. How can I restore them back to my phone?

    Restore them from where?
    The pic sync is one way - computer to iPhone.
    You should be storing all of your photos on your computer.  Jut sync them to your iPhone.

Maybe you are looking for

  • Controlling external displays

    When using a secondary display with my macbook pro is it possible to choose what is viewed on that external display? say i could be running a presentation on the external display but be looking at another program on the macbook pro without it being s

  • Can I upgrade from Leopard(OS X 10.5) to Mountain Lion(OS X 10.8)?

    I have a 2 1/2 year old iMac still in the box with Leopard pre-installed. How do I get my iMac up to date with Mountain Lion? Is Mountain Lion too much for my iMac's Intel 3.06GHz Core i3 processor and 4GB of 1333MHz DDR3 SDRAM?

  • How to download movie clips to Mac OS X 10.4.11 from Nikon Coolpix S640?

    Hi ~ I have photos and one short movie clip on my SD card. I downloaded all the photos into iPhoto. Since the movie clip was on the same SD card I thought that it would automatically download to "somewhere"? I did find out that it would be a AVI file

  • Panels in applets

    Hey guys, Im writing an applet that uses the ImageIcon class. In addition to the images I need to add TextFileds, buttons, labels etc. Can seperate the two things(the images and the awt objects) into seperate panels. If so could somone help me out wi

  • 3 server in hyper-v

    hi all we need to implement in a small network 50 users (70 mailboxes) a new setup off server: sql exchange AD can It done (recommended)Although Microsoft recommendation ( NOT TO DO THIS )to hosts 3 virtual machine (exchange 2013;sql;AD). what is the