‎2007 Sep 04 6:15 AM
Hi
My req is i have customer, number and total in output
now based on customer/number combination i want to add the total.
how can i do it
Thanks in advance
‎2007 Sep 04 6:20 AM
Hi,
sort itab by customer number.
loop at itab.
on change of itab-customer or itab-number.
sum .
write: / itab-customer, itab-number, itab-total.
end on.
endloop.
thanks & regards,
Venkatesh
‎2007 Sep 04 6:21 AM
Krk,
If you are using an alv report then all you have to do is highlight the customer number column and then click on subtotals buttons.Then highlight the total column and click on the button aggregation.This will give you the totals based on the customer number.
K.Kiran.
Message was edited by:
Kiran K