Application Development and Automation 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: 
Read only

user exit VA41 at save document

Former Member
0 Likes
1,525

Hi Freinds,

Im using VA41 tcode to create contract. Before saving the contract, i want to do some validation. Is there any user exit for VA41 at save document.

Thanx

RR

Hi Freinds,

Im using VA41 tcode to create contract. Before saving the contract, i want to do some validation. Is there any user exit for VA41 at save document.

Thanx

RR

3 REPLIES 3
Read only

Former Member
0 Likes
888

Hi Rajiv,

you can use the user exit USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ(use se38 to access this) to do your validation

All VBAP details are available in XVBAP

and all VBAK details are available in XVBAK

Reward if helpful

Regards

Byju

Read only

Former Member
0 Likes
888

Hi rajiv,

Try USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT found in MV45AFZZ, one of them should do it.

U also might find other exits to handle items there, if needed.

Regards

Kiran

Read only

Former Member
0 Likes
888

Hi,

You can use USEREXIT_SAVE_DOCUMENT_PREPARE user exit for your validations.