Skip to Content
0
Former Member
Apr 01, 2013 at 05:52 PM

net total quntity for each deliveried items

20 Views

Hi All,

Please help me on this:

I'm retrieving the delivered items from EKBE table based on movement type 101/102/103/104.

so my internal table has so many multiple record for one item based on the movement type. My requirement is calculating the total quantity for each item considering the movement type, then I should have only one record includes po#,item#, and total received qty.

for example :

itab :

ebeln ebelp bwart menge wesas

4500000555 10 101 500 0

4500000555 10 102 200 0

4500000555 10 101 100 0

4500000555 20 103 0 70

4500000555 20 104 0 40

4500000666 10 101 800 0

the resulte shold be (on new table) :

ebeln ebelp bamng

4500000555 10 600

4500000555 20 70

4500000666 10 800

whiting your ideas ...

Thanks

huss