on 03-24-2014 1:14 PM
We do have requestor and approver both are having same role and hence, requestor can approve CR and approver can raise CR. In this case, how can we restrict for a particular user is not allowed to approve his own CR.
Hi Victor
Can you check possibility by assing below roles?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjay,
The given problem has been resolved. The given problem can not be solved only by separating the role through pfcg. During separating the role, you are only separating the user. Here, Validator and Approver also can create CR and that time respect to that CR, their role will be requester not validator or approver.
So, what exactly you need to do...go to class builder and get into the CL_USMD_CR_GUIBB_GENERAL_DATA. Under this class interface go to "process_event" method and write a logic which will restrict user for not to approve his own request.
Victor
Hi Victor,
Have you been able to solve this problem?
I can't see this question being answered anywhere. And I don't have the asnwer 🙂 but looking for it. Facing same issue with MDG-S/C 7.0 where users might have multiple roles like reqeustor, approver. I would appreciate if you could share your findings.
Andrzej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrzej,
Unfortunately I did not get any reply from anyone regarding this solution. Anyways, it has been resolved now. I followed the below steps:
1. Step 1 : Logon in class Builde SE24 with a class name : CL_USMD_CR_GUIBB_GENERAL_DATA.
2. Check for the methods Process Event.
3. Click on IF_FPM_GUIBB_FORM~PROCESS_EVENT.
4. Then write a logic to protect the user from not to approve his own request.
Victor
Hello Victor
I am not expert in workflow but can give one suggestion. In your UI screen, add one more custom field (no need to replicate) and ask the requester who is approver also to choose the other user id. Once the requester submit the request, take the user id from the CR entered by your requester as a a approver and then get it approved.
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check Badi USMD_SSW_DYNAMIC_AGENT_SELECT.
Create an implementation for this Badi, where user agents could be changed dynamically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You have the same question posted here: http://scn.sap.com/thread/3525119.
Please post questions only once so that all related information is in one place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Abdullah,
This discussion chain is little different than the other discussion one (Which URL you have shown above). I request you please go through this discussion chain properly and understand my specific requirement. I know, duplication of discussion is not good. Please go through it. Thank you.
Hi Victor ,
In this case at the User Agent Decision Table you have to assign different User Id means as approver user Id ..
So that Request has only raise the CR and Approver have approve the CR.....
Thanks
Nikhilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.