cancel
Showing results for 
Search instead for 
Did you mean: 

Custom check in SO

Former Member
0 Kudos

Hi Experts,

I have a requirement wherein some customer checks need to be executed everytime on change of Material or Qty in Sales Order ( VA02 ).

Please advice how this can be achieved.

Regards,

Pranshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Can be achieved using user exits.

Please check the link:

Answers (3)

Answers (3)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

As other colleaghes suggest you, try with userexits. See SAP Note 178328 - Problems due to incorrect user exits in SD to understand how they work. For instance, try with USEREXIT_CHECK_VBAP in MV45AFZB as Rags suggests you. So, compare XVBAP with YVBAP values, for instance.

Regards

Eduardo

Edited by: E_Hinojosa on Oct 5, 2011 6:27 PM

Former Member
0 Kudos

Hi Prashnu

The user exit MV45AFZB gets triggered as soon as user presses enter

Pls use that

Regards

Raghu

former_member204407
Active Contributor
0 Kudos

HI

Try with USEREXIT_SAVE_DOCUMENT_PREPARE

This userexit is used to insert the ABAP code which will be called when the document (sales order VA01) is just about to be saved.

This userexit is used generally for custom checks on different fields to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.

Regards,

Krishna.