SAP Knowledge Base Article - Public

2798198 - Calculated field to inform when an employee has direct reports - Integration Center

Symptom

This KBA will inform how to create a calculated field in Integration Center that tells when an employee has or not a direct report.

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

  1. Start an integration on User entity
  2. Click the Add button and select Add Calculated Field

    add.jpg

  3. Set an If/Then/Else in "Field Value" area

    if_then_else.jpg

  4. In the second field right beside the If/Then/Else you just selected, click on the three lines icon and select Associate Field

    associate_field.jpg

  5. Expand the Entity Tree View Section and search for the field "teamMembersSize" (you can use ctrl+F). After selecting it, click on Change Association button at the bottom

    entity_tree_view.jpg

  6. In the third field, select the operator "is greater than or equal to" and provide the value 1

    operator.jpg

  7. Click on the Pencil icon on the Then statement and provide the value you want to be printed out when the User record is a Manager

    then.jpg

  8. Do the same on the Else statement, providing the value to be printed out when the User record is not a Manager

    else.jpg

The result is going to be as below:

results.jpg

So if the User record has at least one subordinate, it is considered a Manager by the Calculated Field logic.

Keywords

calculated field, calculation, teamMembersSize, integration center, manager, subordinate, supervisor, team, member, totalTeamSize, size , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , Integrations , LOD-SF-INT-INC-FWK , Integration Center UI Framework , Problem

Product

SAP SuccessFactors HCM suite all versions