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: 

BADI / User exit for deleting Handling Units

AlexGiguere
Contributor
0 Kudos

Hi folks,

does anybody knows a BADI or User Exit that could be used when deleting a Handling Unit via transaction HUMO ....

Regards

Alex

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi Alex,

There are no user exits and BADI available for transaction HUMO.

Regards,

Ferry Lianto

0 Kudos

Yes, there are, check transaction SE18, BADI_HU*

BADI_HU_ALWD_PM

BADI_HU_AUTOPACK

BADI_HU_CHANGE_INPUT

BADI_HU_DIALOG

BADI_HU_HUMO

BADI_HU_MAIN

BADI_HU_PACKING_ALWD

BADI_HU_PACKING_QTY

BADI_HU_PRINT

BADI_HU_SAVE

BADI_HU_VHILM_CHECK

I tried to used BADI_HU_SAVE, but the internal table it_header and it_items are empty after deleting my HU, so impossible to know which HU has been deleted.

But you could use it for changing and creating HU, check the field

it_header-updkz = 'I' for New HU

it_header-updkz = 'U' for HU updated,

thanks!