SAP Knowledge Base Article - Public

2282138 - Compound Employee API Errors "Please make sure that the external code for picklist "xxx" with option ID "xxx" is valid" for a NON-PICKLIST field

Symptom

The below error is returned when we try to query a non-picklist field "region_of_birth" via Compound Employee API.

 error.jpg

 

You would notice that it is not a picklist but a field of datatype "string".

You can confirm that from the SFAPI Data Dictionary under the entity - CompoundEmployee API (screenshot below):

dd.jpg

Also from the data model:

dm.jpg

 

Below screenshot is from the UI:

rom.jpg

Environment

Successfactors HCM

Cause

This is a hard-coded field and is internally handled as a picklist based field until b1511 release.

Resolution

Starting from b1602 release, the handling of this field would differ ie, it would not be treated like a picklist field and free-text can be entered in

The field "region_of_birth".

No manual changes are needed after the upgrade.

The issue would be resolved once the same query is executed after the b1602 upgrade.

 

See Also

KBA - 2166531Compound Employee API Call Fails with an Error: "Please make sure that the external code for picklist "xxxxxxx" with option ID "xxx" is valid"

Keywords

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

Product

SAP SuccessFactors HCM Core 1511