cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for VA02

Former Member
0 Kudos

Hello,

My requirement : When the user tries to delete a sales order in va02, A mesage should appear saying its not possible to delete it and the control should return to initial screen. Can some one help me on this.

I guess it can be done using an user exit, But i dont know where exactly it can be implemented.

Regards,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kumar,

You can probably do this by modifying Sales Order User-Exit MV45AFZZ in SE38.

( There are different sub-routine and 1 is <b>userexit_delete_document</b> and <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b> , check this )

Hope this helps,

Erwan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ

Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.

The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.

Reward points if useful

Regards,

Amrish Purohit