Skip to Content

Creation HU in an outbound delivery

I need to develop a mobile transaction in ERP where the user can pack an outbound delivery. I have done such programs several times, so I thought this would be no problem at all. But, it turns out that the customer does not have activated the unique numbering of HU's in the system. So, all my functions modules which I normally use do not work: HU_CREATE_ONE_HU, HU_PACKING_CREATE, etc.). Even the transaction HU02 does not work in the system because of the non unique HU's numbers.

I tried to figure out how the HU creation is working in VL02N, but it seems to be very complicated. Maybe somebody has a hint how to create a handling unit in an outbound delivery by a function module or a method. After the creation of the HU the packing procress is clear for me - here I can use WS_DELIVERY_UPDATE. But the creation of HU is failing at the moment.

Any hint is really appriciated. Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 24, 2018 at 03:36 PM

    My problem is that I get an error message when I start HU02 and I am getting the same error message when I try to create a HU by HU_CREATE_ONE_HU and Co which is telling me that HU function outside of a delivery is not possible. I can create a HU within the delivery e.g. in VL01N, so the logic for creation must be different.

    Meanwhile I found out that V51P_FIND_HEADER is the key...

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2018 at 03:30 PM

    The packing screens in VL02N do not really look different to HU02, what is your difficulty in particular?

    According to the IMG docu is the "unique HU numbering" the default SAP setting, so your customer must have changed it on purpose. Try to find out this purpose.

    If you talk about "failing" and "does not work" then you should post the SAP error message, this is a much better point to start trouble shooting.

    Add comment
    10|10000 characters needed characters exceeded