Hi Naveen,
Loop on itab.
sum = sum + itab-amount.
AT NEW profit_center.
"get the profit center amount
"get the total of all profit centers.
ENDAT.
End loop.
Hi Naveen,
Loop on itab.
sum = sum + itab-amount.
AT NEW profit_center.
"get the profit center amount
"get the total of all profit centers.
ENDAT.
End loop.