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: 

userexit for vl02n

former_member262988
Active Contributor
0 Kudos

hi,

i need a userexit to check ...while deleting line item in vl02n....

if check satisfies then only should delete

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

You can do this here..

Include is MV50AFZ1

*---------------------------------------------------------------------*
*       FORM USEREXIT_DELETE_DOCUMENT                                 *
*---------------------------------------------------------------------*
*       This userexit can be used to delete data in additional tables *
*       when a delivery is deleted.                                   *
*                                                                     *
*      This form is called in dialog at the end of form BELEG_LOESCHEN*
*      just before form BELEG_SICHERN is performed to delete the      *
*      datas on the database.                                         *
*                                                                     *
*---------------------------------------------------------------------*
FORM USEREXIT_DELETE_DOCUMENT.

ENDFORM.

Regards

Vijay Babu Dudla

5 REPLIES 5

Former Member
0 Kudos

hi,

you can use badi LE_SHP_DELIVERY_PROC

inside this defination use CHANGE_DELIVERY_ITEM method.

rgds,

Paras

Former Member
0 Kudos

EXITS for vl02n:

V02V0001 Sales area determination for stock transport order

V02V0002 User exit for storage location determination

V02V0003 User exit for gate + matl staging area determination (

V02V0004 User Exit for Staging Area Determination (Item)

V50PSTAT Delivery: Item Status Calculation

V50Q0001 Delivery Monitor: User Exits for Filling Display Field

V50R0001 Collective processing for delivery creation

V50R0002 Collective processing for delivery creation

V50R0004 Calculation of Stock for POs for Shipping Due Date Lis

V50S0001 User Exits for Delivery Processing

V53C0001 Rough workload calculation in time per item

V53C0002 W&S: RWE enhancement - shipping material type/time slo

V53W0001 User exits for creating picking waves

VMDE0001 Shipping Interface: Error Handling - Inbound IDoc

VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)

VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)

VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)

With luck,

Pritam.

former_member188685
Active Contributor
0 Kudos

You can do this here..

Include is MV50AFZ1

*---------------------------------------------------------------------*
*       FORM USEREXIT_DELETE_DOCUMENT                                 *
*---------------------------------------------------------------------*
*       This userexit can be used to delete data in additional tables *
*       when a delivery is deleted.                                   *
*                                                                     *
*      This form is called in dialog at the end of form BELEG_LOESCHEN*
*      just before form BELEG_SICHERN is performed to delete the      *
*      datas on the database.                                         *
*                                                                     *
*---------------------------------------------------------------------*
FORM USEREXIT_DELETE_DOCUMENT.

ENDFORM.

Regards

Vijay Babu Dudla

Former Member
0 Kudos

Hi,

try with MV45AFZ1 include. here have options where u need to check conditions.

Regards,

sksk.

Former Member
0 Kudos

Hi Shailaja.

I would like to suggest,

I would like to suggest a couple of references,

[SDN - Reference - User Exits for VL02N|;

[SDN - Reference - User Exit for PGI - VL02N|;

[SDN - Reference - User exit in VL02N saving|;

[SDN - Reference - User Exit to modify Outbound Delivery before saving in VL01N/VL02N|;

Hope that's usefull.

Good Luck & Regards.

Harsh Dave