This sample repository is the output of the following tutorial demonstrating how to create a calculation view with K-anonymity: https://developers.sap.com/tutorials/xsa-calculation-views-anonymization-k.html
The project includes a table, sample data, configuration to load the sample data and the calculation view model with K-anonymity.
You can find more information about K-anonymity and other methods to implement data privacy and data anonymization in the SAP Help. These features are available as of SAP HANA 2.0 SPS03.
This repository can be cloned into SAP Web IDE for SAP HANA on premise.
- Minimum version of SAP HANA is 2.0 SPS03.
- SAP HANA with the Extended Application Services, advanced model (XS Advanced). Get a free instance with the XS Advanced options for SAP HANA, express edition. SAP HANA, express edition can be used for free up to 32 GB of RAM even for productive use.
- The script server must be enabled in the tenant database. You can find more information in this help document
- The space in which you will deploy the repository must be mapped to the tenant database. More information in this tutorial
- In SAP Web IDE, right-click on the workspace and choose
Git - > Clone Repository
. - Enter the URL for the current repository. Wait until a message on the top right corner shows the clone has been successful.
- Right-click on the cloned project and choose
Settings
. Configure the Space (found underCloud Foundry
in SAP Web IDE Full Stack) to the space in which you want to deploy the application. For example, in SAP HANA, express edition, the default space isdevelopment
. - Right-click on the
db
module and choose Build.
Problem: Data preview from Web IDE fails with an error message.
Solution: Choose option Open HDI container
and choose K_ANONYMITY
under the column views.
Search for your error message in answers.sap.com. If you are the first one with the problem, create a new question. Remember to include the following details so we can provide support:
- What you are doing
- The error messages
- Screenshots of the problem
- The environment you are using (Cloud or on-premise? Version?)
- Steps you have tried to solve the problem that failed
If you believe you have found a bug in the current repository, please create a bug report instead.
Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.