SAP Knowledge Base Article - Public

2997095 - Picklist Issues: xxx is an invalid option ID for the field

Symptom

Picklist related errors appear for different transcations.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

There may be different scenarios where the error may appear. Here are a few scenarios explains:

Case 1: The error message "null is an invalid option ID for the field Country" is displayed when change is made in Job Information.

Case 2: The error message "xxx is an invalid option ID for the field" is displayed during transactions in any portlet (for example, Transfer transaction in Job Information).

Case 3: A blank error appears when navigating to Job Information from Personal Information section during New Hire process.

Resolution

Case 1 & 2:

If the error message is about the country-of-company field and configuration. The issue may be in the picklist ISOCountryList. The country-of-company field is a transient field which is derived from the country on the company. This field is used to derive Country Specific Fields for Job Infomration.

As this country-of-company of company field is a picklist ISOCountryList and the country on the company is an MDF field for country object. The system has hardcoded, background logic which compares these two field’s configuration and sets the right value. This is done, by comparing the external code of the MDF object with the non-unique external code of the picklist.

These means both values must match with the country 3 character country code. The non-unique external code of the picklist items (each country) of ISOCountryList picklist must be maintained and match the externalCode, which must be the 3 character country code.

A check tool can also be run to confirm this:

Admin Center > Check Tool > Work Structure > CountryMDFObjectsLegacyPicklistIdentical

Also, the field jobInfo > country-of-company must have the picklist ISOCountryList assigned to it. There should not be any other picklist assigned to this field.

Case 3:

For this issue or error message for any other field, please check the following if the instance's picklist is migrated to MDF:

  1. There is a field associated to a picklist
  2. The picklist has non-unique external code maintained
  3. For any standard Employee Central picklist, please compare the Master picklist with your instance's picklist. The Employee Central Master picklist can be accessed from here.  

See Also

2631389 - Check Tool: Difference between MDF country objects and picklist “ISOCountryList” (CountryMDFObjectsLegacyPicklistIdentical)

Keywords

option ID, null is an invalid option ID for the field Country, ISOCountryList, CountryMDFObjectsLegacyPicklistIdentical, non-unique external code , KBA , LOD-SF-EC-JOB , Job Information , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions