cancel
Showing results for 
Search instead for 
Did you mean: 

While running payroll Error Division by zero not performed, calculation rule AEPF*/815

ShaikFareedM
Participant
0 Kudos

Hi All,

I am working on implementation project for UAE country.

While running payroll i got following error.

Division by zero not performed

Calculation rule    AEPF*/815          RTE=TSAP** RTE+TSAX** RTE*KGENAU RTE

Please help me how to resolve the above error.

Thanks,

Shaik Fareed

Accepted Solutions (0)

Answers (6)

Answers (6)

ShaikFareedM
Participant
0 Kudos

Hi

Issue is resolved.

Its because of day rule and which is assigned wrongly in VV_T554C_C.

Thanks for all your guidance.

Thanks,

Shaik Fareed

ShaikFareedM
Participant
0 Kudos

Hi Venkatesh

Please find attached the screen shot of /815

Thanks,

Shaik

Former Member
0 Kudos

TSDIVI= no. of working hours. The error implies that this field=0. To confirm, execute payroll, & in the log, send a screenshot of the PARTT table.

venkateshorusu
Active Contributor
0 Kudos

As you confirmed earlier there is no separation action performed in the system. this is the problem eith IT0007, IT0008 where field is not holding planned working hours since we are getting this error.

Make sure that Wkhrs/Period(DIVGV - Field) should have a value >0 then we do not get error.

I hope you understand.

Regards

Venkatesh

venkateshorusu
Active Contributor
0 Kudos

Further more what i can say is even though employee is got separated we should not get any error which results division by Zero not performed.

Since once we separate employee we consider him as a Inactive employee.

Regards

Venkatesh

sikindar_a
Active Contributor
0 Kudos

Fareed

TSAP** Stands for paid Leaves in hours

TSAX** Stands for Paid holidays in hours

But we are missing TSSOLL working hours for planned time

RTE=TSSOLL

RTE=TSAP**

RTE+TSAX**

please try and let us know your feed back

Former Member
0 Kudos

Hi Fareed,

Can you send me the screen shot of PARTT Table values.

You will find this table in Processing of time data sub schema of Payroll log.

PRINT NP   PART this is the statement.

in the output you will find 2 tables.  1) PARTT AND 2) PARTA.

Double click on PARTT TABLE and send the screenshot of this table.

/815 Wage Type stores the Public holidays' rate in that month.

Lakshmi

jagan_gunja
Active Contributor
0 Kudos

Hi Shaik

TSDIVI means Total working time measured in working hours.  You can see this in the help info that I have attached.  Also attached PPPAR op'n help info.

I believe the PCR is failing in the WBP split where there are no working hours (or TSDIVI = 0).  You can check this in the output of PARTT function in XT00 sub-schema and the corresponding WPBP split.

The PCR needs to check for the condition PPPAR R (for the employee being inactive in the entire partial period).  If the return value is R, then no action applies and the output of the /8** w/t will be zero.  This is required in the PCR.

See sample below:  Also note: after RTE=TSSOLL, Sikinder may have mistyped RTE=TSAP** instead of RTE-TSAP**

AEPF * / /815

       PPPAR  R

   *      RTE=TSSOLL      Emp active, pro-rating applies

   *      RTE-TSAP**

   *      RTE+TSAX**

   *      RTE*KGENAU

   *      RTE/TSDIVI

   *      ADDWT *

  R                                 Emp. inactive;No action

ShaikFareedM
Participant
0 Kudos

Hi

Infotype 0007 is not delimited

Infotype 0008 is valid and utilization level is filled and employee is active no separation action

Please find below screen shot of payroll log

Please guide me / help me on this

Thanks,

Shaik

Former Member
0 Kudos

What is the value of /815 in the input of the PCR?

venkateshorusu
Active Contributor
0 Kudos

What you do is double click on /815 and place screen sot for better undertanding.

It is a indication that divisor is not holding any value and it is getting updated as "0" possible place a screen shot of AEPF as well for better understanding.

Regards

Venkatesh

Former Member
0 Kudos

Hi,

Please check IT8, utilization level. This error may occur when the level is blank.

Regards,

DJ

jagan_gunja
Active Contributor
0 Kudos

As the others said, this may be because of employee's termination.  In any case, the PCR needs to check for employment status with operation STATU or PPPAR and then if the employee is active in the WPBP split period, divide by the hrs (TSSOLL) or days(TKSOLL) as applicable..

Former Member
0 Kudos

Execute payroll & in the payroll log, double click on processing of the PCR which throws the error. Send a screenshot.

former_member1020143
Active Participant
0 Kudos

Hello Mr Fareed

This error may be coming for employee for whom separation action was performed and the separated employee selected for payroll. Check the separation action and planned working time infotype 0007 was delemited or not to the separated employee.

Regards

EKP YADAV