SAP Knowledge Base Article - Public

2424700 - How to Configure Multiple National Id for Morocco

Symptom

The following National Id formats need to be configured for country Morocco:

  • AANNNNNN
  • AANNNNNA
  • AANNNNN
  • ANNNNNN
  • AANNNN
  • ANNNNN
  • AANNN
  • ANNNN

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

Resolution

Please add the below including the reg-ex in the country specific data model for country 'MAR'

<format-group id="national-id">
      <format id="CINN">
        <instruction>Card Identity National</instruction>
        <display-format>AANNNNNA</display-format>
        <reg-ex>^[A-Za-z0-9]*$</reg-ex>
      </format>

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide: National ID Information | SAP Help Portal

https://help.sap.com/docs/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/c18eb6c8febd4d7c924db8a257ce940d/bf841c10a5e94aa28791e55a188e1be7.html?version=latest

See Also

  • 2668688 - National ID Card: How to create custom Regular Expression and Display Format
  • 2531997 - How to Add a National ID Section for a Specific country/region - EC
  • 2716713 - Regular Expression for National ID Format that matches a single character that is either a whitespace or a digit 
  • 2601647 - Is it possible to add National ID deep validation to custom national IDs?
  • 2511945 - Deep validation for national ID is not working
  • 2668688 - National ID Card: How to create custom Regular Expression and Display Format
  • 2716080 - b1811- Additional Fields on National ID portlet to support Temporary IDs

Keywords

Morocco, National ID, multiple national IDs, regular expression , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions