hi,
you have order and items and each item has quantity and u want to add up all the items and get the total for the order.
let us say itab is a table which has order number item and quanityt.
sort itab by order .
loop at itab.
at end of order.
sum.
not itab-quanity will have the sum of all the quantities for the order.
endat.
endloop.
Add comment