on 04-24-2007 8:32 PM
Hi All,
We have a delivery which we want to delete, but when we try to delete it system throws a message that the items are already packed and cannot be deleted. We have to delete this delivery so that we can delete its correcponding sales order too. Please suggest how to unpack the items in order to delete the delivery. Or if you can suggest me an alternative solution, it will be great.
Thanks,
NK
If you created a handling unit for the packed goods (find them in the document flow), call the following BAPI:
BAPI_HU_UNPACK
Once the HU is unpacked, you should be able to delete the delivery.
You can also use BAPI_INB_DELIVERY_CHANGE to delete the delivery.
Remember to call BAPI_TRANSACTION_COMMIT after.
Leonardo De Araujo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, misunderstood your question, here it goes...
Go to a delivery VL02n (or VL02).
Go to packing.
You will see the packages (Handling units) and its contents. Select it and click on the button UNPACK. Once Unpacked you should be able to delete the HU selecting it and clicking on the button on the right (delete HU).
Once it is done for all items (the screen should be the same for all so the packing view is centralized), you should be able to delete the delivery.
Hope this helps you,
Leonardo De Araujo
Thanks for the suggestions. I was able to unpack the items from the shipping unit and was able to delete the shipping unit, but unfortunately, i'm still not able to delete any of the items from the delivery because now the system is saying "Item 000010 has already been picked and cannot be deleted ".
Please suggest.
One step ahead...
If your installation uses WM Warehouse management, you may need to reverse the TO.. Check if you have an TO created in the document flow. If yes, you will need to cancel it (transaction LT0G).
if you don't have WM (and therefore TOs), all you need to do is to go in VL02N and click on picking. Remove the pick quantities from the pick columns.
Save and you will be fine,
Leonardo De Araujo
Thanks to both of your responses. This delivery is not having any TO created. So i deleted the picking quantity and then deleted all the line items from the delivery. But still when i'm trying to delete the delivery it is saying that "Delivery still contains shipping units" and i'm not able to delete the delivery. I think with your help, i'm pretty much closer to it but i guess this is the last step that i need to do. Please suggest.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.