Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creat Delivery using VL10. Delivery Qty Rounding Down

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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