cancel
Showing results for 
Search instead for 
Did you mean: 

Division by zero not performed

Former Member
0 Kudos

Hi experts

An employee left the organisation on 03.05.2015. While executing his payroll the below error has occured.

The PCR for the same is given below. Kindly guide what is going wrong here.

Kindly suggest as its urgent.

Best regards

Mahwish Khatib

Accepted Solutions (0)

Answers (3)

Answers (3)

jagan_gunja
Active Contributor
0 Kudos

Run payroll with log. Display log for the PCR and check which divide op'n is failing and for which split.

From log for WPBP you can determine the period of this split.

If the error is in the first divide by KSOLL, then check its value from the log for the functions GENPS, PARTT, and P2003.   You can get from WPBP also.

If the split period is after the last day in service, then there would not be any planned days and so there should be no division by KSOLL.  By checking the employment status (with operation STATU 2 - value 3 means the employee is active) you can skip the calculations or set the required num or amt to zero. See below sample pcr lines.

       D  STATU 2           Is the empl active?

*                                 -no, inactive

3                                 -yes, active

     

If the error is in the second divide by constant TGMAX, then check its value from V_T511K.

Sanky
Active Contributor
0 Kudos

Hi,

Employee leaving on 03.05.3015 then there have two split's in the PARTA table where in the 1st slipt TKSOLL is 3 and second split TKSOLL is 0.

Check this and check with standard PCR X013.

Regards,

Sankarsan

Former Member
0 Kudos

Check Capacity uti level and Work period fields in IT8 if its blank then you will get this error.

These fields are filled with IT7 employment percent and monthly wkg hrs fields respectively.

Former Member
0 Kudos

Hi Narendra

Both those fields are filled. Still the same error.

Former Member
0 Kudos

from DIVID ARR what is the amount is it filling is it present in input table.Check TGMAX value from t511k table.paste scree up to where this rule has processed.