‎2007 Dec 19 7:18 AM
Hi Experts,
I have one variable(lv_int) having data type integer. I wanted to use that variable(i.e. lv_var) for some calculation. But the other variable used in calculation having data type QUAN.
for exp.
data: lv_int type i,
lv_cal type mard-labst.
now calculation is like that
lv_cal = lv_cal + lv_int.
How I can do the proper calculation while calculating other variable.
Or How I can move the integer value to quantity field..
‎2007 Dec 19 7:24 AM
Hi
neha wht u wrote works exactly in the way u wants auotomatic type conversion will takes place and works fine
if still u have any issues plzz contact me my mail id is mutyalasunilkumar@gmail.com
plzz reward if useful.
‎2007 Dec 19 7:28 AM
Hi,
Whatever u have writen i think it will work properly otherwise declare that variable also as QUANT type.
or exp.
data: lv_int type labst,
lv_cal type mard-labst.
now calculation is like that
lv_cal = lv_cal + lv_int.
Regards,
Prashant