ICON on Application Toolbar

Hi experts,
My requirement is I need to display an icon in Application Toolbar the icon ICON_STATUS as a button as it relates to some portion in the actual screen.
In any Function Code if I try to assign 'ICON_STATUS' it throws error - Error message 'Icon ICON_STATUS does not exist'. Is it possible any way to assign that Icon in application tool bar ?
Problem here is the Icons that are displayed in application tool bar are System Icons.
Any suggestions.
Thanks in advance.

HI,
Check these are the avaliable Icon related to status..
ICON_STATUS_OPEN                Booking status: open
ICON_STATUS_BOOKED              Booking status: booked
ICON_STATUS_PARTLY_BOOKED       Booking status:partially bookd
ICON_STATUS_REVERSE             Booking status: canceled

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.

  • 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

  • Button on report selection screen application toolbar

    Hi,
    I want to place Button (application tool bar)on report(executable program) selection screen.
    Need your valuable suggestions.
    Thanks,
    Sreedevi

    hii
    1. create GUI status with "Status" name and "Short text"
    2. Now a screen will appear with the following,
                    a. Menu Bar
                    b. Application tool bar
                    c. Function keys
    3. Click the down arrow near the application toolbar
    4. Enter the function code like SAVE, EXIT, etc., You
    can also give ur own meaningful naming convention .
              For example ( ZTEST)
    5. Now press enter, it will ask for "Static text" or "Dynamic Text". Choose Static text and press enter
    6. Now it will ask for function text and Icon name. Specify some function text ( what it does ) and Icon name u want to attach.
    7. Press enter. It will ask for function keys. Specify a function key and press enter.
    8. Now u can handle this function code (ZTEST) either in PBO/PAI like IF FUNCTION = ZTEST ...ENDIF
    Note:
    Don't forget to set the GUI status u have created in PBO event.
    Example code to set PF status.
    PROCESS BEFORE OUTPUT.
    MODULE liste_initialisieren.
    MODULE setstatus_0100.
    LOOP AT extract WITH CONTROL
    tctrl_ztufi_league CURSOR nextline.
    MODULE liste_show_liste.
    ENDLOOP.
    In the above MODULE setstatus_0100 do the following,
    SET PF-STATUS 'ZGUI'. ( The GUI status u have created).
    Check this:
    <b>http://www.sapdevelopment.co.uk/reporting/selscr/but_appbut.htm</b>
    <b>http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    Re: How to add push buttons in out put screen of ALV
    http://www.planetsap.com/Tips_and_Tricks.htm</b>
    Regards
    Naresh

  • Creating a push button in the application toolbar-----vvvv urgent...

    Hi,
    I have already created in the program.
    The addl. requirement is to create a pushbutton after displaying the output .
    Can anybody tell the procedure on how to create a pushbutton in the application toolbar.
    Plz send the relevant code also to download the output in to the excel sheet.
    Regards,
    Sree
    Edited by: sree on Feb 18, 2008 10:09 AM
    Edited by: sree on Feb 18, 2008 10:13 AM

    Sree,
      If you are using ALV report:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
             EXPORTING
                  i_callback_program       = ws_repid
                  i_callback_pf_status_set = 'GUI_STAT1'
                  i_callback_user_command  = 'STAT'
                  is_layout                = gs_layout
                  it_fieldcat              = i_fieldcat[]
                  it_sort                  = wa_sort1
             TABLES
                  t_outtab                 = i_zaw_pol_plan.
    *--Setting Status of output screen
    FORM gui_stat1 USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'STANDARD1' EXCLUDING rt_extab.
      SET TITLEBAR text-005.
    ENDFORM.
    Double click on status 'STANDARD1'.
    Expand the Application toolbar-->press ctrl+f1 for change mode -
    >add your  buutton name --> double click on name add text name button icon  --> save it.
    In classiccal report also Add set pf status
    same like above

  • Icons in the toolbar all appearing in grey color.

    Hello,
    After updating to Aperture 3, I was surprised that all the icons in the toolbar as well as the items in the library tabs ( projet lists, albums etc.. ) now  appear in grey. Would someone know how to get all the colors back ? thanks so much.

    Alain,
    it is easy to restore the color icons from an older version of Aperture, but you have to patch the Aperture application package and should have some experience in working with a mac. It is risky otherwise, as William pointed out.
    The fix is to replace all new, gray icons in the Ressources folder of the Aperture package by the older, colorful icons, and you will have to do it over and over again with each new Aperture upgrade. I have done it, because I find it difficult to tell the gray icons for albums and projects apart on my 17" screen without the aid of a little color.
    See this thread: Re: After updating to Aperture 3.3 all my icons appears in Black and white. This includes the inspect button, photo stream button, the Facebook / flicker share button. Could you please help here ?
    Regrads
    Léonie

  • Application toolbar list report

    Hi,
    How would I get a button on the application toolbar for an abap list report.
    I could do it using a selection screen, but I want the button usuable when the list output is printed
    to the screen. I have clickable icons on the list report. Be nice to have toolbar buttons.
    thanks
    Dylan.

    Hi you are asking about selection-screen application tool bar buttons or output application tool bar buttons. If u want selection-screen application tool bar buttons then go with SCCRFIELDS structure. If u want output application tool bar buttons then go with Set pf-status.
    Regards,
    Kumar.

  • Create button to application toolbar in report

    Hi,
    May i know how to create new button name continue near the save button or print button at the application toolbar?
    Any suggestion ???

    HI,
    For creating a new button, write the name of the button on the tool bar for ex. &CONTI.
    Double click on it, and choose the icon and function text ofr it.
    Save and activate the menu.
    Your button gets created in the menu.
    Declare the variable in your program with the code for continue.
    Here's an example,
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ALV_MENU'.
    endform. 
    form user_command using p_ucomm type sy-ucomm
    data : vbeln type vbeln_va.
      case p_ucomm.
        when '&CONTI'.
      ENDCASE.
    Regards,
    Pritha.
    Reward if helpful.

  • Making buttons in application toolbar dynamic....

    Hello,
    I have a application tool bar with 8 icon buttons defined. Now I have a custom configuration table where I check what buttons in application toolbar should be seen so that user can select which button he wants to see and which not anytime he wishes.
    My question is how can  I make buttons in application toolbar dynamic ?
    Please guide.
    Regards,
    Rajesh.

    This is sample logic, but you can adapt it to you needs
    DATA: excl_tab   TYPE sy-ucomm OCCURS 0 WITH HEADER LINE.
      AUTHORITY-CHECK OBJECT 'ZREO'  ID 'ACTVT' FIELD c_print.
      IF sy-subrc NE 0.
        APPEND 'PRIN' TO excl_tab.
      ENDIF.
      IF ok_0010 = 'DISP' OR ok_0010 = 'DELE'.
        APPEND 'SAVE' TO excl_tab.
      ENDIF.
      IF ok_0010 <> 'DELE'.
        APPEND 'DELE' TO excl_tab.
      ENDIF.
      SET PF-STATUS 'STAT_100' EXCLUDING excl_tab.

  • Not enough space for items in application toolbar...

    Hello Gurus,
    We a ALV report where we have more then 35 items in Application toolbar. It seems that in standard application toolbar, there cannot be more then 35 items in application toolbar.
    What is the option so that I can have more tehn 35 buttons in application toolbar of ALV ?
    Is there a way (maysbe some object oriented way) so that I can have multiple lines of application toolbar or have more then 35 buttons in application toolbar ?
    Regards,
    Jainam.
    Edited by: Jainam Shah on Mar 18, 2009 6:57 PM

    If you are using OO for alv then you can make toolbars into GROUPS
    class lcl_event_receiver_grid implementation.
      method handle_toolbar_0100.
        clear ls_toolbar.
        move 3 to ls_toolbar-butn_type.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 'DETAIL_MENU' TO ls_toolbar-function.
        move icon_detail TO ls_toolbar-icon.
        move 'Switch to STC...'(101) to ls_toolbar-quickinfo.
        move 2 to ls_toolbar-butn_type.
        move space to ls_toolbar-disabled.
        append ls_toolbar to e_object->mt_toolbar.
      endmethod.                             " handle_toolbar_0100
      method handle_menu_button.
        if e_ucomm = 'DETAIL_MENU'.
          call method e_object->add_function
                      exporting fcode   = 'YSTC'
                                text    = text-100.
        endif.
      endmethod.
    and
        set handler event_receiver_grid->handle_toolbar_0100 for grid1.
        call method grid1->set_toolbar_interactive.
        set handler event_receiver_grid->handle_menu_button for grid1.

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

  • Hi,  I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, t

    Hi,
    I was wondering if someone can help me. I have a MacBook Pro, it has came up saying I need to free up space on the disk as it full every time it starts up, so I log in and no icons or applications show up on the screen just my background wallpaper, the only thing I can do is the force quit keyboard shortcut but there is nothing to quit, I have tried to start up in safe mode but again there is no icons in the desktop,
    I have my disks that came with my laptop I have went into disk utility to repair disk and I still seem to have the same problem .. No icons or apps or anything lol just the cursor I can only shut down the laptop via power but and the press shut down.
    Please help I am going out my mind with this thing :(
    Thanks x jade

    This can be used to boot the machine and delelte enough files to get it to boot normally.
    .Create a data recovery/undelete external boot drive
    Read about storage drive so you can store your extra stuff.
    Most commonly used backup methods
    Also here to see how a full boot drive slows the machine down
    Why is my computer slow?

  • How can i disable '+' icon in the toolbar

    Hi,
    I have one requirement i.e i want to disable '+' button[File-->New] in the toolbar.This button creates a record when i click on this.
    My block(Updatable block) should allows updations and insertions so i can't make insert_allowed and update_allowed property to "NO".I tried with
    APP_SPECIAL2.ENABLE('FILE.NEW',PROPERTY_OFF); but the + icon is still enabled when i write above code.
    How can i disable '+' icon in the toolbar
    Thanks in advance,

    This is eBusiness-related, maybe ask your question in the EBusiness-forum, maybe here OA Framework

  • Is there a way to have the 'new tab' icon on the toolbar AND have the "new tab" button at the right end of my tabs, as before? It seems to be either/or.

    Under the previous version of Firefox I had the "new tab" option in both locations. When I upgraded, the one at the end of the tab line had disappeared. I used the suggestion from the forum to reset to default and it did reappear, but the icon in the toolbar had disappeared. Since there is no + in the customization window I cannot place a new one, and if I drag and drop from the tab bar it moves to the toolbar, but will not duplicate itself. I use either of these interchangeably, and having only one or the other is a real annoyance, and does slow me down when doing multiple searches or otherwise utilizing multiple tabs.

    Hi, I have a similar problem with 12.0 of Firefox. The 'Add New Tab' tab has moved from the righthand end of open tabs to the left hand end.
    If I right click on an empty tab area and select customize the "Add New Tab' tab disappears and an Add New Tab icon appears at the right hand end. I can drag and drop this icon into the Customize Toolbar window.
    However if I drag it from the window back to the Tab toolbar area on the right. It initially appears on the right. Then clicking 'Done' on the Customize Toolbar window converts the icon to a tab but places it back at the left hand end of the tabs.
    I'm sure this didn't happen before - so it's a possibility I have messed something up but I can't seem to correct it?

Maybe you are looking for

  • Initial Time machine backup to Time capsule results in kernel panic

    I recently purchased a Retina display MacBook Pro (running Lion at the time) and transferred the data from an external hard drive with my Time Machine backups from my previous MBP. I also bought a new Time Capsule.  The first time I tried to back up

  • How can I set up skype on iPad

    Is there an accessory that you can hook up to iPad in order to have video feed on the iPad to set up skype calls? And then how do you set it up?

  • Conditional mapping in the transformation file

    Hi Can anyone tell me if it is possible to perform more complex mapping when loading transactional data? I have 2 requirements: 1. When the Profit Centre is invalid, set it to a default value of "9999".  Where an invalid Profit Centre is a Profit Cen

  • Using Search_replace.properties file

    I am trying to use Migration assistant to migrate my forms form 6i to 10g. While doing so , I want to use search_replace.properties file to search for soem strings and automatically replace them. I want to search for 'message_box(' but it is not bein

  • The song names for this CD could not be found online

    I've been trying to copy some of my cds to itunes, but it does not recognize any of the track names. The error message: "The song names for this CD could not be found online. Do you still want to import the songs?" I've tried with a dozen CDs and is