SAP Knowledge Base Article - Public

3295058 - How to sum two calculated Numeric fields.

Symptom

How to sum two calculated Numeric fields in Integration Center. 

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

Environment

SAP SuccessFactors HXM Suite

  • Integration Center

Resolution

Will use "calculate the sum of the employee's age and the employee's working years in the company" as example to explain:

1. Create a "Calculated Field" in the Configure Field section on Integration Center.

2. The Calculated Field logic for Age and Working Years:

Age: Field Value = 0 Plus Age Calculation [Date Of Birth (dateOfBirth) from User]  'Y' Floor


Working Years: Field Value = 0 Plus Age Calculation [Date Of Birth (dateOfBirth) from User]  'Y' Floor 

3. Sum 'Age' field and 'Working Years' field:

Field Value = 0 Plus Age Calculation [Hire Date (startDate) from Employment Details (EmpEmployment)]  'Y' FloorPlus Age Calculation [Date Of Birth (dateOfBirth) from User]  'Y' Floor

Integration Center example:

See Also

2571171 - How to create a year calculation field in Integration Center

Keywords

Sum two fields, Age, Age Calculation Field, Integration Center Calculation, Calculated Field, company, time, year, how much, calculate , KBA , LOD-SF-INT-INC-FWK , Integration Center UI Framework , How To

Product

SAP SuccessFactors HXM Core 2211