My Company

DDR – Selected Data Deletion

✉ support@edatainsight.com   |   ✉ info@edatainsight.com
We are creative, ambitious and ready for challenges! Contact us
Enterprise
Data Insight
User Guides
Have Any Questions? +44-204-577-0664
Contact Us
DDR USER GUIDE

DDR – Selected Data Deletion

Selected Data DeletionThe DDR Selected Data Deletion feature enables controlled and targeted removal of data within SAP systems. It supports both time-based and object-based deletion approaches, allowing users to define precise data scopes using date ranges, business objects, and filters. The DDR Selected Data Deletion feature enables controlled and targeted removal of data within SAP systems. It supports both time-based and object-based deletion approaches, allowing users to define precise data scopes using date ranges, business objects, and filters. With built-in controls such as loopback RFC restriction, business object dependency handling, and optional backup functionality, DDR ensures that data deletion is executed securely and accurately. This functionality is commonly used for system preparation, data cleanup, and maintaining optimised SAP environments while minimising risk.

DDR Selected Data Deletion Guide

Selected Data Deletion – Time-Based and Object-Based Deletion

1. Overview

The Selected Data Deletion function within Dynamic Data Replicator (DDR) enables controlled and targeted removal of data from a selected SAP system.

It supports two deletion approaches:

Time-Based Deletion: Deletes data within a defined date range, such as document creation date or change date.

Object-Based Deletion: Deletes data based on selected business objects, tables, fields, and filters without using a date range.

This guide explains how to execute Time-Based Selected Data Deletion.

2. Important Warning and Disclaimer

Selected Data Deletion is a destructive operation.

Once data is deleted, it cannot be recovered unless a valid backup has been taken before execution.

Before proceeding, ensure that the correct target system and client have been selected, the RFC connection is correctly configured, the selected business objects, tables, and filters have been validated, a backup has been taken where required, and the activity has been approved through the correct change control process.

This function must only be used by authorised DDR users who understand SAP data relationships, dependencies, and deletion impact.



DDR Shell Board dashboard showing the New button
Screenshot 1: From the DDR Shell Board dashboard, click New to create a new Data Deletion activity.

3. Step-by-Step Guide – Selected Data Deletion

Step 1: Access the Shell Module

From the DDR Central Console, select Shell.

Step 2: Create a New Activity

In the Shell Board Dashboard, click New.

Step 3: Select Data Deletion

In the pop-up window, select Data Deletion.

Step 4: Choose the Deletion Type

Select Selected Deletion. Choose either Time-Based Deletion or Object-Based Deletion.


DDR Shell Build selected deletion type dropdown
Screenshot 3: Select Selected Deletion, then choose Deletion Based on Time or Deletion Based on Object.

4. Template Selection

After selecting Time-Based Deletion, DDR prompts you to choose a template option.

Standard Template: A pre-delivered EDI template or a template reused from a previous run.
Custom Template: Used when designing a new deletion configuration.
Blank Template: Used to build a deletion template from scratch.
Copy and Customise: Used to copy an existing template, modify the selection, and run it under a new execution ID.

For this guide, select Custom Template followed by Blank Template.


DDR Data Deletion Wizard template type selection
Screenshot 4: Select Custom Template and Blank Template, then enter the template name, transfer type, and connection.

5. Define Template and Connection

Enter a meaningful Template Name, for example FI_Transaction_Deletion_Jan2024.

Select RFC Connection as the transfer type.

Select the loopback RFC connection for the SAP system where the deletion will be executed.

Once completed, click Next.

DDR Data Deletion Wizard template configuration
Screenshot: Data Deletion Wizard with Custom Template, Blank Template, Template Name, Transfer Type and Connection selected.

6. Define Date Range

Define the deletion window.

From Date: The start date from which data should be deleted.
To Date: The end date up to which data should be deleted.

Example: From 01.01.2023 to 31.12.2023.


7. Select Business Object Group

Select the required data category:

Master Data: Allows deletion of full master data or selected master data using date filters and granular field-level filters.
Process-Based Data: Deletes data across full business processes.
Transaction Data: Provides comprehensive deletion of transactional records, including dependent and associated records.
Customising: Used for configuration-level data where applicable.
Users: Used for user-related records where applicable.

For this demo, select Transaction Data. You can also review which tables will be included by checking the table list next to the object description.


DDR Business Object Group selection

8. Select Business Objects

DDR displays the available business object list. You can select one business object, select multiple business objects, use the description search to find a specific object, and review the related tables on the right-hand panel.

After selecting the required business objects, click Include.


DDR selected business object include step

9. Include Custom Tables

DDR allows customer-specific tables to be included in the deletion scope. This includes Z tables and Y tables.

Important: Custom tables may contain critical business data. Always validate custom table selection before including them in a deletion run.

DDR Additional Tables configuration

10. Apply Granular Filters

You can refine the deletion scope by applying additional filters, such as company code, plant, document number, material, customer, vendor, or other key fields.


DDR Object Filter configuration

11. Add Advanced Field Conditions

Click the field selection icon to add detailed conditions. This allows you to add additional selection criteria, restrict deletion to specific records, exclude specific tables or data, and prevent certain records from being deleted.


DDR Filtering Fields include and create filter highlighted
DDR Object Filter with field conditions

12. Exclusion Rules

Exclusion rules allow you to protect specific records from deletion. They can be used to protect sensitive records, prevent deletion of business-critical data, exclude specific tables, exclude selected field values, and reduce the risk of unintended deletion.


DDR Multiple Selection popup
DDR Selection Options popup

13. Backup Option

Before executing deletion, you can enable Backup. A backup is strongly recommended when the deletion scope is large, the data may need to be restored, the deletion is part of testing or validation, or the impact is not fully confirmed.


DDR Backup configuration

14. Execute Data Deletion

Once all configuration, filters, exclusions, and backup options have been validated, click Data Deletion. The deletion process runs in the background, data is deleted from the selected target system, the template is locked for execution tracking, and the deletion run can be reviewed for audit and control purposes.


DDR Confirmation Popup

Final Validation Checklist

✔ Correct system and client
✔ Correct RFC connection
✔ Correct deletion type
✔ Date range is accurate
✔ Business object group is correct
✔ Business objects are validated
✔ Related tables have been reviewed
✔ Z and Y tables have been checked
✔ Filters have been applied correctly
✔ Exclusions have been defined
✔ Backup has been taken, if required
✔ Business approval has been received
✔ Change control approval has been completed

© Enterprise Data Insight. DDR Selected Data Deletion User Guide.