on 07-01-2015 10:44 AM
Dear experts,
I have activated the enhanced approval procedure and granted the authorizations as mentioned in the blog post.
I have a user, TEST_ANALYST, who has authorizations that give him CRM_APPRVL with activities 01, 02 and 03; plus SM_APP_AP with activity 02, which should grant him the possibility to change the approval procedure on request for changes.
However this user was not able to change the approval procesure.
I meanwhile found the reaction of on one of the questions of his blog post that helped me understand the issue:
My user TEST_ANALYST should be the "change manager" (renamed to Business Responsible Lead in my screenshot) to be able to change the approval procedure.
So I want to know: is there a way to change this behavior? I want my Analyst to be able to change the Approval Procedure too, without having to assign him as change manager. And I don't want to give him admin rights because I don't want him to approve the approval steps.
Thanks,
Joyca
I went into debug and found out that apparently, there is nothing to be done about this behavior (without changing the code ofcourse).
When checking if the approval procedure should be locked, it is checked if your user is assigned as "change manager". If you are NOT assigned as change manager, then the authorization check is skipped and the approval procedure field is just locked. If you ARE the change manager, then approval object SM_APP_AP is checked fir value "02".
So I checked if I could add my "Approver" partner function as change manager.
But unfortunately, that didn't work either. When checking which partnerfunction classifies as "change manager", table AIC_PARTNER_FCT is checked. But even if I set my Analyst partnerfunction as "CHNG_MANGR" in that table, afterwards the table is sorted an ONLY the first entry is taken out, which is again the standard SDCR0002 change manager partnerfunction. And I do still want that one to be able to change the approval procedure, so I won't switch the two around.
So conclusion: what I want is not possible without adjusting code.
It's too bad that this check on Change Manager is added in there... I haven't really seen this documented in approval procedure documents, nor on the SM_APP_AP authorization object documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Joyca,
If you are trying in dev or sandbox..i would suggest you to try this step,
Create a dummy role and assign authorization object CRM_APPRVL with ACTIVITY and give full permission.
assign this Role to TEST_ANALYST.(apart from already existing roles)
check whether you are getting desired results.
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the authorizations are OK, and it's more related to the partner function of Change Manager.
This is what is seen in the authorization trace:
When I open the ticket where I am not the change manager, then the trace shows that CRM_APPRVL with 01 is checked, which is OK. Then SM_APP_AP with value 70 (administer) is checked. I don't have that so not ok. But then he just goes further to other things, and decides that I cannot edit the approval procedure field.
But if I fill in TEST_APPROVE as the Change Manager, then an extra check is seen in the trace: THEN it checks for SM_APP_AP with value 02 (change appr procedure). And then I can aso edit the field.
So it's as if my authorization is OK, but this authorization is not checked as long as I am not the change manager.
So I'm looking for a way to get rid of the check of being change manager. I want all users who have SM_APP_AP with value 02 to be able to change the approval procedure, regardles if they are in the box of change manager or not...
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.