8 Replies Latest reply: Sep 2, 2011 7:03 PM by Rémi Corriveau RSS

Division by zero not performed

Raghu R
Currently Being Moderated

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

  • Re: Division by zero not performed
    khaja aminuddin
    Currently Being Moderated

    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

  • Re: Division by zero not performed
    Consultant SAP-HR
    Currently Being Moderated

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

  • Re: Division by zero not performed
    Raghu R
    Currently Being Moderated

    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.

  • Re: Division by zero not performed
    Okan Caliskan
    Currently Being Moderated

    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

  • Re: Division by zero not performed
    Rémi Corriveau
    Currently Being Moderated

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

Actions