on 08-19-2009 5:24 AM
Hi
While i creating a sales order. If the sales order quantity is greater than the available quantity then the sales order should be blocked. A pop up should appear in the sales order screen u2013 stating whether a mail should be sent to the customeru2019s mail id along with the reason, for which the order is blocked .
By using a BADI/user exit.
Kindly Provide me information how to do it ?
Is there any Standard BADI / User Exit available ?
Thanks & Regards
Vel
Hi
Please use user exit USEREXIT_SAVE_DOCUMENT in program MV45AFZZ. You can also check USEREXIT_SAVE_DOCUMENT_PREPARE in same progrm.
try and revert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We did the same thing in our project, For this we have to put a check in the Sales order User Exit in program SAP MV45AFZZ, and in user exit USEREXIT_SAVE_DOCUMENT_PREPARE.
There put a check with the fields RV03V-BMNGE and RV45A-KWMENG. If the quantity in RV03V-BMNGE is LESS than RV45A-KWMENG, Pop an error up and stop saving the sales order.
Thanks,
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vel,
I have already given you the part of specification, just show it to your Technical consultant the only thing he has to do is to put less than and greater than marks, I believe he will be able to right the code, its only three or four lines. I dont have access to SAP now so please consult ABAPer.
Thanks,
Raja
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.