Skip to Content
0
Former Member
Dec 11, 2007 at 06:54 PM

Issue with customer exit for copying one variable value to another

49 Views

Hello Gurus,

I need to copy the value of a single value variable into another single customer exit variable.

I coded as below.

WHEN 'customer_exit_var'.

IF I_STEP = 2. "after the popup

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = 'user_input_Variable'.

CLEAR L_S_RANGE.

L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.

L_S_RANGE-HIGH = ''.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

EXIT.

ENDLOOP.

ENDIF.

I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.

Please help me in this regard,

Thanks,

Aarthi.