Symptom
Denmark or Danish National ID Deep Validation
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- Localisation
Resolution
Danish National ID detail
- Field ID: national-ID
- Field Label: National ID Card Type
- Max. Length: 11
- Mandatory? : No
- National ID Type: CPR Number
- The format of the national ID is as follows: DDMMYY-NNNN
The format follows the following rules:
- A represents a letter
- N represents a number
- X represents any alphanumeric character
- * (asterisk) represents a special (for example,!) or an alphanumeric character
- yymmd (or similar) represents a date of birth
The format of the national ID is as follows: DDMMYY-NNNN
DDMMYY here represents the date of birth and N represents digits. For example, if the number is 290280-0000, the employee's date of birth is Feb 29th, 1980. If the entered date of birth in the CPR Number is not a valid date, an error message is raised. You should recheck it and reenter if necessary.
Via BCUI 2472343 How to Manage National ID Formats via Manage Business Configuration (BCUI)
System Administrators are able to maintain their National ID Formats for their configured country/regions.
- Go to Manage Business Configuration
- under nationalIdCard element you now have the option to "Create New Format" which allows you to create a country/region-specific National ID format for the selected country/region:
- Identifier:CPR
- Label:CPR Number
- Display Format:DDMMYY-NNNN
- Regular Expression:[\d]{6}-[\d]{4}
Via Code
The fields relate to the National ID Format Configuration in the country/region-specific Succession Data Model XML
<country id="DNK">
<format-group id="national-id">
<format id="CPR">
<instruction>CPR Number</instruction>
<instruction xml:lang="da-DK">CPR-nummer</instruction>
<instruction xml:lang="de-CH">CPR-Nummer</instruction>
<instruction xml:lang="de-DE">CPR-Nummer</instruction>
<instruction xml:lang="el-GR">Αριθμός CPR</instruction>
<instruction xml:lang="en-GB">CPR Number</instruction>
<instruction xml:lang="es-ES">Número de CPR</instruction>
<instruction xml:lang="es-MX">Número de CPR</instruction>
<instruction xml:lang="fi-FI">CPR-numero</instruction>
<instruction xml:lang="fr-CA">Numéro CPR</instruction>
<display-format>DDMMYY-NNNN</display-format>
<reg-ex>[\d]{6}-[\d]{4}</reg-ex>
</format>
</format-group>
Please view country/region-specific Data Model Handbook: Here
FAQ - Additional Information
Q) Where can I download Employee Central Master Data Models?
A) The Data Models are available in the SAP Help Portal under Configuration - Employee Central Master Data Models:
- Click Implement then scroll down to Configuration Here
- or URL:https://help.sap.com/viewer/product/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/latest/en-US?task=implement_task
Keywords
National ID, BCUI, Denmark, Danish, ECT-49199, BCUI, Business Configuration, National ID Card Type , KBA , LOD-SF-EC-BCI , Manage Business Configuration (BCUI) & Data Models (XML) , LOD-SF-EC-LOC , Localization & Country Specifics (EC Core) , How To