Application Development and Automation 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: 
Read only

adding icon on toolbar

former_member497886
Participant
0 Likes
555

Hi,

I have created a dynamic table using create_dynamic_table method of class cl_alv_table_create.

I am displaying this table using factory method of cl_salv_table class.

The problem is in output i am not getting Summation icon on toolbar.

How to get this icon.

3 REPLIES 3
Read only

ThomasZloch
Active Contributor
0 Likes
507

Do you have any amount or number fields in the catalog at all? As far as I know, the totals function is only available if there are fields that can be summed up.

Thomas

Read only

0 Likes
507

Hi,

I have amount field of type betrg.

Regards,

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
507

Have you done this ?? . You should have a numeric field to make it enabled.


  METHOD pf_status.
    DATA: lf_functions TYPE REF TO cl_salv_functions_list.
    lf_functions = pc_alv->get_functions( ).
    lf_functions->set_all( abap_true ).
  ENDMETHOD.                    "pf_status