Symptom
You would receive an application error when trying to approve while saving national id.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
Employee Central - National ID
Reproducing the Issue
- Search for Employee
- Go to Personal Information and Edit National ID
- Select Hong Kong for country and select Identification Number 1 for National ID Type. Enter the number based on the format for eg. A123456(Z).
- Click on Save and the error :
"1.Please enter a valid Identification Number 1. You should use the format ANNNNNN(X)." will appear.
5. The national id format in CSF Succession Data model is as below:
Cause
This error arises due to the display format being wrong
Resolution
Change the display format to be ANNNNNNX instead, as it is stated in the Hong Kong section of the Country Specific Handbook.
Via BCUI
- country id:HKG
- format-group id:national-id
- format id: HKID1
- display-format reg-ex: [A-Z]{1,2}[\d]{6}[\(][0-9A][\)]
Via Provisioning
<country id="HKG">
<format-group id="national-id">
<format id="HKID1">
<instruction>HKID Number</instruction>
<instruction xml:lang="de-DE">HKID-Nummer</instruction>
<instruction xml:lang="el-GR">Αριθμός HKID</instruction>
<instruction xml:lang="en-GB">HKID Number</instruction>
<instruction xml:lang="es-ES">Número HKID</instruction>
<instruction xml:lang="fr-FR">Numéro de carte d’identité Hong Kong</instruction>
<instruction xml:lang="zh-CN">中国香港身份证号码</instruction>
<instruction xml:lang="zh-TW">中國香港身分證號碼</instruction>
<display-format></display-format>
<reg-ex>[A-Z]{1,2}[\d]{6}[\(][0-9A][\)]</reg-ex>
</format>
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 on Implementate 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, Hong Kong, Error While Saving Hong Kong National ID , KBA , LOD-SF-EC-LOC , Localization & Country Specifics (EC Core) , Problem