on 11-01-2014 3:08 AM
Hi,
I have done a configuration on status profile for Sales Contract Release Strategy.
The issue here is the Creator of Sales Contract is able to approve the Sales Contract that she created.
My Configuration of Status Profile as the following :-
Authorization Code ZAU0001 = Creator
Status Profile : Z_AU_CON
Authorization Object : B_USERSTAT
Obj Category : VBK
T/Code : VA41, VA42 and VA43
Create a new role : Sales Contract Creator
Authorization Code ZAU0002 = Approver
Status Profile : Z_AU_CON
Authorization Object : B_USERSTAT
Obj Category : VBK
T/Code : VA42 and VA43
Create a new role : Sales Contract Approver
The difference between the above role are the Approver cannot create a Sales Contract but can only Approve or Reject and Display the Sales Contract while Creator can Create, Change and Display but not able to Approve or Reject the Sales Contract.
I have done my unit testing everything is working fine except the Creator can still approve the Sales Contract refer to screen- capture below:-
In my business requirement only Approver which i have maintained in Auth code ZAU00002 can Release or Reject the Sales Contract.
According to my basis guy this cannot be achieved because Creator has Role of Create/Change and Sales Contract can only be released via transaction VA42. May i know if anybody has solution for this issue?
Thanks
Sherry
Hi Sherry,
If it's works fine with Authourization then go ahead.
Otherwise alternate solution is to hide the 'Object Status' button based on authorization.
You need to discuss with your ABAP Consultant and create one enhancement to hide/unhide this field.
Create a authourization object and put a check for user whom should have access to change/display.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sherry,
Use "Activity" in the Authorization Object : B_USERSTAT:
Activity = 1 for approver.
Activity = Blank for others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For the Creator User id do not Update the Authorization code - ZAU00002
you have to definitely create a New role for this user by copying the same Role but removing the Authorization key/code - ZAU00002 under the Objects.
B_USERSTAT
B_USERST_T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
Thanks for your reply.
Currently i'm maintaining Creator in Auth Code ZAU00001 not ZAU00002.
ZAU00002 is for Approver.
From your reply i understand that i need to copy the same role and maintain under object B_USERST_T instead of B_USERSTAT?.
May i know what is the difference between B_USERSTAT and B_USERST_T?
Thanks in advance.
Sherry.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
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.