Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9057

Amazing issues: Multiply 1000 & Divide 1000

$
0
0

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?

QQ图片20140307160916.jpg

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?

QQ图片20140307161824.jpg

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


Viewing all articles
Browse latest Browse all 9057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>