on 04-11-2011 4:19 PM
Dear Friends,
My client want to stop creation of specific sales order types from a specific plant. Means if that specific plant entered in sales order then system should not process that sales order further.
Note : Material transference must not be affected while implementing above requirement.
Kindly suggest the solution in this matter.
Thanks & Regards,
Savi
Hi
Your requirement can be fulfilled by using an enhancement.
use the USEREXIT_SAVE_DOCUMENT_PREPARE
In this provide the logic that
If
VBAK-AUART= order type
VBAP-WERKS=XXXX (Plant for which the sales doc should be blocked)
the ask give an error message
regards
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this cannot be achieved as suggested above, I would go with a user exit, but the one that is triggered earlier, e.g. ..MOVE_FIELD_TO_VBAP. Checking this condition when saving the document is a bit too late IMHO. Imagine typing in all the line items, etc. just to find when clicking on Save button that you couldn't use this order type to begin with? The users would be pretty mad...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The best way would be to prevent this through your organizational design (Enterprise Structure)
You can limit which plants can be used for each combination of sales org/distribution channel & you can define which order types can be used for a given sales area.
You can use exclusion procedure and records to stop the combination of orders type and plant. This is not a use fiendly solution as the user doesn't receive a very useful error message.
You can use the user exit as mentioned before.
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.