SAP Knowledge Base Article - Public

2324159 - Currency type fields not allowing saving the value with error: “Invalid number” - Recruiting Management

Symptom

Error message “Invalid number” displayed when setting a value to a currency type field in Job Requisition, Application or Offer Approval templates.

Environment

SuccessFactors Recruiting Management

Reproducing the Issue

  1. Access a job application;
  2. Edit the application and set the following value to a Currency field, per example: 100,000
  3. Error message received: “Invalid number”.

 

Invalid number.png

Cause

When configuring fields with the type “currency”, a standard field must be defined in the template in order to select which currency should be the system considering.

This is important as each currency has its own “Decimal and Thousands Separators”.

Great Britain and the United States are two of the few places in the world that use a period to indicate the decimal place. Many other countries use a comma instead. The decimal separator is also called the radix character. Likewise, while the U.K. and U.S. use a comma to separate groups of thousands, many other countries use a period instead, and some countries separate thousands groups with a thin space.

Resolution

Make sure the following field is also configured in the template where the error message is displayed and that a valid currency is set so the system can recognize which separator should be used for the values entered in that are type="currency" .

Example Only:

<field-definition id="currency" type="enum" required="false" custom="false">

<field-label mime-type="text-plain"><![CDATA[Currency]]></field-label>

<enum-value value="EUR">

<enum-label><![CDATA[EUR]]></enum-label>

</enum-value>

<enum-value value="GBP">

<enum-label><![CDATA[GBP]]></enum-label>

</enum-value>

<enum-value value="USD">

<enum-label><![CDATA[USD]]></enum-label>

</enum-value>

<default-value>USD</default-value>

</field-definition>

Keywords

“Invalid number”, Currency field, type="currency" , KBA , LOD-SF-RCM , Recruiting Management , Problem

Product

SAP SuccessFactors Recruiting all versions