cancel
Showing results for 
Search instead for 
Did you mean: 

how to calculate totals in table ui element

Former Member
0 Kudos

hi,

i am adding a row to a table and giving amount as 10,then again adding another row to a table and amount as 20 ,and the end of the table i am displaying amount as 30,(1020),and adding another row to a table and giving amount as 40 then the final output should be 70(4030) . how to do this

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Praveen,

Please check the Summary view in the WDR_TEST_TABLE standard WD ABAP component to see how it can be done in Table UI.

If you want to achieve it in ALV you need to use aggregation.

I hope it helps.

Regards,

Sumit

Answers (1)

Answers (1)

Former Member
0 Kudos

Hallo,

It is recommenced to use ALV table when totaling involved . Alv does that for you with minimum programming work.