2279781 - Coumpound Employee doesn't return the <logon_user_name> for some employees

SAP Knowledge Base Article - Public

2279781 - Coumpound Employee doesn't return the <logon_user_name> for some employees

Symptom

While querying the Employee data in Successfactors system using CompoundEmployee, it is observed that for some employees the 'CompoundEmployee' API does not return the field '<logon_user_name>' in response.

Environment

Successfactors

Cause

The employees that have this issue have 'concurrent employments' defined in the Successfactors instance and for such records, this is the designed behavior of Compound Employee API.

Resolution

So if there are concurrent employments, it is not feasible for the API to identify the logon details and hence it does not provide the logon details but does revert a log_item like below-

   <log_item>
        <person_id>XXXX</person_id>
        <person_id_external>XXXXXXXXXX</person_id_external>
        <node_name>person</node_name>
        <field_name>logon_user_name </field_name>
        <xpath>//sfobject[1]/person </xpath>
        <severity>WARNING </severity>
        <message_text>Field "logon_user_name" can't be returned: The employee has multiple logon users, this is not supported by the API. </message_text>
   </log_item>

So this API response itself shows that it is not able to retreive the data which is as per the standard design.

Keywords

KBA , LOD-SF-INT-API , SF API & Adhoc API Framework , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Core 1511 ; SAP SuccessFactors HCM Suite all versions