Hi all,
we are in ehp7.
in our scenario, when employee applies leaves for less than 10 days, the approvers should be persons A and B.
when employee applies leaves for 10 or more days, the approvers should be persons X and Y.
for this we tried to use the method IF_EX_PT_ABS_REQ~GET_MULTIPLE_APPROVERS of Leave Badi ZCL_PT_ARQ_REQ_EXIT, using the blog http://scn.sap.com/docs/DOC-41537
in the leave approval screen, when we select a leave type, the method IF_EX_PT_ABS_REQ~GET_MULTIPLE_APPROVERS is getting called.
but we want to call this method after the employee puts the leave dates, so that we can take the decision based on leave days count.
is there any way to change/add/remove approvers, via SIMULATE_VIA_BLOP method or any other place, because SIMULATE_VIA_BLOP is getting called, when the employee clicks on send leave request.
is there any other way to incorporate approvers based on leave count.
thanks,
Madhu_1980