Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Container ALV (in Summing Icon)

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Jay,

Just check if you have forgotten to call the method set_toolbar_interactive .

CALL METHOD gr_alvgrid->set_toolbar_interactive .

Regards

Abhii

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Jay,

Can you see other standard tool bar buttons like Filter , Sort ?

Is it only SUM button not appearing ?

Regards,

Nisha Vengal.

Former Member
0 Kudos

thanks all