SAP Knowledge Base Article - Public

2313158 - Introduction of National ID ( Social Insurance number) for Spain

Symptom

Introduction of National ID (Social Insurance number)  for  Spain has been released since B1508.

To have this change completed, please log a ticket with support

If National ID deep validation check-box is not enabled then:

  1. Valid values should be as per the regular expression format defined in CSFSDM.
  2. For Invalid values - validation should be thrown to match the regular expression values.

 

If National ID deep validation is enabled then:

 

  1. Valid values should be as per the logic defined for the respective country.
  2. If a value matching the regular expression as per CSFSDM is updated, but that value doesn't match the logic defined for that country then validation should be thrown.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

Resolution

The NAF code National ID (Social Insurance number) for Spain:

Via BCUI - Manage Business Configuration

14drtm.PNG

Option 2: Via Provisioning

NOTE: As You'll require access to Provisioning page to implement this solution.

Please contact SAP Cloud Support team if you wish to have this feature enabled in your environment or request Your Partner to refine your configuration.

The following format changes need to be completed in the Country Specific XML for Succession Data Model:

For: National Identity Document

  <country id="ESP">

<format-group id="national-id">
<format id="DNI">
<instruction>Documento Nacional de Identidad</instruction>
<instruction xml:lang="ar-SA">مستند الهوية الوطنية</instruction>
<instruction xml:lang="bg-BG">Documento Nacional de Identidad</instruction>
<instruction xml:lang="bs-BS">Documento Nacional de Identidad</instruction>
<instruction xml:lang="bs-ID">Documento Nacional de Identidad</instruction>
<instruction xml:lang="ca-ES">Documento Nacional de Identidad</instruction>
<instruction xml:lang="cs-CZ">Documento Nacional de Identidad</instruction>
<instruction xml:lang="cy-GB">Documento Nacional de Identidad</instruction>
<instruction xml:lang="da-DK">Nationalt id-kort</instruction>
<instruction xml:lang="de-CH">Personalausweis</instruction>
<instruction xml:lang="de-DE">Personalausweis</instruction>
<instruction xml:lang="el-GR">Documento Nacional de Identidad</instruction>
<instruction xml:lang="en-GB">National Identity Document</instruction>
<instruction xml:lang="es-ES">Documento Nacional de Identidad</instruction>
<instruction xml:lang="es-MX">Documento Nacional de Identidad</instruction>
<instruction xml:lang="fi-FI">Documento Nacional de Identidad</instruction>
<instruction xml:lang="fr-CA">Carte d'identité (Espagne)</instruction>
<instruction xml:lang="fr-FR">Carte nationale d'identité</instruction>
<instruction xml:lang="he-IL">תעודת זהות</instruction>
<instruction xml:lang="hi-IN">Documento Nacional de Identidad</instruction>
<instruction xml:lang="hr-HR">Broj Documento Nacional de Identidad</instruction>
<instruction xml:lang="hu-HU">DNI - személyi igazolvány</instruction>
<instruction xml:lang="it-IT">Documento Nacional de Identidad</instruction>
<instruction xml:lang="ja-JP">Documento Nacional de Identidad</instruction>
<instruction xml:lang="ko-KR">Documento Nacional de Identidad</instruction>
<instruction xml:lang="nb-NO">Documento Nacional de Identidad</instruction>
<instruction xml:lang="nl-NL">Documento Nacional de Identidad</instruction>
<instruction xml:lang="pl-PL">Documento Nacional de Identidad</instruction>
<instruction xml:lang="pt-BR">Documento nacional de identidade</instruction>
<instruction xml:lang="pt-PT">Documento Nacional de Identidade</instruction>
<instruction xml:lang="ro-RO">Document Național de Identitate</instruction>
<instruction xml:lang="ru-RU">Национальный документ, удостоверяющий личность</instruction>
<instruction xml:lang="sk-SK">Documento Nacional de Identidad</instruction>
<instruction xml:lang="sl-SI">Številka Documento Nacional de Identidad</instruction>
<instruction xml:lang="sr-RS">Nacionalni identifikacioni dokument</instruction>
<instruction xml:lang="sv-SE">Documento Nacional de Identidad</instruction>
<instruction xml:lang="th-TH">Documento Nacional de Identidad</instruction>
<instruction xml:lang="tr-TR">Documento Nacional de Identidad</instruction>
<instruction xml:lang="uk-UA">Documento Nacional de Identidad</instruction>
<instruction xml:lang="vi-VN">DNI - Documento Nacional de Identidad</instruction>
<instruction xml:lang="zh-CN">DNI - 身份证</instruction>
<instruction xml:lang="zh-TW">Documento Nacional de Identidad</instruction>
<display-format>NNNNNNNNA</display-format>
<reg-ex>[\d]{8}[A-Z]{1}</reg-ex>
</format>

For: Alien Identification Number

<format id="NIE">
<instruction>Alien Identification Number</instruction>
<instruction xml:lang="ar-SA">رقم تعريف الشخص الأجنبي</instruction>
<instruction xml:lang="bg-BG">Идентификационен номер на чужденец</instruction>
<instruction xml:lang="bs-BS">Nombor Pengenalan Warganegara Asing</instruction>
<instruction xml:lang="bs-ID">Nomor Identifikasi Penduduk Asing</instruction>
<instruction xml:lang="ca-ES">Número d'identificació d'estrangers</instruction>
<instruction xml:lang="cs-CZ">Identifikační číslo cizince</instruction>
<instruction xml:lang="cy-GB">Rhif Adnabod Person Estron</instruction>
<instruction xml:lang="da-DK">Udlændingeidentifikationsnummer</instruction>
<instruction xml:lang="de-CH">Ausländer-Identifikationsnummer (N.I.E.-Nummer)</instruction>
<instruction xml:lang="de-DE">Ausländer-Identifikationsnummer (N.I.E.-Nummer)</instruction>
<instruction xml:lang="el-GR">Αριθμός Ταυτότητας Αλλοδαπού</instruction>
<instruction xml:lang="en-GB">Alien Identification Number</instruction>
<instruction xml:lang="es-ES">Número de identificación de extranjeros</instruction>
<instruction xml:lang="es-MX">Número de identificación de extranjeros</instruction>
<instruction xml:lang="fi-FI">Ulkomaalaisen henkilötunnus</instruction>
<instruction xml:lang="fr-CA">Numéro d'identification d'étranger</instruction>
<instruction xml:lang="fr-FR">Numéro d'identification au registre des étrangers</instruction>
<instruction xml:lang="he-IL">מספר זיהוי זר</instruction>
<instruction xml:lang="hi-IN">विदेशी पहचान संख्या</instruction>
<instruction xml:lang="hr-HR">Identifikacijski broj stranca</instruction>
<instruction xml:lang="hu-HU">Külföldi azonosítószám</instruction>
<instruction xml:lang="it-IT">Numero di identificazione per stranieri</instruction>
<instruction xml:lang="ja-JP">外国人 ID 番号</instruction>
<instruction xml:lang="ko-KR">외국인 ID 번호</instruction>
<instruction xml:lang="nb-NO">Utenlandsk identitetsnummer</instruction>
<instruction xml:lang="nl-NL">ID-nummer buitenlander</instruction>
<instruction xml:lang="pl-PL">Numer identyfikacyjny cudzoziemca</instruction>
<instruction xml:lang="pt-BR">Número da identidade de estrangeiro</instruction>
<instruction xml:lang="pt-PT">Número de identificação estrangeiro</instruction>
<instruction xml:lang="ro-RO">Număr de identificare străin</instruction>
<instruction xml:lang="ru-RU">Идентификационный номер иностранца</instruction>
<instruction xml:lang="sk-SK">Identifikačné číslo cudzinca</instruction>
<instruction xml:lang="sl-SI">Eksterna identifikacijska številka</instruction>
<instruction xml:lang="sr-RS">Identifikacioni broj stranog lica</instruction>
<instruction xml:lang="sv-SE">ID-nummer för utlänning</instruction>
<instruction xml:lang="th-TH">เลขประจำตัวผู้เสียภาษีสำหรับคนต่างด้าว</instruction>
<instruction xml:lang="tr-TR">Yabancı Kimlik Numarası</instruction>
<instruction xml:lang="uk-UA">Ідентифікаційний номер іноземця</instruction>
<instruction xml:lang="vi-VN">Số nhận dạng nước ngoài</instruction>
<instruction xml:lang="zh-CN">外国人身份证号</instruction>
<instruction xml:lang="zh-TW">外僑身分證明號碼</instruction>
<display-format>ANNNNNNNA</display-format>
<reg-ex>[XYZ]{1}[\d]{7}[A-Z]{1}</reg-ex>
</format>

For: Social Insurance Number


<format id="NAF">
<instruction>Social Insurance Number</instruction>
<instruction xml:lang="ar-SA">رقم التأمين الاجتماعي</instruction>
<instruction xml:lang="bg-BG">Номер на социална осигуровка</instruction>
<instruction xml:lang="bs-BS">Nombor Insurans Sosial</instruction>
<instruction xml:lang="bs-ID">Nomor Jaminan Sosial</instruction>
<instruction xml:lang="ca-ES">Número de la seguretat social</instruction>
<instruction xml:lang="cs-CZ">Číslo sociálního pojištění</instruction>
<instruction xml:lang="cy-GB">Rhif Yswiriant Cymdeithasol</instruction>
<instruction xml:lang="da-DK">Socialforsikringsnummer</instruction>
<instruction xml:lang="de-CH">Sozialversicherungsnummer</instruction>
<instruction xml:lang="de-DE">Sozialversicherungsnummer</instruction>
<instruction xml:lang="el-GR">Αριθμός Κοινωνικής Ασφάλισης</instruction>
<instruction xml:lang="en-GB">Social Insurance Number</instruction>
<instruction xml:lang="es-ES">Número de seguro social</instruction>
<instruction xml:lang="es-MX">Número de seguro social</instruction>
<instruction xml:lang="fi-FI">Sosiaalivakuutuksen numero</instruction>
<instruction xml:lang="fr-CA">Numéro d'assurance sociale (Canada)</instruction>
<instruction xml:lang="fr-FR">Numéro d'assurance sociale</instruction>
<instruction xml:lang="he-IL">מספר ביטוח לאומי</instruction>
<instruction xml:lang="hi-IN">सामाजिक बीमा संख्या</instruction>
<instruction xml:lang="hr-HR">Broj socijalnog osiguranja</instruction>
<instruction xml:lang="hu-HU">Társadalombiztosítási azonosító jel</instruction>
<instruction xml:lang="it-IT">Numero di previdenza sociale - Canada</instruction>
<instruction xml:lang="ja-JP">社会保険番号</instruction>
<instruction xml:lang="ko-KR">사회 보험 번호</instruction>
<instruction xml:lang="nb-NO">Fødselsnummer</instruction>
<instruction xml:lang="nl-NL">Sociaal-fiscaal nummer</instruction>
<instruction xml:lang="pl-PL">Numer ubezpieczenia społecznego</instruction>
<instruction xml:lang="pt-BR">Número da previdência social</instruction>
<instruction xml:lang="pt-PT">Número do Seguro Social</instruction>
<instruction xml:lang="ro-RO">Număr de asigurare socială</instruction>
<instruction xml:lang="ru-RU">Номер полиса социального страхования</instruction>
<instruction xml:lang="sk-SK">Číslo sociálneho poistenia</instruction>
<instruction xml:lang="sl-SI">Številka Social Insurance Number</instruction>
<instruction xml:lang="sr-RS">Broj socijalnog osiguranja</instruction>
<instruction xml:lang="sv-SE">Socialförsäkringsnummer</instruction>
<instruction xml:lang="th-TH">หมายเลขประกันสังคม</instruction>
<instruction xml:lang="tr-TR">Sosyal Sigorta Numarası</instruction>
<instruction xml:lang="uk-UA">Номер соціального страхування</instruction>
<instruction xml:lang="vi-VN">Số bảo hiểm xã hội</instruction>
<instruction xml:lang="zh-CN">社会保险编号</instruction>
<instruction xml:lang="zh-TW">社會保險號碼</instruction>
<display-format>NN/NNNNNNNN/NN</display-format>
<reg-ex>[\d]{2}[\/][\d]{8}[\/][\d]{2}</reg-ex>
</format>

FAQ - Additional Information

 Q) can I add to the Country Specific XML for Succession Data Mode?

A) As seen above You can add all (Social Insurance number, Alien Identification Number,National Identity Document) in BCUI and into the Country Specific XML for Succession Data Model see Here

 

Keywords

ECT-37627,Social Insurance number, National Identity Document, National ID, Social Insurance Number, Spain, NationalID, NIE, Foreign Identification Number, country-specific, ESP, , KBA , LOD-SF-EC , Employee Central , LOD-SF-EC-LOC , Localization & Country Specifics (EC Core) , How To

Product

SAP SuccessFactors HCM Core 1602