Symptom
When tried to import compensation template for the second time (same file with only one change) the system displayed an error message and the rules that should be triggered during this process are not being triggered as expected. In the rule trace some values are being considered NULL.
Error: An error occurred while executing a business rule against the Compensation record with these values
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
1. Import Compensation Information;
2. Import Pay Component Recurring;
3. Import the same Compensation Information again - system displays an error message.
The expectation is that second Compensation Information import will trigger rules to calculate the relevant Pay Component Amounts. However, in the second Compensation Information Import, system is displaying the following error message: "Error message while importing compensation information"
Cause
This is a known issue.
Resolution
The code correction will be delivered in one of the early b2411 patch (i.e. before the b2411 is released on production).
Workarounds: we recommend you to replace all the Compensation Information rule by Compensation Information Model equivalent.
In addition, we definitely recommend using a specific scenario in the rule configuration instead of basic scenario. Functionally this change has no negative impact and is a positive way to solve the scenario, with this configuration, changes the rules will perform better. As Basic Rules and Non Model Rules while still supported, will be deprecated (i.e. it will be not possible to create basic rule already and not possible to create non model rule from b2411).
In case you do not have event reason derivation then please proceed with following workaround:
-
- Pay comp recurring import --> this will created the relevant comp info and Pay comp recurring import and trigger all the rules with the relevant pay comp recurring values. This will also set the event reason as defined by the created business rule.
- Comp info import --> This is only needed if the customers need to change values. This, whether this is the event reason (in case the customer always set a single event reason) or value(s) of any other field(s) that would need to be changed in the comp info record newly created by the Pay comp recurring import. In this import, the sequence number (1) needs to be provided, else a new time slice will be created.
Note: in case you first proceed with Pay Component Recurring import and then with the Compensation Information Import, if you provide an event reason in the Compensation Information file, then the event reason of the file will take precedence or the event reason set by the rule.
See also: Enhancements to Recurring Pay Component Imports.
Keywords
compensation, error compensation, error compensation import, error, compensation rules import, service layer, ECT-243407, INC9370393, CS20240008145361 , KBA , LOD-SF-EC-EDP-CMP , Compensation Information Imports , Problem