‎2006 Jul 24 4:50 PM
Hi Guys
I have written a few programs containing the Purchase Requisition line item value. To calculate this, I happily multiplied the quantity (MENGE) by unit price (PREIS), and never considered the UoM (MEINS) or Price Unit (PEINH).
Since I am lazy, I am looking for a function module that will do my work for me.
Failing that, are there any other potential areas that I could make a mistake when calculating this value?
Cheers
Lyal
‎2006 Jul 24 9:23 PM
Hello Lyal,
If EBAN-MEINS <> EBAN-PEINH, it is required to convert EBAN-MENGE (Requisition quantity) from UOM (MEINS) into Price Unit (PEINH) using function CF_UT_UNIT_CONVERSION.
Thanks,
Venu
‎2006 Jul 26 2:41 PM
Hi Venu
Thanks for the reply. It is a bit difficult to compare <b>MEINS</b> and <b>PEINH</b>, as one is a UoM field and the other a quantity.
Would it be enough if I just divided <b>EBAN-MENGE</b> by <b>EBAN-PEINH</b> to work out the 'actual' quantity? or am I missing something fundemental here?
Thanks!
Lyal