Deletion of Personal Data
Simplified Blocking and Deletion
The processing of personal data is subject to applicable laws related to the deletion of this data when the specified, explicit, and legitimate purpose for processing this personal data has expired. If there is no longer a legitimate purpose, that requires the retention and use of personal data, it must be deleted irrecoverably. Blocking is necessary when the original retention period has expired but additional applicable extended and overruling (mandated by law) retention periods are still in place. After the expiration of the longest retention period, the data must be deleted.
Deletion of Personal Data
When considering compliance with data protection regulations, it is also necessary to consider compliance with industry-specific legislation in different countries. A typical potential scenario in certain countries is that personal data shall be deleted after the specified, explicit, and legitimate purpose for the processing of personal data has ended, but only if no other retention periods are defined in legislation, for example, retention periods for financial documents. Legal requirements in certain scenarios or countries also often require blocking of data in cases where the specified, explicit, and legitimate purposes for the processing of this data have ended, however, the data still has to be retained in the database due to other legally mandated retention periods. Sometimes, transactional data are personal data with relation to a master data object, e.g. a sales order with reference to a business partner. Therefore, the challenge for deletion and blocking is first to handle transactional data and finally other data, such as business partner data.
SAP HANA supports the deletion of data in tables using SQL deletion commands. Applications running on SAP HANA must make use of such commands to implement deletion requirements of personal data. For more information see the Data Protection and Privacy section in the SAP HANA security guide.
Data Loading and Deletion in SAP Financial Services Data Management
SAP Financial Services Data Management relies on the source system to provide data. It requires a replication infrastructure that you need to set up to provide data from the source system. The infrastructure consists of a set of tools offered by the SAP HANA platform, such as SAP Smart Data Integration flowgraphs. They can be used to load data from various source systems to the SAP HANA database. The interface generator provides procedures for loading and deleting data. These procedures can be used by the replication infrastructure that you set up for loading or deleting data.
The retention policy maintained in the source system is also applicable to data in SAP Financial Services Data Management. After the completion of the retention period when the data is deleted in the source system, this information has to be provided to SAP Financial Services Data Management by the source system using the replication infrastructure. The delete procedures provided by the interface generator can be used by the replication infrastructure (such as the ETL process) to delete the data from SAP Financial Services Data Management.
If data stored in SAP Financial Services Data Management reaches the end of its residence period or retention period and is used as content for products outside of SAP Financial Services Data Management, the system does not provide any notification service about the end of purpose, end of retention, or deletion. The product outside must ensure that the legal requirement of deletion and blocking is fulfilled.
End-of-Purpose Check
- Business activity: The relevant data is used in ongoing business, for example contract creation, delivery or payment.
- Residence period: The relevant data remains in the database and can be used in case of subsequent processes related to the original purpose, for example reporting obligations.
- Blocking period: The relevant data needs to be retained for legal reasons. During the blocking period, business users of SAP applications are prevented from displaying and using this data; it can only be processed in case of mandatory legal provisions.
- Deletion: The data is deleted and no longer exists in the database.
Blocking
The blocking policy maintained in the source system is also applicable to data in SAP Financial Services Data Management.- Display: The system does not display blocked data.
- Change: It is not possible to change a business object that contains blocked data.
- Create: It is not possible to create a business object that contains blocked data
- Copy/Follow-Up: It is not possible to copy a business object or perform follow-up activities for a business object that contains blocked data.
- Search: It is not possible to search for blocked data or to search for a business object using blocked data in the search criteria.
Prevent Access to an Object Which Has Reached the End of Purpose
If you are using the SAP Financial Services Data Management interface generator, the following artifacts are relevant for the generated read interface to facilitate the authorization checks that prevent access to a objects (like business partner (BP) and financial contract) which has reached the end of purpose (EoP):
|
Artifact |
Description |
Technical Information |
|---|---|---|
|
Generated: view related to the objects, like business partner and financial contract |
Projects the IsEndOfPurposeBlocked Reached indicator from the operational source system. |
Example:
|
|
Generated: two structured privileges per object |
They refer to the IsEndOfPurposeBlocked Reached indicator. |
Example:
|
|
Generated: two roles per object |
When you deploy the read interface, you create roles for required objects: For accessing business partner data for example:
|
You can access the roles in SAP HANA Studio by choosing , right-click Roles, choose Find Role and search for a term with the prefix DataProtectionAndPrivacyDetails. |
|
Manual step: create joined view |
You can join the generated view related to the required object to other views that have personal data. This join would now ensure that the necessary privilege is applied to it. |
You can use:
|
|
Manual step: assign generated roles to users |
You can then assign the generated roles to users depending on their need to access blocked objects. Example for business partner: If access is required, you need to assign the roles as follows:
|

