SAP Knowledge Base Article - Public

2588405 - Incorrect Event Reason defaulting on Compensation Information

Symptom

The system is not getting the correct event reason when change compensation information.

You have noticed that this is happening because the system is always considering that the salary of the employee is changing due the round that the system performs in the amount of the pay component.

Environment

  • SAP SuccessFactors HXM Suite
  • Employee Central

Reproducing the Issue

  1. Go to Employee Compensation portlet
  2. Insert record
  3. Enter Event "Data change" and event reason "data change" any field and save. If you are using an event reason derivation rule the same behavior will be replicated.
  4. The system will not get the correct event reason

Cause

The system have a business rule that is comparing the "AnnualizedSalary.PreviousValue" with current.

For example, the real Annualized Salary is '174961.02000000002', when the event-reason derivation Business rule is Triggered the system is rounding the Annualized Salary to '174961.02', therefore the business rule considers that the value (174961.02000000002) is different than the previous value (174961.02) hence this rule is triggered.

Resolution

This is an expected behavior, the system is rounding the annualized salary. To avoid this behavior you should use the Round() function in your rule.

2018-01-11_15-55-54.jpg

Note: The precision and Threshold will depend on your system round configuration, so please refer to the Business Rule Implementation guide to get the full instructions on how to use the Round() function.

See Also

2501837 - Can the Calculation of Annual Salary be Changed in Employee Central?

Implementing Business Rules in SAP SuccessFactors

Keywords

AnnualizedSalary, annualized salary calculation, incorrect event reason, rounding values , KBA , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , How To

Product

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