cancel
Showing results for 
Search instead for 
Did you mean: 

Delete assignment of HU from outbound delivery ?

Former Member
0 Kudos

Hi,

I've searched over SCN and found lots of topics which are asking about delete assignment of HU from O/B delivery. But there is no answer.

I've checked FM V51P_DELETE_RELATIONSHIP but It is not working.

I just need function of the button below. Can anyone help me?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

ashish_andani
Contributor
0 Kudos

Hi,

It resets the assignment between HU and assigned Object.

In your case if u see the VEKP table field "VPOBJ" & "VPOBJKEY", so this "Delete Assignment" reset the HU status with field "VPOBJ" value 12.

Regards,

Ashish

Former Member
0 Kudos

So, what you mean?

Is it sufficient to update VEKP only?

pablo_marn
Active Participant
0 Kudos

Hi,

Of course it is not enough. There are many other tables where the assignment would be kept, so you would create a system inconsistency. I don't suggest you to make this kind of "pirate modifications". The standard FM to do it is WS_DELIVERY_UPDATE.

Regards

Former Member
0 Kudos

Hi,

Thanks for your answer. But WS_DELIVERY_UPDATE has too much parameters. It is very hard to find correct parameter to un-assign HU from delivery.

MANIS
Active Contributor
0 Kudos

first you have to unpack the HU and then you can delete assignment

What is the error message you are getting when you are trying to delete assignment

Former Member
0 Kudos

Mr. Manish,

You don't have to unpack first. Without unpacking I can also unassing from standard screens.

anton_zimin
Explorer
0 Kudos

Hi,

I have the same problem. All I have found at this moment is this note:

581282 - Packing of deliveries via BAPI or function module

And it says:

You want to generate or change handling units for a delivery. You have planned to use the BAPIs for business object "Handling unit" for this purpose. (For example BAPI_HU_CREATE, BAPI_HU_DELETE, BAPI_HU_PACK, BAPI_HU_REPACK, BAPI_HU_UNPACK). Since these modules do not make updates on delivery, these cannot be used for packing in the delivery.

In the same way it is not possible to pack deliveries with function modules of function group V51E (HU_CREATE_ITEM, HU_CREATE_ONE_HU, HU_DELETE_HU, HU_REPACK, HU_UNPACK).

If possible, the packing of the delivery should occur via IDOC DELVRY03 (WHSCON). If this also is not possible, function module WS_DELIVERY_UPDATE can be used. Please note, however, that this function module is not released for customers. That is, it is subjected to changes via SAP. In case of changes it is possible that your program which uses this function module, does not run anymore after importing of a Support Package and that is is necessary to change your program.

More options are currently not available.


Did you solve your problem?

Former Member
0 Kudos

Hi,

The customer postponed the request so we havent't develop it.

But I think we should use more than one functions.