PCI DSS · Card payments

PCI DSS test data for SAP: no live card numbers in pre-production

PCI DSS v4.0 says live primary account numbers (PANs) aren't used in pre-production environments unless those environments are protected like the cardholder data environment. A system copy brings live card data with it. Synthesized refreshes SAP test systems with test card numbers instead, keeping every order, invoice and payment linked.

Not a compliance assessment: your Qualified Security Assessor confirms scope.

Card data in QA · after refreshExample
Sales orders paid by card
Card numbers replaced
Test PANs
Billing and receivables
Links to orders kept
Linked
Customer master
Names and addresses masked
Masked
Live PANs in pre-production
Requirement 6.5.5
None
No live PANs in QA
Results measured in live deployments outside SAP
30%
faster testing and development cycles
Global bank · self-service test data
20bn
rows masked and subsetted in hours
Digital health platform · replaced a legacy TDM tool · Read the case study
28M
production rows protected, 100% referential integrity
Global specialty insurer · 40+ core applications · Read the case study
200×
more test data, from 100K to 20M entries
Telecom operator · masking and synthetic generation

On SAP, we measure results on your own data in a 10-day validation.

The requirement

What PCI DSS v4.0 says about pre-production

PCI DSS v4.0 · Requirements 6.5 and 3.4

Pre-production and test data

6.5.5: live PANs are not used in pre-production environments, except where those environments are in the cardholder data environment and protected accordingly.

6.5.6: test data and test accounts are removed from system components before the system goes into production.

3.4.1: PAN is masked when displayed, so only people with a business need see more than the BIN and last four digits.

Paraphrased. Read the standard and confirm scope with your QSA.

Read the source: PCI DSS document library, PCI Security Standards Council

What it means for SAP

No cardholder data in test
Test card numbers mean pre-production systems don't hold live PANs. Your QSA confirms the scope.
Evidence for the assessor
Each refresh records its scope, the rules applied and who ran it.
Clean go-lives
Test card numbers stay in test systems, so there's nothing to remove at go-live.

In SAP

Where card data sits, and what a copy brings along

AreaWhere card data can appearIn a test copy
Customer masterPayment cards assigned to customers (VCKUN)Copied as they are, unless replaced
Sales and billingCard authorizations on sales orders and billing (FPLTC)Linked to the orders and invoices tests depend on
Receivables and paymentsCard payments and clearing in FI or FI-CAMust still match the billing documents
Connected payment systemsTokens and card referencesMust match SAP for end-to-end tests

Many landscapes encrypt or tokenise card numbers in production. A copy still carries them, or their references, into pre-production.

How it works

Test card numbers in, links kept

SAP productionInside the cardholder data environment
SynthesizedReplaces card numbers with test values
SAP QA and UATTest card numbers only
Performance and trainingTest card numbers only
Full system copyLive card numbers land in pre-production
the route requirement 6.5.5 rules out
Pre-production gets test card numbers. A plain system copy would bring live ones with it.
  1. 01

    Find card data

    A scan flags card numbers in standard and custom tables, including free-text fields.

  2. 02

    Replace with test card numbers

    Swap live PANs for test numbers in the right format, the same way in SAP and the payment systems around it.

  3. 03

    Keep the links

    Orders, billing documents and payments still point to each other, so order-to-cash tests run.

  4. 04

    Record each refresh

    Scope, rules and who ran it, ready for your assessor.

We've got you covered

Questions about PCI DSS and SAP test data

Can we use production data in pre-production under PCI DSS v4.0?

Not with live PANs, unless the pre-production environment is in the cardholder data environment and protected to every applicable requirement. Most teams use test card numbers instead.

Doesn't tokenisation in production solve it?

It reduces exposure, but a system copy still moves tokens, references and sometimes card data into test, and tests often need realistic card fields. Replacing them in the copy removes the question.

What do test card numbers look like?

Numbers in the right format, so validations and payment flows behave as they do in production, but linked to no real account.

Does this cover the payment systems around SAP?

Yes, wherever Synthesized can connect to them. A source can be any production application or database, SAP or not, so connected billing, payment and CRM databases get the same test card numbers as SAP, and references between them still match. External payment processors keep their own sandbox and test modes.

Who decides our PCI scope?

Your Qualified Security Assessor. We provide the masking rules and refresh records they need to review pre-production.

Next step

Take live card numbers out of SAP test systems

A scan of one SAP test system shows where card data sits today, in standard and custom tables.

Runs in your environmentNothing installed in SAPRead-only access to SAPSecurity and deployment
Updated October 2026

SAP, S/4HANA, SAP HANA, SuccessFactors, Ariba, Concur and other SAP products and services mentioned herein, as well as their respective logos, are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.