Online Tutorials & Training Materials | STechies.com
Register Login

Leave Rate Calculation (TSDIVI) During Termination

|| || 3

Leave Rate Calculation (TSDIVI) During Termination
Stechies

Hi,

Leave rate calculation in the valuation basis is as follows

RTE= TSDIVI
DIVID ARR
Zero= A
ADDWT *

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?

Thanks


Comments

  • 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.

  • amit butola
    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