cancel
Showing results for 
Search instead for 
Did you mean: 

Restict self approval for absence request on MSS

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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