Skip to Content
0
Jul 08, 2009 at 07:41 AM

Avoid the deletion of delivery when the user press the delete button

114 Views

Hi guys,

In VL02N transaction, when the user press the button for delete the delivery (trash button) i have to send an idoc to an external system in order to inform about. Im using IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_DELETION for this and it works fine.

After send the idoc i have to stop the deletion process. So How i can avoid the delivery deletion? I can change some flag in this BADI or maybe i can do something in userexit_delete_document? I dont find the way.

Thank you,

Manel