SAP Knowledge Base Article - Public

2447503 - How to add form template fields to the compnesation statement body

Symptom

There might be the requirement to show some fields' data in the body of the compensation statement.

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".

Statement.PNG

Instead of PM Rating and FINAL Salary you need to display the actual values.

Environment

Compensation, Variable Pay

Resolution

Download the statement template, Open the downloaded xsl file in any XML editor application and find the related variable in the xsl file.

Example:

  <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--48" & "finSalary--481".

Statement 2.PNG

 

Keywords

Statement, Statement body, Statement Text, , KBA , LOD-SF-CMP-PS , Personal Statements , How To

Product

SAP SuccessFactors HCM Suite all versions