SAP Knowledge Base Article - Public

2285880 - Compound Employee picklist fields returning Null Values

Symptom

When you are calling the compound employee API to get employee details, some of the picklist's fields in the API are returning null values.
Even when there are values maintained in Successfactors for these fields.

Environment

SAP Successfactors

Cause

These picklist are returning null values because they have string "null" as content in the external code (not database null but string "null").

Therefore the content is rendered as "null" as the value returned for the effected fields.

Below is an example of the external codes of 'internetAccess' set as null.

Capture2.PNG

So this value, even if maintained in successfactors as 'No' would still return a null value due to the external code being null.

Resolution

To resolve this issue the customer needs to correct the picklist entries by providing a meaningful external codes when configuring the picklists.

You can view the picklist ID's and external codes associated with them by exporting an excel file containing the values by going to:

Amin Center -->Picklist Management -->Export all picklist(s) (screenshot below)

Capture.PNG

Keywords

API, Compound Employee, Null values, Picklists, External Code , KBA , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM suite all versions