SAP Knowledge Base Article - Public

3532781 - Offcycle Event Batch Error due to Blank Required Field in Pay Component - Employee Central

Symptom

  • The Offcycle Event Batch, when created with the base object as Job Information, gives an error related to pay component.
  • The error message is: "This record was not saved because there were errors in other records for XXX. An error occurred while executing a business rule against the Compensation record with these values (start-date=XXX pay-component=XXX). Amount is a required field and cannot be blank. Amount is required for pay component XXX."

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Configure the Offcycle Event Batch job
  2. Run the job in Scheduled job manager
  3. Navigate to employee profile, no record was created.

Cause

The issue is occurring due to another rule configured with the same base object that is triggered onSave. This rule is setting a required field to "null" when creating the pay component for the user, resulting in a blank field, as mentioned in the error message of the Offcycle event.

Resolution

  1. Collect a Rule Trace while executing the Offcycle Event Batch (Please note: the login user of the rule trace must be the job owner of the Offcycle job) - KBA 2257064 - Employee Central - Business Rule Execution Log - SAP for Me 
  2. Identify the issue with the rule that is setting a required field to null
  3. Adjust the rule logic based on business requirements

See Also

  • Guide Off Cycle Event Batch | SAP Help Portal
  • KBA 2719010 - Employee Central - Off Cycle Event Batch - SAP for Me
  • KBA 2727185 - Employee Central - Off Cycle Event Batch: How the Scheduled Job Works - SAP for Me
  •  KBA 2833943 - Off Cycle Batch rule ran but not updated all employees - Employee Central - SAP for Me
  • KBA 3329445 - Off Cycle Event Batch is successful but does not create the record - Employee Central - SAP for Me

Keywords

Off-cycle, Off cycle, Offcycle, Offcycle Event Batch, Job Information, Error, Pay Component, Null Value, Null, Required, Required Field, Rule, scheduled job manager, not saved, This record was not saved because there were errors in other records, An error occurred while executing a business rule against the Compensation record, Amount is a required field and cannot be blank, SAP SuccessFactors Employee Central. , KBA , LOD-SF-EC-JOB-OFF , Off Cycle Event Batch , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions