SAP Knowledge Base Article - Public

2162775 - How to mask National ID to be kept confidential - SuccessFactors Employee Profile


How to mask National ID data from SF Instance to be kept confidential.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


  • SAP SuccessFactors HCM Core - Report Center
  • SAP SuccessFactors HXM Suite
  • SAP SuccessFactors Employee Profile


Customer was looking for a functionality to hide the data for National ID field.


If National ID is masked then that particular field will not be available in reports. System provides this privilege to hide field (which is masked) in the reports.

  • Go To BCUI
  • personal Infos
  • NationalID
  • Masked: YES

Via Code 

  1. Access back-end system (Provisioning  or Via UI export: Succession Data Model "SDM" 3066117 - How to export Data Models?

<hris-field id="national-id" max-length="256" visibility="both" required="true" pii="true" logreadaccess="true">
<label>National Id</label>
<label xml:lang="en-GB">National ID</label>
<label xml:lang="en-US">National Id</label>

To Keep the National ID .hidden,

  1. Import-export Data Model.jpg

    Exporting Data Model.jpg
  2. Make a Backup of the exported XML;
  3. Open the Data Model XML file downloaded;
  4. Ensure the field pii="true" is included on the <hris-field... tag as below image:
    Data Model - National ID.jpg

  5. Import the updated Data Model XML file and Submit:
    Importing Data Model.jpg

  6. Once done, the National ID should be hidden on the Instance reflecting as below:
    SSN Hidden.jpg

See Also

  • 3066117 - How to export Data Models?
  • 2162838 - National ID Column is not visible in reporting
  • 2216586 - 'Masked' fields do not appear in Ad Hoc Reporting
  • 2162775 - How to mask National ID to be kept confidential - SuccessFactors Employee Profile


Data Model; Backend; National-ID; XML; Data Masking; pii , KBA , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , LOD-SF-EC , Employee Central , LOD-SF-EP , People Profile (Employee Profile / PP3) , How To


SAP SuccessFactors HXM Core all versions