Application toolbar

Hi all,
I need to disable a button in application toolbar. Can any one give the solution?Thanks in advance.
L.Velu

you can use set-pf status excluding (OKCODE), if this is a toolbar on a regular screen.  If this is in a control, you have to implement the event handle_toolbar for the control.
Albert

Similar Messages

  • 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

  • Problem with application toolbar

    Hi all
    I am facing a problem with the alv application toolbar.
    i have attached a custom  gui status to the alv but i am not able to see all the buttons created by me.
    some buttons are getting cut and i cannot see the buttons after scrolling as well
    Please suggest.

    Hi,
    U might have copied a standard PF-status into ur own status and added ur own buttons right....if it is so do not alter the std buttons sequence.......and add ur own buttons at the last.....
    also see if all de buttons are active...(red letters r inactive) activate den individually using function code button.....
    Cheers,
    jose.

  • How to call report by click application toolbar button?

    I need to know the way to call a report by click a button in application toolbar?
    BR,
    Ali
    Moderator message: next time, please (re)search yourself instead of asking basic questions.
    Edited by: Thomas Zloch on Aug 31, 2010 11:44 AM

    Hi Ali,
    Selection-screen function key is used to add push buttons on application tool bar.
    Syntax:
    selection-screen functuin key<num>
    Where num is ranging from 1 to 5.
    whenever application toolbat components are added using above statement,tables are defined in the structure "SSCRFIELDS" as "Functxt_01","Functxt_02","Functxt_03","Functxt_04","Functxt_05" for the related function key numbers.
    eg:
    Tables SSCRFIELDS.
    Selection-Screen pushbutton/10(10 lb1 user-command pb1.
    Selectiong-Screen Function key1.
    Selectiong-Screen Function key2.
    Selectiong-Screen Function key3.
    Selectiong-Screen Function key4.
    Selectiong-Screen Function key5.
    Initialization.
    sscrfields-Functxt_01 = 'first".
    sscrfields-Functxt_01 = 'fifth".
    At Selection-Screen.
    case sy-ucomm.
    When 'first'.
    Sumbit zreport.
    endcase.
    Hope it solves your problem.
    Regards,
    Amarnath S

  • Add Button to GUI STATUS Application toolbar

    Hi,
    I have to add a button in the application toolbar of a gui status. I have done that many times before, but I never got into trouble like this time....
    When I open the Gui status and the tree for the application toolbar, I can see already set buttons. When I now click on change (a modification warning comes) and press the plus-icon, it is possible to enter a new item. But everything I´m typing, I get the message Function code XXXX has not been assigned to a function key. I have never got this before....
    When I now go to SE41 and enter a new function key, I can´t use it either afterwards as a button in the application toolbar.
    In the tree of the function keys, I can´t change anything...
    What can I do here? The program name is SAPMZLCG, so it has been modified sometimes. But how can I change the GUI STATUS now to add a new button?
    Thank you!

    You need to goto the application toolbar and the add your text to the items and click below the text you will get one popup which will ask for static text and dynamic text. select statictext and then add all the information like text name and if you want to add an icon you can do it aswell. the there will be another popup for fuction attributes where you will be able to find some options loke fuction types and reaction need to select all that and then click on the ok button and save check and activate the same and after that activate and check whether the button is visible or not. once the button is visible then you need to check for the ok_code and sy_ucomm and then insert the fuctionality of the button.
    I hope this might solve your problem.

  • How can i make a vertical line in Application Toolbar when creat GUI STATUS

    I see some standard UI have a separator vertical line in the  GUI STATUS--Application Toolbar?
    Could you tell me how can i creat it in my customer  GUI STATUS?
    TKS a million~~

    Hi.
    Please try.
    1)Change mode your GUI-STATUS.
    2)menu -> Edit -> Insert -> Separator line.

  • How to perform a bottom of the application toolbar by codding?

    Hi.
    I tried to found info about this, it seems to be easy, but i couldn't found it.
    I have a ALV Report (with funtion module not OO).
    I copied a gui status from program saplkkbl status gui: standard_fullscreen.
    In the ALV i have one column editable, i could refresh the info when i push the bottom that refers the function code &REFRESH
    I add a buttom in the application toolbar, i would like to execute or perform the standard funtion '&Refresh', and after that do my own code.
    how could i do it?
    thanks!!!
    Albio.-

    Hi.
    Well... i'm doing my program like you told me:
    FORM user_command USING r_ucomm LIKE sy-ucomm
      rs_selfield TYPE slis_selfield.
      rs_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'CALC'. "buttom added by me
          PERFORM recalcula_formula.
        WHEN 'RUN'.  "buttom added by me
          PERFORM corre_batch_input.
        endcase.
    ENDFORM.                    "USER_COMMAND
    I need to execute the standard funtion bottom '&REFRESH' before my perform 'recalcula_formula'.

  • How to add a custom button on Application Toolbar for ME21N, ME22N & ME23N

    Hi Experts,
    I am new to this forum. I hope someone will help me.
    My Requirement is as :
    I want to add a new custom button on Application Toolbar for ME21N, ME22N & ME23N.
    There are already standard buttons in this toolbar which is Document Overview On, Hold, Personal Settings etc.
    So after the 'personal settings' button i want add a new button and want to write a code which will open one custom screen.
    I am not able to find any exit for this....
    Please help...
    Thanks....

    Hey Buddies
    Try below BADI : ME_PROCESS_PO_CUST
    and check with required methods.
    1)PROCESS_ITEM
    2)CHECK
    3)POST
    Regards,
    Pranav

  • Adding a button in Application toolbar of Transaction IW32

    Hi ,
    I need to add a button in the Application Toolbar of standard transaction IW32,I tried copying the pf-status and adding it in the user exit exit_saplocih_006 also,but its not working.
    Please Kindly help.
    Regards,
    Ismail.

    I think you must create a copy of IW32 ( I am not wrong in SAP lingo they say repair) for example ZIW32. And add a button relevant gui status. (I have been looking Gui status of IW32 it is have more status. you must find true status)
    If you want change original source don't forget this a patch can change your code.

  • How Do I Get Rid Of The Application Toolbar In CS4?

    I can seemingly turn everything else off. I don't want the Application Frame. I don't want the Application Toolbar. I just don't want it. My screen real estate is valuable to me and it's in the way. I can't even dock it on a side or as a tab somewhere. I need the vertical screen real estate. Where do I turn this off? And if it isn't possible--why NOT? This is a serious gripe and I'm going to see if I can scrounge up an old copy of PS. This is a waste of $700.

    I humbly submit that I was wrong. And sorry for the rant; this has been bugging me for a while. The menu item was indeed there--after I restarted PS while holding down command-option-shift. Best guess is something corrupted while/shortly after installing.

  • Buttons on  ALV Application Toolbar

    Hi,
    I have added buttons on the Application Toolbar of the ALV (in the GUI status).
    There are a lot of buttons and due to lack of space some of the buttons go out of the screen.
    Need to know if there is a way to make these buttons scrolable or in a dorp down.
    Thanks for the help.
    Karen

    Hi Karen,
    I also faced the same issue but solved it using alternative solution.
    1) Go to PF-STATUS and create a MENU BAR.
    2) Give Appropriate NAME and inside it  write FUNCTION CODE given for buttons under "Code"
    3) Appropriate description under "Text"
    4) Save and activate.
    Now,  execute the report and even if the buttons are going out of screen, you have option to select the button from MENU BAR.
    This is the best solution for this problem as far as i know.
    Also, if you re-size your window ; the you will get tabs with drop down.
    I hope this will help you in solving your issue.
    Regards,
    Rahul Mahajan

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • How to create application toolbar in modal dialog box in selection-screen

    Hi Experts,
    how to create application toolbar in modal dialog box in selection-screen?
    Regards,
    Swapnika

    Hi,
    Check the following link regarding Model dialog box and appication toolbar
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
    It helps in solving your problem.
    Thanks.
    Ramya.

  • How to deactive a button in application toolbar

    how to deactive a button in application toolbar?

    Simple example
    This example shows how to create a toolbar with a single Exit button, used to exit the program.
    Steps:
    Create a screen and add a custom container named TOOLBAR_CONTAINER
    Code:
       REPORT sapmz_hf_toolbar .
       TYPE-POOLS: icon.
       CLASS cls_event_handler DEFINITION DEFERRED.
    G L O B A L   D A T A
       DATA:
         ok_code                    LIKE sy-ucomm,
    Reference for conatiner
         go_toolbar_container       TYPE REF TO cl_gui_custom_container,
    Reference for SAP Toolbar
         go_toolbar                 TYPE REF TO cl_gui_toolbar,
    Event handler
         go_event_handler           TYPE REF TO cls_event_handler.
    G L O B A L   T A B L E S
       DATA:
    Table for registration of events. Note that a TYPE REF
    to cls_event_handler must be created before you can
    reference types cntl_simple_events and cntl_simple_event.
         gi_events                  TYPE cntl_simple_events,
    Workspace for table gi_events
         g_event                    TYPE cntl_simple_event.
          CLASS cls_event_handler DEFINITION
       CLASS cls_event_handler DEFINITION.
         PUBLIC SECTION.
           METHODS:
             on_function_selected
               FOR EVENT function_selected OF cl_gui_toolbar
                 IMPORTING fcode,
             on_dropdown_clicked
               FOR EVENT dropdown_clicked OF cl_gui_toolbar
                 IMPORTING fcode posx posy.
       ENDCLASS.
          CLASS cls_event_handler IMPLEMENTATION
       CLASS cls_event_handler IMPLEMENTATION.
         METHOD on_function_selected.
           CASE fcode.
             WHEN 'EXIT'.
               LEAVE TO SCREEN 0.
           ENDCASE.
         ENDMETHOD.
         METHOD on_dropdown_clicked.
         Not implented yet
         ENDMETHOD.
       ENDCLASS.
       START-OF-SELECTION.
         SET SCREEN '100'.
       *&      Module  STATUS_0100  OUTPUT
          text
       MODULE status_0100 OUTPUT.
         IF go_toolbar_container IS INITIAL.
    Create container
           CREATE OBJECT go_toolbar_container
             EXPORTING
               container_name = 'TOOLBAR_CONTAINER'.
    Create toolbar
           CREATE OBJECT go_toolbar
             EXPORTING
               parent = go_toolbar_container.
    Add a button
           CALL METHOD go_toolbar->add_button
             EXPORTING fcode       = 'EXIT'            "Function Code
                       icon        = icon_system_end   "ICON name
                       is_disabled = ' '               "Disabled = X
                       butn_type   = cntb_btype_button "Type of button
                       text        = 'Exit'            "Text on button
                       quickinfo   = 'Exit program'    "Quick info
                       is_checked  = ' '.              "Button selected
    Create event table. The event ID must be found in the
    documentation of the specific control
           CLEAR g_event.
           REFRESH gi_events.
           g_event-eventid    = go_toolbar->m_id_function_selected.
           g_event-appl_event = 'X'.    "This is an application event
           APPEND g_event TO gi_events.
           g_event-eventid    = go_toolbar->m_id_dropdown_clicked.
           g_event-appl_event = 'X'.
           APPEND g_event TO gi_events.
      Use the events table to register events for the control
           CALL METHOD go_toolbar->set_registered_events
               EXPORTING
                  events = gi_events.
    Create event handlers
           CREATE OBJECT go_event_handler.
           SET HANDLER go_event_handler->on_function_selected
             FOR go_toolbar.
           SET HANDLER go_event_handler->on_dropdown_clicked
              FOR go_toolbar.
         ENDIF.
       ENDMODULE.                 " STATUS_0100  OUTPUT
    http://www.erpgenie.com/abap/controls/toolbar.htm#Simple%20example
    http://help.sap.com/saphelp_nw04/helpdata/EN/42/d2ab343e416635e10000000a1553f6/content.htm
    help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCITOOLBAR/BCCITOOLBAR.pdf
    Regards,
    Jagadish

  • 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

  • A Cry For Help With Video Chat

    I have been trying for several weeks to get my AV iChat working and before starting this thread I have read nearly every recommeneded fix and have tried all but still no luck. My set up is a Mac Pro Desktop G5 on 10.5.5 and router is a Thompson TG585

  • Searchable PDFs are now more than 10 times as large

    When I was using on Windows XP an older version (70.0.128.0) for creating searchable PDF files, the created files require less than 10% of the searchable PDF files created on Windows 7 64bit using new version (130.0.44.62). Sample: 9 pages, black and

  • Why is the outgoing volume low on facetime?

    When talking to people on facetime, they can barely hear me. Their volume as is mine is all the way up. Happens to multiple users. I have closed down facetime, and restarted it, I have turned off my device and back on as well. Still having this issue

  • Merging multiple Aperture libraries

    I would like to merge multiple Aperture libraries. Some images occur in more than one library. Does anyone know what the merge process does with duplicated images? Thanks for any tips

  • HT6472 Alex Not as Good as Enhanced Quality

    To me, Alex doesn't sound as good as the enhanced quality voice on iPhone 6 running iOS 8.0.2. Has anyone else experienced this? I'm not aware of any hearing loss on my part which was the first thing I thought of.