## 13.12.2.2  Blocking of Personal Data
The SAP S/4HANA for Enterprise Contract Management (CM) (formerly known as Legal Content Management) applications might process data (personal data) that is subject to the data protection laws applicable in specific countries. You can use SAP Information Lifecycle Management (ILM) to control the blocking and deletion of personal data. For more information, see the product assistance for SAP S/ 4HANA on the SAP Help Portal at https:/ /help.sap.com/s4hana\_op\_2021 under Product Assistance Cross
Components Data Protection .
For this solution, data protection and privacy (DPP) is implemented for the following data:
- Entity types Customer and Supplier
- External contact type Business Partner
The DPP checks are enabled in DCL files which inherit the authorization of the respective standard DCL files. If the user uses in a legal transaction the value help for a customer, supplier or business partner, the DCL authorization check is executed and the blocked data is filtered out from the list that is shown in the value help. If the user enters a customer, supplier or business partner directly, without using the value help, the Business Object Processing Framework (BOPF) validation methods check the data against the CDS views and the blocked data is not displayed.
The same logic is applied in the API. If an API call creates or updates data for a legal transaction, the BOPF validation is is done based on the DPP authorization checks.
The following field indicates if the legal transaction is blocked:
- IsEndOfPurposeBlocked - if set to X (true)
## End of Purpose Check
The End of Purpose (EoP) check identifies if all business applications have completed their purpose in use of master data, so that it can be later blocked. Basically, the check is performed to see if a master data (customer, supplier or business partner) can be blocked. In LCM, the EoP check is reached when the legal transaction has reached one of the following status:
- Canceled
- Terminated
- Expired
and when the context has reached one of the following status:
- Inactive
- Expired
- Replaced
The central EoP check report calls the CM modules to check if any business data is in use. And the CM module checks the data in legal transaction and returns the respective status back. Whether or not the customer, supplier or business partner is blocked, is determined based on the following scenarios, which can coexist in the same installation:
CM determines the EoP. The business logic is hosted in CM and as long as any of the data is still in use, it cannot be removed or blocked.
<!-- image -->
##  Note
When the legal transaction is blocked, all the documents assigned to this legal transaction will also be blocked.
## Configuration
You configure the settings related to the blocking and deletion of customer, supplier, and business partner master data in Customizing under Cross Application Components Data Protection Blocking and Unblocking of Data Business Partner and Cross Application Components Data Protection Blocking and Unblocking of Data Customer Master/Supplier Master Deletion . For more information, see the documentation of the respective Customizing activities.
The application name for the EoP check is LCM-LT . Y ou need to configure the blocking for the following objects:
| Object            | Type                                     | EoP Check Object              |
|-------------------|------------------------------------------|-------------------------------|
| Legal Transaction | External contact type / Business partner | LCM_LEGALTR_BUPA_EOP_CHECK    |
| Legal Transaction | Entity type / Customer or supplier       | CL_LCM_LEGALTR_CVP_EOP_CHE CK |
| Context           | Customer or Supplier                     | CL_LCM_CTX_CVP_EOP_CHECK      |
| Context           | Business partner                         | LCM_CTX_BUPA_EOP_CHECK        |
## More Information
https:/ /help.sap.com/s4hana\_op\_2021 under Product Assistance Enterprise Technology SAP S/4HANA for Enterprise Contract Management Data Management in SAP S/4HANA for Enterprise Contract Management .