Symptom
You would receive an application error when importing National ID Information.
The application error would be accompanied by:If the "Temporary ID Available" field is set to "Yes", do not enter a value in the "National ID" field.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Employee Central - National ID Information
Reproducing the Issue
- Go to Admin Tool then Import Employee Data
- Select National ID Information
- Select import file
- Click Validation Import Data or Import
- Result: error accompanied by: If the "Temporary ID Available" field is set to "Yes", do not enter a value in the "National ID" field
Error:
Import File:
Cause
- Misconfiguration of National ID field
- National ID is set to Mandatory and Field isTemporary is enable
Code
Field: national-id
<hris-field max-length="256" id="national-id" visibility="both" required="true" >
<label>National ID</label>
<label xml:lang="en-US">National ID</label>
</hris-field>
Field: Is Temporary
<hris-field id="isTemporary" visibility="both">
<label xml:lang="en-US">Is Temporary</label>
</hris-field>
Via BCUI - manage Business Configuration
- Go to Manage Business Configuration
- NationalIDCard
- Field National ID
- Mandatory = YES
- Field istemporary
- Mandatory = NO
- Save
Resolution
Via Sucesscion Data Model Code: Export succession data model, for national id, remove required="true". After that, in National ID Information Import template, there is no need to enter value for national idNational ID
Field: national-id
<hris-field max-length="256" id="national-id" visibility="both" >
<label>National ID</label>
<label xml:lang="en-US">National ID</label>
</hris-field>
Field: Is Temporary
<hris-field id="isTemporary" visibility="both">
<label xml:lang="en-US">Is Temporary</label>
</hris-field>
Via BCUI
- Go to Manage Business Configuration
- NationalIDCard
- Field National ID
- Mandatory = NO
- Field istemporary
- Mandatory = NO
- Save
Special Note:
- New: In earlier releases, Admins could hire employees only by providing a valid National ID in the National ID template. With this release, if an employee does not have a valid National ID while hiring, you can now provide a temporary National ID of an employee instead. To perform this, you need to enter 'Yes' in the 'isTemporary' column of the template. Note that specifying the temporary ID of the employee in the 'temporary-id' column of the template is optional. However, the National ID column should be left blank if 'isTemporary' is set to 'Yes'. For the columns to appear in the template, you need to set the HRIS-fields 'isTemporary' and 'temporary-id' to 'Yes' on the 'Manage Business Configuration' page.
- There will be added a new flag to the National ID portlet. If this flag is selected the validations on the National ID will be suppressed.
- The imports should also suppress the Validations on the National ID if the new flag is selected.
- If you are unable to set the National ID field to "No" on the BCUI, you can directly change the value on the Succession Data Model XML.
Keywords
ECT-102823, Import, National ID, isTemporary, [If the "Temporary ID Available" field is set to "Yes", do not enter a value in the "National ID" field, New Flag in National ID to suppress the validation checks, B1902 , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , LOD-SF-EC-PER , Person Data (All Person Data Types) , Problem