cancel
Showing results for 
Search instead for 
Did you mean: 

DELETE HU RELATIONSHIP

Sofidel
Explorer
0 Kudos

Hi all,

i need a BAPI or a FM to delete an HU RELATIONSHIP to a delivery. Any ideas?

Regards

Roberto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gildo

<b>BAPI_HU_DELETE</b>

Functionality

Deleting a handling unit.

The handling unit that is identified by the HUKEY import parameter is deleted.

Special case:

<b>

BAPIHUCONTROL-DEL_IF_PACKED</b>

If the handling unit that is to be deleted is itself the contents of a higher-level handling unit (in other words, it has been packed into another HU), it is only deleted if the import indicator "IfPacked" is set.

<b>BAPIHUCONTROL-DEL_WITH_LOWER_HUS</b>

If the handling unit contains other lower-level handling units, you can use the import indicator "WithLowerHUs" to dictate whether the system should delete the entire sub-hierarchy. If this indicator is not set, the lower-level handling units are unpacked.

ALso look at this thread...

<b></b>

I hope your problem will be solved with this.

<b>Thanks & Regards,

Pawan P. Khilari

*Mark Helpful Answers</b>

Answers (4)

Answers (4)

Sofidel
Explorer
0 Kudos

Hi Pawan,

thanks for your help. But my problem is that i don't want to delete HU. I want delete the RELATIONSHIP of an HU to a delivery. That is i want to UNASSIGN HU from a delivery.

Regards

Roberto

Former Member
0 Kudos

Hi Gildo ,

I suggest you go through the link which I gave in my previous reply.

I once again give u the forum link.

Actually the link describes the similar problem which you have, in detail .(it shows the 2nd page chk frm 1st page)

Also refer this,

<b>Deleting Assignments</b>

Just as you can assign handling units to a delivery, it may be necessary to remove or delete this

assignment. This can be appropriate, for example, if you find that a certain handling unit is to be

delivered with a later delivery than the one that it was originally planned for delivery with. In such

a case, you only need to remove the link to the delivery, not delete the entire handling unit. That

way, all the information about the handling unit itself is retained.

1. In the packing dialog [Ext.] for the delivery, select the Pack material or Pack HUs tab page.

2. Select the handling unit whose assignment you want to delete, and choose HU -> Delete

assignment.This function is only available during delivery processing.

I dont know if this helps you but surely go through the forum link i mentioned above ,surely should help.

And I have complete doc on handling unit,if u want i can mail it to u.Plz mention ur mail id if u need it.

Thanks And Regards

Pawan P.Khilari

former_member184569
Active Contributor
0 Kudos

HI Gildo,

Check this link.

Hope it helped..

Thanks,

Susmitha

former_member188685
Active Contributor
0 Kudos

hi,

check this link..

Regards

vijay

Former Member
0 Kudos

Hai Gildo

1) ASH_LE_HU_RELATIONS_GET

2) ALE_HU_DELETE

3) HUINV_STATUS_DELETE

4) BAPI_HU_DELETE BAPI for Deleting Handling Units

5) IDOC_INPUT_HU_DELETE

6) HU_DELETE_HU Delete HUs with and Without Lower-level HUs

Thanks & regards

Sreenivasulu P