SAP Knowledge Base Article - Public

2657534 - PAN Card Validation by Using Regular Expression in Onboarding 1.0

Symptom

  • How to validate PAN card number in a panel
  • Candidate can enter PAN card in an incorrect format
  • It is needed to validate the input provided by candidate to ensure value is correct

Environment

SAP SuccessFactors Onboarding

Cause

Validator is required and Regular expression need to be passed.

Resolution

  1. Use validator and select Regular expression.
  2. Define below Regular Expression to validate PAN card number in India:
  • ^[A-Za-z]{5}\d{4}[A-Za-z]{1}$
  • [A-Za-z]{5}: ensures lower and upper case alphabet and 5 chars are acceptable. If upper case only, define as: [A-Z]{5}
  • \d{4}: numberic values with 4 chars allowed
  • [A-Za-z]{1}: same explanation as first syntax

Keywords

sf, success factors, ONB, OBD, on boarding , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem

Product

SAP SuccessFactors Onboarding all versions