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: 

how to do sub total of all the records ?

Former Member
0 Kudos

hai friends ...

i got some doubt...

if suppose i ve records in table it like this

a 1 2 3 4

b 1 2 5 6

c 1 2 4 5

and at last i ve to get ...

a 1 2 3 4

b 1 2 5 6

total = 2 4 8 10

how to do it ......

2 REPLIES 2

lijisusan_mathews
Active Contributor
0 Kudos

hi,

if you simply need to sum up all the integer values in the internal table, you can use this.

Loop at internal_table into work_area.

sum

exit.

endloop.

you will have the summed up result in the work_area.

or is it alv?

Former Member
0 Kudos