Skip to Content
0
Former Member
Jan 02, 2008 at 04:46 PM

customer exit out put error

15 Views

Hi gurus,

I have created a customer exit variable for calculating the demand variabiltiy. i am giving the selection by creating

multiples signel values variables for plant and material and signle value variable for date.

in the code of customer exit variable, i have taken loop for plant and material.

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = 'ZPRPLNML'.

CLEAR L_S_RANGE.

v_werks = LOC_VAR_RANGE-LOW.

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = 'ZPRMATML'.

CLEAR L_S_RANGE.

v_matnr = LOC_VAR_RANGE-LOW.

( between calculation code is there)

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

l_s_range-low = sum2.

Append l_s_range to E_T_RANGE.

ENDLOOP.

ENDLOOP.

when i do the debug in RSRT, i am getting all the values for plant and material combination in the E_T_RANGE table.

but out put it is giving the error,

'No value determined for the variable'.

but in the same code when i given the sigle plant and material value the query is executing correctly.

please help me.

thanks in advance.