SAP Knowledge Base Article - Public

2780049 - Error message occurred while importing National ID Information

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

  1. Go to Admin Tool then Import Employee Data
  2. Select National ID Information
  3. Select import file
  4. Click  Validation Import Data or Import
  5. 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:

1nn14DATA.png

Import File:

11nn14DATA.png

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

  1. Go to Manage Business Configuration
  2. NationalIDCard
  3. Field National ID
  4. Mandatory = YES
  5. Field  istemporary
  6. Mandatory = NO
  7. Save

2nn14DATA.png

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

  1. Go to Manage Business Configuration
  2. NationalIDCard
  3. Field National ID
  4. Mandatory = NO
  5. Field  istemporary
  6. Mandatory = NO
  7. Save

8nn14DATA.png

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

Product

SAP SuccessFactors Employee Central all versions