SAP Knowledge Base Article - Preview

3228046 - Changing the language changes the number when raise a message - Employee Central

Symptom

  • A message configured to raise by a rule using raise message shows incorrect value when changing the instance language from English to Spanish. The rule trace shows the value correctly, but the UI message appears wrong. Example: Number passed to the rule engine '100.00' but the Number displayed in the message would be like: For logged in user's language = Spanish: 10.000 % (wrong) vs. English 100.00 % (correct)
  • A business rule is created to raise message based on the formatMessage() function in it's condition, this function interprets the number passed to the rule engine incorrectly as it does not follow number formatting based on language. For e.g. English as it uses the dot instead of the comma the format is correct. For Spanish (or German), that use the comma as differentiator it is not correct.
  • In business rule formatMessage() function the number passed to the rule is '244.52' but the number displayed in the User Interface message for Spanish: 24.452 % (wrong) vs. English 244.52 % (correct)
  • If a customer-defined message definition contains numerical parameters whose values can contain decimals, the decimal separator is not properly represented according to the language settings of the logged-in user.


Read more...

Environment

SAP SuccessFactors Employee Central

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Suite all versions

Keywords

raise a message, rule, changing language, wrong, spanish, RUL-9374, 9374, formatMessage(), MessageDefinition, In correct number format in business rules based on language, incorrect decimal number position, incorrect calculation , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-MDF-RUL , Custom Oject based Business Rules , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.