problem in internal table calculation
i have internal table values as follows ( for eg.)
person month amount1 amount2
A jan rs.500(1) rs.1000 (3)
A feb rs.500 (2) rs.1000
B jan rs.1000(1) rs.2000(4)
B feb rs.1500(2) rs.2000
B mar rs.1000(3) rs.1000
i need to total the values - total = 123+4 and populate to another table as
A 123 so the value will be 2000
B 123+4 the value will be 5500.
i have written the code using AT NEW AND AT END OF... but i need to work it with IF condition... so plz help me in this regard...
Edited by: Julius Bussche on Sep 5, 2008 7:55 PM