09-21-2010 11:01 PM
Hi,
Delivery Background Processing using VL10 - I have a requirement to round down the delivery quantity to multiples of material minimum delivery quantity if the confirmed quantity for the order is less than the actual order quantity. I am looking for a suitable user exit.
I have a solution but not working for some reason In VOFM , Copy control routine, I have modified the confirmed quantity (Round down to multiples of Material minimum delivery Quantity) VBEP-BMENG for the sales order lien item and set the update indicator (VBEP-UPDKZ = X). I was hoping to get see the delivery created with round down quantity as said above. But the Delivery gets created with actual confirmed quantity in the schedule lines.
The Confirmed Qty update said as above does not take into effect while creating the delivery. Not sure what is that I am missing. Do I have to do some changes in the pricing routines? Please help me with a suitable solution.
Appreciate Your Help.
Thanks,
Kannan
09-22-2010 5:45 AM
Hi,
You should use the Badi LE_SHP_DELIVERY_PROC. Interfaces FILL_DELIVERY_ITEM or SAVE_DOCUMENT_PREPARE will work for your requirement. Alternatively, you can use user exit MV50AFZ1, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE.
Regards
Vinod
09-22-2010 5:45 AM
Hi,
You should use the Badi LE_SHP_DELIVERY_PROC. Interfaces FILL_DELIVERY_ITEM or SAVE_DOCUMENT_PREPARE will work for your requirement. Alternatively, you can use user exit MV50AFZ1, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE.
Regards
Vinod