on 06-05-2011 9:26 AM
Hi Every one,
According to my client Requirement at the time of sale order creation material is mandatory , but i tried through Incompletion log
its showing material mandatory but the problem is after entered the material in one line item when i try to save the sales order
system is asking enter the material again ie one more line item
so i have avoid the that error and how to map into SAP system suppose to ask onetime material is mandatory
Can any one guide me how to solve the issue
Hi Prasanna,
As Amit Suggested, in user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ, you need to add a small 2 liner code telling the system that if VBAP-MATRN is blank then give an error message.
I had the same requirement and I have used it and it works perfectly fine for me. Let me know if you have any further questions.
Regards,
Rohan Gudavalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As already suggested, you need to discuss with your ABAPer and ask him to use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. In this user exit the code has to be written. It is a very simple 2liner code only which says that:
If VBAP-MATNR is blank then give the error message "Material to be entered".
Regards,
Rohan Gudavalli.
Hi
Try USEREXIT_MOVE_FIELD_TO_VBAP in Include MV45AFZZ and write your own logic using implicit enhancement
Regards
Sanil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You dont have to go through the incompletion log. In std SAP material is mandatory by default.
Please check if you are entering and quantity in the 2nd line item and leaving material field blank.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.