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

Validation on Sales Order amount VA01/ VA02

1,355

Dear All,

I have a requirement in VA01 transaction to validate amount with some z table. This Z table has material and price, I want that to check sales order price and if the price is less then the price in maintained in the table.

I have tried below user exit and BADI:

MV45AFZZ - USEREXIT_SAVE_DOCUMENT

MV45AFZB - USEREXIT_CHECK_VBAP

MV45AFZB - USEREXIT_NEW_PRICING_VBAP

BADI_SD_V46H0001

And so on.

Please guide me.

Regards,

Yograj

1 ACCEPTED SOLUTION
Read only

former_member617564
Participant
0 Kudos
906

Write your code validation in

FORM USEREXIT_PRICING_PREPARE_TKOMP(MV45AFZZ).



Regards,

Chitme

2 REPLIES 2
Read only

former_member617564
Participant
0 Kudos
907

Write your code validation in

FORM USEREXIT_PRICING_PREPARE_TKOMP(MV45AFZZ).



Regards,

Chitme

Read only

0 Kudos
906

It is working, but due to error message screen became gray out and not allowing the user to correct the price. I have used MESSAGE type E and display like W statement. Please suggest any solution.

Regards,

Yograj