SAP Knowledge Base Article - Public

2291503 - National ID for Sri Lanka - Please enter a valid NIC - National Identity Card

Symptom

When entering an employees National ID for the country Sri Lanka, the error is returned:

"Please enter a valid NIC - National Identity Card.  You should use the format XXXXXXXXXA"

NIC Sri Lanka.jpg

Environment

  • SuccessFactors HCM Suite

Cause

This issue is caused due to a typo in the CSF datamodel for Sri Lanka (LKA)

Resolution

Original:

 

<country id="LKA">
<format-group id="national-id">
<format id="NIC">
<instruction>NIC - National Identity Card</instruction>
<display-format>XXXXXXXXXA</display-format>
<reg-ex>[\d]{9[A-Z]{1}}</reg-ex>
</format>
</format-group>

 

 

Fixed:

<country id="LKA">
<format-group id="national-id">
<format id="NIC">
<instruction>NIC - National Identity Card</instruction>
<display-format>XXXXXXXXXA</display-format>
<reg-ex>[\d]{9}[A-Z]{1}</reg-ex>
</format>
</format-group>

Keywords

KBA , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors HCM Core 1602