Hi ,
In one internal table I have SCN Number and Po Number.
if both changes then only i have to take total other wise i should not take total.
For this I used like this.
sort itab by scn po.
loop at itab.
ON change of itab-scn or itab-po .
itab1-scn = itab-scn.
itab1-po = itab-po.
itab1-total = sum.
clear sum.
endon.
sum = sum + itab-total.
endloop.
But here the problem it is adding the First record in the Itab1 and by taking the total zero.
How to solve it ...?
regards,
satya.