ETL and SAP Data Services — SAP Guided Tutorial
Free sample lesson · open to everyone
Using an ETL layer such as SAP Data Services between legacy sources and the Migration Cockpit staging tables: profiling, cleansing, deduplication, harmonising codes and producing repeatable, auditable loads.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
In a merger migration, two ERPs used different unit codes for the same packaging. Without harmonisation, products were created twice. An ETL mapping table for units, owned by the product data team, and a match rule on manufacturer part number reduced 9,000 duplicate products to zero.
Explanation
An ETL layer sits between legacy sources and the Migration Cockpit's staging tables, extracting from one or many systems, transforming and cleansing the data, then loading it into staging.
It earns its place once volumes are large or there is more than one legacy source: multiple systems almost always use different code lists for the same concept — units of measure, country codes, payment terms — and those have to be harmonised before the data can be loaded as one consistent object.
Manual spreadsheet steps between extraction and staging cannot be repeated reliably at cutover, which is precisely when repeatability matters most.
Profiling comes first: measure null rates, value patterns and distributions on each field before writing a single cleansing rule, so decisions are based on what the data actually looks like rather than assumptions. Deduplication uses match rules — the same name and address, or the same tax number — to find records that are really one entity recorded twice.
Results of profiling and matching should go back to the business data owners for a decision; silently "fixing" data without their sign-off creates cleansing rules nobody agreed to and that the business will later dispute.
Transformation applies value-mapping tables — owned by the business and versioned per mock, since mappings tend to change between mock loads as gaps are found — and derives fields such as search terms or tax categories, with the derivation logic documented so it can be explained later. Records that fail validation rules are rejected into error tables with a reason, rather than silently dropped or force-fitted.
Loading writes into the staging tables in the target HANA schema, and every run should log control totals: how many records were extracted, how many were rejected (with reasons), and how many were loaded. These three numbers should always add up, and when they don't, that discrepancy is the first sign something in the pipeline silently dropped records.
The same job versions used in the final mock should be the ones used at cutover — a last-minute "quick fix" to a transformation that was never tested in a mock is a common source of cutover-weekend surprises.
Watch out
Common mistakes
Relying on manual spreadsheet steps between extraction and loading into staging: these cannot be repeated reliably at the volume and speed cutover requires, and small manual edits are rarely documented, so nobody can explain afterward why a value changed.
Cleansing data silently, without the business data owner's approval: even a well-intentioned fix becomes a dispute later if the business never agreed to it, especially when it affects something like a customer's tax classification or payment terms.
Letting mapping tables change between mocks without version control: a mapping that was correct in mock 1 but silently edited before mock 2 makes it impossible to tell whether an improvement in error rates came from the mapping fix or from something else.
Having no control totals on a run: without extracted, rejected and loaded counts that are checked to add up, records can go missing in the pipeline without anyone noticing until reconciliation — or worse, until after go-live.
Do this
Best practices
Automate the full pipeline end to end, from extraction through transformation to the staging tables — any manual step in between is a step that will not survive the pressure of a real cutover.
Version both the ETL jobs and the mapping tables with every mock load, so a change in results between mocks can always be traced to a specific, dated change in logic or mapping rather than guessed at.
Publish rejected records and their rejection reasons back to the data owners after every run, rather than fixing or hiding them centrally — the owner is the only one who can say whether a reject is a real data problem or a rule that needs adjusting.
In the interview
Interview angle
A strong answer explains why ETL is needed at all — harmonising codes across multiple legacy systems, handling volumes XML templates can't, and making loads repeatable — rather than treating it as "just another way to get data in." It also covers profiling before cleansing, match-rule-based deduplication, versioned mapping tables owned by the business, and control totals (extracted, rejected, loaded) that must reconcile on every run.
A weak answer can name SAP Data Services as a tool but can't explain how profiling, mapping ownership, and control totals combine to make a load auditable and repeatable at cutover.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 4 questions attempted
Question 1 of 4
What is the main benefit of an ETL layer in a multi-source migration?
Question 2 of 4
Which control totals should each ETL run report?
Question 3 of 4
Who should own value mapping tables (e.g. payment terms)?
Question 4 of 4
Why avoid manual spreadsheet steps between extraction and staging?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How would you design an ETL pipeline for an S/4HANA migration with three legacy sources?
2How do you handle duplicates found during migration profiling?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.