Symptom
When importing a file with picklist values maintained, you get the following error:
"(X) is an invalid picklist value in import file or database for (Y)"
Where (x) is a picklist value and (Y) is the field.
However, you can make the same selection in the UI without receiving any error.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Go to Import Employee Data;
- Select the import type you want to perform;
- Click in "Validate" and see the error display.
Cause
There are some possible causes for this issue as described below:
- This issue is caused by duplicate labels being maintained in either or both of the picklist and the parent picklist;
- When creating the import CSV file, instead of filling it with the picklist labels, it has been filled the with the picklist's external or internal code;
- Missing translation for a parent picklist;
- Loading information prior to the existence of the picklist;
- There is an additional and unexpected space before or after some letters in the picklist label, such as a space at the end of the label.
Resolution
Below are the explanation and solution for the possible causes:
- This issue is caused by duplicate labels being maintained in either or both of the picklist and the parent picklist:
- In general it is advisable to have unique values for a picklist else we can face issues when importing, which may not be seen when changing values in the UI. Please amend the picklist labels so that each one is unique.
- When creating the import CSV file, instead of filling it with the picklist labels, it has been filled with the picklist's external or internal code:
- Differently from MDF objects, when importing picklist fields the picklist's label must added instead of its external or internal code. So, please make sure to correct the CSV file by filling the values to be imported with the correspondent picklist value lable.
- Make sure to maintain translations for parent picklists;
- The effective date of the information added cannot be prior to the existence of the picklist;
- There is an additional and unexpected space before or after some letters in the picklist label, such as a space at the end of the label:
- In Picklist Center, check the picklist values to search for additional and unexpected spaces in the labels. Use the mouse cursor to click and drag over the words, highlighting them for a more accurate search;
- The issue is resolved by removing the additional and unexpected spaces once they are identified.
Keywords
Import, Picklist, Label, Unique, is an invalid picklist value in import file or database for, Invalid, Error, Job Information, History, File, Parent, Child, Cascading Picklist, Issue. , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , Problem