SAP Knowledge Base Article - Public

2572734 - Singapore NRIC/FIN Validation

Symptom

This KBA explains the algorithm for Singapore NRIC/FIN validation.

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

Environment

  • Human Capital Management (HCM)
  • SAP R/3
  • SAP R/3 Enterprise 4.7
  • SAP ERP Core Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP SuccessFactors Employee Central

Resolution

The structure of the Singapore NRIC/FIN number is one initial letter (S,T,F,G,M) followed by seven digits and one letter behind.

The last letter is obtained from the 7 digits using the modulus eleven method. The steps to obtain the last letter are as below:

  1. Multiply each digit in the NRIC/FIN number by its weight.
  2. Add together the above products.
  3. If the first digit is G or T, add 4 to the sum obtained. If the first digit is M, add 3 to the sum obtained.
  4. Divide the resulting sum by 11 to obtain the remainder.
  5. Subtract (remainder + 1) from 11 to obtain the check digit.
  6. Check the check digit against the table to obtain the last letter.

 

The following table shows the weight for each digit:

2

7

6

5

4

3

2

 

The following tables are used to check the check digit corresponding letter.

If the first digit is S or T:

Check Digit

0

1

2

3

4

5

6

7

8

9

10

Last Letter

A

B

C

D

E

F

G

H

I

Z

J

If the first digit is G or F:

Check Digit

0

1

2

3

4

5

6

7

8

9

10

Last Letter

K

L

M

N

P

Q

R

T

U

W

X

If the first digit is M:

Check Digit

0

1

2

3

4

5

6

7

8

9

10

Last Letter

K

L

J

N

P

Q

R

T

U

W

X

 

Example: G 5872776 N

  1. Multuiply each digit by its weight gives: 5*2+8*7+7*6+2*5+7*4+7*3+6*2
  2. Sum gives: 179
  3. Add sum + 4 gives: 183
  4. 183 modulus 11 gives 7 as remainder.
  5. Check digit = 11 – (7+1) = 3
  6. Letter obtained is "N"

See Also

Note: 2526001 - PA-PA-SG: ID Format Validation on IT0185

Note: 3111689 - LC: New M FIN Series To Be Introduced From 1 January 2022

Note: 3263463 - Validation on Last Digit of M Series FIN Number

KBA: 2698139 - IT0179, IT0185 or IT0186 does not validate an employee's NRIC number

Keywords

National ID, NRIC, FIN, Singapore Validation, IT0185, IT0186, IT0179, RP_25_NRIC_CHK_DGT, 25ICT , KBA , PA-PA-SG , Singapore , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , How To

Product

SAP SuccessFactors Employee Central all versions