I have tried using the following FMs in sequence:
HU_GET_HUS
V51P_DELETE_RELATIONSHIP
HU_POST
But the second one returns the message:
"Handling unit &1 is packed - only entire HUs can be reassigned"
This is the exact same message returned by the standard when doing it in VL02N, but there, once I hit back, it deletes the HUs... see below:
Here you see all the HUs from my delivery:
Then I select them ALL and click on the delete assignment button. The log comes up with the same message, for all the HUs.
Once I click BACK, BOOM, they're all gone:
And I can save my delivery and be happy!
Any ideas???