2317519 - Deep validation for the Swedish National ID with B1511 Released

SAP Knowledge Base Article - Public

2317519 - Deep validation for the Swedish National ID with B1511 Released

Symptom

 

Introduction of deep validation for the Swedish National IDhas been released with B1511. 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.

 

Important: Customer may have to create an incident with support and Support Engineer will add below code to their Country Specific XML for Succession Data Model.

 

Resolution

The PIN code National ID (Personnummer) for Sweden:  

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

 

Step1: add below information to Country Specific XML for Succession Data Model 

 

The national Id format for Sweden: ‘YYYYMMDD*NNNN’ The deep validation for Swedish national

 

<country id="SWE">

    <format-group id="national-id">

<format id="PIN">

        <instruction>Personnummer</instruction>

<instruction xml:lang="en-GB">National Identity Document</instruction>

<instruction xml:lang="en-GB">Personal Identity Number</instruction>

<instruction xml:lang="sv-SE">Personnummer</instruction>       

<display-format>YYYYMMDD-NNNN</display-format>

        <reg-ex>[\d]{8}-[\d]{4}</reg-ex>

      </format>

</format-group>

</country>

 

Step 2: Enable validateion

  1. Login to your Instance
  2. Go to Admin Tool- Company Settings
  1. Company System and Logo Settings
  1. Enable " Enable National ID"

 

Steps 3: Maintain Test user "Date of Birth" and "Gender"

 

  1. Go to Admin Tool
  2. Navigate to a test user Personal Information Portlet
  3. In Biographical Information add is : Date of Birth
  4. In Personal Information add is : Gender

 

Steps 4: Maintain Test user National Id Information:

  1. Enter a valid: National ID
  2. Save

 

Additional Information:

 

Both can be add to the Country Specific XML for Succession Data Model as below

 

 <country id="SWE">

    <format-group id="national-id">

<format id="PIN">

        <instruction>Personnummer</instruction>

<instruction xml:lang="en-GB">National Identity Document</instruction>

<instruction xml:lang="en-GB">Personal Identity Number</instruction>

<instruction xml:lang="sv-SE">Personnummer</instruction>       

<display-format>YYYYMMDD-NNNN</display-format>

        <reg-ex>[\d]{8}-[\d]{4}</reg-ex>

      </format>

<format id="PIN2">

        <instruction>Personnummer</instruction>

<display-format>NNNNNNNNNNNN</display-format>

<instruction xml:lang="sv-SE">Personnummer</instruction>

        <reg-ex>[\d]{12}</reg-ex>

</format>

</format-group>

</country>

Keywords

 

  1. ECT-37625 There is a deep validation for the Swedish National ID. 
  2. ECT-48858: Sweden National ID validation fails due to standard field gender removed from SDM will be fix with B1605 release on 05 June 2016

  3. Sweden
  4. National Identity
, KBA , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors HCM Core 1602