Dynamic Button Creation in list toolbar

Hi all,
I have a requirement to add dynamic button in list guibb.
I have a ovp floorplan in which I used tabbed uibb. In tabbed uibb I used list uibb.
Now I want dynamic button in list toolbar.
Please give some suggestion which help me in achieving this.
Thanks & Regards,
Jitendra Sahu

Hi Julia,
Thanks alot for the reply.Currently the toolbar is configured in the configuration and i'm generating the buttons from the method. Is there any way possible in case i want to over write the toolbar from the configuration and create a static toolbar with necessary grouping? Please let me know in case there is any work around i can try.
Thanks again.
Regards,
Ravi.

Similar Messages

  • Dynamic Button creation and alignment on standard OIF toolbar

    Hello Experts,
    I'm using IF_FPM_CNR_OIF->define_button method to create buttons which i require on the application toolbar of OIF dynamically. I can observer that all the buttons which got created are aligned next to other where the grouping is left aligned.
    Now my requirement is, i need to group few of the buttons as left aligned and few buttons right aligned (which means that few buttons are starting from the right end of the toolbar and few to be from the left side). Can any one advice on how to achieve this?
    Thanks alot in advance,
    Regards,
    Ravi.

    Hi Julia,
    Thanks alot for the reply.Currently the toolbar is configured in the configuration and i'm generating the buttons from the method. Is there any way possible in case i want to over write the toolbar from the configuration and create a static toolbar with necessary grouping? Please let me know in case there is any work around i can try.
    Thanks again.
    Regards,
    Ravi.

  • Shifting result list toolbar button position

    Hi,
    Is there any way to shift the search result list toolbar button position (in my requirement it's towards right) ?
    Thanks
    Edited by: Ginger on Apr 29, 2011 10:31 AM

    Hi Ginger,
    I don't believe this will be easy, since the resultlist right side of the toppart is used for system buttons such as the Excel download, Graphics and personalize buttons.
    This is embedded in the definition of the THTMLB classes and thus best not changed.
    I don't see another option.
    On the overview page it would be possible, since there it uses the Toolbar related methods such as:
    IF_BSP_WD_TOOLBAR_CALLBACK~GET_SYSTEM_BUTTONS
    this method contains all the system buttons of the OV page such as Print, Personalize, etc.
    by redefining this method you should be able to add your own buttons, but this is not a solution for your question.
    hope this clarifies a bit.
    KR,
    Micha

  • Creation of satic and dynamic buttons in a view

    Hi,
    I have created a dynamic button using the code..
    DATA: lr_container TYPE REF TO cl_wd_uielement_container,
            lr_button TYPE REF TO cl_wd_button.
      CHECK first_time = abap_true.
      lr_container ?= view->get_element( id = 'ROOTUIELEMENTCONTAINER' ).
      cl_wd_matrix_layout=>new_matrix_layout( container = lr_container ).
      lr_button = cl_wd_button=>new_button( id         = 'BUTTON'
                                            text       = 'My Button'
                                            on_action  = 'ACTION' ).
      cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_button ).
      lr_container->add_child( the_child = lr_button ).
    its working fine and iam able to see the button .....but when i create another button thorugh layout design its going for dump....whats the reason .?
    Cant we create static and dynamic buttons at a time?
    Thanks,.
    Shailaja Ainala.

    Hi Shailaja,
    Yes you can add static and dynamic ui elements together in the same view.
    The possible problem here could be the way in which the ui elements are added.
    You have created the dynamic button under the root container uielement.
    What about you static button ? Check your layout and layout data property.
    Thank You,
    Radhika.

  • The "Go back one page" button on the Navigation toolbar doesn't work on certain web pages.

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    The "Go back one page" button on the Navigation toolbar doesn't seem to work on certain pages. On clicking this button, the focus stays on the same page and does not move to the previous page. The previous page does not appear even in the right-click context menu of the Back button. However, I am able to go back one page using Internet Explorer.
    == URL of affected sites
    ==
    http://justdial.com/
    http://southernrailway.gov.in/sr/indexhome.jsp
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Kaspersky URL Advisor
    9.0.0.736
    true
    [email protected]
    Java Console
    6.0.14
    true
    Java Console
    6.0.17
    true
    Java Console
    6.0.20
    true
    McAfee SiteAdvisor
    3.1
    true
    Java Quick Starter
    1.0
    true
    [email protected]
    Download Accelerator Plus (DAP) extension
    9.4.0.5
    true
    Adblock Plus
    1.2
    true
    DownloadHelper
    4.7.3
    true
    FEBE
    6.3.3.2
    true
    {4BBDD651-70CF-4821-84F8-2B918CF89CA3}
    Flagfox
    4.0.6
    true
    {1018e4d6-728f-4b20-ad56-37578a4de76b}
    Lazarus: Form Recovery
    2.0.5
    true
    [email protected]
    WeatherBug
    2.0.0.4
    true
    {3EC9C995-8072-4fc0-953E-4F30620D17F3}
    WOT
    20100503
    true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.places.importBookmarksHTML
    false
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1276949273
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Office Plugin for Netscape Navigator
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Winamp Application Detector
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Provides additional functionality on Facebook. See our web site for details.
    *Shockwave Flash 10.0 r22
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Picasa plugin
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.40818.0
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    Try to open the right-click context menu of the Back button and see if you can go back further.
    The current active entry in that list has a bullet in front of it.
    If you hover an entry in that session history list then it shows the direction by adding an arrow at the left.
    You can left click an item to open it in the current tab or middle-click or Ctrl left-click an entry in that list to open that link in new tab, just like you can with other links.

  • In 4.0.1, is it possible to move the Bookmarks Button on the Bookmarks Toolbar to a different position on the Bookmarks Toolbar from it default position on the far right?

    The default Bookmarks Button is on the far, upper right side of the browser window on the Bookmarks Toolbar. It's distracting there, on the edge, in Siberia. I use it a thousand times per day. It's unnatural and distracting to always be turning to the edge, away from "the action". Is there any way to slide its location on the toolbar? Or at least put it on the far left where there's more "action"? I doubt I'm the only one with this instinct, otherwise the Firefox button and items on the usual menu bar (like File, Edit) would not always be placed on the upper left, not upper right. I'm not asking about the other, optional Bookmarks Button that can be put on the Navigation Toolbar which functions differently and more cumbersomely.

    To move the bookmarks button on the Bookmarks Toolbar, you have to go into Customize first. Just drag the button palette to one side so you have full access to the bar. The only things on it should be "Bookmarks Toolbar Items" and the icon for the bookmarks drop-down list. Hopefully then you can swap their positions.
    (And it is weird that the buttons look the same when one shows a menu and other opens the Bookmarks Sidebar.)

  • How to add a button in a list uibb

    Hello Volks,
    I need help.
    I have to add a Button ( or just events to a button ) to a list uibb dynamically at runtime, which means I can't use the ~get-definition method.
    This means I have to do it in ~get-data. I can define my actions there and add them to ct_action_usage but I can't come up with a way
    to assign them to the button.
    Does anyone have any idea how that might work?
    Thanks in advance.
    Mike

    Hi Micheal,
    We can achieve the required functionality in get_data method. First,Create the button and assign it to concerned action ( initially defined in GET_DEFINITION method ) at UIBB configuration. Now in case if you want it hide it at start up ,& have to modify based on a event ,the  visible parameter of the CT_ACTION_USAGE can be used to achieve it.
    VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-NONE. " To hide the UI concerned to method
    VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE." TO show the UI concerned to the method.
    In your case , following code will help accordingly. I have changed the visibility of button based on a event, initially I have disable the button and based on certain event I have enabled it again.
    data ls_act_def like line of ET_ACTION_DEFINITION.
       ls_act_def-ENABLED = 'X'.
       ls_act_def-ID = 'ADD'.
       ls_act_def-TEXT = 'Add a row'.
       ls_act_def-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
       append LS_ACT_DEF to ET_ACTION_DEFINITION.
    endmethod.
    method IF_FPM_GUIBB_LIST~GET_DATA.
    IF IV_EVENTID->MV_EVENT_ID EQ  'FETCH_DATA'.
      field-SYMBOLS: <fs_field> like line of CT_ACTION_USAGE.
        loop at CT_ACTION_USAGE ASSIGNING <FS_FIELD>.
          case <FS_FIELD>-ID.
          when 'ADD'. " name of the field
              <FS_FIELD>-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
                EV_ACTION_USAGE_CHANGED = ABAP_TRUE.
          ENDCASE.
          ENDLOOP.
    ENDIF.
    endmethod.
    Regards,
    Harsha

  • Add button in "Due List for Purchasing Documents" Screen

    Dear All,
    I need to add one button on "Due List for Purchasing Documents" Screen in customer view. Can you please suggest BADI for adding this button.
    Thanks

    Button to be added on toolbar.

  • Add a button choice on alv toolbar in wda

    Hello Experts,
    I want add a button choice on alv toolbar. I already insert the choice button indeed I see the button correctly.
    Now I want insert the list of action with the following code:
    <<
    >>
    With this code my web-interface retuns this message: "500 SAO INTERNAL SERVER ERROR. ERROR ACCESS via null object reference not possible. (termination rabax_state)". The dump is in "cl_wdr_utilities=>construct_mime_url".
    Do you have any ideas? Do you have any examples?
    Thanks in advance.
    Best Regards,
    Marino

    Hello,
    the problem isn't "the line set_image_source". The problem was the order, the correct order is:
    <<
    CREATE OBJECT lr_button_choice.
         lr_button_choice->set_image_source( 'ICON_CHANGE' ).    "#EC *
         lr_button_choice->set_text( value = 'Modifica' ).
         lr_button_choice->set_tooltip( value = 'Modifica Attributi').
    CREATE OBJECT lr_menu_action_item
           EXPORTING
             id = 'MOD_NOTE'." TYPE REF TO cl_salv_wd_menu_action_item.
         lr_menu_action_item->set_text( 'Note').
         lr_button_choice->add_choice( EXPORTING  value = lr_menu_action_item ).
         CREATE OBJECT lr_menu_action_item
           EXPORTING
             id = 'MOD_CONTO'." TYPE REF TO cl_salv_wd_menu_action_item.
         lr_menu_action_item->set_text( 'Conto').
         lr_button_choice->add_choice( EXPORTING  value = lr_menu_action_item ).
         lr_function = wd_this->salv_incassi->if_salv_wd_function_settings~create_function( id = 'MOD')."creating the function for alv button
         lr_function->set_editor( lr_button_choice ).
    >>
    Thanks very much.
    Best Regards,
    Marino

  • Why are Add-on Buttons along with the Toolbar keep disappearing in the Firefox4,5&9?

    I arrange all the Add-on Buttons on a Toolbar created for this specific purpose(Options - Toolbar Layout - Add New Toolbar). I recently upgraded from Firefox 3.6 to Firefox 12 and that's when the trouble started.All the Add-on Buttons along with the Toolbar started disappearing.I checked if any of the add-on (one by one)is causing this problem but found nothing.But the Add-on Buttons work fine when arranged on the Status Bar(now the so called Addon Bar).
    Later I found out that this particular problem exists in all the Browsers based on Firefox's latest version(Pale Moon,Cometbird,Wyzo,Epic etc). That means something is causing this toolbar to disappear in the latest versions of Firefox(i.e., Firefox 4,5,10 and Firefox 12). So please help me to rectify this problem.I am impressed by the improvements made in the latest versions of Firefox but due to this problem Firefox has become useless for me.
    Don't tell me about "places.sqlite" "localstore.rdf" and all that shit.I've searched the whole God damned Web,Tried changing to new Profile,Deleted localstore.rdf and saw whether it will work.This is my last resort. Firefox 3.6 was a great browser.Within a span of one year you morons have jumped from Firefox v3.6 to Firefox v12! Not allowing the Extension ecosystem to stabilize.Giving no time to apps developers to catchup.The App developers have fallen behind and half of my addons are not working.You people have become an example on how to kill a great product.The guys at MS might be watching in delight the Firefox's harakiri!
    Thank You,
    Helme.

    Since I only ever put add-on buttons on the main Navigation toolbar (or the Add-ons bar) rather than my own custom bar, I haven't experienced this myself.
    Can you detect a pattern with particular add-ons' buttons (or native Firefox buttons) being removed time and again?
    In your new profile test, did you add extensions one at a time (one per restart of Firefox), or otherwise try to isolate particular add-ons as the issue? (Bugzilla has at least one example of an extension causing a problem with custom toolbars: [https://bugzilla.mozilla.org/show_bug.cgi?id=667627 667627 – divx html5 removes added toolbars]. I don't see this particular extension on your list.)
    I wonder whether some extensions now include some kind of grooming function or incompatibility that removes their buttons from custom toolbars? It would be easier to investigate with some problem examples.

  • Does UCM support dynamic page creation on contributor mode.?

    Hi All,
    Does UCM support dynamic page creation on contributor mode.
    We want to create new pages and link it into the existing pages
    is that possible?
    Thanks
    ~Hari

    You can create new secondary pages in contributor mode - you would normally do this via a dynamic list fragment though technically you could also achieve it by switching region content and creating new data files. You can then use the linz wizard to link between pages.
    If you are talking about creating new primary pages and sections in your site then you would need to use something like Site Studio Manager fragment.
    Tim

  • Push Button on a list

    Hi ,
      How can we insert a push button in a list and control it operatins.
    Regards
    Arun

    I am not sure about this, but you can give it a try.
    Try
    SET PF-STATUS '<YOUR PF-STATUS>'
    and you can add buttons in the application toolbar. Have a gut feeling, it might work. Not sure though.
    Regards,
    Subramanian V.

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • How do I add the rotate button to the main toolbar for all users

    How do I add the rotate button to the main toolbar for all users. I have a Windows 2003 Citrix farm with Adobe Reader 8. I can add it user by user but I want to add it to all users at once. All users need this rotate button,
    Thanks in advance
    ND

    Try the Reader forum. I have no clue.

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

Maybe you are looking for

  • Importing Remote Keys.

    Hi All, I am trying to Import a Table which is remote key enabled [Remote Key Mapping = Yes ]. But when i try connecting to a corresponding Remote system using Import Manager, in the " Map Field / Values"  Tab i am not able to see the Remote Key fiel

  • System variables in R/3 for the action from the portal

    Hi, How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button

  • Issues exporting out of lightroom 4

    I've recently encounterd a problem while trying to export images out of Lightroom 4.  I keep getting an error messge "File canot be written."  This is happening whether I'm exporting a Jpeg or a raw file.   Cannot figure what has happend but it's doi

  • Where has my widget icon gone

    My widget icon has disappeared.

  • Reg : BAPI in sales order

    Hi All, Am using BAPI_SALES ORDER_CREATEFROMDAT2 to create sales order am getting the sales order number the problem is when i opened the sales order the order quantity has not been updated even though i pass it, it is blank. The item data which i ap