on 08-23-2013 12:53 PM
Hello All
1) Manager should be able to add himself as approver of leave requests in ESS: How to control this through authorization or any other way?
2) Manager should not be allowed to approve his leave request. How to control this through authorization or any other way?
Await quick reply.
regards
Subramanyam
Subra:
If Security is using P_PERNR object you can easily achieve # 2 requirement. Of course this is dependent on Security also maintaining, IT0105, subtype 0001 with the User Id.
In P_PERNR, one specifies in a role, whether a particular infotype is READ or READ/WRITE.
Cheers, Al
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The second line of the P_PERNR above reads that the User has complete access to Read/Write for the time infotypes. It's been some time since I built roles, but generally I think what is needed is another line where an Exclusion (E) is setup and the Authorization is simply READ. (and Matchcode) for IT2001.
Al
Hi,
Generally leave request will move to the supervisor mapping (standard 012- cheif) or 002 -Reports to relationship in OM Infotype 1001.
you manager will have the relationship 012- / A002 i mean who is the manager/ cheif or to whom he/she reporting to.A002.
based on this , approval will happen.
Regards,
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dinesh
The usual process of manager getting defaulted through OM structure etc.. works fine. We have enabled the '' Requestor may change next agent'' option so that i can enter any other manager.
Therefore the manager is able to remove the default approver, put his name as approver and also approve the same.
This is what we want to avoid. Hope it is more clear.
regards
Subramanyam
Then remove the option 'Requestor may change next agent' for Manager rule groups,
There will be no authorization object for this & everything is as per config
check this doc http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c...
And also tell me that Manager leave should approve by whom ?
Hi Kedhar
Thanks for highlighting this. The option 'Requestor may change next agent' is a business reqt and therefore cannot change it.
It is just that; i do not want to allow manager to add himself as approver and also he should not be able to approve his own request.
Can this be done using authorization or any config in spro. Development (ABAP/WF) is to be looked at as a last option due to budget constraints.
Hope it is more clear now.
regards
Subramanyam
Hello Claire
No response so far and i found no solution w.r.t. SPRO config or authorization.
From the ABAPer I know this can be achieved using Badi PT_GEN_REQ: Client does not have development budget.
So, i am still awaiting for any sort of solution which does not involve ABAP/WF.
regards
Subramanyam
Hi Subramanyam,
As far as i can understand it cannot be achieved by Configuration.
I am not sure if this could be done by authorization.
However as your ABAPer has said this can be achieved by implementing BADI PT_GEN_REQ.
You can write the code in the method "IF_EX_PT_GEN_REQ~SEARCH_FOR_NEXT_PROCESS" to achieve the same, in case things come to that.
Please let me know in case you find another way of achieving this.
Regards,
Mayank
Dear Subramanyam,
1) Approver is coming from R3 side based on relationship maintenance but I am not sure on how from ESS, let me check
2) Is it auto approval then check options in table V_T554S_WEB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
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.