Enable/Disable Standard Tool Bar

Hi, Experts
   Using module pool how can I get control on Standard tool bar and application toolbar to make it ENABLE or DISABLE as per requirement.
With warm regards
Rajiv singh.

Yes you can ..
Check this code:
DATA: itab TYPE TABLE OF sy-ucomm.
APPEND 'DELE' TO itab.
APPEND 'PICK' TO itab.
SET PF-STATUS 'STA3' EXCLUDING itab.
Here DELE and PICK are functionCodes. Once you include them in your PF-STATUS you can disable 'em.
The problem here is you want to do it standard toolbar which is not possible but you can surely copy the standard GUI-Status and use it. And the functionality will not change and all standard SAP buttons will work as standard.
Just let me know at what stage you want to disable in a program execution and i'll let you know the GUI-Status for standard toolbar.
Regards
Nishant

Similar Messages

  • Disable standard tool bar button

    I want to disable standard tool bar Save button during run time.
    Is it possible to achieve this.
    Thanks,
    Sai.

    Hi Sai,
    We use the ABAP statement "set pf-status" in PBO  to set a tool bar in the module pool program
    We can deactivate any button by passing the function code in the "excluding" syntax addition of the
    "Set pf-status 'XXXX' excluding int_fcode'.
    data declarations:
    data: wa_fcode type ty_status.
    data: int_fcode type table of ty_status.
    eg : 'SAVE' is the function code for 'SAVE' button and '
         ÉXAMPLE' is the name of pf-status in the module pool
    then according to condition required.....say, if we want to hide save button for user 'SAI'
    then write
    if sy-uname = 'SAI'.
        wa_fcode = 'SAV'.
        append wa_fcode to int_fcode.
        clear wa_fcode.
    endif.
    then
    set pf-status 'EXAMPLE' excluding int_fcode.
    then you will no longer be able to use the 'SAVE'functionality for the user 'SAI'
    Hope the example and code solves the problem
    Regards

  • Disable Standard Tool bar from FBL1N

    Hi everyone!!
    I have a doubt with transaction FBL1N. My user want to disable from the standard tool bar the Print Button. I know it's a crazy idea but I have to investigate It.
    I 'm trying to do it by a Transaction Variant ( SHD0) but although I disable  all the print functions the button continue active.
    Anyone have any ideas about it?
    Many thanks!!
    Nuria

    Hi Nuria,
    You may be able to block it using authorisations - maybe you can ask one of your authorisations team to investigate as well?
    Regards,
    Tony

  • How standard tool bar will work ?

    Hi,
    In my Customize dialog program, How Can I use the standard Tool bar......
    Can anybody suggest me...
    Thanks
    kumar

    Hi,
      Inside the module in the PBO the following statement will be there by default.
    module status_9000 output.
      *set pf-status 'STATUS'.  set titlebar 'Budget Material Values'*.
    endmodule.                 " STATUS_9000  OUTPUT
    You need to enable each of the standard tool bar options available for the user by writing Function code and utilizing the corresponding ICON by using the assigned Functioncode to handle the subsequent process after clicking the ICON.
    Regards,
    Murthy.

  • Standard tool bar for custom Dialog program

    Hi,
       I need to have a standard tool bar functionality like (Search & Print) for my screen 9000. Could you please let me know how can i get it. And i have a ALV in that screen, if i print the data will all the lines will be printed or only displayed lines will be printed, could you please let me know how to get all the lines of ALV. Basically i have some fields & ALV... everything should be printed out.
    Thanks

    my question is when you create a custom screen like 9000, pf-status also need to created. If i need to printing functionality what needs to be done. If i need all the standard functions in my custom screen...what i need to do.
    In that custom screen i have normal fields and one ALV. if i have print button in the standard tool bar and if i use it will it print all the lines of alv along with other fields. {please note that i am not talking about the alv print icon, i am talking about that standard tool bar print icon}.
    Thanks

  • Standard Tool Bar

    Minor problem here, but how can I get the Standard Tool Bar
    to stay where I put it, or even stay active?
    Every time I open Dreamweaver, I have to reopen the tool bar
    and place it where ever I want.
    Is there a lock somewhere? I'm sure I'm missing something,
    but I've looked all over.
    I'm using CS3 if that helps.
    Thanks.
    Randy Overman

    roverman wrote:
    > Thanks.
    > I'll give it a try next chance I get.
    Why not also submit an enhancement request to the Dreamweaver
    team for
    the "standard" toolbar to be made standard (in other words,
    displayed by
    default)? It's something that beta testers have been
    hammering on about
    for years. A few more voices from others might tip the
    balance.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Using the Default standard Tool-bar with a new screen.

    I created a screen with a table put would like the gui-status of the screen to be the same as that of a normal selection screen with all the functions. Is this possible and how do i go about it. Please help

    hi ,
    you can see the gui status of the any standard tool bar and copy the sane ..
    but you need to add custom code in you zprogram for their functionality..
    prabhudas

  • Function codes to  Standard Tool bar

    Hi Guy's,
    Please help me how to add Fuction Codes to Standard Tool bar in Function keys.
    Thanks and Regards,
    Sai.

    hi
    use the following function codes which will be very easy to remember and use in your programs
    Cancel - CANC
    Back   - BACK
    enter   - ENTER
    exit     - EXIT
    print   - PRINT
    <REMOVED BY MODERATOR>
    prince
    Edited by: Alvaro Tejada Galindo on Apr 21, 2008 4:04 PM

  • Creating button in standard tool bar

    Hi gurus,
    I hve to create  button in standard tool bar along with the existing icons and buttons, plz help
    how to suppres the fields other than screen table methods?
    reward asure
    with regards,
    thambe

    hi,
    if u using ALV then go to SE41.
    Give SAPLKKBL as program name and STANDARD_FULLSCREEN as status....
    now click on Copy Status and in that give ur program and status name into To.....
    now in REUSE_ALV_GRID_DISPLAY
    FORM display_list.
      g_f_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = g_f_repid
          i_callback_user_command  = 'USER_COMMAND'
          i_callback_pf_status_set = 'SET_STAT'
          it_fieldcat              = g_t_fieldcat[]
          it_events                = g_t_events[]
        TABLES
          t_outtab                 = g_t_itab
        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.
    ENDFORM. " display_list
    FORM set_stat USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZSTAT' EXCLUDING rt_extab.
    ENDFORM.                    "set_stat
    here my status name is ZSTAT which i gave in SE41...
    and in user_command form...
    FORM user_command USING u_comm LIKE sy-ucomm selfield TYPE slis_selfield.
      CASE u_comm.
        WHEN 'DET'.
        ........ur logic.........
      ENDCASE.
    ENDFORM.                    "user_command
    reward if usefull...

  • How to add a standard tool bar in alv

    H i
    i am developing a custom report  in Alv interactive report for to dispaly MRP information.
    Can you sejjest me how to add  a standard tool bar in alv.
      i displayed one final alv grid display there i have to add standard tool bar and application tool bar.
    Thanks,
    Rams
    Edited by: Ramsoft on Oct 27, 2010 12:09 PM

    Hi,
    Give the PF ststus name in  the PF status parameter of ALV FM
    I_CALLBACK_PF_STATUS_SET          = ' PF_STATUS'. " this parameter of ALV FM
    FORM pf_status USING pt_extab TYPE slis_t_extab.
      SET PF-STATUS 'MAIN' .
    ENDFORM.                    "pf_status
    Then create a main PF status by double clicking on it , after this goto EXTRA in menu
    EXTRA>ADJUST TEMPLATE> then give program - SAPLSLVC and status - STANDARD this will give u standard toolbar of ALV ,
    THen add what ever button you require in application toolbar
    Regards,
    Madhukar Shetty

  • Disable developer tool bar

    How can I disable developer tool bar of the application.

    Hello,
    Just don't login to the development environment. It only displays if your logged in as a developer.
    CarolCarl
    Damn fumble fingers
    Message was edited by:
    Carl Backstrom

  • How can we Customise the standard tool bar ??

    Can any body tell em how can we customise the standard tool baar in the forms. ie is there any way by which we can enable or disable few of its button.
    do reply
    thanx in advance
    amyt

    Hi,
    I have accomplished through the creation of a Menu in oracle Forms. After setting up your menu options, go to the "Visible In Horizontal Menu Toobar" property and set to YES. Then change the "Icon Filename" property to whatever your icon file is.
    Good luck!
    Bob

  • Apple script to enable/disable dark menu bar and dock when sunsets/sunrises

    Greetings,
    Regarding the new dark menu bar and dock function in Yosemite. Would it be possible to write a script that would enable this function at a certain time say sunset and to disable it at another time say sunrise?
    If so, is there anybody who could possibly help me write such a script or atlas point me in the right direction please?
    Many thanks in advance
    G_D

    Although you can set or remove the Dark interface style with defaults write syntax, the reset back to default (non-dark) interface will require a log-out/log-in cycle to entirely remove the Dark style. Toggling this style on and off in the System Preferences > General panel does not require the preceding log-out disruption. Unfortunately, other than possible GUI scripting, the Apple Script dictionary in Yosemite is very limited with respect to System Preferences access, and enabling/disabling the dark interface style.

  • Making button disable in tool bar

    Guru,
    I am displaying on ALV using class. I have some toolbar in out put.
    Could you pls tell me how to disable them.
    Thanks,
    Sandeep Garg

    Hi,
    Use this code to disable standard buttons from alv toolbar, its working:-
    *FOR EXCLUDING STANDARD BUTTON FROM ALV TOOLBAR
    DATA : it_exclude TYPE slis_t_extab,
                wa_exclude TYPE slis_extab.
    *          FOR EXCLUDING STANDARD BUTTONS FROM ALV TOOLBAR
      wa_exclude-fcode = '&OUP'.
      APPEND wa_exclude TO it_exclude.
      CLEAR wa_exclude.
      wa_exclude-fcode = '&ODN'.
      APPEND wa_exclude TO it_exclude.
      CLEAR wa_exclude.
      wa_exclude-fcode = '&OAD'.
      APPEND wa_exclude TO it_exclude.
      CLEAR wa_exclude.
      wa_exclude-fcode = '&INFO'.
      APPEND wa_exclude TO it_exclude.
      CLEAR wa_exclude.
    *--similarly append other function codes of the buttons that you want to exclude
    *--and pass this internal table to FM REUSE_ALV_GRID_DISPLAY
    *          DISPLAY RECORDS IN ALV GRID
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = rep_id
    *   i_callback_pf_status_set          = 'PF'
       i_callback_user_command           = 'COMMAND'
       i_callback_top_of_page            = 'TOP'
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
       i_grid_title                      = wa_title
    *   I_GRID_SETTINGS                   =
       is_layout                         = wa_layout
       it_fieldcat                       = it_field
       it_excluding                      = it_exclude "excule buttons
    *   IT_SPECIAL_GROUPS                 =
       it_sort                           = it_sort
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
    *   I_DEFAULT                         = 'X'
       i_save                            = 'A'
       is_variant                        = wa_variant
       it_events                         = it_event
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_ekpo
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this helps you.
    Thanks & Regards,
    Tarun Gambhir

  • New update may disable RoboForm tool bar and be incompatable with NCP

    When I was prompted to install the latest update, I also got a pop up saying it would not be compatible or would disable RoboForm, which is a password manager and form filler and also a problem with National Consumer Panel. I am assuming it would maybe be a problem with transmitting information, but not sure with NCP.
    Firefox did say it would fix that but I don't know when or how. I absolutely have to have the form filler and the ability to transmit to NCP.
    If installing Firefox's new version and this happened would I just have to go in and enable these two programs. I think they are addons or extensions, not sure of that either.
    Any help is appreciated. RAE
    PS. Using Firefox 4.0.1
    Also using Windows XP Proo

    http://community.norton.com/t5/Norton-Internet-Security-Norton/Norton-Toolbar-not-compatible-with-FF-4-0-1/td-p/442788

Maybe you are looking for

  • How do I copy whole farm in 2013 Test to 2013 Production or is this more trouble than worth?

    Hi, We are migrating from SharePoint 2010 farm to a TEST SharePoint 2013 farm as Microsoft recommend. The test farm is almost complete. The Host Url Site Collections under the main Web Application all use a Sharepoint UAT prefix style name i.e. SUAT<

  • Error when trying to create new BP in MSA 5.0 SP08

    Hi, We have currently an issue in MSA 5.0 SP08 when we are trying to create a new BP. We receive the message "Relationship (Employee) - Error handler in function EvalsfakvbeztpfromReltyp reached". Looking into the code we find this error handler in t

  • IPhoto Wireless to my HDTV?

    I have a fairly new iMac where my iPhoto library is located. In another room, about 30 feet away, is my 63" Samsung plasma HDTV. Our home has an Airport Extreme (AE) that we use to access the Internet, email, etc. Two iMacs and a MacBook Air connect

  • Ilife backup file type?

    When i use the backup for ilife, it writes the files to some strange file type. does this mean that in twenty years when i try to look at my photos that i will have to have ilife software to open the files? if that is the case then that is fairly poo

  • How to start debug mode in Web Logic 6.0

    How can startup web Logic 6.0 server in debug mode? I want to remote debugging EJB with JB4 EE Thanks