SAP Knowledge Base Article - Public

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


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.




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.


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-

        <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>

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


KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , Problem


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