# SAP TDM

> Source: https://docs.synthesized.io/tdk/latest/user_guide/070_integrations/sap/
> For the complete documentation index, see [llms.txt](https://docs.synthesized.io/llms.txt).

Synthesized is the only TDM platform with end-to-end test data capabilities (synthetic data generation, copying, timeslicing, PII detection, masking, subsetting, provisioning) for SAP and all enterprise application testing. Purpose-built integration for SAP environments that understands your data structures, preserves referential integrity, and delivers protected test data without breaking business processes.

## The SAP Data Challenge

Whether you are running SAP ECC, SAP S/4HANA, or SAP HANA-based landscapes, the fundamental data management challenge is the same: SAP environments present unique challenges for test data management that generic tools cannot address:

- **Complex, deeply interconnected data models** with hundreds of tables spanning multiple functional areas
- **Implicit relationships** not enforced at the database level, making it difficult to extract consistent subsets
- **Functional module boundaries** that must be respected to produce usable test data
- **Sensitive business data** spanning financial, HR, and operational domains that requires protection
- **Years of accumulated transactional history** creating massive data volumes that are impractical to copy in full

## What Synthesized Does

The Synthesized Platform provides SAP-native capabilities that address each of these challenges:

- **Understands SAP data structures** and automatically maps relationships between tables, including those not defined by database constraints
- **Scopes data intelligently** based on functional boundaries, separating master data (materials, vendors, customers) from transactional data (purchase orders, goods movements, invoices), so you get coherent subsets rather than random slices
- **Preserves referential integrity** across related tables, ensuring dependent records are always included
- **Applies process-safe masking** that protects sensitive fields while keeping SAP workflows functional
- **Supports time-based subsetting** — transactional data is filtered by posting date, master data by creation date, giving you control over data volumes from large SAP ERP systems

## How It Works

A guided workflow takes you from connection to protected test data in a few steps:

1. **Connect** your SAP HANA database as a data source
2. **Select functional areas** - choose which parts of SAP you need data from
3. **Choose your data scope** - master data only, transactional data, or a full copy
4. **Optionally filter by date range** to control data volume
5. **Dependent data is automatically included** to maintain consistency across related tables
6. **Choose a protection level** to mask sensitive fields while preserving business logic
7. **Run the workflow** and get production-realistic test data

> **NOTE**
> When transactional data is selected, related master data records are automatically pulled in regardless of their creation date — preserving referential integrity across all SAP tables.

## Choosing the Right Scope

Select the scope that matches your testing environment:

 
| Environment | Recommended Approach |
| --- | --- |
| 
Development

 | 

Master data only — fast, minimal footprint

 |
| 

System Testing

 | 

Transactional data with a recent time window

 |
| 

UAT

 | 

Transactional data with a broader time window

 |
| 

Performance Testing

 | 

Transactional data with a full history, or full copy

 |
| 

Production Clone

 | 

Full copy — all master and transactional data

 |

## Getting Started

To connect your SAP HANA database and configure access, see the connection setup guide:

[SAP HANA Connection Setup →](https://docs.synthesized.io/tdk/latest/user_guide/070_integrations/sap/sap_hana)

## Prerequisites

- SAP HANA database access
- Database user with appropriate permissions (see [SAP HANA Connection](https://docs.synthesized.io/tdk/latest/user_guide/070_integrations/sap/sap_hana))
- Synthesized Platform with SAP integration enabled

## See Also

- [Connect Data Sources](https://docs.synthesized.io/tdk/latest/user_guide/010_get_started/datasources)
- [Creating Workflows](https://docs.synthesized.io/tdk/latest/user_guide/010_get_started/workflow)
- [Masking Data Guide](https://docs.synthesized.io/tdk/latest/user_guide/020_guides/masking_data/)
- [SAP TDM on synthesized.io →](https://www.synthesized.io/sap)
