‎2008 Nov 22 12:30 PM
I have created a SD formula routine .everything is coming correctly in pricing. if suppose i run it for the first time all the values are calculated perfectly correct. now when i go back and change the quantity in sales order and run the pricing it is changing the value (xkomv-kbetr )but at the same time when we click on the update button it comes correctly.
for example : when i first create the sales order for some material quantity is 1 that time the pricing value of (xkomv-kbetr i.e one pice) is coming correctly. now when i go back and change the quantity from 1 to 10 and the again run the pricing the value of (xkomv-kbetr ) is getting changed now when i press the update button the value os (xkomv-kbetr ) is coming correctly.
Please let me know where is my routine is going wrong why it is changing the value of (xkomv-kbetr ) when i change the quantity again.
Regards
‎2008 Nov 24 2:57 AM
>
> for example : when i first create the sales order for some material quantity is 1 that time the pricing value of (xkomv-kbetr i.e one pice) is coming correctly. now when i go back and change the quantity from 1 to 10 and the again run the pricing the value of (xkomv-kbetr ) is getting changed now when i press the update button the value os (xkomv-kbetr ) is coming correctly.
It means Your routine Calulates the pricing based on Quantity.Check your routine where you placed the code.does your calculation somewhere depends on quantity in your code?
Cheers,
Amit.
‎2008 Dec 23 5:38 AM
‎2009 Jan 17 5:14 AM
Dear Amit,
We are facing teh same problem. Can you pleae inform us how this problem was resolved?
Regards
Nikhil
‎2009 Jan 19 9:05 AM
Hi Nikhil,
well if same you are going through then let me tell you that it is not technical problem ask your functional consultant where he defines those condition types in vok0 there he will have to move some condition types up or down because our routines gets triggered number of times so if when it is triggered for the first time some of your condition types dosent have values and second time they have so the point is when your routine is triggered for the first time it should get all the values from xkomv for which your functional consultant has to move up or down their condition types .
If again you have prolem you can consult me for the same.
Regards
Amit