Changing of Application ToolBar pushbutton  base on the tab.

Hi,
I have a tabstrip with 2 tab. When the user come to the first screen ( 1st tab) the application toolbar will show 3 pushbutton, when the user select 2nd tab, the application toolbar must change to 2 pushbutton. 
When the user click back on the 1st tab, it will show the 3 pushbutton again in the application toolbar. How to achieve that?
Regards,
Rayden

Hi Rayden ,
I am giving you an idea, just try this, in the mean time I will prepare a code for you and 'll post. What I understood is you want to display 3 Buttons in the application tool bar for the Tab 1 and 2 for the Tab 2.
Just declare an internal table with type sy-ucomm.
<b>Data:itab type standard table of sy-ucomm.</b>
Now you 'll be having one screen say 1001 in which two subscreens 0101 and 0102. For the screen 1001 create all the 5 (3+2) buttons.
Say you have a button called SAVE and function code is SAVE also.
<b>Append save to itab.</b>
Now when user will select the tab1 check the ok_code and in the PBO section for the screen 1001 you have to set the PF status as below.
In that case suppose you don't want to display the SAVE button so what you have to do is
<b>set pf-status 'PF_1001' excluding itab.</b>
So you have to just write a logic to handle this scenario with tab2 also.
Hope this would help you.
Cheers
Somnath

Similar Messages

  • At times, the type in the bookmarks toolbar as well as the tabs changes to white with a drop shadow on a white background, making it very difficult to read. I do not know what it causing the colors to change. Is there any way to fix this?

    At times, the type in the bookmarks toolbar as well as the tabs changes to white with a drop shadow on a white background, making it very difficult to read. I do not know what it causing the colors to change. Is there any way to fix this?

    quick test based on screendump from your picture
    1: hue & saturation : master sat -100
    2:levels : input white=67
    OK ?

  • Illustrator's font is different for some reason and hard to read, I need to change it so i can read all the tabs and file names. Like file, edit, options, type, select, effects..... swatches, layers.. every tab is in a different font that is hard to read

    Illustrator's tabs are all in a different font that I can read.
    I need to know how to change it so I can get back to a steady workflow.
    For example..
    File, edit, options, type, select,  effects, view, windows, help..... pathfinder, layers, swatches, stroke, and the file name (all the tabs)
    are all in a different font, I don't know how it got changed but now it is different.
    This is a shared computer so someone might have changes it on accident but I'm not sure.

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Creating a push button in the application toolbar-----vvvv urgent...

    Hi,
    I have already created in the program.
    The addl. requirement is to create a pushbutton after displaying the output .
    Can anybody tell the procedure on how to create a pushbutton in the application toolbar.
    Plz send the relevant code also to download the output in to the excel sheet.
    Regards,
    Sree
    Edited by: sree on Feb 18, 2008 10:09 AM
    Edited by: sree on Feb 18, 2008 10:13 AM

    Sree,
      If you are using ALV report:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
             EXPORTING
                  i_callback_program       = ws_repid
                  i_callback_pf_status_set = 'GUI_STAT1'
                  i_callback_user_command  = 'STAT'
                  is_layout                = gs_layout
                  it_fieldcat              = i_fieldcat[]
                  it_sort                  = wa_sort1
             TABLES
                  t_outtab                 = i_zaw_pol_plan.
    *--Setting Status of output screen
    FORM gui_stat1 USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'STANDARD1' EXCLUDING rt_extab.
      SET TITLEBAR text-005.
    ENDFORM.
    Double click on status 'STANDARD1'.
    Expand the Application toolbar-->press ctrl+f1 for change mode -
    >add your  buutton name --> double click on name add text name button icon  --> save it.
    In classiccal report also Add set pf status
    same like above

  • Menu bar and application toolbar

    is there a way to change item text on menu bar and application toolbar  eg in business partner overview(T-Code fmcacov) i want to change text 'Business Partner" to "tax Payer" on both menu bar an application toolbar. i have tried the norma way of going to change the screen but when i am on the GUI status its not going to change mode even sfter entering the access key

    Hi ,
    Open the program and click on GOTO=>ATTRIBUTES.
    Change the text to the heading which you want.
    SAVE & ACTIVATE.
    Regarding opening in change mode, the steps you have carried out are correct.
    You need to comment the existing gui-status by placing cursor on that line & click delete.
    Then click on INsert button and add new gui-status.
    Best regards,
    Prashant

  • Disable selection screen application toolbar button

    Hi All,
    Could you please let me know how to hide or disable application toolbar pushbuttons in the selection screen default screen 1000??
    Thanks & regards,
    Santhosh

    Hi,
    Try this way.
    "Create table for function codes
    DATA: it_exclude TYPE TABLE OF sy-ucomm.
    PARAMETERS: r1 RADIOBUTTON GROUP gr1 USER-COMMAND uco1,
                r2 RADIOBUTTON GROUP gr1.
    INITIALIZATION.
      "Create two buttons with function codes FCODE1 and FCODE2.
      SET PF-STATUS 'MY_GUI'.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        APPEND 'FCODE1' TO it_exclude.
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = 'MY_GUI'
          TABLES
            p_exclude = it_exclude.
      ELSE.
        REFRESH it_exclude.
      ENDIF.
    Thanks
    Venkat.O

  • Button on report selection screen application toolbar

    Hi,
    I want to place Button (application tool bar)on report(executable program) selection screen.
    Need your valuable suggestions.
    Thanks,
    Sreedevi

    hii
    1. create GUI status with "Status" name and "Short text"
    2. Now a screen will appear with the following,
                    a. Menu Bar
                    b. Application tool bar
                    c. Function keys
    3. Click the down arrow near the application toolbar
    4. Enter the function code like SAVE, EXIT, etc., You
    can also give ur own meaningful naming convention .
              For example ( ZTEST)
    5. Now press enter, it will ask for "Static text" or "Dynamic Text". Choose Static text and press enter
    6. Now it will ask for function text and Icon name. Specify some function text ( what it does ) and Icon name u want to attach.
    7. Press enter. It will ask for function keys. Specify a function key and press enter.
    8. Now u can handle this function code (ZTEST) either in PBO/PAI like IF FUNCTION = ZTEST ...ENDIF
    Note:
    Don't forget to set the GUI status u have created in PBO event.
    Example code to set PF status.
    PROCESS BEFORE OUTPUT.
    MODULE liste_initialisieren.
    MODULE setstatus_0100.
    LOOP AT extract WITH CONTROL
    tctrl_ztufi_league CURSOR nextline.
    MODULE liste_show_liste.
    ENDLOOP.
    In the above MODULE setstatus_0100 do the following,
    SET PF-STATUS 'ZGUI'. ( The GUI status u have created).
    Check this:
    <b>http://www.sapdevelopment.co.uk/reporting/selscr/but_appbut.htm</b>
    <b>http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    Re: How to add push buttons in out put screen of ALV
    http://www.planetsap.com/Tips_and_Tricks.htm</b>
    Regards
    Naresh

  • User exit to modify FI Tcode FD02 Application toolbar

    HI GURU,
    currently i am working on a migration project. we are migrate to ERP 6.0 from R3
    after migration, one of the button that customize by previous consultant is disappaeared.
    i want to know is there any way to modify FI Tcode FD02(change customer: ) Application toolbar, what i need to do is add a button that next to standard button(General Data / Company code Data)
    many thx
    HOWARD

    Hello Howard,
    I seem to have found a user exit in the transaction FD02, its : SAPMF02D. Hope this works for you.
    Regards,
    Manish.

  • Not enough space for items in application toolbar...

    Hello Gurus,
    We a ALV report where we have more then 35 items in Application toolbar. It seems that in standard application toolbar, there cannot be more then 35 items in application toolbar.
    What is the option so that I can have more tehn 35 buttons in application toolbar of ALV ?
    Is there a way (maysbe some object oriented way) so that I can have multiple lines of application toolbar or have more then 35 buttons in application toolbar ?
    Regards,
    Jainam.
    Edited by: Jainam Shah on Mar 18, 2009 6:57 PM

    If you are using OO for alv then you can make toolbars into GROUPS
    class lcl_event_receiver_grid implementation.
      method handle_toolbar_0100.
        clear ls_toolbar.
        move 3 to ls_toolbar-butn_type.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 'DETAIL_MENU' TO ls_toolbar-function.
        move icon_detail TO ls_toolbar-icon.
        move 'Switch to STC...'(101) to ls_toolbar-quickinfo.
        move 2 to ls_toolbar-butn_type.
        move space to ls_toolbar-disabled.
        append ls_toolbar to e_object->mt_toolbar.
      endmethod.                             " handle_toolbar_0100
      method handle_menu_button.
        if e_ucomm = 'DETAIL_MENU'.
          call method e_object->add_function
                      exporting fcode   = 'YSTC'
                                text    = text-100.
        endif.
      endmethod.
    and
        set handler event_receiver_grid->handle_toolbar_0100 for grid1.
        call method grid1->set_toolbar_interactive.
        set handler event_receiver_grid->handle_menu_button for grid1.

  • How can i fix the tab overlapping when i change the width of the url bar with #urlbar-container [focused]?

    I want to create for myself the most minimalistic browser experience as possible and i've put the most used features in the title bar. For purposes of space i had to fix the width of the url bar to a minimum and my intention is to increase it to a fixed width only when #urlbar-container [focused]. The problem is that #urlbar-container will overlap the existing tabs instead of shrinking their space, making it look really bad. It looks wonderful with #urlbar-container:hover, but i can't use that since whenever i want to refresh the wesbite using the button the width of the container will increase moving the button from the place i had the mouse in the first place to click it.
    Fixed width of the url bar when #urlbar-container is not focused:
    http://imagizer.imageshack.us/v2/800x600q90/829/xo4o.png
    Fixed width of the url bar when #urlbar-container [focused]:
    http://imagizer.imageshack.us/v2/800x600q90/34/8o36.png
    This is the css i have for the url bar at the moment:
    <pre><nowiki>#urlbar-container {max-width:225px!important;}
    #urlbar-container {min-width:225px!important;}
    #urlbar-container {transition:0.7s!important;}
    #urlbar-container [focused] {max-width:500px!important;}
    #urlbar-container [focused] {min-width:500px!important;}
    #urlbar-container {transition:0.7s!important;}
    #urlbar {border-top-right-radius:10px!important}
    #urlbar {border-bottom-right-radius:10px!important}</nowiki></pre>

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I just upgraded to Firefox4 on my Mac and the tab bar is now at the top of the browser. I want it below the toolbars and the bookmarks tool bar. How do I move it?

    I just upgraded to Firefox4 on my Mac (with Snow Leopard)and the tab bar is now at the top of the browser. I want it below the tool bars and the bookmarks tool bar. How do I move it?

    Command-click on a toolbar then click on the "Tabs on Top" entry to de-select it.

  • Is there a way to move the tabs bar back where it was in the older version, meaning under the address bar?

    When I downloaded Firefox 4 my tabs bar moved to the top and I hate it there. I like where it was in the previous version. Is there perchance a way to move it underneath the address bar again? Thanks in advance.

    Right-click on a toolbar, then click on the "Tabs on Top" entry to de-select it.

  • Can I move the tabs further down the screen as in V3

    Open tabs are now at the top of the screen in V4 rather than further down in 3.16.6. This is a nuisance for me as I have a dell status bar at the top of the screen which keeps popping up every time I try to go to one of the opened tabs. Can I move the live tabs down screen at all?
    Also where is the quick click for home page?

    Right-click on a toolbar, then click on the "Tabs on Top" entry to de-select it.
    The home page icon by default has moved to the right hand side of the navigation toolbar. If the home button is not displayed, used the method in the following link to add it to the toolbar - https://support.mozilla.com/kb/How+to+customize+the+toolbar

  • Displaying a Push button in the application toolbar for an ALV report

    Hello everyone,
    Query:
    Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
    On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?

    Yes u can have pushbutton on application toolbar.
    You just have to use the new pf status in your report program.
    You should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 >Programming SubObjects> Gui Status.
    Execute this transaction to get to next screen. select status using checkbox. click on GUI Status --> Copy.
    Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple.
    Then you can edit the new status to add or delete buttons. This will also bring in the standard SAP ALV functionality.
    Have a look at below code for using the new status.
    TYPE-POOLS: slis.
    DATA: i_qmel LIKE qmel OCCURS 0.
    data v_repid type repid.
    SELECT * FROM qmel INTO TABLE i_qmel.
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = v_repid
    I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    i_structure_name = 'QMEL'
    TABLES
    t_outtab = i_qmel
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'TEST'.
    endform.
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
    data lv_ucomm type sy-ucomm.
    lv_ucomm
    = sy-ucomm.
    CASE lv_ucomm.
    WHEN 'BUTTON'. "Double Click line Item
    **Write ur functinality here
    endcase.
    endform.
    Also have a look at below links.
    http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    ALV report
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Adding pushbutton in application toolbar of HR programs  using LDB

    Hi all!
    I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
    Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
    But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
    The same question is already posted in SDN but no reply.
    Please provide your suggestion.
    Thanks,
    Rajan U

    Hi all!
    I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
    Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
    But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
    The same question is already posted in SDN but no reply.
    Please provide your suggestion.
    Ive found this keyword: SELECTION-SCREEN FUNCTION KEY n [ldb_additions].  Will this be useful??
    Thanks,
    Rajan U

Maybe you are looking for

  • Problems with syncing - unable to add music to ipod

    hi just got my ipod and tried to load 3.4gb of music to my 2gb ipod nano. Itunes said it was too big and and created a playlist based on my prefernces to fit and behann syncing to ipod. I did not want this and pulled the usb cable. I then deleted all

  • Characters(Polli) Problem

    Hi All, I am extracing the data Quality notification items using 2lis_05_q0item data source.   I am loading the data From Ods To Cube. Both are sucessfully loaded with the data.But description of Item text FETXT(ZWFETXT) field  data Problem in bw sid

  • What will SQL execution Time of the information fatching and cost to Oralce

    Hi I would like to this information from oracle EBS and also know the process of fatching the information 1) Product and invoice No 1.     01 – Asia 2.     02 – India 3.     03 –West Zone 4.     04 – Maharashtra 5.     05 –Customer Group X 6.     06

  • Restoration at sql 2005 from sql 2000 backup.

    Hi experts, Is it possible to restore a backup taken from sql 2000 database to sql 2005 database? And how about attaching datafiles of sql2000 into sql 2005 server? Thanks and Regards, Amit Jana.

  • Custom Live Tiles for Third Party Apps

    Hello, how can I create custom live tiles for third party apps? There are a lot of applications which can pin live tile which starts another app - for example Facebook. How can I do that?