Skip to Content
0
Former Member
Aug 24, 2009 at 09:27 AM

Customer Exit Variable

36 Views

I defined this code in order to fill VALID_TO variable with 0P_KEYDT but it doesn't work. when I execute the query, it says "specify a value for variable". what is wrong? please help??

WHEN 'VALID_TO'.

data: yy(4).

IF i_step = 2.

LOOP AT i_t_var_range INTO loc_var_range

WHERE iobjnm = '0P_KEYDT'.

CLEAR l_s_range.

l_s_range-low = loc_var_range-low.

l_s_range-high = loc_var_range-high.

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

APPEND l_s_range TO e_t_range.

endloop.

ENDIF.