09-26-2008 5:07 AM
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 ......
09-26-2008 5:10 AM
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?
09-26-2008 5:12 AM
USE AT END OF.... ENDAT event
Also go through this link http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9f1f35c111d1829f0000e829fbfe/content.htm