on 05-11-2009 3:47 PM
Hi ,
I am implementing ESS and MSS for absence application and approval. Workflows are being used to send absent request to manager for approval.
I want to know if some one has implemented a check for self approval. i.e do any one know how to check and restrict self approval?
A employee creates a absence request for him self and sends it to his manager. Because of forward functionality or substitutions request comes back to applicat for approval, then how can we restrict him from approving his own request?
Can this be done by authorisations? or by using a badi or user exit?
Regards,
Amit.
In this case you need to verify in the badi whose the next processor is using PT_GEN_REQ
Method is available, You can fllter it accordingly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
BADI PT_GEN_REQ is for I: Control Processing Processes for Time management Web Applications.
Better you can use "PT_ABS_REQ" BAdI: Control Processing of Leave Requests .
In IF_EX_PT_ABS_REQ interface ... in SIMULATE_VIA_BLOP method you need to give following logic .
if the workflow initiator and approvar is same .
Exit .
else.
Process the Leave .
endif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
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.