Hi Hem,
Do this:
when 'var_Keydate'.
if I_step = 2.
Loop at I_T_VAR_range into Loc_var_range where vnam = var_compcode.
....
*use the loc_var_range-low to get the LOW value of var_compcode
*use the loc_var_range-high to get the HIGH value of var_compcode
...
endloop.
endif.