Products

Solutions

Pricing

Free Trial

Resources

Contact Us

DVW Analytics
  • Products
    • DVW Connectors for SAP >
      • Alteryx Connector
      • KNIME Connector
      • Dataiku Connector
    • DVW Flow Tool >
      • Flow Tool
      • DVW Flow Tool SAP Migration Landing
    • DVW RPA Tools for SAP >
      • Alteryx RPA Tools
      • KNIME RPA Tools
      • Flow Tool RPA Tools
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
    • SAP Audit and Compliance
  • Pricing
    • DVW Connectors for SAP >
      • Alteryx Connector
      • KNIME Connector
      • Dataiku Connector
    • DVW Flow Tool >
      • Flow Tool
    • DVW RPA Tools for SAP >
      • RPA Tools
  • Free Trial
  • Resources
    • Blog
    • SAP Data Models >
      • Finance and Controlling
      • Sales and Distribution
      • Inventory Management
      • Purchasing
      • Production Planning
      • Quality Management
      • Plant Maintenance
      • Warehouse Management
      • Human Capital Management
      • Project System
    • Webinars
    • Events
    • Demos and Recordings >
      • DVW Connectors for SAP >
        • Alteryx Connector
        • KNIME Connector
        • Dataiku Connector
      • DVW Flow Tool >
        • Flow Tool
      • DVW RPA Tools for SAP >
        • RPA Tools
    • About Us
    • Customers >
      • Johnson & Johnson
      • AGC
      • Brightstar
      • Vector Logistics
      • International Bank
      • KPMG
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows >
      • Alteryx
      • KNIME
      • Flow Tool
    • License
    • FAQ
  • Contact Us

Blog

SAP ECC to S/4HANA Migration, Step 2: Clean It at Source, Before It Moves

22/9/2026

 
Picture

Every record you retire before the migration is one you never have to migrate or reconcile. Step 2 of 6: decide what is worth taking across, and clean it at source.

Missing fields. Old records nobody has used in years. The same vendor set up more than once with slightly different punctuation. None of it looks dramatic in the source system, and all of it can complicate and derail an SAP migration. The cutover weekend is the worst possible moment to meet it for the first time.

Step 1 profiled the system and worked out what is actually in it. This step decides what is worth taking across, using vendor master data as the worked example, and shows how the corrections go back into SAP.

This post covers why cleansing belongs at source, the three questions the flow asks in order, and how the same flow feeds the progress dashboard and the write-back.

Step 2 of 6: retire, dedupe and check vendor master data in one flow, then write the fixes back to SAP. Also available on YouTube.

Why cleansing belongs at source

Cleansing is step 2 of the six data-workstream phases in an ECC to S/4HANA move, and it pays for itself twice. Every record you drop here is a record you never need to migrate, and never need to reconcile afterwards. The later phases get lighter with every vendor, customer or material you retire in advance.

It also matters where you do it. Clean the data in flight, between extract and load, and your source and target no longer match, so the reconciliation in step 5 has to explain every difference you introduced on the way. Clean it in the source system before anything moves, and source and target should agree. That is the whole argument for doing this early, and doing it in ECC.

One flow, three questions, narrowing as it goes

The worked example is the vendor master, in one documented DVW Flow Tool flow that reads left to right. It asks three questions in a deliberate order. Is this vendor still used? Is it the same as another one? And only for the vendors you are keeping, will it actually load? Each question shrinks the list the next one has to work on.

1. Is this vendor still used?

LFA1, the vendor master, gives every vendor and the date it was created. That is one half of the retirement test. The other half is whether anybody has actually bought anything from them, which comes from looking across purchase requisitions and purchase orders for the date each vendor was last used for anything. A vendor created years ago with no purchasing activity since is a candidate for retirement, and the flow says so.

2. Is it the same as another vendor?

Duplicates rarely match exactly. The flow normalizes the names, drops punctuation and legal forms, and then suggests possible matches. The matching logic is yours to change, so the rules reflect how your organization names its suppliers rather than a generic algorithm.

Together, the first two questions produce a proposal list of old, unused or duplicate records for the business owners to decide on. The flow does not decide for them. It puts the evidence in front of the people who own the data.

3. Will it actually load?

Everything past this point runs only on the vendors you are keeping. The address, bank and company code checks are driven by that list, because there is no point querying SAP for detail on a vendor already marked for retirement.

The question is whether each vendor will become a business partner in S/4HANA. The rules are not uniform. A region, for example, is mandatory only for certain country codes, not all of them. Those checks live in the flow, where they can be changed and recorded so they match the way you use your own SAP system.

Two outputs come out for each vendor. The single worst problem, so the counts are clean and the dashboard can prioritize. And the full list of problems, so whoever has to fix the record sees everything at once rather than fixing one field and having it rejected on the next check.

Track the progress without extra admin

Project management need status updates, and data owners need to prioritize corrections. The same flow that assesses the data also writes the output for the progress dashboard, so nobody compiles a status report by hand. The data owners review it, decide what to archive and what to clean, and make the adjustments.

Put the fixes back into SAP

There are two routes. SAP's own mass change tools, such as XK99, work for many corrections. Or a second flow can update SAP directly. That flow writes the worklist and shows what SAP already holds for each vendor. The data owner fills the gaps and puts a Y in the apply column. That column is the control, so updates can be batched as they come through rather than applied all at once.

The flow reads the input sheet and writes the changes back to SAP through the DVW BAPI Write tool. Each vendor is updated in turn, and the confirmation is read back from SAP, so any failed update can be reviewed and investigated rather than discovered later.

Run it again

Like the profiling flow in step 1, this one is repeatable. Each run shows the further improvement in data quality, reflected in the dashboard run by run, until the vendor master you are taking across is one you trust. That is the cleansing phase: assess what should be moved, clean it in the source system ahead of time, and close the gap to de-risk the migration. For the wider picture see the SAP data migration solution page.

In this series

  1. Discovery and profiling: what is actually in the system
  2. Cleanse: fix duplicates, gaps and dead records at source (this post)
  3. Map: translate old values to the new structure
  4. Mock load: dry run into the target, capture every rejection
  5. Reconcile: prove source matches target on every cycle
  6. Parallel run: keep both systems in step until cutover

Next in the series is mapping, where the old values are translated into the new structure, ready for the target.

Run the retirement test on your own vendor master

Read and write SAP data from any analytics or data platform. Free 30-day trial, full functionality, no commitment.

Start Free Trial Book a Demo Flow Tool for SAP Migration

Trusted by 500+ enterprises.


Comments are closed.

    Guides

    Reference posts that stay useful.

    SAP table guides

    Finance and Controlling

    Tables | Diagram

    Sales and Distribution

    Tables | Diagram

    Purchasing

    Tables | Diagram

    Inventory Management

    Tables | Diagram

    Production Planning

    Tables | Diagram

    Quality Management

    Tables | Diagram

    Plant Maintenance

    Tables | Diagram

    Warehouse Management

    Tables | Diagram

    Human Capital Management

    Tables | Diagram

    Project System

    Tables | Diagram

    SAP finance in KNIME

    Explore your SAP general ledger

    Read BKPF and BSEG into KNIME

    Explore SAP financial documents

    Explore SAP customer line items

    Explore SAP cost center actuals

    Post journal entries to SAP

    SAP data by platform

    Databricks

    Post | Platform page

    Snowflake

    Post | Platform page

    Power BI

    Post | Platform page

    Excel

    Post | Platform page

    Microsoft Fabric

    Platform page

    Start here

    SAP ECC end of support primer

    What makes SAP data AI-ready

    Categories

    Browse every post by product or by topic.

    By product

    Alteryx Connector

    KNIME Connector

    Dataiku Connector

    Flow Tool

    RPA Tools for SAP

    By topic

    Reporting and analytics

    Audit

    Data migration

    Process automation

    AI and machine learning

    SAP S/4HANA

    SAP data extraction

    SAP tables

    Use cases

    Product updates

    Webinar recordings

Products​
​SAP Connectors
DVW Alteryx Connector for SAP
DVW KNIME Connector for SAP
​DVW Dataiku Connector for SAP

DVW Flow Tool
DVW Flow Tool
S/4HANA Migration with Flow Tool

RPA Tools for SAP
DVW Alteryx RPA Tools for SAP
DVW KNIME RPA Tools for SAP
DVW Flow Tool RPA Tools for SAP
Resources
Blog
Watch Demos
Webinars
​
​Events
​Customers
Services
Solutions
SAP Analytics
SAP Data Migration
SAP Process Automation
SAP Data for AI and ML
​SAP Audit and Compliance
Company
About Us
Contact Us
Pricing
Free Trial

[email protected]
Get started
​Start Free Trial
View Pricing
Book a Demo
​DVW Analytics gives business users and technical teams direct access to SAP data from Alteryx, KNIME, Dataiku, Power BI, Databricks, Snowflake, and more. Trusted by 500+ enterprises worldwide.
© COPYRIGHT 2003 - 2026 DE VILLIERS WALTON LIMITED. ALL RIGHTS RESERVED.
Privacy Policy
Cookie Policy
De Villiers Walton Limited. Registered in England and Wales. Company No. 04638006. VAT No. GB 807714429. Registered Office:  Ground Floor Marlborough House, 298 Regents Park Road, London, N3 2SZ, United Kingdom

SAP 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. Alteryx is a registered trademark of Alteryx, Inc. KNIME is a registered trademark of KNIME AG. Dataiku is a registered trademark of Dataiku SAS. All other product, company, and brand names mentioned herein are the trademarks or registered trademarks of their respective owners and are used for identification purposes only.
  • Products
    • DVW Connectors for SAP >
      • Alteryx Connector
      • KNIME Connector
      • Dataiku Connector
    • DVW Flow Tool >
      • Flow Tool
      • DVW Flow Tool SAP Migration Landing
    • DVW RPA Tools for SAP >
      • Alteryx RPA Tools
      • KNIME RPA Tools
      • Flow Tool RPA Tools
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
    • SAP Audit and Compliance
  • Pricing
    • DVW Connectors for SAP >
      • Alteryx Connector
      • KNIME Connector
      • Dataiku Connector
    • DVW Flow Tool >
      • Flow Tool
    • DVW RPA Tools for SAP >
      • RPA Tools
  • Free Trial
  • Resources
    • Blog
    • SAP Data Models >
      • Finance and Controlling
      • Sales and Distribution
      • Inventory Management
      • Purchasing
      • Production Planning
      • Quality Management
      • Plant Maintenance
      • Warehouse Management
      • Human Capital Management
      • Project System
    • Webinars
    • Events
    • Demos and Recordings >
      • DVW Connectors for SAP >
        • Alteryx Connector
        • KNIME Connector
        • Dataiku Connector
      • DVW Flow Tool >
        • Flow Tool
      • DVW RPA Tools for SAP >
        • RPA Tools
    • About Us
    • Customers >
      • Johnson & Johnson
      • AGC
      • Brightstar
      • Vector Logistics
      • International Bank
      • KPMG
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows >
      • Alteryx
      • KNIME
      • Flow Tool
    • License
    • FAQ
  • Contact Us