on 08-16-2012 7:11 PM
Hi,
I have a requirement to split the delivery based on weight, volume and other conditions using t.codes 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.
Regards
Krishna
Resolved myself.
Need to remove the entries from VBUP, VBPA, VBUK, VBLS, VBBE runtime tables along with entries from LIKP and LIPS. All these tables will be built before creating the deliveries and will have the temporary delivery number prefixed with '$' sign.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of using the user exit, why don't you try to control in the copy control requirements routine itself? Check the t.code VTLA ->item level ->requirements field. Copy the existing routine in t.code VOFM and create new one with additional logic to check the weight of the items. If there is no item, don't create delivery for that item.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.