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

Similar Messages

  • 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

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

  • 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

  • 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

  • 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

  • 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

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

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

  • 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

  • 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

  • ALV to excel download problem through standard tool bar

    I am downloading data into excel from ALV , When there are 128 column data in execl coming as 2 row for 1 row of data in alv. This problem is not there for 78 columns report.
    Kindly suggest some solution.

    i think there is a limit to the number of columns for ALV and which is i think 92 ..this can be the cause of the issue
    amit

  • Lost standard tool bar cs5 mac

    Hi,
    Trying this out and cannot find toolbar (save export etc).
    What can I do to bring it back
    Thanks

    It was never there to begin with. That toolbar is a Windows-only featue. It's part of the Windows OS, not the Mac, unfortunately.
    Jim Babbage

  • How to get the function codes

    Hi ,
    For displaying ALV on a modal dialog screen, I am using "CL_GUI_ALV_GRID" and the method is SET_TABLE_FOR_FIRST_DISPLAY.
    I want to exclude the complete tool bar that is appearing on the screen. For that I have an exporting parameter of the above mentioned method, i.e., "IT_TOOLBAR_EXCLUDING"
    But I dont know the function codes of the tool bar elements, to fill the internal table with. Couls any one please help me how to find them out.

    In the ALV Layout mark NO_TOOLBAR = 'X'
    data: e_layout TYPE LVC_S_LAYO.
    MOVE 'X' TO e_layout-no_toolbar.
    Pass e_layout to IS_LAYOUT of SET_TABLE_FOR_FIRST_DISPLAY
    Edited by: Swastik Bharati on Apr 22, 2009 3:24 PM

  • Function Codes Automatically Recognised by ABAP

    Hi,
    I am studying Interactive Report these days, and found that there are some function codes automatically recognised by ABAP, for instance, function code BACK which associated with function key F3 has the functionality of BACK, and function code RW which associated with F12 has the functionality of CANCEL.
    The material that I looked through gives 7 function codes, are there just 7 function codes that could automatically recognised by ABAP? If the answer is no, is there an official list that show all the function codes?
    Thanks a lot.
    Best Regards!
    Stephanie HE

    Hi,
    Welcome to SDN,
    To my knowledge there are no list of function codes execpt standard menu bar function codes...
    So if you like to know the function code in any SAP Screen then you just enter '/h' in the command text box and the press enter so that debugging is switched on.
    Now press any icon or any key so that it will take you into debugging.... in the debugging screen enter SY-UCOMM in the text box and press enter so that you can capture the function code of that particular button.
    This process do help during interface program ( BDC PROGRAM and also INTERACTIVE LIST PROGRAMMING to check with User defined push buttons )
    Hope this would be helpful.
    Revert back if any suggestions or clarifications needed.
    Regards
    Narin Nandivada.

Maybe you are looking for