SAP Knowledge Base Article - Public

2475491 - How to define number format for Background Element - SuccessFactors

Symptom

How to define number format for Background Element?

Environment

  • SuccessFactors
  • Job Profile Builder

Resolution

  1. Download the Data Model

  2. Copy the following code in the Data Model above Standard-Element Section/Portion

    Sample format: #.00 -> This format will show 2 decimal places data.
    Sample ID: nData
    Standard Code:

    <field-display-format id="nData">
    <display-pattern>#.00</display-pattern>
    </field-display-format>

    Note: We can also declare a separate format for other locals.

    Sample: <display-pattern local="en_GB">#.00</display-pattern>

  3. Put the following code in Data Field of the Background Element.

    Code: <field-display-format-ref refid="<put id here>"/>
    Sample:

    <data-field id="salary" field-name="ffld1" max-length="999" max-file-size-KB="1000">
    <label>Test Salary</label>
    <label xml:lang="en-GB">Test Salary</label>
    <field-display-format-ref refid="nData"/>
    </data-field>
    </background-element>

Note that this configuration only works with ffld (rounding off is aplicable) and ifld (ignores decimal digit and rounding off values) fields.

Sample Input and Outputs

Input:

Input.JPG

Output:

output.JPG

Keywords

background, element, successfactors, success, factors, round, up, down, off, decimal, digits, float, double , KBA , LOD-SF-EP , Employee Profile , How To

Product

SAP SuccessFactors HXM Suite all versions