SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Understand How Data Anonymization Works in SAP HANA Cloud, SAP HANA Database

Learn how the anonymization workflow is designed to efficiently create and share anonymized views with data consumers and what anonymization methods are available in SAP HANA Cloud, SAP HANA database.

Overview

🎓 beginner 10 min. SAP HANA CloudBeginnerSAP HANA CloudSAP HANA Database

You will learn

  • About the anonymization workflow
  • What the anonymization methods k-anonymity, l-diversity and differential privacy are used for
Hui Li H Hui Li July 1, 2025
Created by August 16, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

Disclaimer

In most cases, compliance with data privacy laws is not a product feature. SAP software supports data privacy by providing security features and specific functions relevant to data protection, such as functions for the simplified blocking and deletion of personal data. SAP does not provide legal advice in any form. The definitions and other terms used in this guide are not taken from any given legal source.

In this article, you will learn how the anonymization workflow is designed to efficiently create and share anonymized views with data consumers. We will also have a more detailed look at the three key anonymization methods available in SAP HANA Cloud, SAP HANA database.


Step 1 Introduction to the anonymization workflow

As pointed out in the previous tutorial, the process of creating anonymized views of data to securely share it with others must meet two requirements:

  • It must be time-efficient and practical: Manual changes to subsets of data like deletion should be avoided. Instead, the process of anonymization should allow for the data to automatically be up to date in real time.
  • It must deliver accurate results: Anonymization of data should not change the original data in a way that limits the analysis of data. Original data should not be changed and the results of analyzing anonymized data should be consistent with analysis of non-anonymized data.

In this diagram, you can see in detail how the SAP HANA Cloud anonymization workflow addresses both requirements by using anonymized views as its key component:

Anonymization Workflow
Anonymization Workflow

Let us take a closer look at the diagram in the following steps to zoom in on how certain anonymization tasks look like.

Step 2 Understand the workflow 1: create an anonymized view
+
Step 3 Understand the workflow 2: query an anonymized view
+
Step 4 Understand the workflow 3: monitor anonymization
+
Step 5 Test the problem of quasi-identifiers
+
Step 6 Solve the problem of quasi-identifiers
+
Step 7 Protect sensitive information 1: add L-Diversity
+
Step 8 Protect sensitive information 2: use Differential Privacy
+
Step 9 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Introduction to the anonymization workflow 2. Understand the workflow 1: create an anonymized view 3. Understand the workflow 2: query an anonymized view 4. Understand the workflow 3: monitor anonymization 5. Test the problem of quasi-identifiers 6. Solve the problem of quasi-identifiers 7. Protect sensitive information 1: add L-Diversity 8. Protect sensitive information 2: use Differential Privacy 9. Test yourself

Learn more →