How to activate sumation functions in alv tool bar..!!

hi,
how to activate the icon for summation that appears for an alv when it is in diasabled State.
all icons are working except that summation...please suggest me..!
thanks
sivaram.

Hi,
In your ALV there has to be numerical field. Check the structure.
It wiill come automatically.
Reward if useful!

Similar Messages

  • How to activate a function module programatically?

    How to activate a function module programatically?

    Hi,
    You can try the following function module:
    RS_FUNCTION_ACTIVATE
    Thanks and regards,
    S. Chandra Mouli.

  • How can I call functionality of ALV Grid by event of button outside grid?

    Hello,
    How can I call functionality of ALV Grid by event of button located outside ALV Grid? For example how to fire printing of this ALV Grid by button click elsewhere on the screen (not in toolbar of ALV Grid).
    Best regards,
    Josef Motl

    hi Motl,
    these are steps to create a button in ALV and trigger an event from it..
    1.Use the parameter i_callback_pf_status_set in the function module REUSE_ALV_GRID_DISPLAY
    i_callback_program = gd_repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWALVSTATUS'.
    endform.
    You have to copy the standard ALV pf stauts to 'NEWALVSTATUS' and add your button.
    2.You have to do the following to process the new button click.
    i_callback_user_command = 'USER_COMMAND'
    form user_command using i_ucomm like sy-ucomm
    is_selfield type slis_selfield.
    case i_ucomm.
    3. to copy the standard pf status to a new one.go to the ALV screen and take the menu System -> Status.  Then look for the standard pf status. Copy this to Z range and then add your new button.
    reward points if helpful
    regards
    satesh

  • Help on Button Choice of alv tool bar

    Hai , i created a button choice on the ALV tool bar .
    and now problem is how to capture the choices i.e how to check which choice is selected on the button?
    i defined an event handler methos with refernce to the event ON_FUNCTION of the alv.
    Please help me , its urgent,
    Madhuh

    Hi Madhuh,
    could you help me? I have a similar issue. It seems that you are one step ahead cause for me it is not possible to see the button choice in ALV.
    How did you set the button choice object to the ALV toolbar?
    I tried following:
      DATA: lr_interfacecontroller TYPE REF TO iwci_salv_wd_table,
            lr_alv_conf            TYPE REF TO cl_salv_wd_config_table,
            lr_func_settings       TYPE REF TO if_salv_wd_function_settings,
            lr_function            TYPE REF TO cl_salv_wd_function,
            lr_menu_action         TYPE REF TO cl_salv_wd_menu_action_item,
            lr_button_choice       TYPE REF TO cl_salv_wd_fe_button_choice,
    * create button choice
      CREATE OBJECT lr_button_choice.
    * function ID (need for field propeties?!)
      lr_function = lr_func_settings->create_function( 'BTN_CREATE_ETA' ).
    * set text
      lv_text = cl_wd_utilities=>get_otr_text_by_alias( '/SCMTMS/UI_COMMON/CREATE_ETA' ).
      lr_button_choice->set_text( lv_text ).
    * create menu objects for the categories depending on allowed categories:
      LOOP AT lt_value_set INTO ls_value_set.
        CONCATENATE 'CREATE_ETA' ls_value_set-key INTO lv_id.
        lv_text = ls_value_set-value.
    *   create menu action now
        CREATE OBJECT lr_menu_action
          EXPORTING
            id = lv_id.
        lr_menu_action->set_text( lv_text ).
    *   Add action menu to button choice
        lr_button_choice->add_choice( lr_menu_action ).
      ENDLOOP.
      lr_function->set_editor( lr_button_choice ).
    But that dumps in my case inside wd salv coding because of last statement. Is that the right way to do?
    Do you have a context mapping to the interface controller of ALV for that function? If yes how does it look like.
    Thanks in advance for your help!
    Regards Rico

  • Reg : ALV tool bar

    Hi all,
    I am displaying data in ALV grid format by using the FM REUSE_ALV_GRID_DISPLAY.
    I have added a custom button to the standard ALV  display screen.
    when I execute the report I get the button which I have created but the standard ALV tool bar is not getting displayed.
    Can any one please suggest me how i can get the ALV tool bar and custom button together.
    thanks
    vijay

    Hi
    Adding Your Own Functions
    ALV Grid control has an open door letting you to add your own functions triggered by a button press on the ALV toolbar. For this, we mainly utilize two of ALV Grid events. We use the event “toolbar” to add the button and the event “user_command” to implement the new function.
    In the method handling the “toolbar” event, we define a new button by filling a structure and appending it to the table attribute “mt_toolbar” of the object to whose reference we can reach via the parameter “e_object” of the event.
    FORM handle_toolbar USING i_object TYPE REF TO cl_alv_event_toolbar_set .
    DATA: ls_toolbar TYPE stb_button.
    CLEAR ls_toolbar.
    MOVE 3 TO ls_toolbar-butn_type.
    APPEND ls_toolbar TO i_object->mt_toolbar.
    CLEAR ls_toolbar.
    MOVE 'PER' TO ls_toolbar-function. "#EC NOTEXT
    MOVE icon_display_text TO ls_toolbar-icon.
    MOVE 'Passenger Info'(201) TO ls_toolbar-quickinfo.
    MOVE 'Passenger Info'(201) TO ls_toolbar-text.
    MOVE ' ' TO ls_toolbar-disabled. "#EC NOTEXT
    APPEND ls_toolbar TO i_object->mt_toolbar.
    CLEAR ls_toolbar.
    MOVE 'EXCH' TO ls_toolbar-function. "#EC NOTEXT
    MOVE 2 TO ls_toolbar-butn_type.
    MOVE icon_calculation TO ls_toolbar-icon.
    MOVE 'Payment in Other Currencies'(202) TO ls_toolbar-quickinfo.
    MOVE ' ' TO ls_toolbar-text.
    MOVE ' ' TO ls_toolbar-disabled. "#EC NOTEXT
    APPEND ls_toolbar TO i_object->mt_toolbar.
    ENDFORM .
    The fields of the structure we fill are as follows:
    Field
    Description
    FUNCTION
    The function code for the function
    BUTN_TYPE
    Button type that will be added to the toolbar. Available button types are:
    0
    Button (normal)
    1
    Menu and default button
    2
    Menu
    3
    Separator
    4
    Radio button
    5
    Checkbox
    6
    Menu entry
    ICON
    Icon for the button (optional)
    TEXT
    Text for the button (optional)
    QUICKINFO
    Quick info for the button (optional)
    DISABLED
    Adds the button as disabled
    Fields of structure to be filled to add a new function
    we are adding a separator line and two buttons one of which is a normal button whereas the other is a menu button. To handle a menu button which as added by choosing ‘1’ or ‘2’ as the button type, we must also implement some coding at the method handling the event “menu_button” to define functions as to be subentries. The functions of these subentries are also handled under the event “user_command”.
    FORM handle_menu_button USING i_object TYPE REF TO cl_ctmenu
    i_ucomm TYPE syucomm .
    CASE i_ucomm .
    WHEN 'EXCH' .
    CALL METHOD i_object->add_function
    EXPORTING
    fcode = 'EU'
    text = 'Euro' .
    CALL METHOD i_object->add_function
    EXPORTING
    fcode = 'TRL'
    text = 'Turkish Lira' .
    ENDCASE .
    ENDFORM. " handle_menu_button
    Adding two functions to be subentries for the menu button with function code ‘EXCH’
    Now, to implement what to be executed when our button is pressed or our subentry is selected we need to program our functions in the method handling the event “user_command”.
    Implementing functioning codes for new functions
    FORM handle_user_command USING i_ucomm TYPE syucomm .
    DATA lt_selected_rows TYPE lvc_t_roid .
    DATA ls_selected_row TYPE lvc_s_roid .
    CALL METHOD gr_alvgrid->get_selected_rows
    IMPORTING
    et_row_no = lt_selected_rows .
    READ TABLE lt_selected_rows INTO ls_selected_row INDEX 1 .
    IF sy-subrc ne 0 .
    MESSAGE s000(su) WITH 'Select a row!'(203) .
    ENDIF .
    CASE i_ucomm .
    WHEN 'CAR' .
    READ TABLE gt_list INDEX ls_selected_row-row_id .
    IF sy-subrc = 0 .
    CALL FUNCTION 'ZDISPLAY_CARRIER_INFO'
    EXPORTING carrid = gt_list-carrid
    EXCEPTIONS carrier_not_found = 1
    OTHERS = 2.
    IF sy-subrc NE 0 .
    *--Exception handling
    ENDIF .
    ENDIF .
    WHEN 'EU' .
    READ TABLE gt_list INDEX ls_selected_row-row_id .
    IF sy-subrc = 0 .
    CALL FUNCTION 'ZPOPUP_CONV_CURR_AND_DISPLAY'
    EXPORTING monun = 'EU'
    quant = gt_list-paymentsum.
    ENDIF .
    ENDCASE .
    ENDFORM .
    As you can see, we are using the method “get_selected_rows” to get which row is selected. Since the button with function ‘EXCH’ branches into subfunctions, we do not implement anything for it. Instead, we implement functional codes for subfunctions.
    After all, to make ALV show our additional buttons, we must call the method “set_toolbar_interactive” for the ALV Grid instance after the instance is created.
    e.g. CALL METHOD gr_alvgrid->set_toolbar_interactive .
    Regards
    Preeti
    <b>
    Reward if useful</b>

  • "Excluding" not working with PF status In ALV tool bar

    Hi all,
    I have 5 buttond in ALV tool bar out of which for every distinct logic only two buttons should be actually visible on toolbar.For this am using-
    SET PF-STATUS 'ZQACCAL'  EXCLUDING '&QE17''&QA13''&QE19' IMMEDIATELY.
    Problem is am still viewing excluded buttons (ie '&QE17''&QA13''&QE19' )also.
    Please tell me the solution for the same.
    Thank you.

    Hi,
    Use:-
    *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 more function codes for standard buttons that needs to be excluded
    "you can get to know the func code for the button by enabling debugging at run time
    "and check valus for sy-ucomm and append it to it_exclude
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                = sy-repid
       it_fieldcat                       = it_field
       it_excluding                      = it_exclude
    TABLES
       t_outtab                          = it_final
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this helps you.
    Regards,
    Tarun
    Edited by: Tarun Gambhir on Mar 6, 2009 5:06 PM

  • ALV TOOL BAR BUTTONS NOT ENABLED IN TCODE FBL3N

    Hello All,
    We have currently switched from 4.7 to Ecc 6.0 and while executing
    tcode FBL3N in ALV tool bar all the buttons like Change document , mass
    change , select layout , save layout are disabled.
    These all buttons are active in 4.7 but in ecc 6.0 these buttons are
    totally disabled.
    I have checked all these buttons fcode status in se41 and all that are
    active.
    Kindly guide us how to go about it.
    Regards,
    Sunny

    Hi suny,
    there are some new authority-objects in ecc6.
    try SU53 after executing FBL3N.
    Perhaps you find Authotity-Problems.
    Regards, Dieter

  • How to add push button in application tool bar in SAP transaction VA01

    How to add push button in application tool bar in SAP standard transaction VA01 and how to implement the code for that function code.

    There is no scope to create a push button in application tool bar. Instead of that we can add in a menu bar.

  • ALV tool bar settings

    Hi,
    How and where to see ALV tool bar settings? in FPM environment?what is the method/class?
    the requirement is to enable /disble  few ALV settings  like, 'Filter'...'settings'...'View(drop down)'on top of ALV tool bar

    Hi,
    You can use the following for doing different settings for an alv:
    data: lr_alv_usage type ref to if_wd_component_usage,
            lr_if_controller type ref to iwci_salv_wd_table,
            lr_table_settings type ref to if_salv_wd_table_settings,
            lr_table type ref to cl_salv_wd_config_table,
            lr_column_settings type ref to if_salv_wd_column_settings,
            lr_column  type ref to cl_salv_wd_column,
            lt_columns type salv_wd_t_column_ref,
            ls_columns type salv_wd_s_column_ref,
            lr_col_header type ref to cl_salv_wd_column_header,
            lr_link type ref to cl_salv_wd_uie_link_to_action,
            lr_check_box type ref to cl_salv_wd_uie_checkbox,
            lr_image type ref to cl_salv_wd_uie_image,
            lr_input_field type ref to cl_salv_wd_uie_input_field.
      data: lr_function_settings type ref to if_salv_wd_function_settings,
            lr_standard_functions type ref to if_salv_wd_std_functions,
            lr_user_function type ref to cl_salv_wd_function,
            lr_drdn type ref to cl_salv_wd_uie_dropdown_by_idx,
            lr_add_button type ref to cl_salv_wd_fe_button.
    Control field
      data: lr_field_settings type ref to if_salv_wd_field_settings,
            lr_field          type ref to cl_salv_wd_field,
            lr_sort_rule      type ref to cl_salv_wd_sort_rule,
            lr_aggr_rule      type ref to cl_salv_wd_aggr_rule.
    These are some classes and interfaces that you can use. We have methods in them that will help to do settings .
    For further details plz check the link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/7f/849e6d796d4fe49221609ffcbc357d/content.htm
    Thanks And Regards,
    NSingh
    Edited by: Nsingh on Feb 23, 2012 8:52 AM

  • How can I make disappear the finder tool bar in the second monitor?

    How can I make disappear the finder tool bar in the second monitor?
    (I have to use ProVideoPlayer, a professional application for presenting videos and I really need a clean second monitor!)

    After changing that setting and logging out and back in as it indicated, do you still have two menu bars?
    If you are already set up that way and want to move the menu bar to the other monitor, drag it there in the Arrangement tab of the Displays system pref.

  • How to hide some functions in the menu bar of flash paper

    Do anyone know how to hide some functions in the menu bar of
    flash paper? As I want to show a swf file(converted from pdf) on
    the website without printing function. How can I do it?
    Also, if possible, can anyone know how to hide all functions
    on the menu bar except the logo of flash paper?
    Thank you very much, it is very urgent.

    Here is an article about how to integrate flashPaper into
    Director. It has most of the functions that can be executed on
    flashPaper. Maybe it will help?
    http://www.adobe.com/devnet/director/articles/flashpaper_in_director.html
    and here is all his code
    http://www.mediamacros.com/item/item-1006687373/
    Note: it is for 1.01, but works with 2.0

  • I imported my favorites from Internet Explorer but I need to know how to display my "favorites" in the tool bar so I can access and organize them

    I imported my favorites from Internet Explorer, but how do I display "favorites" in the tool bar so I can access and organize them?

    It did merge them after a fashion, glad I took a backup first even if I did only perhaps create 3 or 4 bookmarks today. So if I have bookmark separators, it's going to figure out which group to put them in (no way). Anyway I thought they would just go down to the bottom of the bookmarks menu like the other method, like when I export and import bookmarks in Firefox where they do go to the end of the Bookmarks Menu folder and would simply delete one folder.
    Anyway this would not be typical because I don't want any bookmarks from IE.

  • How do I uninstall the Nation search tool bar?

    My kids downloaded a video game and it appears the Nation searh toolbar was bundled with it.  Now it has highjacked Safari and all my Google searches end up with Nation responses.
    How do I uninstall the Nation search tool bar?

    dustin_jhb wrote:
    I have run MacKeeper and all seems well
    Yikes!
    Many users will see references to an application called MacKeeper on various web sites and via pop-ups (and even re-directs) on their browser. Not only is it expensive for what it purports to do (freeware applications that do the same or more are readily available and in fact make up a large part of MacKeeper), it can sometimes install itself without the user realising it, and it can be very tricky to get rid of.
    Most positive reviews of it have been found to have been paid for by Zeobit (developers of MacKeeper) in the form of ‘free upgrades’ etc. For example (posted by fellow contributor Softwater), on their Facebook page and on their webpage they have this apparent endorsement from UNC Charlotte:
    https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-18670779-12515 7/450-259/Screen+Shot+2012-06-17+at+17.04.04.png
    Softwater contacted the Director of IT at the College of Arts and Architecture UNC Charlotte, about whether they endorse MacKeeper and his response, quoted here, was:
    No, please do not download and install MacKeeper. We have seen problems with this software in the past.
    MacKeeper has been described by various sources as highly invasive malware* that can de-stablize your operating system, adding that it is unethically marketed by a company called Zeobit, with a history of making false advertising claims backed up with paid-for reviews, and a rip-off. One such opinion is:
    http://themacschool.blogspot.co.uk/2012/09/mackeeper-is-scam.html
    Further opinion on it and how to uninstall MacKeeper malware can be read here:
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    MacKeeper have recently said that the uninstaller from here:
    http://applehelpwriter.wordpress.com/2011/09/21/how-to-uninstall-mackeeper-malwa re/
    now works.
    This is also worth reading:
    http://www.reedcorner.net/news.php/?p=245
    Equally phoney was iAntivirus:
    http://www.reedcorner.net/news.php/?p=341
    until it was purchased recently (May 2012) by Symantic (makers of Norton anti-virus which does not work well with Apple OS X). Even after having tinkered with it, iAntivirus still fails to do the job properly and cannot be recommended.
    There are no viruses that can affect Apple OS X and there is therefore no reason to run anti-virus software on a Mac, but a Mac, like all computers, can transmit viruses and malware to other users particularly those running Windows. Note, however, that Trojans are another matter and can represent a genuine threat, an example of which was the recent 'Flashback Trojan' which you can read more about here:
    https://discussions.apple.com/docs/DOC-3261
    For further information you may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer some guidance on the main security threats and how to avoid them.
    * The expression ‘malware’ is a general term used by computer professionals to mean a variety of forms of hostile, intrusive, or annoying software.

  • PR05 - How to activate a Function in the Object Services Toolbox

    Hi,
    How do I activate a function in the Object Services Toolbox?
    In transaction PR05 (Travel Expense Manager) select any trip and then click on 'Change'. This takes you to the screen for the individual trip.
    On the top left of the screen is the 'Object Services Toolbox'.
    If I drop down on this list then select 'Create' there are 5 options under 'Create' i.e. 'Create attachment', Create Note', 'Create External Document', 'Store Bus. Doc', and 'Enter Bar Code'.
    The 'Enter Bar Code' is deactivated. I would like to know how to activate this.
    Thank you.
    Warren.

    no idea

  • How does the SORT function in ALV grid work?

    Hi,
    I have a report for which the o/p is displayed in ALV grid format.There is one column in the O/p strcuture which is "No of days".Based on certain conditions,i need to display the value for some of the days as Negative e.g. " - 45".Becasuse of this,I have declared the field for the "No of days" of the type "CHAR".
    Now when i sort(using ALV grid SORT function) the list on basis of this column,it doesnt give me the correct o/p.
    CAN anyone tell me how do i handle this?I want the list to be sorted correctly on basis of the "No of days" column.
    Thanks!

    This is your Fourth Cross Posting in last three days on same issue!!
    CHAR type column doesnt work for SORT function in ALV grid!
    How to sort a column of type CHAR
    I dont,ve link for your Fourth Thread on same,though i'm short memory loss.

Maybe you are looking for

  • How do i get my website to show correctly on firefox

    my website is: www.thebuildpro.com it shows up correctly on internet explorer... How can I fix it to make it show up correctly on mozzilla ? Is there a program to convert it?? Or can I just add something in the code? Thx

  • Text Flow around objects

    I have a two-column book with photographs/diagrams of different sizes. On occasions where these extend into the second column, the text flow is often uneven across the two columns. I can get the text in the right hand column to move down, but not the

  • Worries of a Macaholic

    I just woke my computer from sleep, and the screen was filled with strange colors, and there was a line running vertically on the screen. The screen just looked really wrong. When I restarted my computer, everything was fine, but it took longer than

  • Are 2009/2011 iMac power supply compatible with mid2010 iMac?

    I have a mid-2010 that doesn't turn on. None of the LEDs turn on and I've been troubleshooting for a couple weeks with no luck. I want to buy a power supply for the iMac but I'm not sure if others are compatible. I can't find one specifically for the

  • Two styles showing

    I've got two styles showing for what should be a numbered list. Note in the image attached the highlighted text has NumberedList2 and BoldName assigned to it. How to fix? Secondly, why are the styles shown in 2 places--in the upper left corner and al