2007 Jun 19 6:14 AM
In VA01 according to order value I should block the stock.can anyone explain with sample coding?
2007 Jun 19 12:33 PM
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
2007 Jun 19 12:55 PM
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 "
2007 Jun 19 1:03 PM
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
2007 Jun 19 1:04 PM
can u send me the sample coding pls..I put break point here and and chk in VA01. no reponse pls..