Default button activation

Hello,
On a page, I put one TextField and 2 buttons.
I have an Action Event handler for each button.
When I type some text in the TextField and press the key "enter", it is always the action event method of the first button in the "outline" window which is called.
Is there a way to indicate which action event method should be called when the user press the key "enter"?
I tried to use the property TabIndex of the buttons but it did not work.
Thanks,
Val

Did you try using the onKeyPress attribute of textfield?
Specify which button has to be clicked when the enter key is pressed.
i.e. something like <button2 client id>.click()

Similar Messages

  • Snap mouse pointer to default button doesn't work

    Dear Community,
    I own a W520 with W7professional. My mouse is the ThinkPad bluetooth Laser Mouse.
    In the mouse properties window, I've activated the "Automatically move pointer to the default button in a dialog box" option but unfortunately it seems not working.
    Any idea?
    Best Regards,
    Marco

    hey calza_mc,
    try uninstalling the mouse drivers and reinstall it.
    also, do an update on your bluetooth drivers while you're at it
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • Default button in BOV should always be #1

    I have a number of Tracks with button overlay in a subtitle stream and Button Highlight activated (cyan/yellow marker).
    The buttons are used to change audio stream during playback.
    From a menu with 6 buttons I select a Track:
    Button 1 = Track 1
    Button 2 = Track 2
    and so on.
    What happens when I play the Track(s) is this:
    Track 1 > Button 1 selected
    Track 2 > Button 2 selected
    Track 3 > Button 3 selected
    etc.
    Is it possible to always select button #1 when starting to play a Track, no matter which menu button was used?
    As it is now, the user gets confused, since the Track is setup to play audio stream 1 in a pre-script (and this works fine).
    TIA
    Message was edited by: Niklas Wikman

    Problem solved. Double-click on the subtitle in the Track and set the Default button in the Button tab in the PI.

  • Default Buttons

    Hi,
    I've got a simple application that needs a custom "search" dialog.
    I've created a subclass of JDialog and it comes up just fine...
    Basically I have a JTextField for them to put in the search, a few checkboxes for the options, and two buttons at the bottom of the dialog. The buttons are named "find first" and "find next."
    I've seen in many programs that when a dialog comes up and has several buttons, i.e. "yes"/"no", then often it will have one of them selected for you and if you hit [enter] it'll just activate that one. I would like to do this to my "find next" button, but am not sure how to do so.
    How do I make my "find next" button be the default for the dialog?
    Right now, I have an ActionListener set up on the text field so that if a user hits [enter] in the search box, the "find next" is activated. I think that this isn't the right way to go, though, since the text box has to be focused.
    Thanks,
    Jared

    I add this code in the constructor of the JDialog to support a default button when no button has focus. (Note. when a button has focus it automatically becomes the default button)
    getRootPane().setDefaultButton( findNextButton );
    FocusAdapter resetDefaultButton = new FocusAdapter()
         public void focusLost(FocusEvent e)
              getRootPane().setDefaultButton( findNextButton );
    replaceButton.addFocusListener( resetDefaultButton );
    replaceAllButton.addFocusListener( resetDefaultButton );
    closeButton.addFocusListener( resetDefaultButton );

  • Cursor becomes invisible in JTextField after using default button

    In my application there is an update screen (JPanel). I am using default button in that panel. The input field is a normal JTextField. When the update is over the cursor goes back to the input JTextField.
         Now my problem is that when I carry out update with mouse, the cursor is correctly placed into the input JTextField and is visible after the update is over. On the other hand, if I carry out the same update operation using default button (using keyboard), the cursor gets placed correctly in the input JTextfield column, but becomes invisible. If I minimize and then again maximize the window, the cursor appears back. What am I missing ? Note that I am using component.requestFocusInWindow() to get focus back to the input JTextField.
    regards,
    nirvan

    While trying to reproduce the behaviour for SSCCE, I found that it is the JOptionPane.showMessageDialog() that is causing the problem. Here is the SSCCE.
    package com.ns;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.WindowConstants;
    public class TestFocus extends javax.swing.JFrame {
        // Variables declaration - do not modify
        private JTextField field1;
        private JTextField field2;
        private JPanel jPanel1;
        private JButton reset;
        private JButton update;
        // End of variables declaration
        public TestFocus() {
            initComponents();
            setDefaultButton();
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jPanel1 = new JPanel();
            field1 = new JTextField();
            field2 = new JTextField();
            update = new JButton();
            reset = new JButton();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            field1.setPreferredSize(new Dimension(40, 20));
            jPanel1.add(field1);
            field2.setPreferredSize(new Dimension(40, 20));
            jPanel1.add(field2);
            update.setText("Update");
            update.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    updateActionPerformed(evt);
            jPanel1.add(update);
            reset.setText("Reset");
            reset.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    resetActionPerformed(evt);
            jPanel1.add(reset);
            getContentPane().add(jPanel1, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-385)/2, (screenSize.height-258)/2, 385, 258);
        }// </editor-fold>
        public void setDefaultButton(){
            this.getRootPane().setDefaultButton(update);
        private void updateActionPerformed(ActionEvent evt) {
            // TODO add your handling code here:
            JOptionPane.showMessageDialog(this,"Activity Updated Succesfully in Database.",
                                            "Information",
                                            JOptionPane.INFORMATION_MESSAGE);
            update.setEnabled(false);
            field1.setEditable(false);
            reset.setEnabled(true);
            this.getRootPane().setDefaultButton(reset);
        private void resetActionPerformed(ActionEvent evt) {
            // TODO add your handling code here:
            field1.requestFocusInWindow();
            field1.setText("");
            field1.setEditable(true);
            reset.setEnabled(false);
            update.setEnabled(true);
            this.getRootPane().setDefaultButton(update);
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TestFocus().setVisible(true);
    }If I remove the JOptionPane.showMessageDialog() method, everything works fine with mouse as well as keyboard.
    regards,
    nirvan.

  • Wrong default button in alerts when using 64-bit JRE on Windows

    Hi guys,
    I'm facing a strange problem.
    My environment:
    Server:
    OAS 10.1.2.2.0 on Linux Suse (32-bit)
    Client:
    IE8 64-bit on Windows XP 64-bit and Java 1.6.0_18 also 64-bit
    When I run a form that opens an alert-window with a default-button (button that has the focus), it sometimes happens, that not the default-button, but another button is activated by default.
    I have to repeat:
    It only happens sometimes and is hard to reproduce. Within 50 attempts it may happen 5 times or just 1 time.
    I never saw that happening with 32-bit JVM.
    Anyone else seeing this?
    br
    Michael

    Ok... here is what I see:
    1. Create a form with an alert and set button 2 as the default
    2. Run the form and display the alert. Button 2 has focus (proven by the bold solid line (shadow) and dotted line that surround the button)
    3. Open any other app (Notepad, Explorer, etc) and move focus to that app
    4. Slide this other app out of the way so that you can see the running form under it.
    5. While the other app has current focus, the buttons on the form's alert appear to lose focus (this is expected). However, now button 1 has a bold line (shadow) surrounding it. This gives the appearance that button 1 has focus.
    6. Click on the alert box to move focus back to the form. Do not click on the alert buttons.
    7. Focus lines are now redrawn on the correct button (button 2).
    This is probably not the best behavior, but certainly not something that I would call an area of concern. If what I described here is what you are seeing and you feel that this is a significant issue, I would recommend filing a Service Request with Support (assuming you have a support contract) and request that a bug/defect is filed. You will need to provide a test case and I would recommend that you provide screen shots or a video of what you are seeing. If you have not already applied all the previously mentioned patches, I would not recommend contacting Support until you do so, as this will be the first thing they require you completed anyway.

  • Don't want default buttons to appear....

    Greetings -
    Does anyone have a way to not show a default button on a menu - I'd like the menu to appear with nothing activated on any button until the user rolls over.
    Much thanks in advance.
    Best,
    Josh

    Rollovers in the flash/director ect sense not really supported in DVD
    http://discussions.apple.com/thread.jspa?messageID=1553346&#1553346
    You can make a default button that does nothing and is not highlighted so people will have a "non" button when navigating and when they navogate to the other buttons they can highlight

  • How to keep the save-button active all the time?

    Hi!
    I'm using mobile sales 4.0.
    On a tile i've only fixed questions and combo boxes with yes and no ...
    When i write manually a "yes" in the combo box field the save button is active - When i use the combo box with a mouse click the save-button isn't active.
    What are the settings i've to do to keep the save-button active all the time?
    Thanks a lot in advance.
    Best regards,
    Ingo

    Hi Ingo,
    If your combobox is a bound control, then when you change a value in it, the save button should be enabled. Strange. But anyway, you can do this.
    In the <b>combobox_OnValueChanged2</b> event, make a call to makeDirty method in the tile:
    If boundAttributeChanged Then
         <b>anchorthatyourcombotiedto</b>.bo.MakeDirty True
    End If
    This will make the Save button enabled.
    Regards, Vadim.

  • Default buttons not defaulting

    Hello. I am on the tail end of a DVD project and just begain encountering some unusual behavior with certain menus. This is a multiple-menu, multiple-video clips promotional DVD.
    Up to last week, the DVD has been working as expected in the simulator, in DVD Player (from the Video_TS folder and from a formatted disc), and in several set top players. Yesterday, though, in DVD Player from a formatted disc, the menus appear with no buttons visibly defaulted. The menu still behaves, though, as if the default button was selected (ie., if pressing "enter" activates the default button, and pressing an arrow button sends the selected state in the designated direction.) Each video asset returns to its menu with another default button, and these behave in the same way.
    I have already double-checked the connections between the buttons, menus, and videos, and they are set the way they have always been.
    - Can the preferences in DVDSP get corrupted (like they can in FCP)?
    - Can the DVDSP porject file become "bloated" or corrupted from going through too many revisions? If so, is there an easy way to put the current project into a new file?
    I expect that some people that view this disc will do so on a Mac, and I would like to clear this up if it is possible. Any ideas?
    Thank you!
    Listening,
    Aaron Kruse
    PowerMac G5, Dual 2GHz   Mac OS X (10.4.6)   3GB RAM, FCStudio 5.0 (DVDSP 4.0.3), Logic 7.2

    Aaron:
    I would try deleting all PAR and MPEG folders that DVDSP created during your authoring (inside the folders where your source files live) and make a clean build without reusing any of the previous VIDEO_TS folders. Probably some file is corrupted. If you want a FCP analogy, is like deleting your render files!
    Trashing preferences is a common preocedure . . . but like in FCP, ussually don't resolve problems. But it's like an aspirin, it will don't hurt your system. You can keep a copy of the pref file to restore in case you need.
    You could repair permissions and restart . . . just to be sure everything is cleaned in your system.
    I would try deleting all PAR and MPEG folders that DVDSP created during your authoring (inside the folders where your source files live) and make a clean build without reusing any of the previous VIDEO_TS folders.
    Probably with the specific experience in your problem psot something in the meantime!
    Hope it helps!
      Alberto

  • Pointer does not move to the default button in the dialog box

    example: when cleaning out trash the pointer does not go to the default button in the dialog box, you have to manually go there.
    This happens all the time.

    Hi Abhishek,
    In SAP this job shows completed till the 3rd step. and no error in the job log. but it does not execute the 4th and the 5th steps. And in Redwood, it shows completed for 1st and 2nd steps, 3rd step is in Error but has no error log. The 4th and 5th steps are in chained status. I have not amended the job chain after import. I have just scheduled it as it was running in the SAP system.
    Let me know if you need some further information on this.
    Regards
    madhu

  • Set default Button and provide a KeyEvent to a component with focus !!!

    What is to do ???
    I have following program:
    public class DefaultButton extends Frame implements ActionListener
         private Button close;
         public DefaultButton()
              super("Default-Button");
              setLayout(null);
              setSize(400, 200);
              setLocation(150, 100);
              setBackground(Color.lightGray);
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)
                        setVisible(false);
                        dispose();
                        System.exit(0);
              // CloseButton
              close = new Button("Close");
              close.addActionListener(this);
              close.setVisible(true);
              close.setSize(100, 30);
              close.setLocation(290, 160);
              add(close);
              setVisible(true);
         public void actionPerformed(ActionEvent e)
              String cmd = e.getActionCommand();
              if (cmd.equals("Close"))
                   setVisible(false);
                   dispose();
                   System.exit(0);
         public static void main(String [] args)
              DefaultButton wnd = new DefaultButton();
    }If I click on "Close"-button, the window will be closed. But, if the button "Close" has focus, it schold be possibile to close the window with a press on the Enter-Key? How to do it? How can I provide an KeyEvent to button "Close"?
    Tanks for any help.

    Hi pitalica!
    It is possible using KeyListener:
    public class DefaultButton extends Frame implements ActionListener, KeyListener {
    close.addKeyListener(this);
    public void keyPressed(KeyEvent e) {
    if ((e.getSource() instanceof Button)
    && (((Button) e.getSource()).getActionCommand == "Close")) {
    int kc = e.getKeyCode();
    if (kc == KeyEvent.VK_ENTER) {
    performs any action
    public void keyTyped(KeyEvent e) {}
    public void keyReleased(KeyEvent e) {}
    I hope it helps.

  • Bounded task flow not executing in a default view activity.

    Hi,
    I am practising Region to Region Interaction between two bounded taskflows in an unbounded task flow.
    I will just illustrate the theme:
    *Unbounded task flow[ DEfault view activity(view1)]*
    view1 contains Bounded task flow task 1 and task2.
    task 1 contains fragment frag1 .
    task 2 contains fragment frag2. I want to establish communication between task 1 and task2 through contextual events.
    I have created managed bean seperately for each bounded taskflow bean1 in task1 and bean2 in task2 which are in session scope that is frag1 vaues are maaped to bean1 and frag 2 values are mapped to bean2.
    I completed full flow of creating contextula events and event map too. I was stuck with errror.
    So I created an application only with default view activity containg boundsed taskflow and fragments and respective beans without contextual event and event map , so that i can make sure atleast my basicview is executing properl;y. But I failed to have result.
    Error is shown below:
    <UIXRegion> <_warn> Error processing viewId: /task1/frag1 URI: /frag1.jsff actual-URI: /frag1.jsff.javax.el.PropertyNotFoundException: Target Unreachable, 'frag1' returned null     at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    **somw lines removed since exceeding word length**
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag1' returned null     at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         **somw lines removed since exceeding word length**     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    <Feb 14, 2013 10:09:12 AM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@20743039[app:TaskR2R2 module:TaskR2R2-ViewController-context-root path:/TaskR2R2-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag13' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         Truncated. see log file for complete stacktrace
    >
    <Feb 14, 2013 10:09:12 AM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Feb 14, 2013 10:09:12 AM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Feb 14, 2013 10:09:12 AM IST SERVER = DefaultServer MESSAGE = [ServletContext@20743039[app:TaskR2R2 module:TaskR2R2-ViewController-context-root path:/TaskR2R2-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    javax.el.PropertyNotFoundException: Target Unreachable, 'frag13' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:117)
    somw lines removed since exceeding word length     
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = DS-E06995E6AA3D TXID = CONTEXTID = f03d4fb0a8f478c1:-6d1db003:13cd6f5c4ce:-8000-0000000000000039 TIMESTAMP = 1360816752931
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Feb 14, 2013 10:09:16 AM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\dineshvishnukumar-c\appdata\roaming\jdeveloper\system11.1.1.4.37.59.23\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_248 with a lockout minute period of 1.>

    The error logs point to an error in your EL that references the frag1 bean. Firstly, rather than use session scope you must consider using pageFlowScope for your managed bean.

  • How to bring mouse cursor to the default button of a dialog, like in windows

    Anybody know how to achieve this in LV?
    Please see the attached screenshot.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Automatically move mouse pointer to the default button.PNG ‏34 KB

    Dear partha,
    1) You can be able to trace out the location of the button
    2) You can be able to move the cursor to that location
    3) You can be able to automatically generate a click on that button
    Use user32.dll to achieve all this. when u use it in CLN(Call Library Node), u can c functions 4 that.
    Try and ask if further help needed!!!!!
    Thanks,
    Mathan

  • How to hide default buttons on WD selection screen

    Hi Experts,
    Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
    Please let me know how can I achieve this..
    Thanks in advance !
    Anand

    By selection screen do you mean the select-options reusable component?  If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->lv_wd_select_options =
           wd_this->wd_cpifc_select_options( ).
    * init the select screen
      wd_this->lv_sel_handler =
           wd_this->lv_wd_select_options->init_selection_screen( ).
      wd_this->lv_sel_handler->set_global_options(
        EXPORTING
    *      i_display_btn_cancel  = ABAP_TRUE    " Displays "Cancel" Button
    *      i_display_btn_check   = ABAP_TRUE    " Displays "Check" Button
    *      i_display_btn_reset   = ABAP_TRUE    " Displays "Reset" Button
          i_display_btn_execute = abap_false    " Displays "Apply" Button

Maybe you are looking for

  • Re scenarios of sales order

    How many scenarios are there like  a sales order is created     - sales order field changes like   a sales order is edited       - sales order field changes if    a sales ored is cancelled  -  sales order field changes any more scenarios how sales or

  • Ipod Nano does not appear in "My Computer" and "Itunes"

    I was charging my Ipod Nano. I erased all the songs from the nano to create a new playlist. The Ipod froze in the "Do not disconnect" phase. It was disconnected a few hours later (not intentionally). Now it has disappeared from Itunes and the compute

  • How  use XSLT maping in XI

    Hi All         I an new to XI .I need information about the XSLT maping .pls help me on this task   Thanking  u. regards, ramesh

  • Cannot run version 14.2.0.301 of the product against the newer version 14.2.1.0000 of the repository.

    Hello SCN I am new in Data Services and i have installed the BODS 4.1 SP2 Patch 4 the latest one. When i am executing any Batch JOB it is showing following error; later i investigate the issue and found this: It might be due to different versions of

  • Error in 0MATERIAL

    Hi All, When I am trying load Master data for 0MATERIAL for I am getting below error message. Maintained RSKC (Invalid Characteristics) and OMSL (Material Length) Settings in BI.   Diagnosis     Data record 33 & with the key '103-001-00003  &' is inv