There might be the requirement to show some fields' data in the body of the compensation statement.
**images and data taken from SAP internal systems and demo environments. Any similarity to production data is purely coincidental**
SuccessFactors Compensation Management
Reproducing the Issue
Example fileds: Performance Rating, Final Salary, Allowance, Basic Salry, HRA etc;
As an example:
"Your Final Score and the Performance Rating is PM RATING The payout of variable pay for the year 2016-17, based on business performance and your individual performance is Rs. Total Payout/-.
We are pleased to inform you, that in relation to your performance in 2016-17, effective April 1, 2017, your compensation package is revised to Rs. FINALSALARY".
Instead of PM Rating and FINAL Salary you need to display the actual values.
Download the statement template, Open the downloaded xsl file in any XML editor application and find the related variable in the xsl file.
<xsl:variable name="pmRating--481" select="./sf-compensation[@formTemplateId='481']/comp-plan-entry/comp-rating-source-info[@useFor='salary']/comp-rating-detail/@form-rating"/>
<xsl:variable name="Cust_Cur_Bas_Sal_Allow--481" select="./sf-compensation[@formTemplateId='481']/comp-plan-entry/comp-custom-data/comp-custom-field[@id='Cust_Cur_Bas_Sal_Allow']"/>
<xsl:variable name="finSalary--481" select="./sf-compensation[@formTemplateId='481']/comp-plan-entry/comp-salary/comp-salary-finalSalary"/>
<xsl:variable name="total_payout--561" select="./vp-total-payout-report[@formTemplateId='561']/vp-custom-data/vp-custom-field[@id='total_payout']"/>
You need to replace the PM Rating and Final Salary with the "pmRating--481" & "finSalary--481".
Statement, Statement body, Statement Text, , KBA , LOD-SF-CMP-PS , Personal Statements , How To