12-26-2007 8:08 PM
Hi
if char var1 eq numeric var2
if both contains numeric it is not dumping , else if var 1 contains char value giving dump.
I want to move numberic variable to character variable.
how to do this?
12-26-2007 8:49 PM
decelare the variable like varchar..
or char10 like vblen or matnr.
12-27-2007 1:05 AM
MOving a numeric variable to a character shouldn't be a probelm.
The vice versa is not allowed.
can you show your code?
Regards,
Ravi kanth
12-27-2007 2:11 AM
Hi,
You can directly assign numeric value to a character variable.
Ex: l_f_num(4) type n,
l_f_char type char04.
l_f_num = '1004'.
l_f_char = l_f_num.
write : / l_f_char.
Before condition check if you want to find whether value exist in char variable is a character or numeric. then use FM : NUMERIC_CHECK.
Hope this helps u.