Hi,
Use below code.
Suppose Variable - V_TEST
Table containing Variable value - T_Test
Final append Table - TEST_RANGE
If i_step = 2
then read table T_TEST in to L_TEST where Variable = V_TEST
Case L_TEST - Low Value
When 1, TEST_RANGE= Jan
When 2, TEST_RANGE= Feb
write it for 12 months....
I hope it will help you.
Thanks.