## 13.2.4.4.2.1  Deletion of Personal Data
## Use
The financial transactions portrayed in Treasury and Risk Management are B2B transactions between your company and banks, financial institutions, brokers, or similar institutions. Likewise, the master data required for the processes in Treasury and Risk Management relate to companies and financial institutions. In Treasury and Risk Management, checks are implemented that do not allow the use of business partners who are natural persons. If you use business partners who are natural persons in Treasury and Risk Management, you will get the following error message: You cannot assign bus. partner &amp;1 because the partner is a natural person (message class TI , message number 031 ). Consequently, the simplified blocking and deletion of personal data in Treasury and Risk Management using SAP Information Lifecycle Management (SAP ILM) is not needed in Treasury and Risk Management, but it is also supported with an end of purpose check (function module TRTM\_BUPA\_EOP\_CHECK ).
##  Note
If you use Treasury and Risk Management to portray financial transactions with natural persons or your use of the Treasury and Risk Management involves natural persons in other ways, you need to deploy additional technical and organizational measures to ensure that you respect the deadlines governing the storage and deletion of personal data. If these prerequisites are fulfilled, you can suppress the error message of these checks for natural persons by switching off the configurable message 031 of application area TI in the Customizing activity Change Message Control under Treasury and Risk Management Transaction
Manager General Settings Tools Configurable Messages
.
If you only use Risk Management to analyze Transaction Manager data, it also applies that the simplified blocking and deletion of personal data in the Transaction Manager through SAP Information Lifecycle Management (SAP ILM) is not necessary; nevertheless, a where-used check (function module RM\_BUPA\_WUC\_CHECK ) is also available for this purpose.
If you use Risk Management to analyze data that also contains data on natural persons or your use of Risk Management otherwise involves natural persons, you must ensure you adhere to the retention period for personal data and ensure its subsequent deletion by taking appropriate technical and administrative measures of your own.
For more information, see the product assistance for SAP S/4HANA on the SAP Help Portal at https:/ /
help.sap.com/s4hana\_op\_2021 Product Assistance Cross Components Data Protection .
## Relevant Application Objects and Available Deletion Functionality
You can archive the following data in Treasury and Risk Management :
| Application Data to Be Archived   | Description                                                                                                                                                                                                                                                                                                                                                             | Provided Deletion Functionality                                                                     |
|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| Financial Transactions            | The TRTM_FTR archiving object is used to archive and delete financial transac- tions of the Transaction Manager as well as related subentities (such as the related correspondence objects, trade repository objects or the external trade ID).                                                                                                                         | • Archiving Object: TRTM_FTR Delete pro- gram: RFTRARCHIVE_DELETE • ILM object: TRTM_FTR            |
| Correspondence Objects            | You need archiving object TRTM_CO to archive correspondence objects that have been created outside of financial transactions or if you want to archive correspondence objects independently of the financial transaction. As part of the archiving of financial transactions, correspondence objects relating to fi- nancial transactions are archived using TRTM_FTR . | • Archiving Object: TRTM_CO Delete pro- gram: RTCOR_CO_ARCHIVE_DELET E • ILM object: TRTM_CO        |
| Trade Repository Objects          | You use this archiving object to archive trade repository objects (TAROs) in the Transaction Manager (TRM). This ar- chiving object is used to archive the following groups of trade repository ob- jects: • Trade repository objects for finan- cial transactions in Transaction                                                                                       | • Archiving Object: TRTM_TARO Delete pro- gram : R_TLR_TARO_ARCHIVE_DE LETE • ILM object: TRTM_TARO |
| Application Data to Be Archived   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Provided Deletion Functionality                                                        |
|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|
| Positions                         | The Treasury and Risk Management manages Treasury positions for a broad range of financial instruments. Conse- quently, the criteria for archiving vary depending on the type of financial in- strument. The following kinds of Treas- ury positions can be archived: • OTC positions (such as money market positions, FX positions, and trade finance po- sitions) • Loan positions • Securities positions • Listed derivative positions Positions are not archived individually; instead, they are archived in position groups. Position groups are only used in the context of archiving. A position group is used to group together posi- tions that are so closely related that they cannot be handled separately in archiving. • All positions of a position group have the same company code. In addition: • Securities positions or listed derivative positions that have the same ID number belong to the same position group. • OTC positions and loans that have the same financial trans- action number or loan number belong to the same position group.  Note The valuation area, therefore, is not used as a criteria for dif- ferentiating position groups. • All positions that belong to a busi- ness transaction that generates flows for different positions be- | • Archiving Object: TRTM_TPM Delete program: RTPMARCHIVE_DELETE • ILM object: TRTM_TPM |
| Application Data to Be Archived        | Description                                                                                                                                                                                                                                                                                                                                                                         | Provided Deletion Functionality                                                                     |
|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
|                                        | long to the same position group. This can arise in connection with hedging relationships, securities account transfers, or corporate ac- tions, for example. A position group is archived once all of the positions in that position group can be archived.  Example                                                                                                               |                                                                                                     |
| Financial Objects                      | The archiving object JB_FOBJ is used to archive financial objects that are no longer required in the online system.                                                                                                                                                                                                                                                                 | • Archiving Object: JB_FOBJ Delete program: RJBD_FOBJ_DEL • ILM object: JB_FOBJ                     |
| Payment Requests                       | The archiving object FI_PAYRQ is used to archive payment requests.                                                                                                                                                                                                                                                                                                                  | • Archiving Object: FI_PAYRQ Delete program: FI_PAYRQ_DEL                                           |
| Detailed Logs for Effectiveness Checks | The archiving object TRTM_HMLOG is used to archive detailed logs for effec- tiveness checks.                                                                                                                                                                                                                                                                                        | • Archiving Object: TRTM_HMLOG Delete program: RFTRARCHIVE_HEDGELOG_D                               |
| Raw Exposures                          | You can use archiving object TRTM_REXP to archive raw exposures. All data relating to the raw exposures is archived. This applies to the header data, raw exposure memorecords, sub raw exposures, risk attributes, the dif- ferent versions, the administrative at- tributes, and other information. The related exposure positions are not ar- chived with this archiving object. | • Archiving Object: TRTM_REXP Delete program: RFTR_TEX_REXP_ARCHIVE_DELE TE • ILM object: TRTM_REXP |
| Application Data to Be Archived                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                | Provided Deletion Functionality                                                                        |
|-----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
| Exposure Positions                                  | You can use archiving object TRTM_EXPOS to archive exposure posi- tions. All data for the exposure position and the related position flows are ar- chived.                                                                                                                                                                                                                                                                                                 | • Archiving Object: TRTM_EXPOS Delete program: RFTR_TEX_EXPOS_ARCHIVE_DEL ETE • ILM object: TRTM_EXPOS |
| Security Class Data                                 | You use archiving object TRTM_SEC to archive securities class data.                                                                                                                                                                                                                                                                                                                                                                                        | • Archiving Object: TRTM_SEC Delete program: TRTM_SEC_DEL • ILM object: TRTM_SEC                       |
| Datafeed Usage Log                                  | You use archiving object DATAFDLOG to archive usage logs of the datafeed..                                                                                                                                                                                                                                                                                                                                                                                 | • Archiving Object: DATAFDLOG Delete program: RFTBDF11                                                 |
| Limits and Limit Utilizations                       | The TRTM_LM archiving object is used to archive and delete limits and limit uti- lizations. When you use Limit Manage- ment, this leads over time to very large volumes of data being saved. To ensure that evaluations are not slowed down by excessively large volumes of data, you can delete limits and utilizations from the system. However, before you can delete this data from the system, you first need to have archived it in a previous step. | • Archiving Object: TRTM_LM Delete program: RFTBARC2 • ILM object: TRTM_LM                             |
| Result Database: Risk Analyzer Single Records       | You use the archiving object RDBRA_REC to archive single records that are stored in the results data- base of the Market Risk Analyzer ( FIN- FSCM-TRM-MR ).                                                                                                                                                                                                                                                                                               | • Archiving Object: RDBRA_REC Delete program: RDBRA_REC_DEL • ILM object: RDBRA_REC                    |
| Result Database: Risk Analyzer Final Results        | You use the RDBRA_FRP archiving ob- ject to archive final results that are stored in the results database (RDB) of the Market Risk Analyzer ( FIN-FSCM- TRM-MR ).                                                                                                                                                                                                                                                                                          | • Archiving Object: RDBRA_FRP Delete program: RDBRA_FRP_DEL • ILM object: RDBRA_FRP                    |
| Result Database: Accounting Analyzer Single Records | You use the archiving object RDBAA_REC to archive single records that are stored in the results data- base of the Accounting Analyzer ( FIN- FSCM-TRM-AA ).                                                                                                                                                                                                                                                                                                | • Archiving Object: RDBAA_REC Delete program: RDBAA_REC_DEL                                            |
| Application Data to Be Archived                      | Description                                                                                                                                                     | Provided Deletion Functionality                                                  |
|------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
| Result Database: Accounting Analyzer Final Results   | You use the archiving object RDBAA_FRP to archive final results that are stored in the results data- base (RDB) of the Accounting Analyzer ( FIN-FSCM-TRM-AA ). | • Archiving Object: RDBAA_FRP Delete program: RDBAA_FRP_DEL                      |
| Result Database: Portfolio Analyzer Sin- gle Records | You use the archiving object RDBPA_REC to archive single records that are stored in the results database of the Portfolio Analyzer ( FIN-FSCM- TRM-PA ).        | • Archiving Object: RDBPA_REC Delete program: RDBPA_REC_DEL                      |
| Result Database: Portfolio Analyzer Fi- nal Results  | You use the archiving object RDBPA_FRP to archive final results that are stored in the results database (RDB) of the Portfolio Analyzer ( FIN- FSCM-TRM-PA ).   | • Archiving Object: RDBPA_FRP Delete program: RDBPA_FRP_DEL                      |
| Saved Datasets                                       | You can use archiving object RM_SVSTATE to archive saved datasets used for backtesting.                                                                         | • Archiving Object: RM_SVSTATE Delete program: RJBRSTA2 • ILM object: RM_SVSTATE |
| Collateral Transactions                              | You can use archiving object JB_COLL to archive collateral transactions.                                                                                        | • Archiving Object: JB_COLL Delete program: RJBD_COLL_DEL • ILM object: JB_COLL  |
| Gap Evaluations                                      | You can use the archiving object JB_GPAN to archive Gap evaluation transactions.                                                                                | • Archiving Object: JB_GPAN Delete program: RJBD_GPAN_DEL • ILM object: JB_GPAN  |
| Generic Transaction Versions                         | The JB_GTVS archiving object is used to archive the versions of generic trans- actions.                                                                         | • Archiving Object: JB_GTVS Delete program: RJBD_GTVS_DEL • ILM object: JB_GTVS  |
| Generic Transactions                                 | You can use archiving object JB_GETR to archive generic transactions.                                                                                           | • Archiving Object: JB_GETR Delete program: RJBD_GETR_DEL • ILM object: JB_GETR  |
The following table shows the data destruction object available for Treasury and Risk Management:
| Data destruction object   | Description of data destruction object                        |
|---------------------------|---------------------------------------------------------------|
| TRTM_LR_DESTRUCTION       | Destroying Limit Reservation Data Using TRTM_LR_DE- STRUCTION |
For more information, see the topics Archiving Data in Treasury and Risk Management and Data Destruction in Treasury and Risk Management in the Product Assistance under Enterprise Business Applications
Finance Treasury Management Treasury and Risk Management Data Management in Treasury and Risk Management .
## Relevant Application Objects and Available EoP/WUC functionality
| Application                                                     | Implemented Solution (EoP or WUC)   | Further Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|-----------------------------------------------------------------|-------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Treasury and Risk Management - Trans- action Manager ( TRM-TM ) | Function module TRTM_BUPA_EOP_CHECK | The EoP determines whether a busi- ness partner is still relevant for busi- ness activities in the application or whether it can be blocked. For more information, see following topic in the Product Assistance un- der Enterprise Business Applications Finance Treasury Management Treasury and Risk Management Data Management in Treasury and Risk Management Deletion of Personal Data in Treasury and Risk Management Business Partner End of Purpose (EoP) Check in TRM- Transaction Manager (FIN-FSCM-TRM-TM) . |
## Delete Personal Data - Credit Risk Analyzer
The report checks data in the Credit Risk Analyzer and deletes all remaining data referring to already archived business partners.
1. Call the Delete Personal Data - Credit Risk Analyzer function (transaction SEMB\_DPP\_DELETION ).
2. The Display Log indicator is set by default. Y ou can deselect this indicator.
3. Execute the report in test mode.
4. After a successful test run, you can execute the report in production mode.
5. All data referring to archived business partners are deleted from Credit Risk Analyzer tables.
## Trader and Contact Person
## · Traders
In the Transaction Manager, you define traders. These traders are given authorizations, and your employees who create financial transactions in the role Treasury Specialist - Front Office are assigned a trader to their user. The trader name is visible in the financial transaction data. As the trader is part
of the financial transaction data, the table entries for a trader are archived together with the financial transaction data. When a specific trader is no longer required, for example, because the employee has left your company, you remove the authorization for the trader using the function Trader Authorization (transaction TBT1 ). In addition, you delete the entries for the user in Customizing under Define User Data . If all financial transactions created by the trader are archived, you can delete the trader in Customizing under Define Trader .
You can use the function Display Where-Used List of Traders (transaction FTR\_DIS\_TRADER ) to see in which tables a specific trader is entered.
## · Contact Persons
It is possible to enter the name of a contact person in financial transactions. These names are part of the financial transaction data and are archived together with the financial transactions. You can use the function Display Where-Used List of Contact Persons (transaction FTR\_DIS\_CONTPERS ) to see in which tables a specific contact person is entered.