on 01-31-2015 6:37 AM
Respected All
my client requirement is to restrict user to put agent on sales order header
scenario is like
we have an customer partner function like
SP-- 100001
SH-- 100001
BP-- 100001
PY-- 100001
VN( agent )--200001
VN( agent )--800001
and at sales order header these are coming by default but problem starts from here means user can change agent here and put any agent available in system,
so we want to restrict user to put only that agent which is available in partner function tab of XD03,means either they can use 200001 or 800001 in above example
here i am attaching two screenshot for your reference
Thanks
Abhi
Hi,
in program MV45AFZZ add some logic in user exits USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_MOVE_FIELD_TO_VBAK.
Regards,
JM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the partner determination procedure of the document (VOPA)
For partner function VN
The source field should have the value as C meaning that it should always be proposed from customer master
The sequence field should have the number immediately after the number for the sold to party partner function. This means that once the SP is decided, VN is decided from SP.
You can make the partner as Non Changeable. This anyway will propose you to select the correct VN in case there are multiple VNs in customer master.
I hope this will help. Test and update
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Its better to create an authorization using this partner field and add authority-check logic in userexits mentioned by joan.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi TW
My bad. You are right. I have read requirement once again and came to know that OP wants to restrict as per customer master data. This could be done without using authorization object by just putting validation check in userexits. Thank you for the correction TW Typewriter.
Thank$
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
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.