Hi All,
In my program i want to show the report as below consolidated form.
Here internal table contains..
vendor Sgtxt some fields WRBTR
0000001 New-2009 nmklkll 56
0000002 old-2010 nmklkll 56
0000001 New-2009 nmklkll 23
0000002 old-2011 nmklkll 69
0000001 Base-2009 nmklkll 78
0000002 old-2010 nmklkll 56
0000001 New-2011 nmklkll 89
0000002 Base-2010 nmklkll 56
now i want to calculate the above details based on year...
if year 2009 mean want to add related WRBTR(amount),
if year 2010 mean want to add related WRBTR(amount),
if year 2011 mean want to add related WRBTR(amount),
and show like this..
new 2009 total amount
new 2011 total amount
old 2010 total amount
old 2011 total amount
If i put if year 2000 mean want to add related WRBTR(amount),also no use.
Because by using offset only we have to separate the year i think..Can anyone suggest how to do this..........
Regards,
Nithya.