Ansicht
Dokumentation

HR_CA_VERIFY_SI_NUMBER - Verify Social Insurance Number (SIN), Canada

HR_CA_VERIFY_SI_NUMBER - Verify Social Insurance Number (SIN), Canada

General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The accuracy of any Social Insurance Number specified in the system is verified using the following Modulus 10 check digit formula:

  • (SIN = 8 digits + 1 check digit)

Example

Suppose you enter Social Insurance Number 108-643-545. In this SIN, the check digit - always located in the ninth position - is 5.

To verify its validity, SIN_NUM(12) is created - <____________> - and the first, third, fifth and seventh digits - 1, 8, 4, and 5 - are moved into SIN_NUM, such that SIN_NUM(12) subsequently contains <1845________>

Then the second, fourth, sixth and eighth digits - 0, 6, 3 and 4 are multiplied by two. The resultant numbers - 00, 12, 06, and 08 - are then moved into SIN_NUM, such that SIN_NUM(12) now reads <184500120608>.

Each of these numbers are then added together; SIN_SUM = (1+8+4+5+0+0+1+2+0+6+0+8) = (35).

From SIN_NUM, the unit's position is checked for a value of 0; if the value is not 0, then it must be a digit from 1 through 9.

This value is then subtracted from 10 to determine the check digit. Once the check digit is determined, it is verified against P0002-PERID and the check digit of the SIN to ensure that these digits agree.

In this example, as the digits do agree, 108-643-545 is a valid Social Insurance Number.

Notes

Further information





Parameters

DECISION
PERID

Exceptions

Function Group

HRPAYCA01

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1858 Date: 20240523 Time: 090419     sap01-206 ( 36 ms )