Skip to Content
0
Former Member
Feb 23, 2009 at 09:53 AM

Need Logic in Read statement

41 Views

Hi guys,

I have an intenal table for suppose say 5 records with duplicate entrys.

My ITAB looks some thing like

TKNUM weight volume

1 10 5

1 8 6

1 15 10

2 30 15

2 20 9

I need to calculate total weight and volume for each TKNUM (Shipment number) i.e,

After calculation my new internal table should look like

TKNUM Total Weight Total Volume

1 33 21

2 50 24

How to do this.

Thanks in Advance.

Prasad.