Hi Vinay,
Try,
Data: itab type sorted table with unique key matnr,
lv_estimated quantity type p decimal 0,
lv_devoluted quantity type p decimal 0,
lv_balance quantity type p decimal 0,
AT NEW MATNR.
Clear: lv_estimated quantity, lv_devoluted quantity, lv_balance quantity.
ENDAT.
lv_estimated quantity = lv_estimated quantity + mara-menge.
AT END OF MATNR.
APPEND wa to itab. |
Regards,
Venkat.