Symptom
The following error occurs when attempting to save/submit the hire of an employee in 'Add New Employee' or 'Manage Pending Hires':
Error:
1. paycompvalue cannot be empty;
2. Error occurred in saving the Recurring Pay Component Record
Screenshot of error:
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 Employee Central
Reproducing the Issue
1) Navigate to Add New Employee or Manage Pending Hires
2) Add data for new employee and proceed to the 'Compensation Information' section
3) Enter a Recurring Pay Component
4) Save/Submit to complete hiring of the employee
5) Error message returns
Cause
The error is caused by an invalid configuration in an onSave Business Rule that is attempting to add/create a Pay Component at the end of the hiring process.
Resolution
Please refer to the Implementing and Configuring Employee Payments in Employee Central implementation Guide available on help.sap.com. In this guide, the proper configuration for defaulting a Pay Component during the hire process should obey the following two principles (page 62-63):
-
If a recurring pay component should be created, use the command CREATE (within the THEN statement) and not the command SET to do so. If the employee already has the specified pay component, the CREATE command will overwrite the existing values.
-
The SET command can be used when:
-
The rule has the base object recurringPayComponent OR
-
The ‘Select’ section of the SET command is filled to specify which pay component should be processed
This error will occur if the SET command is used incorrectly in place of the CREATE command. Please check the onSave rule to validate the configuration.
See Also
Keywords
ECT-96731, ECT-84996, EC, Employee Central, newhire, paycompvalue cannot be empty , KBA , LOD-SF-EC-HIR , Hire & Rehire Wizards , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , LOD-SF-EC-CMP-RUL , Business Rules , Problem