SAP Knowledge Base Article - Public

2519907 - Malaysian Identification Card Number Validation

Symptom

Malaysian National ID format is NNNNNNXX-NNNN. The first 6 digits are YYMMDD of the user's date of birth. The request is for a validation where the system will check Biographical Information -> Date Of Birth data and compare it with the first 6 digits of National ID. If the data does not match, an error message should be displayed conveying that the data does not match.

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 - National ID

Resolution

National ID For Country: Malaysia

Please view Handbook: Employee Central Country Specifics

Field ID: national-id

Field Label: National ID Card Type

National ID Type: IC (Identification Card Number)

The format of the national ID is as follows: YYMMDD-NN-NNNN

View Code:

Code:

<country id="MYS">

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

      <format id="IC">

      <instruction>IC (Identification Card Number)</instruction>

      <display-format>YYMMDD-NN-NNNN</display-format>

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

      </format>

Via -UI

  1. Go to Manage Business configuration
  2. see Below

malaysia1.png

Code:

<country id="MYS">

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

      <format id="IC">

        <instruction>IC (Identification Card Number)</instruction>

        <instruction xml:lang="de-DE">IC (Personalausweisnummer)</instruction>

        <instruction xml:lang="el-GR">IC - (Αριθμός Ταυτότητας)</instruction>

        <instruction xml:lang="en-GB">IC (Identification Card Number)</instruction>

        <instruction xml:lang="es-ES">IC (Número de tarjeta de identificación)</instruction>

        <instruction xml:lang="es-MX">IC (Número de tarjeta de identificación)</instruction>

        <instruction xml:lang="fi-FI">IC (henkilötunnus)</instruction>

        <instruction xml:lang="fr-CA">IC (numéro de carte d’identité)</instruction

 <display-format>YYMMDD-NN-NNNN</display-format>

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

      </format>

FAQ - Additional Information

 Q) Where can I download Employee Central Master Data Models?

A) The Data Models are available in the SAP Help Portal under Configuration - Employee Central Master Data Models:

Keywords

ECT-79195, Malaysia, National ID, date of birth, Identification Card Number , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , Product Enhancement

Product

SAP SuccessFactors Employee Central all versions