Symptom
- Switzerland: National ID Deep Validation
- Check Digit Calculation for new 13 digit Swiss Social Insurance Number
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- Localisation
Resolution
For the Swiss Social Insurance Number the following format shall be provided in the system:
Goal: Verification of validation of new and enhanced National IDs for Switzerland for existing, new hire, rehire employees.
ID: AHV/AVS - Insurance Certificate Number
Format: 756.NNNN.NNNN.NN
Reg-ex: [7][5][6]\.[\d]{4}\.[\d]{4}\.[\d]{2}
Display format:
Regular Expression:
The following format changes need to be completed in the Country Specific XML for Succession Data Model.
To have this change completed, please log a ticket with Support Engineer, SAP Product Support support
Deep Validation logic:
If National ID deep validation check-box is not enabled then:
- Valid values should be as per the regular expression format in CSF SDM.
- For Invalid values - validation should be thrown to match the regular expression values.
If National ID deep validation check-box is enabled then:
- Valid values should be as per the logic defined for the respective country.
- If a valid matching the regular expression as per CSF SDM is updated, but that value doesn't match the logic defined for that country then validation should be thrown an error message.
SAP Master Data Model Code:
<country id="CHE">
<format-group id="national-id">
<format id="AHV">
<instruction>AHV/AVS Number</instruction>
<instruction xml:lang="de-DE">AHV/AVS-Nummer</instruction>
<instruction xml:lang="el-GR">Αριθμός AHV/AVS</instruction>
<instruction xml:lang="en-GB">AHV/AVS Number</instruction>
<instruction xml:lang="es-ES">Número AHV/AVS</instruction>
<instruction xml:lang="es-MX">Número AHV/AVS</instruction>
<instruction xml:lang="fr-FR">Numéro AHV/AVS</instruction>>
<instruction xml:lang="pl-PL">Numer AHV/AVS</instruction>
<instruction xml:lang="pt-BR">Número de AHV/AVS</instruction>
<display-format>756.NNNN.NNNN.NN</display-format>
<reg-ex>[7][5][6]\.[\d]{4}\.[\d]{4}\.[\d]{2}</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:
- click on Implementate then scroll down to Configuration Here
- or URL:https://help.sap.com/viewer/product/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/latest/en-US?task=implement_task
See Code:
<country id="CHE">
<format-group id="national-id">
<format id="AHV">
<instruction>AHV/AVS Number</instruction>
<display-format>756.NNNN.NNNN.NN</display-format>
<reg-ex>[7][5][6]\.[\d]{4}\.[\d]{4}\.[\d]{2}</reg-ex>
</format>
Please view Country specific Data Model Handbook: Here
Keywords
ECT-63047, Switzerland, National ID, Deep Validation, AHV/AVS, Insurance Certificate Number, AHV, AVS, AHV/AVS Number, 756.NNNN.NNNN.NN , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , LOD-SF-EC , Employee Central , How To