Online Tutorials & Training Materials |
Register Login

Leave Rate Calculation (TSDIVI) During Termination

amit butola || 23 Jan 2014 11:33 am || 3


Leave rate calculation in the valuation basis is as follows

Zero= A

This works fine during normal run. While terminating an employee in exit mode after payroll is run, the value is TSDIVI for the next period is zero and throws an error " Division by zero not performed".

Can you please advise on this issue?



  • 24 Jan 2014 11:40 am Helpful Answer

    At initial of your PCR you can have to check that employee is active or not through "PPPAR" operation.

    If employee is active, keep the same what you written previously.

    If employee is not active consider the first split of WPBP through "WPALL" operation.

  • 11 Feb 2014 5:28 am

    Thank you for your inputs and quick response. It was very helpful.

  • 11 Feb 2014 5:29 am

    When the employee is not active, if the employee is not's eligible for any leave pay during the split, then the rate may need to be zero. I'd suggest checking your business requirements, then the test results of your changes