ERPClimb logoERPClimb
BW Data Modeling
BW / Analyticsintermediate 6 min read

Designing Transformations and Data Flows Between BW Layers (Part 5)

Preview · a free account unlocks the full lesson

Key takeaway

Explains how to design transformations and DTPs to move and enrich data between BW modeling layers, covering rule types, routine usage, delta handling, and data flow design decisions.

In this lessonShow sections

Visual overview

Designing Transformations and Data Flows Between BW Layers (Part 5) — learning sheetIn one line: Explains how to design transformations and DTPs to move and enrich data between BW modeling layers, covering rule types, routine usage, delta handling, and data flow design decisions.ERPClimb.com / BW / LESSON 5/7 / LEARNING SHEETDesigning Transformations and Data Flows Between BW Layers(Part 5)1 · IN ONE LINEExplains how to design transformations and DTPs to move and enrich data between BW modelinglayers, covering rule types, routine usage, delta handling, and data flow design decisions.2 · KEY IDEAS EXPLAINED1Once the foundational objects—InfoObjects, ADSOs,and CompositeProviders—are modeled, the realengineering work in BW happens in transformationsand Data Transfer Processes (DTPs), which governhow data moves and is enriched as it progressesthrough the layered architecture. A transformation…2Transformation rule types range from simple tocomplex. A one-to-one direct assignment maps asource field straight to a target InfoObject withno logic. A constant rule hardcodes a value.Formula rules use BW's formula builder forcalculations like unit conversions or…3A critical intermediate-level skill isunderstanding delta handling. Extraction from manysource systems supports delta queues, meaning onlynew or changed records are transferred since thelast successful load. The DTP is configured fordelta extraction after an initial full load, and…4Data flow design decisions at this level include:where to place business logic (as far upstream asreasonable, to keep it reusable across multiplereporting targets, but not so far upstream thatraw source fidelity is lost), how to handle masterdata timing dependencies (loading master data…3 · DO · AVOIDBest practice!Common mistakeKeep transformation logic as reusable andupstream as feasible without sacrificing raw…Always sequence master data loads andactivation before dependent transactional…Use end routines for cross-record logic likededuplication or aggregation, not for simple…✕Placing complex business logic in a startroutine when it should be a reusable formula…✕Not accounting for delta initializationcorrectly, causing either missing historical…✕Loading transactional deltas before masterdata is activated, causing incorrect or blank…4 · IN A REAL PROJECTDuring a finance reporting rollout, duplicate billing line items appeared in the harmonization-layer ADSObecause the source system occasionally sent corrected duplicate records with the same document number but alater change timestamp. The consultant added an end routine to the transformation to retain only the latest…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Once the foundational objects—InfoObjects, ADSOs, and CompositeProviders—are modeled, the real engineering work in BW happens in transformations and Data Transfer Processes (DTPs), which govern how data moves and is enriched as it progresses through the layered architecture. A transformation defines field-to-field mapping and business rule logic between a source (DataSource, ADSO, InfoObject) and a target InfoProvider. A DTP then executes that transformation, controlling extraction mode (full or delta), filtering, and error handling at runtime.

Transformation rule types range from simple to complex. A one-to-one direct assignment maps a source field straight to a target InfoObject with no logic. A constant rule hardcodes a value. Formula rules use BW's formula builder for calculations like unit conversions or concatenations.

Routine rules (start routines, field-level routines, and end routines) allow ABAP code for complex logic—start routines operate on the entire source package before field mapping (useful for bulk lookups or filtering), field routines apply logic to a single field per record, and end routines operate on the complete result package after mapping, often used for aggregation, deduplication, or complex derivations requiring cross-record logic.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

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.