How to use cancle button

hai freinds i have written a module pool and in that i have used an interface which has only one cancel button, when ever i want to come out of transaction without entering mandatory fields, but how to write the code in my module pool and what statements should i use to catch that action , can i use sy-ucomm or use function code or soem thing other if any one can give me the code to come out of the transaction
bye
afzal

Hello,
Your first PAI module statement should be:
MODULE exit at exit-command.
Code:
Module exit input.
   SET SCREEN 0.
   LEAVE SCREEN.
endmodule.
While creating your GUI status, you must give 'E'  as the function type for BACK, CANCEL and EXIT button in the tool bar.
Thanks and regards,
S. Chandra Mouli.

Similar Messages

  • IPAQ how to use hardware buttons in java

    Hi,
    Does anyone know how to be able to use the iPAQs harware buttons and joystick in Suns Personal Java?
    I moved a Tetris applet i have written for PC's to the iPAQ and it works except for the arrow keys that i use to control it with.
    Any help would be greatly appreciated!

    I have the same problem.
    Does anyone know how to use the buttons of the iPAQ for your java applications?
    Thanks
    Hector

  • How to use one button rollover symbol to create 100 graphically different buttons

    I do know how to create a button rollover symbol.
    I don't know how to make that button rollover symbol reuseable. I'd like to put 100 different images in 100 copies of the button. I'd rather not make new symbols for every button, since the rollover animation may change.
    Symbol "Accessibility" allows the title to be changed for copies of the symbol. Does similar functionality exist for bitmaps used in the symbol?
    Could the copied button bring in new graphics from the timeline in another symbol or a xml sheet?
    Any help would be greatly appreciated. I've been following tutorials, except none of them cover this situation.
    Thanks for your help!

    Created in EA version 3:
    I have 2 samples for you that are very similar.
    1- uses the symbol with no image and loads the image as a background-image for the div.
    https://app.box.com/s/co7uki3fm3b11a3o1xjw
    2- uses an image in the symbol and replaces this image with a new one in the img (not div)
    https://app.box.com/s/3ms92f5cv0mylspsi5uo
    Choose what you prefer.
    3. An example with more elements in the symbol directly on the stage instead of a container. use a container if you want to place the symbols in a specific rectangle div for example.
    https://app.box.com/s/y92bpo82kncxnn2w567y

  • How to use single button for different operations

    Hi
    I am using one button with image having 4 controls like left right up and down...
    How to use the single button for 4 different operations??
    Is there any way of defining hotspots on single button to do four different operations...
    Please have a look at the attached image, u can understand my problem better...
    Please let me know ASAP...
    Thanks and Regards
    Aruna.S.N.

    Here ya go:
    http://code.google.com/p/flexlib/wiki/ComponentList
    If this post answers your question or helps, please mark it as such.

  • How to use one button to drive another button click

    I'm trying to figure out a way to fix a bug in my application.  The simple fix would be to have a single button that drives a MouseCLICK event on another button everytime the PlayBar in my application reaches the end of the screen and returns to its origin.
    How would I achieve this?  I have made a lot of headway since I last posted a question in the ActionScript 3 forum, which was only yesterday evening.
    Thanks in advance,
    markerline

    The application is an audio application.  It is like a drum machine sort of.
    Currently there is a grid and whenever active cells get hitTest'ed by the PlayBar they become deactivated, the PlayBar returns to the origin, and when you relaunch the Play functionality the deactivated cells no longer play a sound.
    I have a button which reactivates the sounds.
    I also have a button which has a bug in it that loops the sounds. 
    To go around the looper button that has a bug in it I would like to use a Button "Z" which automatically clicks the "reactivate the sounds" button every time the PlayBar returns to the origin and the PlayBar will then continue to play and return to the origin in a looping fashion.  If the Button Z is in an active state this looping will continue.  To stop looping, click the Button Z until it is no longer in an active state and the PlayBar will then remain at the origin.

  • How to use a button in a required field

    Hi,
    this is my scenario:
    1) In a Form I have two Blocks
    2) In the first, I use a text Item for the customer code, with the required property set to true and with a trigger WHEN-VALIDATE-ITEM
    3) In the second block, I use a button that call the 'show_lov' function in order to display the list of the customers.
    If the focus is out of the first block, I can use the button without problems.
    If the focus is on the customer code Item and I try to use the serch button, the alert message "Field required" is displayed and I don't be able to use the function in the button.
    Exist a method in order to use my button when the focus is in the required customer item?
    If Yes, how can perform this ?
    I hope...
    Best Regards
    Gaetano

    When you set Required = Yes, you're telling Forms not to allow the user to navigate away from the item until they enter a required value. That's the way Forms is designed.
    If you don't like that behavior (and I'm one that doesn't), I rarely use Required = Yes. Instead, I write the code to check for a required value in the PRE-COMMIT trigger. If the item doesn't have a value, I set focus to the item, and then issue a RAISE Form_Trigger_Failure.
    I'm sure there are other ways to do this, but that is just one technique.

  • How to use Flash buttons/animation in a Swing/Applet?

    Hello,
    I want to use flash button as like as JButton that we use in Swing/ Applet. How can I do So?
    Please help me.
    Thanks-

    [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]
    Or maybe just...
    import java.awt.*;
    import java.net.*;
    import javax.swing.*;
    public class Blinky {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    URL url = null;
                    try {
                        url = new URL("http://www.gifanimations.com/GA/image/animations/bodyparts/eyes/eye-01.gif");
                    } catch (MalformedURLException e) {
                        throw new RuntimeException(e);
                    JFrame f = new JFrame("Blinky");
                    f.getContentPane().add(new JButton(new ImageIcon(url)));
                    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    f.pack();
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
    }

  • How to use customised buttons in the menus

    Hi John,
    In the forms menus i have seen some customised buttons in some of the wrkforce forms. I would ike to knw how to enable these buttons.
    For example in form to add a TBH in menu there is a button ADD. How can we put those buttons.
    And also, there is button VALIDATE in the form where we have GO button. How to populate it. Even when the validate button is clicked, there is a popup menu saying that the entered amount is more than the budgeted amont. Is this done using the alerts?
    Please help regarding these issues

    Hi,
    I take it you are talking about when you right click and a menu appears.
    This is achieved by menus, Administration > Manage menus
    Or read about it here > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/menus.html
    I think the example you talking about is menu "WFPMenuNewHires", if you want to know how it works you can edit it.
    It basically runs a business rule when you select an option like "Add To-be-hired" > Salary, you can customize the label on the buttons in the business options section of the menu set up.
    Once you have created a menu you can add it to a form when you design the form, it is part of the "Other Options" tab.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to use Radio Buttons in SAP BI 7 for a set of three fields?

    Dear SAP Gurus,
    We are using SAP BI 7. We need to use Radio button to select one field name (out of a set of three fields) which
    appeared on selection screen.
    The scenario is; we have three fields
    1) Field Name A
    2) Field Name B
    3) Field Name C
    Now, we need to select one field(using Radio button) from the above and later the report related to the above
    selected field should be displayed.
    The three reports will be as follows:
    1) Report A
    2) Report B
    3) Report C
    if Field Name A  is selected then Report A  will be displayed,
    if Field Name B  is selected then Report B  will be displayed and
    if Field Name C  is selected then Report C  will be displayed.
    To display the report we have two cases;
    1) There will be a common selection screen and all the three reports will come in single workbook but in seperate worksheet.
    2) There will be a common selection screen and all the three reports will come in same worksheet, one after the other.
    Is it possible to create the report in this manner, if yes, please suggest the steps.
    Regards,
    DV.

    I think you would just use commands to do the following:
    1. Hide report Analysis Item 2 and Analysis Item 3 if the 1st button was pushed.
    2. Hide report Analysis Item 1 and Analysis Item 3 if the 2nd button was pushed.
    3. Hide report Analysis Item 1 and Analysis Item 2 if the 3rd button was pushed.
    Hope that helps...

  • How to use Radio buttons in WAD to select different condition in a query

    Hi Guru,
    I am new to WAD, I want to use radio buttons in selection screen of query for different selections based on selection criteria. I am aware of executing different queries using different radio buttons. but i want to use single queries for different radio button selections.
    I have found some relevant topic to it but not got exact solution. Please guide me.

    Hi Avinash,
    Drag a DropDown webitem into your template. Under DropDown webitem properties, Data Binding -> Fixed List of Options.
    Fixed Option -> Action -> Command via Command Wizard, Command -> Commands for Data Providers -> Data Provider Commands for Filter Values -> SET_SELECTION_STATE_SIMPLE. Data Provider Affected -> choose the main DP Query here. Characteristic -> choose Employee Group characteristic here as present in your DP Query. Sign -> INCLUDING, Operator -> EQUAL_SELECTION, Equals -> MEMBER_NAME, Member Name -> specify the value here i.e. Employee1 etc.
    Repeat above Fixed Option step for Employee2, Employee3 etc. selections. For 'All' option choose Command CLEAR_SELECTION_STATE with Data Provider Affected as the main DP Query & Characteristic as Employee Group.
    --Priya

  • Satellite A210 - How to use muldimedia buttons with other than Media Player

    Hi,
    is it really not possible to use the Multimedia Buttons (Play, Pause, FF) on the top of my notebook for another application than the Windows Media Player?
    Is there any reason for this? I would like to control Winamp with this buttons.
    It seems quite sensless to restrict the acces to ONE application of HUNDREDS available, an then this one is the Media Player which is not used by the most people.
    I have the Satellite A210 Notbook.
    Can you tell my how to control my winamp with this buttons?
    Greetings from Robert

    Hello Robert
    Unfortunately there is no solution at the moment. If you check this forum you can find several very interesting threads about multimedia buttons and Winamp player. The fact is that some people have found solution for older notebook models running WXP. Winamp has offered plugin that must be installed.
    Now we have new situation. Your notebook runs newest Vista OS and I didnt find any plugin that can help. Problem is that your notebook is designed for Windows Vista and preinstalled OS contains all necessary plugins for running Windows media player as a part of preinstalled operating system.
    It is no kind of restriction. With preinstalled OS you can do what you want and if you can find a way to change it do this. You know very well that there are hundreds of different players on the market. You cannot expect that Toshiba take a time and create a plugins for all of them and satisfy the customers all over the world.

  • How to use selection buttons in an ALV created without abap objects?

    Hi, I use an alv created without ABAP Objects to show some information. Can I introduce inside the alv, the top buttons to select all rows / none row? And the second question, how may I introduce lateral buttons in the ALV to select indidividual rows?
    Thanks!

    HI
    i think you use REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY FMs.
    Try to calling the function in this way
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
    *      I_INTERFACE_CHECK              = ' '
    *      I_BYPASSING_BUFFER             =
    *      I_BUFFER_ACTIVE                = ' '
           i_callback_program             = 'YOURREPORT'
           i_callback_pf_status_set       = 'SET_PF_STATUS'
           i_callback_user_command        = 'USER_COMAND'
    *      I_STRUCTURE_NAME               =
           is_layout                      =  ls_layout
           it_fieldcat                    =  fieldcat
    *      IT_EXCLUDING                   =
    *      IT_SPECIAL_GROUPS              =
    *      IT_SORT                        =
    *      IT_FILTER                      =
    *      IS_SEL_HIDE                    =
    *      I_DEFAULT                      = 'X'
           i_save                         = 'A'
          is_variant                     = gt_variant
          it_events                      = event_tab
    *      IT_EVENT_EXIT                  =
    *      IS_PRINT                       =
    *      IS_REPREP_ID                   =
    *      I_SCREEN_START_COLUMN          = 0
    *      I_SCREEN_START_LINE            = 0
    *      I_SCREEN_END_COLUMN            = 0
    *      I_SCREEN_END_LINE              = 0
    *    IMPORTING
    *      E_EXIT_CAUSED_BY_CALLER        =
    *      ES_EXIT_CAUSED_BY_USER         =
           TABLES
             t_outtab                     = tb_output
          EXCEPTIONS
            program_error                  = 1
            OTHERS                         = 2.
    ENDFORM.                    " LISTA
    where
    'SET_PF_STATUS'
    'USER_COMAND'
    are two form like this.
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZSTANDARD'. " EXCLUDING rt_extab.
    ENDFORM.                               " SET_PF_STATUS
    FORM user_comand USING r_ucomm     LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&CPR'.
        WHEN 'YOUR CODE FUNCTION'
    endcase.
    I hope it can help you.
    Bye
    enzo

  • How to use Labview ""buttons"" to functioning the program?

    i'm trying to use the ok button to operate the program to add the value in the  cluster X Y (millemetre) [which is from the machine vision operation] with the value X Y offset [which i gonna input them myself] but .. i dont' know how to make it done , now i'm trying to use event structure but it's not working
    plz give me some advice thanks ... by the way i'm got to make this thing done by 3 days due to my project schedule ... thank you
    also this software is to locate the orientation for robot to grip the object by using CCD camera
    Message Edited by NuMetal on 01-04-2010 10:55 AM
    Message Edited by NuMetal on 01-04-2010 10:55 AM
    Solved!
    Go to Solution.
    Attachments:
    Project1.vi ‏97 KB
    1.jpg ‏92 KB

    Place the Event structure inside a while loop. Have a look at some of the examples that ship with LV, they for sure show this.
    Then use the value change event for the ok button (place the button's terminal in that fram to have the latching behaviour set correctly).
    You can pass the data of XY to the loop output in the same event frame to read it at the very moment, the ok button is pressed.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • How can use a button when a validation fail

    Hi,
    This is my 'scenario'
    In a form I have a button that call a LOV and an Item_code field.
    The Item_code field is validated from a trigger with a code like this:
    select Desc into Item_desc from Table1 where Table1.Id = Item_code;
    exception when no_data_found then
    DISPLAY_MESSAGE('Error Code', 'Not Found') ;
    raise form_trigger_failure;
    All work fine, but I am not be able to use the Search button. The focus is on the Item_code field and if I try to click on the button a message error is displayed.
    Please, how can resolve this problem ?

    Just do the following:
    If :Item_code is not null then
    select Desc into Item_desc from Table1 where Table1.Id = :Item_code;
    end if;
    exception
    when no_data_found then
    :Item_code := NULL;
    :Item_desc := NULL;
    DISPLAY_MESSAGE('Error Code', 'Not Found') ;

  • How to use menu button on apple remote with mac mini

    I purchased a late 2012 mac mini and the silver remote. The remote automatically opens iTunes, plays and pauses songs, adjust the volume, and skips forwards or backwards just fine. I had no trouble linking it the the Mac Mini either. So we have established it is working and comunicating fine with my Mac. My question is: what the heck is the "menu" botton for and can I use it with my Mac Mini? I'm using OS X 10.9.2.

    The Menu button does nothing
    https://discussions.apple.com/thread/4143595
    There are apps that will help using the remote. See:
    http://andymurkin.wordpress.com/2013/10/07/fun-with-the-apple-ir-remote-part-1-m aking-it-work/

Maybe you are looking for

  • Quantity differences in MC.D and MRN9 report

    Hi Experts, Could you please help me in understanding when there could be a difference in the quantities for a materil in reports MC.D and MRN9. Also, can you please explain briefly how the values are calculated in these reports. Best regards, Raghav

  • Streams & OID

    I can not find any good information about how Oracle Streams integrates with OID. In particular, I need to understand how the Queue and Queue agents register with OID. I have 3 Databases that I am trying to setup with Streams, 2 are OID enabled and o

  • Using iTunes in sync with Windows Live Messenger

    According to Windows Live Messenger help you can display your iTunes song information under your personal message. I was using this, then started using Windows Media Player because I had music that was protected and would only play on Windows Media P

  • Alias required in SELECT list of cursors to avoid duplicate column names

    I got some error messages while compiling the following. DECLARE      alert_id                              NUMBER;      CURSOR cur_search IS SELECT c.item_description,      d.name modelname,      SUM(b.quentaty),      SUM(b.balence)      FROM      i

  • Installing .exe files?

    Is it possible to install .exe files on my MAC? There are a couple of programs that are designed for Windows (Why, I shall never know) that I very much need to run but cannot find Mac versions of. Is there some software I can get that will allow me t