Symptom
-
curSalary (standard field) doesn't annualize on the compensation statements for hourly employees even though the value on the worksheets is annualized.
- Mismatch of curSalary value on the worksheets vs statements for hourly employees.
"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 worksheets with curSalary standard field and complete them.
- Generate statements for hourly employees and notice the value corresponding to the curSalary field is showing the rate.
Cause
curSalary field is always stored as the rate in the system, it is the UI that annualizes it. So, if statement needs to show it as annualized, it needs to be annualized in the statement template
Resolution
The statement xsl is responsible for annualizing the salary. For example, we can get the salary and salary unit values first and then calculate the annual salary:
<xsl:variable name="curSalary" select="./comp-plan-entry/comp-salary/comp-salary-curSalary"/>
<xsl:variable name="salaryRateUnits" select="./comp-plan-entry/comp-salary/comp-salary-rate-units"/>
<xsl:variable name="curSalaryAnnual" select="$curSalary * $salaryRateUnits"/>
OR
Create a custom field in the design worksheet to multiply the salary rate units and hourly rate and show this field on the statement instead of the curSalary standard field.
See Also
Keywords
sf, successfactors, hourly rate on statements , KBA , LOD-SF-CMP , Compensation Management , Problem