Skip to Content
Aug 16, 2012 at 06:11 PM

Block creating deliveries in VL04/ VL10*



I have a requirement to split the delivery based on weight, volume and other conditions using VL04/ VL10*.

For this, I am using one of the enhancement point in routine 301 and passing running sequence number to LIKP-ZUKRL field.

I am able to successfully split the delivery, but I need to know how to delete the deliveries if a delivery is not having sufficient weight. I am trying to use USEREXIT_SAVE_DOCUMENT_PREPARE to delete the deliveries which were not having required weight. I am partially succeeded here, but the deleted delivery line items were still blocking the stock. I can see the deleted deliveries having dollar sign ($) like $ 3 blocking the stock in t.code MD04.

Please let me know if you have an idea or solution to resolve this issue.