Symptom
When adding the National number, it respects the Regular Expression and Display Format. But when editing it, these are no longer respected and we can enter as many digits as wanted.
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
Reproducing the Issue
- Go to a user's profile > Personal Information.
- Click on Pencil icon of National ID to Edit it.
- Edit National ID value and enter random values with random format.
- You cannot Save it as the validation keeps in. Also, the field in highlighted in red color along with hard-coded validation message.
Cause
Resolution
This is working as per system design. Though you're allowed to enter random format and values during Edit, you cannot save it as the validation still works.
See Also
2093378 - National ID validation issues - Employee Central
2472343 - How to Manage National ID Formats via Manage Business Configuration (BCUI)
2923091 - Error: National ID XYZ already exists for country/region ABC and card type MNP
2268770 - Error: In the country/region-specific XML file, define a format for national ID type *** for ***
2636240 - National ID Error: Country/Region of National ID must be the same as country/region of legal entity due to restricted permission
Keywords
national id, dependent, edit, format, national id format, id format, digits, format limitation, regular expression, garbage, random, validation, display, error, warning, regular expression, reg ex , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , LOD-SF-EC-BCI , Manage Business Configuration (BCUI) & Data Models (XML) , LOD-SF-EC-PER , Person Data (All Person Data Types) , Problem