Hi,
I have one i.table ITAB.
entries as:
Year Month value
2008 12 0.00
I have another i.table ITAB1
entries as:
Year Month value
2008 1 12.00
2008 2 15.00
2008 3 10.00
2008 4 11.00
2008 11 0.00
2008 12 0.00
Both these i.tables are retrieved from same table.
Now i required logic such that i should be able check each month 12-1, 11-1 etc.. till the month have some value other than 0.00.
Note: i should not use
Loop at ITAB.
If itab-value eq 0.
logic should pick up value from previous available month which have value from ITAB1
endif.
endloop.
can anybody provide simple logic for this!
Thanks,
Deep.