Hi,
I have a specific requirement where I need a customer exit variable to be processed twice (once in i_step = 1 and the second time in i_step = 2 ).
The problem I am facing is that after the i_step = 1 is processed for both my customer exit variables, it never reaches i_step = 2 , but only i_step = 3.
So I have changed my coding so the second step is processed at i_step = 3. The problem here is that the i_vnam table seems to be empty when i_step = 3 is reached, so it never executes the code below my WHEN statements for i_step = 3.
The code is :
when 'ZCEM_MARG1'.
IF i_step = 1.
l_range-sign = 'I'.
l_range-opt = 'EQ'.
l_range-low = '0000000075'.
append l_range to e_t_range.
ELSEIF i_step = 3.
IF l_range-low CO '1234567890'.
ZCL_IM_VC_RAGSTA=>zvar_marg1 = l_range-low.
ELSE.
MESSAGE I010(ZB).
ENDIF.
ENDIF.