Avoid Deletion of Sales Order and Delivery (VA02 and VL02N )
by admin on Monday, June 22nd, 2009 | No Comments
If you want to block these document deletion option by user exit the is a solution.
You can simply get to MV45AFZZ (sales order) and MV50AFZ1 (delivery) and place the following code in the FORM userexit_delete_document:
MESSAGE ‘Document delete not allowed’ TYPE ‘I’.
CALL TRANSACTION ‘Va01′ AND SKIP FIRST SCREEN.
Change the transaction to what you want system do redirect to!
Any questions just comment!

