on 2018 Oct 24 3:23 PM
Hi guys! I'm trying to delete HU from inbound delivery using FM.
I got it, but when I go to the VL32N I cannot delete this cuz appears a message saying
"Delivery still contains handling units"
But HUs are deleted.
I think that I I get unassign HU before delete it, it'll work, but i don't know how.
Any ideas?
Thanks!
I'm using this FM
CALL FUNCTION 'HU_PACKING_REFRESH'.
it_venum = it_venum.
CALL FUNCTION 'HU_GET_HUS'
EXPORTING
if_lock_hus = 'X'
it_venum = it_venum. "it_venum contains l_venum
LOOP AT it_venum INTO l_venum.
CALL FUNCTION 'V51F_DELETE_HU'
EXPORTING
if_venum = l_venum.
ENDLOOP.
CALL FUNCTION 'HU_POST'.
COMMIT WORK.
Request clarification before answering.
Solved using batch input, still not working with abap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.