While creating sales order, i need to calculate materil price per unit.
So i used the formula:
price_per_unit = net_amount / quantity.
i have declared the net amount and price_per_unit like vbap-netpr and quantity like vbap-zmeng.
But i m getting the wrong anwer.
Example : If the Net Price is 3766.19 and quantity = 250 . Price should be 15.016
The I am getting 0.02 as price.
Is it about declaration error?
Thanks in advance.