Skip to Content
0
Former Member
Dec 30, 2007 at 03:22 PM

help in sum

13 Views

hallow

i have this table COL_MISS_TAB and i wont to do sum like

after org unit end like eg. below

what is the best way to do it?

TYPES: BEGIN OF 1_itab,

text type char15,

kostl TYPE char10,

org TYPE char8,

period TYPE num6,

miss_days TYPE int4,

END OF 1_itab.

DATA: col_miss_tab TYPE TABLE OF 1_itab WITH HEADER LINE.

org period days

50000827 200702 20

50000827 200703 21

50000827 200704 19

50000827 200705 22

total 82

50000830 200706 20

50000830 200707 23

50000830 200708 22

total 75

regards