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
SAP SuccessFactors 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 with the old format
Resolution
Step 1: Run Adhoc Report
-
Go to Analytic then Adhoc Report
-
Create new Report
-
Select sub domain: Person and Employment Export
-
In Column, Select only column National ID Infos
-
Filter Test user
-
Save
-
back up your report into Your Desktop (Will Be used as a Backup)
Step 2: Chang code Via below
Change the display format to be Empty, as it is stated in the Hong Kong section of the country/region-specific Handbook.
Via BCUI
- country id:HKG
- format-group id:national-id
- format id: HKID1
- display-format: Empty
- display-format reg-ex: [A-Z]{1,2}[\d]{6}[\(][0-9A-Z][\)]
See Code Via Provisioning
<country id="HKG">
<format-group id="national-id">
<format id="HKID1">
<instruction>HKID Number</instruction>
<display-format></display-format>
<reg-ex>[A-Z]{1,2}[\d]{6}[\(][0-9A-Z][\)]</reg-ex>
</format>
</country>
Step 3: import data record with format id="HKID1"
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 Implemente then scroll down to Configuration Here
- or
- URL:https://help.sap.com/viewer/product/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/latest/en-US?task=implement_task
See Also
Keywords
National ID, Hong Kong, Error While Saving Hong Kong National ID, display-format, reg-ex,[A-Z]{1,2}[\d]{6}[\(][0-9A-Z][\)], HKID1 , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , Problem