I have a pricing requirement, wherein i have to charge the delivery document with a surcharge for number of pallets.
I have created a condition type ZPLT. Access seq for this condition type is customer and amount. So user will maintain the customer number and the surcharge in the condition records.
When the system proposed the condition type ZPLT, i should multiply this amount with number of pallets. Number of pallets field is available at delivery header data.
To do this, i have created a alternative calculation type and assigned it to the condition type ZPLT.
In the alternative calculation type formula, i am reading the number of pallets from the delivery header and multiplying with the surcharge.
Formuala is: xkwert = xkomv-kbetr * l_anzpk.
By doing this , xkwert is getting the right condition value, but when i save the delivery document, condition value on the delivery document is have zero value.
Basically , xkwert value is not getting transferred to komv-kwert.
Can someone help me to figure out what i am missing.
Thank you in advance for your help.