SAP Knowledge Base Article - Public

2633023 - Generated Document Not Displaying Decimals After Value is Mapped From a Business Rule


No Decimal Places Displayed in Generated Document for Numeric Value (Usually Monetary) Calculated Via Business Rule

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


  • Product version: SAP SuccessFactors HXM Core 2211
  • Employee Central
  • Document Generation

Reproducing the Issue

1. Have a mapping in Document Generation Mapping based on a rule to calculate Annualised Salary


2. Generate a document based on the respective template and notice that the value based on amount (CalculateSalary Rule) does not display decimals.



The is because a number field of DocumentMapping Rule Result is being assigned to a decimal field from Compensation Info. On doing this, the rule itself gives a warning that the decimal places will be lost. See below screenshot.




1. Navigate to Configure Object Definitions>Document Mapping Rule Result and add a new field of Type Decimal. See below Screenshot


2. Use this new field in your business rule and then the generated document should display decimals.


Document Genration Decimals, Generated Document No Decimals, Decimals, round, pay component value, , KBA , LOD-SF-EC-DOC , Document Generation , Problem


SAP SuccessFactors Employee Central all versions