I have one scenario where if an employee is booking a long leave (maternity leave), then payroll area in It0001 should chnage to XX payroll area. and on his leave's end date Again he will be assigned to the previous Payroll Area .(eg YY payroll area).
we need this scenario wherein an absence is booked (maternity leave) in It2001 , the payroll area in It0001 of the employee should chnage . and on the end date of that leave payroll area in It0001 should be the previous one.