cancel
Showing results for 
Search instead for 
Did you mean: 

bex vriable exit error

Former Member
0 Kudos

Hi all,

I am assuming 0fiscper is of the format pppyyyy. i need to check the value of ppp in my variable exit. for eg, if the value is jan 2006 (0012006), i need to do some computation by first changing it to dec. i am getting the foll error for the code.

WHEN 'Zdays'.

IF I_STEP = 2.

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = '0rma_fip'.

CLEAR L_S_RANGE.

case loc_var_range-low+0(3).

when loc_var_range-low+0(3) = '001'.

loc_var_range-low+0(3) = '012'.

endcase.

i get the error as " unable to interpret "001".

Accepted Solutions (1)

Accepted Solutions (1)

edwin_harpino
Active Contributor
0 Kudos

hi Rahul,

try ?

case loc_var_range-low+0(3).

when loc_var_range-low+0(3) '001'.

(without 😃

hope this helps.

Former Member
0 Kudos

i solved it by saying when '001'.

edwin_harpino
Active Contributor
0 Kudos

ha, you are right ...

Answers (0)