11-26-2009 6:25 AM
Hi All.
I created Container ALV report .i didnt hide any of toolbar in ALV.but iam not able to see SUMMING icon in active mode.
i want to activate SUMMING icon.Please help me to selove this issue.
My code as follws:
Create the Custom Container
CREATE OBJECT cus_cont
EXPORTING
container_name = w_cust_ctl.
CREATE OBJECT grid4
EXPORTING
i_parent = cus_cont.
Display the List for ALV Display
CALL METHOD grid4->set_table_for_first_display
EXPORTING
it_toolbar_excluding = t_exclude
i_structure_name = ''
is_print = ''
is_layout = ls_layout
is_variant = ls_variant
i_save = 'A'
CHANGING
it_fieldcatalog = t_fieldcatalog1[]
it_outtab = it_report4[].
CALL METHOD grid4->set_toolbar_interactive.
CALL METHOD cl_gui_control=>set_focus
EXPORTING
control = grid4.
Please help me.
Thanks
Jay
11-26-2009 6:46 AM
Hi,
I think the Internal Table you passed in ALV didnt Contains any integer or quantity or currency fields. Thats Why the SUM Button is Not Displayed in ALV Output.
With Regards
Kesavaperumal
11-26-2009 6:58 AM
Hi Jay,
Just check if you have forgotten to call the method set_toolbar_interactive .
CALL METHOD gr_alvgrid->set_toolbar_interactive .
Regards
Abhii
11-26-2009 8:36 AM
You have to set the GUI status.
CALL METHOD go_table->set_screen_status
EXPORTING
report = lv_cprog
pfstatus = ' ' "Current program name.
set_functions =
go_table->c_functions_all. "Name of gui status.
"To display all function buttons.
Hope you get it.
11-26-2009 9:29 AM
Hi,
Check whether the internal table fields should contain either integer or quantity type field. If not the Summation button will be grayed.
If your building the field catalog, please do pass the appropriate datatype.
Regards
Sunil.
11-26-2009 10:13 AM
Hi Jay,
Can you see other standard tool bar buttons like Filter , Sort ?
Is it only SUM button not appearing ?
Regards,
Nisha Vengal.
01-27-2010 2:59 PM