‎2007 Feb 21 11:51 AM
Hi all,
I have the Following problem in Function Module.
<b>
lv_umren is of type DEC
lv_umrez is of type DEC
lv_prqty is of type QUAN</b>
where as<b> lv_to_quantity is of TYPE p DECIMALS 3</b>
<b>lv_to_quantity = ( lv_umren / lv_umrez ) * lv_prqty.</b>
but i am unable to get the value into lv_to_quantity.
where as when the same code is executed in a report it worked fine.
regards,
santosh
‎2007 Feb 21 11:56 AM
hi,
chk the value in
lv_umrez.if it is zero, u will not get any value.
regards
Anver
‎2007 Feb 21 11:56 AM
hi,
chk the value in
lv_umrez.if it is zero, u will not get any value.
regards
Anver
‎2007 Feb 21 12:00 PM
i have checked the value and it is not Zero.
if the value is Zero it Should not have even worked in a report.
values are lv_umren = 1
lv_umrez = 32
and lv_prqty = 32.000
where as the result wat i got was lv_to_quantity = 0.000
regards,
santosh.
Message was edited by:
santosh
‎2007 Feb 21 12:02 PM
hi,
<u>if the value is Zero it Should not have even worked in a report.</u>
please chk this in run time.
Regards
anver
‎2007 Feb 21 12:08 PM
lv_to_quantity = ( lv_umren ) * lv_prqty
lv_to_quantity1 = lv_to_quantity /lv_umrez mm
kishan negi
‎2007 Feb 21 12:15 PM