SAP Knowledge Base Article - Public

2857870 - Wrapped Exception: Division by zero when launching compensation worksheets

Symptom

Create compensation worksheets job fails with error - "This scheduled job failed to complete. For details, please contact SuccessFactors customer support. com.successfactors.jobscheduler.ScheduledJobExecutionException: com.successfactors.sca.service.ServiceLegacyRollbackException: Wrapped Exception: Division by zero".

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP SuccessFactors HCM Core
  • Talent Management 
  • Compensation

Reproducing the Issue

Launch compensation worksheets and notice the job fails.

Cause

COMPENSATION_SAL_RATE_UNITS column is 0 for some (active/inactive) users in the UDF causing division by zero exception.

Resolution

Correct COMPENSATION_SAL_RATE_UNITS column in the UDF to a valid value or blank value for both active and inactive users to fix the issue. Import the corrected UDF and launch worksheets.

Keywords

worksheets launch fail, success factors, forms not created, worksheets creation error, unable to create worksheet , KBA , LOD-SF-CMP-FRM , Forms & Templates , Problem

Product

SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HCM Core all versions