SAP Message 5R048 - Invalid CPF a/c number!

System Response
Employee's CPF account number :
- First character must begin with S or T, whereby S denotes for those
born before the year 2000 and T denotes for those born on the year
2000 onwards. As for foreigner, the S or T will depend on the date
of application of CPF account number to CPF board.
- Second character can be numeric for local or alphabet A, B, C, D, orF
for foreigner.
- Third character till eighth character must be numeric.
- Ninth character will be the check-digit which will be in
alphanumeric.
The conversion of alpha to numeric check digit is shown below:
If second character is A , B, C or 0 to 9, then
Alpha CD : A B C D E F G H I J Z
Numeric CD: 1 2 3 4 5 6 7 8 9 0 -
If second character is D or F, then
Alpha CD : A B C E J K L N P X V
Numeric CD: 0 1 2 3 4 5 6 7 8 9 -
- There shoud not be any decimal places to separate the check digit.
Eg: Local - S1254555Z, T1234567J
Foreigner - SA084109E, TC738389Z

Procedure
1. Check a/c number prefix
2. Check length of a/c number
3. Check last character of a/c number (check-digit)