cancel
Showing results for 
Search instead for 
Did you mean: 

user exit vriable with several values

Former Member
0 Kudos

Hi,

I need to use a user exit defined variable containing several values; as of now I have only used single values and plain ranges... any tips on which values to assign to the E_T_RANGE table line ?

many thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create a variable with type Interval, which is a customer exit variable and use the below code.

Loop at lt_data.

e_t_range-sign = 'I'.

e_t_range-option = 'BT'.

e_t_range-low = Lt_data-<field1> .

e_t_range-high = Gt_data-<field2>.

append e_t_range

so depending upon the user entry it will get the range values whci u require .

Message was edited by: santosh utla

Former Member
0 Kudos

Well guys thank you for your quick answers, hope I can help the same way sometime

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thibault,

You can do this as multiple single values.

Create an internal table and fill with required values. Loop from this internal table and append values one by one as multiple single values into E_T_Range.

Sample code.

Loop at lt_data.

e_t_range-sign = 'I'.

e_t_range-option = 'EQ'.

e_t_range-low = Lt_data-<field1> .

append e_t_range.

endloop.

Hope it Helps

Srini