Hello experts,
I got puzzled by an amazing thing. Please look at the screenshot below. According to the mathematical formula, 33000 / 1000 = 33, the code "lv_unit_price = lv_net_value / lv_po_qty" should be correct. But why should I multiply 1000 to get the result 33?
The types of lv_unit_price and lv_net_value (EKPO-NETWR) are both BWERT (Net Order Value in PO Currency), and type of lv_po_qty (EKPO-MENGE) is BSTMG (Purchase Order Quantity).
Another issue:
According to the mathematical formula, 33 * 1000 = 33000, the code "lv_shipment_value = lv_unit_price * lv_deliv_qty" should be correct. But why should I divide 1000 here to get the result 33000?
The types of lv_shipment_value and lv_unit_price are both BWERT (Net Order Value in PO Currency), and type of lv_deliv_qty (LIPS-LFIMG) is LIFMG (Actual quantity delivered (in sales units)).
Thanks,
Shelwin