How tho reg Event while user push on button on the toolbar

HI All,
I am using Alv tree and I add 2 specific button to the toolbar.
what I try to do is to register event for the button such as
ON_USER_COMMAND but the problem is that its not works
i am using the class cl_gui_alv_tree for tree and
for toolbarand for Toolbar   cl_gui_toolbar.
any idea which event should i use when the user
press on button on toolbar ?
Best Regards
Alex

Hi Alex,
Did you check the SAP demo program 'BCALV_TREE_04' ?
BR,
Suhas

Similar Messages

  • How do I delete my user ID photo, taken with the camera in the MacBook Pro.  It keeps appearing randomly when I sign in....even after I make changes.

    How do I delete my user ID photo, taken with the camera in the MacBook Pro (when you first buy and set up the computer...).  The photo keeps appearing randomly, even after I've changed it to a "better picture".  I can't get the change to "stick".  Anyone else having trouble with this?  Thanks!

    what OS are you using?

  • Just got a mac air and started using it. after getting it set up i migrated files from my old pc.  i did not realize that the files migrated to a different user account.  how do i delete this user account and not lose the migrated files which i need

    I just got a mac air and set it up and started using. after getting famiiar with it i migrated my files from my old pc. i did not realise that the files migrated to a new user account.  how do i delete this user account but not lose the migrated files?

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • My MacBook Pro, does not start after pushing start button. The side bar starts and stops at half way.

    My MacBook Pro, does not start after pushing start button. The side bar starts and stops at half way.

    Hy myneck,
    Happy Holidays!  The resource below may provide some steps to try if your MacBook Pro won't start.
    Troubleshooting: My computer won't turn on - Apple Support
    http://support.apple.com/en-us/TS1367
    This article discusses what to do if your Mac won't turn on. To differentiate this from a display issue, be sure that when you press the power button:
    You don't hear a startup chime.
    You don't hear any fan or drive noise.
    There is no video on your built-in or external display
    If your computer has power but doesn't display any video, it may have one or more of these similar symptoms when you press the power button:
    You may hear a startup chime.
    You may hear fan or drive noise.
    You may see a light from the Sleep LED (if your Mac has one).
    Pressing the Caps Lock key on the keyboard causes it to light. 
    If any of these display-related conditions occur, see Troubleshooting: My computer has no video instead. Otherwise, continue with this article.
    If your computer won't turn on, try each of these steps:
    Verify you have a good connection from your Mac to the wall outlet by confirming the power cord and adapter if present are securely connected and plugged in. To check if the wall outlet is working, plug in a lamp or other electrical device.
    If the wall outlet is working and you continue to have no power try another power cord or adapter if available. If it works you may need a replacement cord or adapter. 
    Note: See Apple Portables: Troubleshooting MagSafe adapters for further troubleshooting with MagSafe adapters.
    Disconnect all accessories that are plugged in to the computer, such as a printer, hub, or other mobile device.
    If your Mac supports user-installable memory, solid state drive, or hard drive, and you recently installed any of these, make sure they are installed correctly and are compatible with your computer. If possible, reinstall the original memory or drive into the computer to find out if the behavior persists afterwards.
    MacBook Pro: How to remove or install memory
    MacBook: How to remove or install memory
    Mac Pro: How to remove or install memory
    Mac mini: How to remove or install memory
    iMac (27-inch, Late 2012): Installing or replacing memory
    iMac: How to remove or install memory
    Reset the SMC.
    If you are still unable to start up your computer after trying each of these steps, visit an Apple Store or Apple Authorized Service Provider (AASP) for further diagnosis. If you plan to visit an Apple Retail Store, make a reservation at the Genius Bar using http://www.apple.com/retail/geniusbar/ (available in some countries only).Note: Diagnostic fees may apply for issues not covered under warranty or the AppleCare Protection Plan (APP).
    I hope this information helps ....
    - Judy

  • How to add a button to the toolbar of standard transaction

    hi friends
    currently i am working in IS-OIL(DS)-TSW module, in which we need to add a button to the toolbar of standard transaction(O4nm)
    can anybody help me how to proceed with this
    with regards
    s.janagar

    Hi,
    To be able to add a button to the toolbar of a standard transaction, you can use GuiXT which is a bundled solution within SAP R/3 or Netweaver.  With GuiXT, you can create your own pushbuttons within an R/3 screen or within the toolbar. You can make both the menu functions and the navigation to other transactions directly accessible with your own pushbuttons along with a new icon that you wanted to assign to the pushbuttons.
    Also, you can customize the pushbutton's size effortlessly.  And in your situation of adding it to the toolbar, GuiXT can help to set your pushbuttons automatically to fit onto the toolbar with its designer tool.
    For more information about front end changes, you can view more information about GuiXT at http://www.guixt.com/site/solutions.php
    Thank you and hope this helps!

  • I have clicked on hide inside bookmarks button then bookmarks button in the toolbar disappeared , How can I get it back ?

    I have clicked on hide inside bookmarks button then bookmarks button in the toolbar disappeared , How can I get it back ?

    Hiding the Bookmarks menu item is not a default feature in Firefox.
    Do you have a Delicious extension installed? <br />
    If so, look for that option in that extensions options. <br />
    If not, look at the extension s that you ''do'' have installed for that preference.

  • How to let the button in the toolbar more distinct when its be selected?

    hi.
    How to let the button in the toolbar more conspicuous(distinct) when its be selected?

    Chnge it's backgroung color, it's border, it't icon if has one.... Coice the way you more like.
    Abraham.

  • How to catch events on user tables forms?

    Hi all,
    Is there any way to catch the events on user defined tables' form which opens from Tools-User Tables? The form Id we get is not unique so we can't initialize the form with that ID or put it in  an If  loop for pval.formUId.
    any clues?
    Thanks in advance.....

    Hi Binita,
    The UDT form should have a form type in the format:
    110xxx
    where xxx is the value in the TblNum field in the OUTB table (eg 110015 if the TblNum field is 15).
    Therefore, you can query the OUTB table for your UDT name and get the correct TblNum value and then calculate the correct form type for your table. If you want to filter events then you'll need to run this query as your addon starts and dynamically add the correct event types and filters to your addon.
    Kind Regards,
    Owen

  • How do I put strings, which I get during runtime, in a Ring-item? And how to open a Frontpanel of a SubVI by pushing a Button in the MainVI during runtime?

    I'm very new to LabVIEW and every day I learn such a lot about LabVIEW. I did not find any example according to my problem, but I don't know how to do the following :
    In the MainVI I read different strings from file in an array (In the example below I defined them as constants. The example only shows how the frontpanels should look like).
    During a loop I calculate different values, which will be written in an array, too, and in every loop the array of values will be overwritten with the new calculated values. (string[i] belongs to value[i])
    Now, by pushing the button 'sub' during runtime, I want to op
    en the Frontpanel of a SubVI, on which you see a Ring and a numeric Indicator. Now, I want to show the strings I read in the MainVI as items in the Ring-menu. If I choose one of the items (strings) in the Ring-menu during runtime, I want to show the accordant value, which was calculated in the MainVI, in the numeric Indicator, and in every loop the new calculated value should be shown in this Indicator automatically.
    So I have two questions:
    1. How do I put the strings into the Ring-menu during runtime?
    2. How to open a SubVI-Frontpanel during runtime, and how to pass the calculated values to it?
    Every answer I accept with thanks!
    Attachments:
    main.vi ‏29 KB
    sub.vi ‏9 KB

    See the atttached vis :
    1/ Pass the string array to the sub-vi, then use a property node to replace the ring node strings
    2a/ From the subvi front panel window, rightclick on the icon, and select "Show connector". Define the connections
    2b/Set the sub vi properties (right click on the vi icon, select "VI properties... >> Window appearance..." go to "customize...", and checkmark the "Show front panel when called" item).
    3/ your main vi should run 2 separate loops in order to avoid that reading the data stops the aquisition process (if any !..), or the reverse situation.
    You should read the LV manual to find out how to create a sub-vi : there are a number a basic things to learn and to memorize...
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    main.vi.zip ‏16 KB

  • How do I get system users/groups to appear in the Workgroup Manager list?

    When I open the Workgroup Manager and select the Users tab, it only shows users set up in the Workgroup Manager -- same when I browse Groups. But, I also have a couple system users/groups set up not in the workgroup manager, but through the OS's System Preference interface for Users.
    Is there a way to automatically have System users appear in the Workgroup list?
    I also can't add users to System groups, since the groups also won't appear in the Workgroup Manager (like adding a user to the group Admin or Staff -- default system groups).
    I'd just like the option to "show System users and groups" somewhere.
    Thanks.
    Patrick

    Hi
    If I understand your post correctly then launch WorkGroup Manager and select Preferences from the WorkGroup Manager Menu. Enable the Show "All Records" tab and inspector option and click OK. In the Users/Groups/Computer tab you should now see the addition of another icon - it looks like a bullseye. Select this and under the filter field selecting 'AccessControls' will show you a long list. Scroll down and select Users. Now go back to the Users tab and you should see all users visible and invisible. You’ll see the same thing for Groups.
    You will see different Users and Groups depending which directory node you are in. In the LDAP node you should only see Directory and System Administrator as well as VPN MPPE Key Access User in addition to any user you have created within that node. In the local Net Info node you should see users such as Amavisd User, Clamav User, Cyrus IMAP User etc. You’ll also see UIDs and GUIDs amongst a wealth of other information if you select a user or group and select the Inspector tab.
    You can modify record attribute and values as well as adding your own. You can even use WGM in the same way you would use Net Info Manager locally if you wish.
    Tony

  • How can I add Internet browser back/forward buttons to the main toolbar?

    The developper of the software I'm testing manages to open
    web-pages in a window within our software. We find this a great
    feature, although it has one downside: no back/forward buttons the
    users have gotten used to thru standard Internet browsers.
    Is there any way to add these classic Internet browsing
    buttons to the main toolbar of a WebHelp output? I've noticed them
    on some other outputs (HTML-help if I'm not mistaken).
    I've noticed some similar topics in this forum, but the seem
    to discuss the browsing sequence buttons, which we find less
    usefull.
    Thanks for looking into this!
    Greetings,
    Olivier

    Hi Olivier
    Take a look at my Skinny on Skins file. There are
    instructions inside on how to accomplish this.
    Cheers... Rick

  • How to create a custom control of a button where the look will be applied to all others but not the Boolean text?

    Hi all
    I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
    I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
    How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
    Stay Hungry, Stay Foolish
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
    As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
    Kudos for being sneaky.
    I like these creative work-arounds!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • ALV grid control, Adding the push Button in the Toolbar

    Hello All,
    I am facing a problem when trying to do calculation based on the button added at the toolbar of interactive ALV list.
    When I click on the toolbar button Compute, the ALV should calculate the
    multiplication of the Qty (manually entered by a user) & price per unit already available in the ALV & show it the Column Total value.
    Presently when I try to do this using
      Method handle_user_command.
       modifying the inetrnal table GT_FINAL_OUTPUT
       with the Total price value .
       & updating the column Total price (Qty * price) in the Internal table
    After doing this  I am agin calling the below function
        CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
        i_structure_name = 'GT_FINAL_OUTPUT'
        is_layout = gs_layout
        CHANGING
        it_fieldcatalog = gt_fieldcat
         it_outtab = GT_FINAL_OUTPUT[].
    At above function it gives  short dump or sometimes it does not update the  ALV screen with the new updated value of Total price .
    The short dump comes states  the error of unassigned field symbol.
    Kindly suggest a program where we can do manipulation at the editable ALV.
    Or solution to above issue .
    Regards,
    Anurag

    You should only be calling the SET_TABLE_FOR_FIRST_DISPLAY one time in the PBO of your screen,  otherwise you should be using the REFRESH_TABLE_DISPLAY method.  IN your PBO, check that the instance of the alv_container is alive, if so, do not call the SET method, rather call the REFRESH method.
    if alv_container is initial.
        create object......
        create object g_grid.....
        call method g_grid->set_table_for_first_display......
    else.
    call method   g_grid->refresh_table_display( ).
    endif.
    Regards,
    Rich HEilman

  • How can I assign a action to a button of the many scripts in the script file.

    How can I assign one action of many actions in a script file.
    I have many actions in a script file and I want to run one of them by clicking a button on the panel. However, loading the script I can not isolate the action that interests me.

    Hello,
    Try System Preferences>Energy Saver>Options tab, uncheck Allow power button to sleep computer.
    Some possible other options...
    Control-Eject
    The dialog box "Are you sure you want to shut down your computer now?" appears with options to Restart, Sleep, Cancel or Shut Down. After the dialog appears, press the R key to Restart, press the S key to Sleep, press the Esc key to Cancel, or press the Return key to Shut Down.
    Control-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and restarts the computer.
    Control-Option-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and shuts the computer down.
    Command-Option-Eject
    Puts the computer to sleep.
    Shift-Control-Eject
    Puts all displays to sleep.
    Power button (if the computer is not responding)
    Press and hold the power button on the computer for six seconds to shut down the computer.
    http://support.apple.com/kb/ht2448

  • How do I add the email button to the toolbar when I open PDF files in Mozilla ver. 19?

    I just updated to Mozilla ver 19 and now when I open a PDF file in Mozilla the email button is no longer on the toolbar how do I add it?

    hello, firefox 19 has introduced its own integrated pdf viewer - if you want to switch back to the plugin you've used before to view pdfs just go to firefox options > applications & define the default action for the ''portable document format (pdf)''.
    [[View PDF files in Firefox without downloading them]]

Maybe you are looking for

  • Message to RIM - wish list for next version

    Hi Just some thoughts based on a couple of days of use of a playbook that my IT folks lent me. Firstly, hopefully RIM will realize that the only way this will take off is if Enterprise users really buy into it but the device lacks in certain areas if

  • Problem with table maintenance generator overview screen

    I added a field in a custom table and then used table maintenance generator to regenerate the table maintenance screen. I used 2 step to generate. The problem that I have is the field not displayed in the overview screen though it is visible in the s

  • User-exit CO11N and CO13 (for GM)

    Hello to all! I need a user-exit (or something like this) in transaction CO11N and CO13 where also the goods movements are available. In all the u201Cnormalu201D User-Exits while confirmation (CONFPP01 until CONFPP07) I have only tables like AFKO, AF

  • Error: The underlying task reported failure on exit (-9972)

    After much debackle that I posted a few days ago I finally was able to run scans with disk utility. I got this: Verifying volume “ROVER” ** /dev/disk3s2 ** Phase 1 - Read FAT Unable to read FAT (Input/output error) Error: The underlying task reported

  • Config replace issue

    I am trying to use copy replace but getting "%The input file is not a valid config file." errror message on ASR1001 platform. following is the config i am trying to replace (saved as test-config) hostname ABC-01 boot-start-marker boot-end-marker vrf