Skip to Content
avatar image
Former Member

How do you unassign handling units from a deleted delivery?

Hello all SAP gurus,

We have a problem with material stuck in quality inspection. These 12 HU's were assigned to a delivery and it looks like someone with firecall access went in and somehow deleted the delivery with the handling units still assigned to them.

Now if I use VL02N or VL03N to search for the delivery, I get the error, "Delivery 87371890 does not exist in the database or in the archive". When I look in QA32, all of these handling units are assigned to the same inspection lot (they had been transferred from one material to another) and a usage decision had been made, but they were never posted to unrestricted stock and I can't post them to unrestricted stock because I get the error, "The handling unit X is assigned to delivery 0087371890 and cannot be processed".

I know that the guy who had firecall access deleted it because I looked in VL22

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Dec 07, 2016 at 03:41 PM

    I think the only way to do this is programmatically you can make the HU an unassigned HU using a function module such BAPI_HU_CHANGE_HEADER or you could try unpacking using HU_PACKING_AND_UNPACKING or BAPI_HU_UNPACK.

    Add comment
    10|10000 characters needed characters exceeded

    • You don't change function module, you use them in custom programs that you would write to address the issue. Based on your comment, you are not an ABAPer. I would advise you to talk to an ABAP development person or team to help you.

      And before any one else suggests that you just run a function module in SE37 in production - firecall or not, that is a bad idea. These functions also need to be used in a sequence of function calls. There is plenty of help out there if you (or your ABAPer) Google those function module names.