How to put name in the application toolbar

how to put name on the button in the application tool bar while it is created with selection screen

I've never seen this done this way.  Learn something new everyday.  Anyway, here is a sample program that will show you what you need to do to add text to your function button,  this also adds an icon.
report zrich_0002.
Tables: sscrfields.
selection-screen function key 1.
select-options: s_datum for sy-datum.
INITIALIZATION.
  MOVE '@49@ Export'  TO SSCRFIELDS-FUNCTXT_01. "ICON_EXPORT
If this has solved your problem, please award points accordingly and mark this post as solved.  Thanks.
Regards,
Rich Heilman

Similar Messages

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

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

  • How Do I Get Rid Of The Application Toolbar In CS4?

    I can seemingly turn everything else off. I don't want the Application Frame. I don't want the Application Toolbar. I just don't want it. My screen real estate is valuable to me and it's in the way. I can't even dock it on a side or as a tab somewhere. I need the vertical screen real estate. Where do I turn this off? And if it isn't possible--why NOT? This is a serious gripe and I'm going to see if I can scrounge up an old copy of PS. This is a waste of $700.

    I humbly submit that I was wrong. And sorry for the rant; this has been bugging me for a while. The menu item was indeed there--after I restarted PS while holding down command-option-shift. Best guess is something corrupted while/shortly after installing.

  • 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

  • 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

  • How to put distinct in the query

    Hi all,
    How to put distinct in the query.I checked in RPD , Distinct supported is already available. I marked the distinct check box in advance option still then i'm not getting distinct in the query.
    any idea , please help...

    In the RPD i have join between base table and view .i'm selecting 2 columns one from base table and other from view . which gives cartesian product . to avoid that i want to put distinct . I'm not using any measure . I'm taking direct columns.
    I'm getting distinct keyword if i'm accessing the report directly . but when i'm accessing it from dashboard in the back end while preparing the query it's writing distinct but the actual query which is sending to db does not have distinct.
    ==================================================
    RqList distinct
    VW_SCNR_114000074_TA_DATA.Match Identifier as c1 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Amt as c2 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Ct as c3 GB,
    case when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '1' then 'Productive' when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '2' then 'Non Productive' else 'Indeterminate' end as c4 GB,
    VW_SCNR_114000074_TA_DATA.Batch Identifier as c5 GB
    DetailFilter: Alert TA Data.Run Id > 0 and Alert Scenarios.Scenario Name = 'ScnroName' and Alert TA Data.Batch Id > 0
    OrderBy: c4 desc
    =================================================
    -------------------- Sending query to database named KYC1.1DEV-179 (id: <<16315>>):
    select T353.BATCH_ID as c1,
    case when T353.QLTY_RTG_CD = '1' then 'Productive' when T353.QLTY_RTG_CD = '2' then 'Non Productive' else 'Indeterminate' end as c2,
    T353.TOT_TRXN_CT as c3,
    T353.TOT_TRXN_AM as c4,
    T353.BREAK_ID as c5,
    T117.SCNRO_NM as c6
    from
    KDD_SCNRO T117,
    KDD_TA_DATA T130,
    KDD_TSHLD_SET T171,
    VW_SCNR_114000074_TA_DATA T353
    where ( T117.SCNRO_ID = T130.SCNRO_ID and T117.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T353.SCNRO_ID and T130.TSHLD_SET_ID = T171.TSHLD_SET_ID and T171.SCNRO_ID = T353.SCNRO_ID and T171.TSHLD_SET_ID = T353.TSHLD_SET_ID and 0 < T130.BATCH_ID and 0 < T130.RUN_ID )

  • 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 : )

  • I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.

    I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • Looking for a name of the application that allows you to browse files

    Looking for a name of the application that allows you to browse files in Linux shell! Here's someones screenshot
    http://s8.postimg.org/ksexr9nbp/image.jpg
    that app in the middle - browsing home directory!
    Thanks all in advance!

    bohoomil wrote:Check the Wiki, File managers, and generally always check the Wiki before asking, after asking, and instead of asking...
    An apple can be an effective contraceptive. Not before. Not after. Instead.

  • How to get username in the application?

    Hi,
    Do anyone knows how to get username from the application, for example, oracle provides a function to retreive a username from application?
    Please Help
    Amy

    read about the following function, it is usefull for you.
    sys_context

  • How to put wallpaper on the homescreen on ipod touch 3g?

    I have an ipod 3g and I am wondering how to put wallpaper on the homescreen,I tired to go to settings,but it still won't work??

    Just so we don't spin our wheels, please confirm that it is indeed 3rd-gen (there was a 32GB 2nd-gen iPod touch). You may well be correct, but other people have been mistaken in what they have, so I've learned to confirm. The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the iPod. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.
    Assuming you do indeed have a 3rd-gen iPod, what version of iOS is it running? And when you say "won't work", do you mean that you don't see the option, or you see the option but when you try and change the wallpaper it doesn't change?
    Regards.

  • I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    There are different templates for iPhoto books and they differ from version of iPhoto to iPhoto, so explore the other options.

  • Is it possible to change the name of the application in webdynpro

    Hi ,
             I created one application with 2 views .It is running perfectly.Now the problem here is i want to change the name of the application.Is it possible to edit the name of an application
    Regards
    Padma N

    hi,
       I want to create an application with name Z_XXX but while running the application it has to show only XXX at the top of the Application window
       i dont think which u have mentioned is possible or Even i may be ignorant in that.
    better give the Application name as XXX instead of Z_XXXX
    Thanks and reagrds
    Fistae

  • How to put sound in an application (not an applet)

    i was wondering how to put sound in a application.
    what code do i need and where should i put it

    Please do not create duplicate threads. Abandon this one and continue to post in your original here:
    http://forum.java.sun.com/thread.jspa?threadID=5203167&messageID=9810376#9810376

Maybe you are looking for

  • How to accept user values into a pl/sql procedure or function on every execution

    As we accept user values on every execution in a C or a java program, is it possible to do so with a pl/sql procedure or a funtion without using parameters? I cannot use parameters because it is required to be interactive while accepting the user-val

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there, I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage col

  • Custom field in Basic data screen of invoice entry screen

    hello, I want to add custom fields in basic data screen of Invoice entry in SRM 5.0. As invoice Entry screen is divided into three parts: 1. Basic data Screen 2. Header data screen 3. Item data screen Now according to OSS Note number 672960 we are ab

  • Lenovo E540 video problems on Windows 8.1

    Hi, I've just recently bought a Lenovo ThinkPad Edge E540 with the following configuration: - i7-4702MQ(2.2GHz) - 4GB RAM - 500GB 7200rpm HD - 15.6in 1920x1080 LCD - 2GB NVIDIA N14P-GV2 - CDRW/DVDRW - Intel 802.11bgn wireless - 1Gb Ethernet, UltraNav

  • Clear buffer_cache

    Hi, Could any one please tell me how to clear the oracle buffer_cache from java application. i need to execute queries and after each execution of the query i want to clear the cache. how can i execute the statement "alter system clear buffer_cache"