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.

Similar Messages

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

  • Gui status standard - new button

    Hi gurus,
    I have added a new button to a standard gui status: 0101 of function group CEI0. Everything seems ok, but when I start the transaction (CU50) I can't see the new button. Should I do some other operation to see the modification I have done?
    Thanks a lot
    Guido

    Hi
    It should be a gui for a popup, I don't believe It can deactive your new functions at runtime, but try to check what's happens as soon as that gui is set in PBO.
    Max

  • Use standard GUI status in customer GUI status without extra programming

    Hi,everyone.
    I have a problem in my development.
    now, I'm developing my own dialog program. And I need use my own GUI status.
    there are some buttons on application tool bar.when I click some buttons on the
    application tool bar,the program will do something according to the function code.
    But now, I also need the standard tool bar in the screen too.yeah,I know I can input function code
    to the buttons of the standard tool bar and the buttons of standard tool bar will be bright and can
    be clicked. But when I click the button on the standard tool bar like 'back', the program will not
    return to the previous screen .
    so, what I want to know is how can I make the buttons bright and achieve the functionality provided
    by the standard tool bar without extra programming.

    HI,
    you can use Tcode SE41 ( MENU PAINTER ) to copy the status of a standard program.
    to go back to the screen from where you come from like the standard BACK button.
    in PAI
    module go_back.
    in abap source code the module looks like this
    module go_back.
    case sy-ucomm.
    when 'BACK'.
    LEAVE TO SCREEN O.
    endcase.
    endmodule.
    to by pass the screen validations the above code should be written in
    MODULE MNAME AT EXIT-COMMAND.
    in the PAI.
    Thanks and regards
    Ramchander Rao.Krishnamraju

  • GUI-status disable button?

    Hi,
    How to disable an button on my gui-status MAIN?
    tnx.

    Hi,
    You can use the following command:
    DATA: it_buttons TYPE STANDARD TABLE OF sy-ucomm,
              wa_buttons TYPE sy-ucomm.
    wa_buttons = 'SAVE'.
    APPEND wa_buttons TO it_buttons.
    SET PF-STATUS 'ABC' EXCLUDING it_buttons.
    Screen will have the button disabled having F-CODE 'SAVE'.
    Regards,
    Kunjal

  • DISABLE button(FCODE) from the GUI-Status

    Hi people,
    Can anyone help me out with this... I need to manipulate the PF-STATUS and 'DISABLE' some of the buttons. I am already using the
    'SET PF-STATUS 'STATUS_100' EXCLUDING lt_off_commands.' but instead of hiding the buttons I would rather diable them so that they are visible on the toolbar but could not be used.
    TIA,
    ZAM

    Hello ZAM,
    There's a standard way to do that. When you Create / Edit a GUI status in the Menu Painter, you can choose whether you want the disabled function codes to be hidden or to be displayed as grayed out.
    Follow the menu path <i><b>Goto>Attributes>Pushbutton Assignment</b></i>. You will get a pop-up with three options. The default option is <i><b>Hide all</b></i>. Just choose <i><b>Display all</b></i> on this pop-up and activate the GUI status. Your functionality is achieved.
    If this helps, please reward the points and close the thread. Otherwise, please get back with the problem you might be facing in doing so.
    Regards,
    Anand Mandalika.

  • Creating a cascading menu button an a GUI status

    I have a GUI status on a normal screen (NOT on an ALV grid).  On this status I have added 3 function buttons (SEARCH, CREATE, MANAGE).  I want to add a 4th button that appears and acts like a cascading menu button. An example of what I want the button to look like is similar to what you would see on the standard 'Change Layout' button on an ALV Grid.  I am not using an ALV grid, though - but I'm trying to get a button on the GUI status to act like that - where you click on it and you see multiple options such as Display, Edit, Copy.
    I don't want to add this to my MENU bar.  I'm trying to add it to my APPLICATION bar.  If anyone has ever done this, please let me know how you did it.
    Thank you for any helpful information.
    -P. Foley

    I think that is done with the "toolbar" control so it will be in the screen, not on the application bar... have a look at SAPTOOLBAR_DEMO1, and the CTMENU_* programs, plus
    http://help.sap.com/saphelp_sm32/helpdata/en/8f/bcc23657ad0730e10000009b38f839/frameset.htm
    for more info on this, if it is the style you want.
    Or perhaps look at Generic Object Services to add a button between the application bar and below the menu (as in ME23N, FB03 etc)
    Jonathan

  • How to get GUI Status(Push Buttons) in ALV Report

    Hi Friends
    I have a requirement in a way that:
    Once selection-screen was processed,an ALV report has to come and above the ALV List,I need a custom GUI Status(4 Push Button) with Push Buttons Logic.
    Once I had clicks on thesse push button,I need to display one more ALV List and above this List,again I need a custom GUI Status(2 Push Buttons) with Push Buttons Logic.
    Can anyone throw some light how we can achieve this.
    Thanks for your cooperation!
    Regards,
    Madisetty

    data: rt_extab type slis_t_extab,
            g_ucomm like sy-ucomm ,
            g_selfield type slis_selfield.
    form alv_display .
      call function 'REUSE_ALV_LIST_DISPLAY'
         exporting
         i_callback_program             = g_repid
         i_callback_pf_status_set       = 'PF_STATUS'
         i_callback_user_command        = 'USER_COMM'
           it_fieldcat                    = it_fldcat
          tables
            t_outtab                       = it_final1
      perform pf_status using rt_extab.
      perform user_comm using g_ucomm g_selfield .
    endform.  
    form pf_status  using    p_rt_extab.
      set pf-status 'PF_STATUS' excluding p_rt_extab.
    endform.
    form user_comm  using    p_ucomm like sy-ucomm
                             p_selfield type slis_selfield.
      data: l_row type i.
      case  p_ucomm.
        when 'DISPLAY_PO'.
          loop at it_final1 into wa_final1.
            if wa_final1-sel eq 'X' .
              l_row = l_row + 1.
            endif.
            if l_row gt 1.
              message e004.
            endif.
            clear wa_final1.
          endloop.
          p_selfield-fieldname = 'SEL'.
          read table it_final1 into wa_final1 index p_selfield-tabindex .
          set parameter id 'BES' field wa_final1-ebeln.
          call transaction 'ME23N'.
      endcase.
    endform.
    *create user interface for gui status by double clicking on 'PF_STATUS'.
    *Check the above sample code .

  • Adding A Pushbutton To GUI Status of Standard Program

    Hi,
    I need to add a pushbutton to the GUI status of one of the SAP standard programs, the system being <b>ECC 6.0</b>. One method which I tried was by copying the standard program as a Z program and then modifying the GUI status per my requirement. Although this works, one drawback in doing it this way was with the introduction of the new Enhancement Framework in ECC 6.0, the defined enhancements from the standard program were not copied to the Z program.
    I am looking for suggestions on how to add a pushbutton in the GUI status of the standard program using the enhancement concept. Please let me know the implications if any, while carrying out this change.
    Regards,
    Ravi Krishna

    GOTO Se41 Transaction ..
    one example :
    Standard Program : SAPLSLVC_FULLSCREEN
    Status : STANDARD_FULLSCREEN
    use ur program first and status and now click on copy status ...
    copy from standard to custom..

  • GUI status:  codes for standard functions

    Hi Experts,
    I have created a custom GUI status in my screen and enabled BACK, CANCEL, EXIT, PRINT and FIND buttons.
    With coding BACK, CANCEL and EXIT are working fine but what codes i should write for PRINT and FIND? Can anybody give me some sample codes.
    Points assured.
    Jogdand M B

    Hi
    For PRINT:
    NEW-PAGE PRINT ON.
      WRITE: 'Bye Bye'.
    For FIND, something like
    FIELD-SYMBOLS: <FIELD> TYPE ANY.
    LOOP AT SCREEN.
      ASSIGN (SCREEN-FIELD) TO <FIELD>.
      IF <FIELD> CS MY_STRING'.
        SET_CURSOR = SCREEN-FIELD.
        EXIT.
      ENDIF.
    ENDLOOP.
    In the PBO
       SET CURSOR FIELD SET_CURSOR.
    Max

  • Hide all buttons in a GUI-STATUS ?

    I'd like to hide all functions from the toolbar of a GUI-STATUS except for one function.
    I could of course create a table with all the FCODE except for the one and then call
    SET PF-STATUS 'bla' EXCLUDING itab.
    But whenever I add a function to the GUI-Status then, I have to change that code. Is there a way to prevent this.

    Hello Daniel,
    Looking at the responses that your question has got, I wouldn't say that I had understood the question as well as
    the others have.
    I understand that you want to be able to dynamically add and delete the Functions from your toolbar. But what I did
    not quite understand is what exactly you had meant by "...I have to change that code....". If you want to perform an
    action, you would have to write some code anyways. So here's what I would do:
    1. Define a GUI-STATUS which has all the function codes you will ever need during the program.
    2. You can manipulate the Buttons on the toolbar with the EXCLUDING option.
    3. I don't believe that you need to use the FM RS_CUA_GET_STATUS_FUNCTIONS. Consider using instead the ABAP statement GET PF-STATUS. The Online Documentation has explained this statement wonderfully.
    4. I don't think that creating a database table to merely maintain the FCODEs of a program is a sensible option either.
    Instead consider using an internal table of constants, where you have all the FCODES required.
    I hope these points would clarify some of the things. If you need further assistance, please get back.
    Regards,
    Anand Mandalika.
    P.S. Two points that I would like to remind you:
    a). You can use the statement SET PF-STATUS SPACE to reset all the PF-STATUS.
    b). Once you set a PF-STATUS, it will be available till the moment you use the next SET PF-STATUS statement.

  • Disabling Gui status buttons

    Hello,
    I made some researchs and asked some colleagues but I have a problem. I would like to disable a gui status button (to grey it out),
    I used this:
    SET PF-STATUS 'STATUS_0200' EXCLUDING lt_fcode.
    adding the name of my button but the only thing it does is making it disappeared (It is a toggle button between modify and display).
    Is there any suggestions to just grey out the button and not removing it?
    Thank you!

    Nabheet: I want the toggle button to be disabled on the screen.
    anurodh_t: I want to disable it on specific occasions because I am giving access, by authority check, to some people only to use it. The reason why I want to keep the button shown is because I want people to know that, yes, it is indeed possible to modify the fields in my screen but no, they can't do it because they don't have access. Making it disappear would only show, to my opinion, that the possibility might not even exist. Though, someone with the access will have that same button enabled, of course. That is why I want it grey out when not having access. To answer your second questions, I unfortunately haven't seen it yet. Though, I thought it was because of my young experience in SAP (I started at beginning of september).
    Thank you for giving me some feedback and I'm sorry if my explanation wasn't clear enough. If I forgot to give important details, please, let me know. Like I said, I am still young on SAP so sometimes, I am not always sure what is important to know or not
    Take care!

  • OSS Note 1401249 - Issue in GUI status

    Hi ,
    As per 1401249 Note instructions, i need to add a new push button 'Display Income Levy Data',  in the standard report HIECILC0 .
    In SE41 , I am giving the program name HIECILC0 and Status 'ALV', when I click on Change button,  I see 'Modify Status ALV in program HIECILC0' , where as in the Note instructions screen shot it is given as  'Maintain Status ALV in program HIECILC0'.
    Have anyone faced this issue before, why is it 'Modify Status ALV in program HIECILC0' instead of 'Maintain Status ALV in program HIECILC0'.
    I am not able follow the same steps given in the Note instruction because of this issue.
    Please let me know how to proceed with this.

    Hi ,
    The  below thread resolved the issue.
    Can't modify a gui Status
    In SE41 Menu path: Edit -> Modification Operations -> Swich off assistant
    Thanks

  • GUI status in ALV

    Hai i copied standard gui status in my alv report.
    i hav req. to do..when i click on exit(%EX) and cancel(RW)it should appear pop-up window..with two buttons "do u want to exit". if yes..should exit the report and if no..continue with current screen.
    i have 6 secondary lists..should i write the code in all the 6 ucomm(s) or only once is needed.?
    plz give me code for this.??

    hai check my code...i added like this. its not working
    FORM usecomm USING ucomm LIKE sy-ucomm fields TYPE slis_selfield.
    case sy-ucomm.
    when '%EX' OR 'RW'.
    CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
       TITLEBAR                    = 'EXIT'
      DIAGNOSE_OBJECT             = ' '
        text_question               = 'Do u want to exit?'
      TEXT_BUTTON_1               = 'Ja'(001)
      ICON_BUTTON_1               = ' '
      TEXT_BUTTON_2               = 'Nein'(002)
      ICON_BUTTON_2               = ' '
      DEFAULT_BUTTON              = '1'
      DISPLAY_CANCEL_BUTTON       = 'X'
      USERDEFINED_F1_HELP         = ' '
      START_COLUMN                = 25
      START_ROW                   = 6
      POPUP_TYPE                  =
    IMPORTING
      ANSWER                      =
    TABLES
      PARAMETER                   =
    EXCEPTIONS
      TEXT_NOT_FOUND              = 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.
    endcase.
    CASE ucomm.
      WHEN '&IC1'.
      IF fields-fieldname = 'SALES_OFF'.
      READ TABLE tbl_basic_list INDEX fields-tabindex.
      SELECT vkgrp FROM s707
      INTO TABLE tbl_first_list
      FOR ALL ENTRIES IN tbl_basic_list
      WHERE vkbur EQ tbl_basic_list-vkbur
        AND vkbur EQ fields-value.
       SELECT bezei FROM tvgrt INTO CORRESPONDING FIELDS OF TABLE
       tbl_first_list WHERE vkgrp = tbl_first_list-vkgrp AND
                            spras = sy-langu.
    SELECT avkgrp bbezei INTO CORRESPONDING FIELDS OF TABLE
    tbl_first_list FROM s707 AS a INNER JOIN tvgrt AS b
    ON avkgrp = bvkgrp
    WHERE b~spras = sy-langu
       AND a~vkbur = fields-value.
    DELETE ADJACENT DUPLICATES FROM tbl_first_list.
    APPEND tbl_first_list.
    IF NOT tbl_first_list IS INITIAL.
       LOOP AT tbl_first_list.
         CONCATENATE tbl_first_list-vkgrp '-'
                     tbl_first_list-bezei INTO
                     tbl_first_list-sgroup
                     SEPARATED BY space.
    concatenate tbl_first_list-vkgrp+0(1)
                 tbl_first_list-vkgrp+2(1) into
                 tbl_first_list-sort.
          MODIFY tbl_first_list INDEX sy-tabix.
       ENDLOOP.
    ENDIF.
    ELSE.
       CALL FUNCTION 'POPUP_TO_INFORM'
         EXPORTING
           titel         = repid
           txt1          = sy-subrc
           txt2          = 'No data found!'
      TXT3          = ' '
      TXT4          = ' '
    ENDIF.
    PERFORM fcat_first_list.
    PERFORM fieldcat_sort USING gs_sort[].
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
        I_INTERFACE_CHECK                 = ' '
        I_BYPASSING_BUFFER                =
        I_BUFFER_ACTIVE                   = ' '
          i_callback_program                = sy-cprog
          i_callback_pf_status_set          = 'PF_STATUS'
          i_callback_user_command           = 'USECOMM1'
        I_CALLBACK_TOP_OF_PAGE            = ' '
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      =
        I_GRID_SETTINGS                   =
          is_layout                         = layout
          it_fieldcat                       = fcat1[]
        IT_EXCLUDING                      =
        IT_SPECIAL_GROUPS                 =
          it_sort                           = gs_sort[]
        IT_FILTER                         =
        IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
        I_SAVE                            = ' '
        IS_VARIANT                        =
          it_events                         = events1[]
        IT_EVENT_EXIT                     =
        IS_PRINT                          = gs_print
        IS_REPREP_ID                      =
        I_SCREEN_START_COLUMN             = 0
        I_SCREEN_START_LINE               = 0
        I_SCREEN_END_COLUMN               = 0
        I_SCREEN_END_LINE                 = 0
        IT_ALV_GRAPHICS                   =
        IT_ADD_FIELDCAT                   =
        IT_HYPERLINK                      =
        I_HTML_HEIGHT_TOP                 =
        I_HTML_HEIGHT_END                 =
        IT_EXCEPT_QINFO                   =
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           =
        ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = tbl_first_list
        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.
       CASE sy-subrc.
        WHEN '1'.
          MESSAGE s000.
        WHEN OTHERS.
          MESSAGE s001.
      ENDCASE.
    ENDIF.
    ENDCASE.
    ENDFORM.
    Make corrections...it's not working here

  • GUI status in OOPS in ALV

    Hi Gurus,
      Am developing the ALV report in OOPS. In that report am displaying 2 grids one after the other. My problem here is am getting the tool bar separately for the 2 grids. So i disabled the tool bar for two grids in layout. And i copied the standard gui status SLVC_FULLSCREEN into that report. Now am getting the tool bar. But i did nt get the button events. The buttons are clickable but the functionality is not doing. How to get the functionalites for the ZSLVC_FULLSCREEN. Please guide me some suggestions how to copy the functionalites for those.
    Points will be awarded
    Thanks
    Ravi

    check the all function codes of the buttons in ZSLVC_FULLSCREEN GUi status
    and write u r functionality in your progrm in at user-command subroutine.
    case sy-ucomm.
         when 'xxx'
               do something.
         when 'yyy'
               do something.
    endcase.

Maybe you are looking for