Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

delete a HU

Former Member
0 Kudos

Hi everyone,

I am looking for a way (BAPI or FM) to delete a HU from an outbound delivery.

I have tried already BAPI_HU_DELETE, HU_DELETE_HU, etc. without success. The only time I was able to delete a HU was with WS_DELIVERY_UPDATE, but it refreshes the content of other HU that shouldn't be deleted...

Any help?

Nisha

4 REPLIES 4

Former Member
0 Kudos

Hi everyone,

I finally got a way to delete HU, with BAPI_HU_DELETE but my problem is that this bapi only deletes the HU if it is not assigned to any delivery, and unfortunately it is not my case.

Does anyone have an idea of how to delete assigned HUs or how to unassign the HU, so that I can delete if later on with my BAPI?

Thanks in advance!

POINTS WILL BE REWARDED

0 Kudos

Thanks Kiran, but I had already checked that thread... and can't find bapi or FM that deletes the relationship! Or at least they didn't work for me...

Nisha

0 Kudos

It has been very long since I faced this issue but I realized I never closed the thread. At the end I never found the appropiate bapi or fm, so I ended doing a batch input (call transaction) to tx. VL02N.