Skip to Content
0
Former Member
Dec 11, 2007 at 04:06 PM

How to use collect statement for below

14 Views

data : begin of itab,

n(3) type c,

n1 type n,

k(5) type c,

end of itab.

select n n1 from into itab table /zteest.

*internal table has

n n1 k

gar 100 uji

hae 90 iou

gar 90 uji

hae 87 iou

I want

gar 190

hae 177

How to use collect statement as n1 is n ..?

let me know..

Thanks