on 06-26-2008 12:21 PM
Hi All,
I have a small requirement.
We create a sales order & enter a material, suppose
Item Material Qty
10 00524132 25
Even now if i enter same material code in item 20 system will allow me to do so.
Please suggest how can this be prevented that same material code should not be possible to be entered again in the sales order
Regards
Dhananjay
Dear Dhananjay
Yes this is bcoz you are creating a sale order for the material 00524132 and at a later stage, due to some obvious reasons, if you want to foreclose this line item and create a. new line item for the same material, what will happen if system prevents this. That's why SAP allows to maintain unique material code in multiple line items. Mind you this is practically happening everywhere.
However, still if you feel that this should not happen, apply User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhananjay,
As per standard system will allow you to enter same material in the sales order repeatedly.
But if you want control that functionality you need use User Exit with the help of ABAPer.
Try with these User exits in the program MV45AFZZ
1.USEREXIT_SAVE_DOCUMENT
2.USEREXIT_SAVE_DOCUMENT_PREPARE
I hope it will help you,
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
As per SAP standard it is not possible. U can enter the same material many times.
If u want to prevent this then need to apply user exit in sales order. I think userexit_save_document can be used for this. Please take help from ABAper for this...
regards
sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.