SAP Knowledge Base Article - Public

3385376 - Future dated new hires are returning emplStatus equal to "A" in Compound Employee API

Symptom

You have hired a new employee and his/her hire date is set to a day in the future.

When you run a Compound Employee API query, the field emplStatus from job_information is returning value "A", which means "Active". You are expecting it to return an "Inactive" value, since the employee is not yet hired.

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
    • Compound Employee API

Reproducing the Issue

  1. Perform a Compound Employee query as below:

    <queryString>select person, employment_information, job_information from CompoundEmployee where person_id_external = '103372'</queryString>

  2. The response below is returned:

    ...
    <job_information>
        <business_unit>PRODS</business_unit>
        <company>7000</company>
        <division>MANU</division>
        <employee_class>1</employee_class>
        <employment_type>U4</employment_type>
        <emplStatus>A</emplStatus>
        ...

Resolution

This is an expected behavior.

If you look at the profile of this future dated hire employee, you'll see that Job Information portlet already shows the "Employee Status" value as "Active", even though the hire date didn't arrive yet.

For example, this employee below was created on October 4th with a hire date equal to October 11th. This is how it looks like when viewing Job Information portlet on October 4th:

Since the Job Information portlet already shows the "Active" value, Compound Employee will behave the same.

The purpose of this field is to indicate if the employee is active or not in the given period of the Job Info record. So even though the hiring record of the employee is future dated, it will still have value "A", meaning that on that period it will start being considered active.

What about employees that are still on "Manage Pending Hires"?

In such cases the behavior would be the same, because employees that are still on "Manage Pending Hires" will already have a future dated Job Info record internally with status equal to "A". As a suggestion, you are able to use the hiringNotCompleted Employment Filter to remove these employees from the response.

Keywords

future, dated, date, hire, employment status, employee status,  , KBA , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM Suite all versions