## 13.10.1.1.1  Deletion of Personal Data in Commodity Procurement
## Use
The Commodity Procurement 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 https:/ /help.sap.com/s4hana\_op\_2021 under Product Assistance Cross Components Data Protection .
See also the documentation under SAP S/4HANA on the SAP Help Portal at https:/ / help.sap.com/s4hana\_op\_2021 Product Assistance Enterprise Business Applications Cross-Line-ofBusiness Commodity Management Commodity Procurement Data Management in Commodity Procurement .
## Relevant Application Objects and Available Deletion Functionality
| Application                                             | Provided Deletion Functionality                                                        |
|---------------------------------------------------------|----------------------------------------------------------------------------------------|
| BRFplus Decision Table Entries for CPE Formula Assembly | See section BRFplus Decision Table Entries for CPE Formula Assembly below              |
| Pricing Condition Records in CPE Formula Assembly       | See section Pricing Conditon Records for CPE Formula As- sembly below                  |
| Records of Versioned Logistics Pricing Data Persistency | See section Versioned Logistics Pricing Data Persistency be- low                       |
| Period-End Valuation                                    | Archiving Object LO_CMM_AD for accrual documents, and MM_EKKO for purchasing documents |
## BRFplus Decision Table Entries for CPE Formula Assembly
In the Commodity Pricing Engine (CPE), the Formula Assembly (FA) is used for logistics document items like sales order items or purchase order items to create default settings as, for example, the formula ID. These settings depend on properties of the underlying logistics document such as the vendor/customer, organizational and material data.
The Business Rules Framework plus (BRFplus) is used to implement rules for entering these settings. To use decision tables in BRFplus (as recommended by SAP), the required BRFplus content is provided (BRFplus application, BRFplus functions which use BRFplus decision tables). The standard content includes, for example, decision tables, which require customer or vendor, material and other input fields, and the formula ID as result field. Decision tables can contain customer or vendor data, which eventually need to be deleted.
In the deletion report RCPE\_BRF01 ( Delete BRFplus Decision Table Entries for CPE Formula Assembly ) you enter a selected customer or vendor. When selecting the test mode, the report checks, whether the entered customer or vendor exists in the system, and whether he is blocked. After this, the report checks all BRFplus decision tables in BRFplus applications used for the Formula Assembly , and displays the respective row numbers of the BRFplus decision tables and the column containing the selected customer or vendor. If the Test Mode flag is not set, the report deletes all entries found, and creates an application log entry for object CMM and subobject DPP\_FA\_BRF (transaction SLG1 ).
The Customizing settings can be found in the SAP Implementation Guide under Sales and Distribution Basic Functions Commodity Pricing Settings for Formula Assembly Assign BRFplus Application to Pricing Procedure or Materials Management Purchasing Commodity Pricing Settings for Formula Assembly Assign BRFplus Application to Pricing Procedure .
## Pricing Condition Records in CPE Formula Assembly
To delete entries for a single customer or vendor, use report RCPE\_CT01 . First, choose the test mode, to see all entries of the selected table, which would be deleted.
If you perform this transaction in productive mode, the selected entries will be deleted, and a log of transaction SLG1 for object CMM and subobject DDP\_FA\_AP is displayed.
Note: Condition tables used for the CPE Formula Assembly must be selected and processed individually.
## Versioned Logistics Pricing Data Persistency
Transaction CMM\_DEL\_DOC\_VERSIONS allows you to update all records of the versioned logistic pricing data persistency (table CMM\_VLOGP ), which are stored for a certain blocked customer/vendor in a way that the identifier of the respective customer/vendor is masked with a blank space.
The authorization to perform this transaction is checked by the authorization object S\_TCODE, and explicitly in the underlying report. It is ensured that, even if the report is performed by transaction SA38 , only authorized experts can execute it. In addition, the authorization object CMM\_VLOGP is checked by activity 06 ( Delete ). This enables the authorized user to delete records from the versioned logistic pricing data persistency (table CMM\_VLOGP ).
Note: It is checked, whether the entered customer is used as Sold-to-Party and/or Ship-to-Party . Records are deleted and masked accordingly.
This transaction must be performed to mask or to delete records as soon as a certain customer or vendor is blocked.