SAP Knowledge Base Article - Public

2249512 - Error While Saving National ID for Hong Kong


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. 


Employee Central - National ID

Reproducing the Issue

  1. Search for Employee
  2. Go to Personal Information and Edit National ID
  3. 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).
  4. Click on Save and the error :

            "1.Please enter a valid Identification Number 1. You should use the format ANNNNNN(X)." will appear.

HKG ID.png

       5. The national id format in CSF Succession Data model is as below:



This error arises due to the display format being wrong


Change the display format to be ANNNNNNX instead, as it is stated in the Hong Kong section of the Country Specific Handbook.


  • 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>





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:


National ID, Hong Kong, Error While Saving Hong Kong National ID , KBA , LOD-SF-EC-LOC , Localization & Country Specifics (EC Core) , Problem


SAP SuccessFactors HXM Core all versions