Symptom
- We are getting the “Relationship is a required field and cannot be blank” error when we do the data import for emergency contact
- But we are able to add the Emergency Contact without the Relationship
Environment
Successfactors - Employee Central
Reproducing the Issue
Step 1: Go to Import Employee Data > Select Emergency Contact
Step 2: Select the sample import file > Import Step
Step 3: Error will display 'Relationship is a required field and cannot be blank'
Cause
- Since b1408 release, 'relationship' (emergency contact portlet) and 'relationship type' (job relationship portlet) fields have been made as mandatory import, even though the configuration may be otherwise. This is only applicable for imports. If the field is made non required, you can go ahead in the UI without adding any values for the field.
- The reason for the same to be made mandatory is because of the back end coding. If there exists a row, a data in the portelts mentioned, it should have value for field relationship or relationship type. Also it is recommended that these fields should not be made optional but instead mandatory to meet the requirement of back end coding. The coding does have criteria based to the import of employee's data. Not having the values for these fields can lead to error sometimes due to usage of data across modules.
Resolution
Expected behavior as per system design.
See Also
ECT-27747
Keywords
Relationship is a required field and cannot be blank, relationship import, contact import, ECT-27747 , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , LOD-SF-EC , Employee Central , LOD-SF-EC-DPD , Dependents Management , Problem
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions