cancel
Showing results for 
Search instead for 
Did you mean: 

Division by zero not performed

former_member206624
Active Participant
0 Kudos

Hi,

I am getting the below error when i run payroll by using WT5678 in IT0014. I am getting this error only if a particular WT is present in IT0008 otherwise I am not getting the error. If a different WT is there in IT0008 i dont have this problem. This is an urgent issue. Please help.

ERROR:

Division by zero not performed

Calculation rule Z123*1234 DIVID ANA ZERO= N ADDWT *

IT0008 and IT0007 entries are correct. No issues with these Infotypes

Edited by: kumar Rag on Aug 18, 2011 12:02 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member

This may also cause because of the master data.

Normally IT0007 is saved before IT0008. But in some cases if IT0007 is saved after IT0008 and IT0008 saved without any record in IT0007, the field work hours/period in IT0008 is zero. Normally IT0007 creates the entry in IT0008 automatically after saving IT0007.

So you can check the work hours/period field in IT0008. Here in the field "work hours/period" value of "monthly working hours" in IT0007 must be recorded.

Can you check it?

Sorry about this comment I have not seen that you have written IT0007 and IT0008 are ok.

Edited by: Okan Caliskan on Sep 2, 2011 2:26 PM

former_member193210
Active Contributor
0 Kudos

Run a Payroll Simulation with Log for an employee with WT5678 in IT0014.

Double clik on PCR Z123 to see the value of WT 1234 in the Input Table (IT).

Since operation DIVID ANA should divide the Amount by the Number and write the result in the Amount field but gives the "Division by zero not performed" error, it would seem that your WT 1234 does not contain a Number.

Then, go back into your Log and try to find where WT 1234 is created, and where it is modified (if it is).

Sometimes, executing program RPDASC00 (through se38) with the detail of all schemas, rules and sub-rules will enable you to find all PCRs that impact a WT (such as WT 1234 or WT 5678).

former_member206624
Active Participant
0 Kudos

Hi,

The Issue in detail:

If i use WT5678 in IT0014 and if i have WT1212 in IT0008 i dont have this problem (I am not getting any error). If i have WT1313 in IT0008 and using WT5678 in IT0014 i am getting this error.

I have newly created WT5678.

For Few people we need to maintain WT1313 in IT0008.

Please let me know if any more clarification is required.

Former Member
0 Kudos

I think you should compare 1212 and 1313 because I think these wage types cause the problem. Because I think wage base is calculated in wage type 1212 but not in wage type 1313.

Former Member
0 Kudos

Can you check your rule Z123 or may paste here for analysis

Former Member
0 Kudos

Please check PCR Z123,

and divided by ZERO is not possible so please change the same and check again.

Thanks

Cheera

Former Member
0 Kudos

Dear Kumar,

can u please elaborate the issue so that i cab try...

as you have given

I am getting this error only if a particular WT is present in IT0008 (what wage type here is it the same 5678 ?)

otherwise

I am not getting the error.

If a different WT is there in IT0008( othere than 5678 !) i dont have this problem.

ERROR:

Division by zero not performed

Calculation rule Z123*1234 DIVID ANA ZERO= N ADDWT *

z123 is a pcr if i am not wrong ?

pleaese paste the rule here !

Edited by: 0mohammed1 on Aug 18, 2011 12:22 PM

Edited by: 0mohammed1 on Aug 18, 2011 12:27 PM

former_member206624
Active Participant
0 Kudos

Hi Mohammed,

You are right, Z123 is the PCR. Below is the rule. Thanks for the prompt reply.

*

1234 GPPP Pension Wagebase

DIVID ANA Division amt/no/rate

ZERO= N AmtNumRteTime = 0

ADDWT * OT Output table

Edited by: kumar Rag on Aug 18, 2011 12:44 PM