07-31-2008 8:00 AM
hi,
i need a userexit to check ...while deleting line item in vl02n....
if check satisfies then only should delete
07-31-2008 8:09 AM
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
07-31-2008 8:06 AM
hi,
you can use badi LE_SHP_DELIVERY_PROC
inside this defination use CHANGE_DELIVERY_ITEM method.
rgds,
Paras
07-31-2008 8:08 AM
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.
07-31-2008 8:09 AM
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
07-31-2008 8:11 AM
Hi,
try with MV45AFZ1 include. here have options where u need to check conditions.
Regards,
sksk.
07-31-2008 8:12 AM
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