Skip to Content
0
Former Member
Nov 23, 2011 at 01:18 PM

I_T_VAR_RANGE usage and is Text Variable I_STEP 2 ?

520 Views

Dear Experts

May I know in Exit variables coding, does I_T_VAR_RANGE include Text variables?

Can we refer to more than 1 variable value in the coding for a exit variable?

eg. Deriving Text from 2 value variables .

If variable = 'ZVAR_TEXT'.

if I_STEP = 2.

Loop at I_T_VAR_RANGE into LOC_VAR_RANGE

where variable = 'ZVAR2_VALUE'.

clear L_S_RANGE.

IF LOC_VAR_RANGE-low = 100.

  • 2nd reference to the I_T_VAR_RANGE.

Clear LOC_VAR_RANGE.

Loop at I_T_VAR_RANGE into LOC_VAR_RANGE

where variable = 'ZVAR3_VALUE'.

IF LOC_VAR_RANGE-low < 100.

L_S_RANGE-low = 'A'.

ELSE.

L_S_RANGE-low = 'B'.

ENDIF.

L_S_RANGE-sign = 'I'.

L_S_RANGE-OPT = 'BT'.

APPEND L_S_RANGE to E_T_RANGE.

ENDLOOP.

ENDIF.

ENDIF.

ENDIF.

Thank you in advance for advising.

best regards

Bass