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.

Similar Messages

  • Grey-out button dynamically in the application toolbar

    Hi,
    How can I grey-out button dynamically in the application toolbar?
    It's not an ALV grid, where it's easy.
    SET PF-STATUS '100' EXCLUDING 'SOMETHING'. hides completely the button.
    Thanks,
    Peter

    Hi,
    Sorry forgot to add something to my previous reply...
    The complete steps will be as follows :
    1. Create Two PF status , One with active Button and Function code and Second with Inactive Function code and Greyed button (This can be acheive by using Push Button assignment as specified in the thread)
    2. Dynamically change the PF status to Second one when you want to deactivate the specified Function from the application tool bar.
    regards,
    Sumeet Mishra
    Reward point if this helps : )

  • PB when add pushbutton  to Gui status SE41.

    Hi,
    When i  want to add pushbutton to my sap gui in transaction SE41, i had this message  "Unable to assign the function to the pushbutton"
    Diagnosis
    Functions assigned to a pushbutton must be assigned to a function key first, but no free function keys exist.
    Thanks in advance,
    Karim

    Hi Karim,
    When you create a pushbutton or use any button on the application toolbar you have to assign function code to it.
    For Eg in Application toolbar if you add a button as Display Data the function code can be added as DISP.
    So add the funtion code to the button u r creating to resolve the issue.

  • 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.

  • Desactivate standard buttons in GUI Status

    We are looking to desactivate these standard buttons in the gui status.
    Button 1: Creates new session
    Button 2: Generates a shortcut on the desktop
    Button 3: Help
    Button 4: Customizing of local layout
    We thing that these buttons are set automaticaly by SAP. Is there a way to desactivate them. (SAP version 4.6C)
    Help Required,
    Best regards.

    Hello Daniel,
    It is not possible to do that. The reason is that these buttons are a part of the SAPGUI. They don't come from the application server - i.e., they don't have any function codes as such. So you wouldn't be able to disable them.
    Regards,
    Anand Mandalika.

  • Add button with specifics features in toolbar .

    Hi Everybody,
    I would like to add a button on toolbar with the same features than
    the "HTML" and "Plain text" buttons. These buttons don't have
    descriptive text when the window is large enough to see them. When the
    window is to small to see same buttons, the button ">>" has to be clicked
    and only then may we see the descriptive text.
    When the window is in full display, the buttons display descriptive text
    and make mandatory to widen the window in an exagerate way. Would it be
    possible to display the descriptive text ONLY when the button ">>" is
    clicked?
    Best Regards,
    Pierre

    Trying second solution:Getting image in menu bar but mouse click is not working on that menu
    Code changed:
    //created constructor
    OptionCompo()
              try
                   img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("zoom.gif"), "zoom.gif"));
              catch(Exception e){}
    //changed code of paintComponent()
    protected void paintComponent(Graphics g)
              Graphics2D g2 = (Graphics2D)g;
         g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
         RenderingHints.VALUE_ANTIALIAS_ON);
         int h = getHeight();
         Font font = UIManager.getFont("Menu.font");
         g2.setFont(font);
         FontRenderContext frc = g2.getFontRenderContext();
         //Rectangle2D r = font.getStringBounds(text, frc);
         float sx = 5f;
         //float sy = (float)((h + r.getHeight())/2) -
         // font.getLineMetrics(text, frc).getDescent();
         //g2.drawString(text, sx, sy);
         if(img != null) g.drawImage(img,0,0,this);
         double x = sx +/* r.getWidth() +*/ sx; 
    //in main
    OptionCompo test = new OptionCompo();
    What I need to do?

  • Creating push button on Selection screen application toolbar

    Hi Friends,
    this is a HR-ABAP report. I have to create a push button on Selection screen. when user clicks on that push button 'MODAL DIALOG BOX' has to be displayed containing some data.
    plz kindly give some sample code to do this.
    Regards,
    Radhika Dasharatha.

    Hi,
    1)Use SELECTION-SCREEN  PUSHBUTTON /10(20) PUSH USER-
      COMMAND 'ABC'. in selection screen.
    2) Give the static name to button in INITIALIZATION event like PUSH = 'PRESS'.
    3) At selection screen.
      if sy-ucomm eq 'ABC'.
    call FM HR_BE_GE_MODAL_DIALOG
    endif.
    Thanks
    Sandeep
    Reward if useful

  • Language Conversion for GUI STATUS and toolbar

    Dear All ,
                          I have a button in my Screen .I have to convert the same to Chinese language from SE63 . Can anybody guide me how to translate the same . Can anybody guide me by the steps .
    Thanks & Regards
    Shankar

    Hi,
    the road is shorter if from SE38 you follow the route Goto --> Translation
    From SE63 follow the route Translation --> Abap objects --> Short texts
    In the incomming screen open node S3 and double click REPT or SCRT and enter your programme´s name.

  • 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.

  • All 35 slots used in Application Toolbar ? Need more to add in PF-status

    All,
    I have a report with PF-status . But in the PF-status Application Toolbar declaration all 35 slots have been already used. My requirement is i need to add 5 more application toolbar in PF-status.
    Any Info?

    Hi,
    This Can be handle with two screens. use all 35 Options in first screen "A" and rest options you may use in another screen 'B'.
    In this case in first screen you May reserve one option out of 35 to call the second screen. Than use another options in second screen and so on.
    This is Just a suggestion i never gone thru this situation, but i believe this could be possible with some work around this.

  • 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 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'.

  • Firefox 5 on Win7: All my plugin buttons have gone from the toolbar. They are not in the customise pane. Session manager offers the correct sessions but opens with last session instead. I've re-installed % and reset toolbars. Help!

    Win 7
    Firefox 5
    Problem with high memory use.
    restarted
    Plugin buttons gone from toolbar/
    Missing plugins still show in plugin manager but buttons missing from toolbar add buttons pane.
    Tried reset toolbars - no difference.
    Tried re-instal of Firefox 5 - no difference except:
    Session manager offers correct session on startup but starts with last session

    In case you are using "Clear history when Firefox closes":
    *do not clear the Browsing History
    *Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • How to Add button in Application Toolbar for Fb01(screen) Transaction

    Hi All,
    I need to Add a customized Button at Application toolbar for FB01 Tcode for standard screen.
    I am unaware of this,please take it as an urgent issue and help me with your inputs.
    Points will be given.
    Thanks,
    Ramesh

    On which screen (in which standard status ?) to do what ?
    You could try to bypass sscr key requirement using some BAdI like FI_HEADER_SUB_1300 to add a button to screen or identifying an implicit enhancement option in one PBO module/form to change PF-STATUS, then look for such an option in PAI module/forms.
    Regards,
    Raymond

  • 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

Maybe you are looking for

  • Kernal Panic on Mid-2007 Macbook Pro 17inch

    So, after capturing some HDV footage this afternoon in Final Cut Pro, I shut down all my applications and closed my lid on my macbook pro and when I came back from work hours later, I got a grey screen and had to reboot, in which I got the kernel pan

  • How to delete or remove a SWCV?

    Hi everyone, I have created some test SWCV, but now I need to remove them from the Object List in the Design and Configuration Screens. How do I do it? Thank you, Felipe

  • Why can I no longer move items WITHIN an existing playlist?

    I asked the folllowing question on January 29th - and have received no responses.  I cannot understand what has changed in iTunes that I cannot control my playlists.  I have a particular playlist that I use regularly, but for some reason, I can't dra

  • AVCHD 1080p mit 50fps in Premiere Pro CS4 importieren

    Mein Camcorder liefert Dateien im Format AVCHD 1920x1080 mit 50 fps. Welche Einstellung muß ich in Premiere Pro CS4 vornehmen, damit ich diese Dateien bearbeiten und an Encore CS4 weiterleiten kann? Mein Ziel ist es eine bluray-disc in bester Qualitä

  • HT201401 My Iphone 4S camera is not working

    My Iphone 4S camera is not working, it does not want to start when I tap the camera icon. It is opening and then no picture is shown. Any idea what to do ? cheers Bartek