Application Development 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: 

In VA01 according to value should block the stock

Former Member
0 Kudos
103

In VA01 according to order value I should block the stock.can anyone explain with sample coding?

4 REPLIES 4

Former Member
0 Kudos
73

I am not clear with what excatly u want.

can be explain in detail with example.

What i understood is youu want to block the plant stock on the basis of Value of the order irrespective of volume.

Let me know whether this is ur requirement so that accordingly i can give a solution to u

0 Kudos
73

In VA01, Net value if it is less than $100 we should block the sales order.that time it should show error message like " net value shuld not below $100 "

Former Member
0 Kudos
73

Hi

Go to the Include program MV45AFZZ of the sales order main program SAPMV45A

and in that write the code for this in one of the forms like

FORM USEREXIT_SAVE_DOCUMENT or

FORM USEREXIT_SAVE_DOCUMENT_PREPARE

and fire a message when the VBAK-NETWR execeeds the value of some 1000 $

write the code keep a break point and check whether the values are coming into the fields and see

Reward points for useful Answers

Regards

Anji

0 Kudos
73

can u send me the sample coding pls..I put break point here and and chk in VA01. no reponse pls..