cancel
Showing results for 
Search instead for 
Did you mean: 

User exits for Trigger on the Deletion Batch Line

Former Member
0 Kudos

Hi All,

May I know which userexit program will trigger when delete the batch line for item no.

Example : When delete item no of delivery, it will trigger MV50AFZ1> FORM USEREXIT_MOVE_FIELD_TO_LIPS.

Appreciated your guidance.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member223981
Active Contributor
0 Kudos

The BADI mentioned by Jignesh is correct:

Badi LE_SHP_DELIVERY_PROC - Class CL_EX_LE_SHP_DELIVERY_PROC - Method CHECK_ITEM_DELETION. An extract from the documentation of this method states:

"You can use this method if you want to perform your own checks for deletability of an item. The method is called immediately before deletion of a delivery item.

This method can prevent deletion of items that the system has recognized as deletable."

jignesh_mehta3
Active Contributor
0 Kudos

Hello Noel,

For your information, we have used this BADI to restrict changes to Free Goods quantities in Delivery Documents.

Thanks,

Jignesh Mehta

jignesh_mehta3
Active Contributor
0 Kudos

Hello Trevor,

I will suggest you to consult your ABAPer and insert a ABAP code in Badi - LE_SHP_DELIVERY_PROC to control deletion of a line item in Delivery document.

Thanks,

Jignesh Mehta