cancel
Showing results for 
Search instead for 
Did you mean: 

multiple level leave approval, for certain types of leaves

Former Member
0 Kudos

Hi all,

we have few leave types, e.g:

Earned Leaves - One level approval is required (by reporting manager), the standard leave approval is working fine.

Sick Leaves - Two level approval, by reporting manager, and reviewing manager

Study Leaves (Less than 30) - Three level approval, reporting manger, reviewing manager, head-of-dept,

Study Leaves (More than 30) - Five level approval, reporting manger, reviewing manager, head-of-dept, Talent-dev-lead, Practice head.

To build this solution, do we need to have a expert workflow consultant.

or

can it be done by customization via SPRO > Personnel Management > Employee Self-Service > Service-Specific Settings > Working Time > Leave Request > Processing Processes > Specify Processing Processes for Types of Leave > Define Absences/Processing Processes

to achieve this, can we use existing workflow or do we need to completely design a new workflow.

has sap provided, an easier way, where we can specify type of leave, and levels of workflow etc.

thanks,

Ganesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member190816
Participant
0 Kudos

Dear Ganesh,

Sap provided one level workflow only.

If you want to maintain more than one level you have to go for customization.

For this you need Workflow consultant.

can it be done by customization via SPRO > Personnel Management > Employee Self-Service > Service-Specific Settings > Working Time > Leave Request > Processing Processes > Specify Processing Processes for Types of Leave > Define Absences/Processing Processes


In this screen we enter only workflow name.  We do not configure workflow here.


Workflow consultant has separate T.codes. / separate screens.

--

Regards

Somu

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos
Former Member
0 Kudos

thanks all,

the link helped.

as we are on ehp7, we got partially working using the method IF_EX_PT_ABS_REQ~GET_MULTIPLE_APPROVERS of the badi class ZCL_PT_ARQ_REQ_EXIT.

in ESS, when the user is selecting/changing the leave type (e.g earned leave or sick leave), the above method is triggering, so we are setting correct approvers in method GET_MULTIPLE_APPROVERS, and those approvers are visible to the user properly.

but this method or any other method is not triggering when the user changes the dates, as we need to decide the approvers based on no. of days applied for leave.

actually, for study leaves, if no. of leaves < 30, three level approval is required,

for study leaves >30, we need to provide 5 level approval.

but as the method GET_MULTIPLE_APPROVERS is getting triggered only once, right after selecting the leave type as 'study leaves', we are not able to change this.

is there any other place in badi, where we can achieve it.

thanks in advace,

Ganesh.

0 Kudos

Hi Ganesh,

I do have the same requirement.

Please share, if you find any solution.

Thanks.

Answers (1)

Answers (1)

former_member182426
Active Contributor
0 Kudos

your at which version ?

If it's EHP6 with HR Renewals , you have the functionality to select multiple approvers.

If your at EHP5/6, then you have to develop custom workflow by copying the standard workflow WS21500001 for multiple approval levels based on your leave type.

For this you required Workflow consultant, you can't configure in SPRO.