‎2008 Sep 01 11:06 AM
Hi Gurus,
I am trying to do multiplication of two quantities.
But qunatity value is coming too large.
I am getting the "Overflow for arithmetical operation (type P) in program "ZOUM_R021 ".
I am writing the below code.
LOOP AT t_stpo2 WHERE stlnr = t_mast2-stlnr.
t_temp1-idnrk = t_stpo2-idnrk.
t_temp1-bwkey = t_stpo2-werks.
t_temp1-stlnr = t_stpo2-stlnr.
*t_temp1-comp2_qty = v_comp1_qty * t_stpo2-menge.*
COLLECT t_temp1.
CLEAR t_temp1.
ENDLOOP.
wherer v_comp1_qty is already calculated value.
Then please suggest how to avoid this overflow .
Regards,
Amit Kumar Singh
‎2008 Sep 01 11:35 AM
Hi
For amount
use these field type as bseg-dmbtr or bseg-wrbtr.
for quantity u can use standard type Quan field
ERFMG
‎2008 Sep 01 11:35 AM
Hi
For amount
use these field type as bseg-dmbtr or bseg-wrbtr.
for quantity u can use standard type Quan field
ERFMG
‎2008 Sep 05 6:00 AM