SAP Knowledge Base Article - Public

2728297 - Ireland National ID Or Personal Public Service Number (PPS) Validation

Symptom

Personal Public Service (PPS) numbers are allocated by the Department of Employment Affairs and Social Protection.

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.

Environment

SAP SuccessFactors Employee Central - Localization & Country Specifics

Resolution

Current Code

<country id="IRL">
<format-group id="national-id">
<format id="PPSN">
<instruction>Personal Public Service Number</instruction>
<instruction xml:lang="de-DE">Personenkennzeichen</instruction>
<instruction xml:lang="el-GR">Αριθμός Μητρώου Δημόσιας Υπηρεσίας</instruction>
<instruction xml:lang="en-GB">Personal Public Service Number</instruction>
<instruction xml:lang="es-ES">Número personal de servicio público</instruction>
<instruction xml:lang="es-MX">Número personal de servicio público</instruction>
<instruction xml:lang="fi-FI">Personal Public Service Number</instruction>
<instruction xml:lang="fr-CA">Numéro personnel pour les services publics (Irlande)</instruction>
<instruction xml:lang="fr-FR">Numéro personnel de sécurité sociale</instruction>
<display-format>NNNNNNNAA</display-format>
<reg-ex>[\d]{7}[A-W]{1}[AWXTZ]{0,1}</reg-ex>
</format>

Aditional Information

@Employee Central Product Support: See internal memo for further guidance

See Department of Employment Affairs and Social Protection here 

Modulus 23 calculation

The alphabetic check character in position 8 is calculated using a weighted addition of all the numbers and a modulus 23 calculation. It therefore checks for incorrectly entered digits and for digit transposition - digits in the wrong order will alter the sum due to the weightings.

The alphabetic character in position 8 will continue to operate as a check character for all existing and the new range of PPS numbers.  To avoid any confusion between an “old” number and a “new” number using the same 7 numeric values in the first 7 positions, the modulus 23 calculation will be revised as follows:

  1. A numeric value will be allocated to the new alphabetic character in position 9, with “A” = 1, “B” = 2, C = 3, etc. An existing “W” or a blank will be allocated a numeric value of zero.
  2. A weighting of 9 will be assigned to the numeric equivalent of the alphabetic character in position 9.
  3. Accordingly the check character for the “old” number 1234567 is “T”, whereas the check character for the “new” number 1234567_A will be “F”.

The new Modulus 23 calculation will not alter the alphabetic check character for existing PPS numbers as a numeric value of zero will be applied to a blank or a “W” in position 9.

FAQ - Additional Information

Q) Please Explain validation in the position “9”?

A) SAP Feedback: Related to the validation in the position “9”. The validation  on this position is provided to be in sync with the onPrem solution. To not have issues with the integration.

We know that the law allow all values from “a to Z”. to avoid that invalid ID are provided in the system our country expert request to restrict the values “Welfare are still only as far as issuing numbers with an A for the 9th character and they do not expect to move into B any time soon so delivering all options beyond A may be a waste of time at this stage.”

As soon as they will move to issue IDs with another letters like “B” we will also enhance the reg-ex and the validation to accept the corresponding values.

Keywords

ECT-109942, PPSN, National ID, Ireland,NNNNNNNAA, , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , How To

Product

SAP SuccessFactors Employee Central all versions