ERPClimb logoERPClimb
CompositeProvider
BW / Analyticsintermediate 6 min read

Designing CompositeProvider Union and Join Nodes for Reporting (Part 2)

Preview · a free account unlocks the full lesson

Key takeaway

Learn practical design decisions for building CompositeProvider union and join structures, mapping fields, and validating results before exposing the object to queries.

In this lessonShow sections

Visual overview

Designing CompositeProvider Union and Join Nodes for Reporting (Part 2) — learning sheetIn one line: Learn practical design decisions for building CompositeProvider union and join structures, mapping fields, and validating results before exposing the object to queries.ERPClimb.com / BW / LESSON 2/4 / LEARNING SHEETDesigning CompositeProvider Union and Join Nodes forReporting (Part 2)1 · IN ONE LINELearn practical design decisions for building CompositeProvider union and join structures,mapping fields, and validating results before exposing the object to queries.2 · KEY IDEAS EXPLAINED1Once the purpose of CompositeProvider is clear,the intermediate-level work is designing itcorrectly: choosing node types, mapping fields,handling key figure aggregation, and validatingoutput before BEx or SAC queries are built on top.2Design starts with identifying the reportingrequirement's grain - the lowest level of detailthe final report needs. If the requirement issales analysis by day, product, and customersegment, the modeler identifies whichInfoProviders supply which pieces: an InfoCube for…3Field mapping in a UNION node requires aligningsource fields to a common output field per targetcharacteristic or key figure. When sourceproviders have compatible but not identicalobjects, the modeler must confirm they're built onthe same InfoObject; if not, a transformation step…4For JOIN nodes, the join type decision iscritical. An INNER JOIN only returns combinationswhere both sides have matching keys - useful whenyou want facts strictly limited to master datathat exists, but dangerous if used for afact-to-attribute join, because any transaction…3 · DO · AVOIDBest practice!Common mistakeDefault to LEFT OUTER JOIN forfact-to-master-data joins unless completeness…Harmonize currency, unit of measure, andcharacteristic compatibility upstream in…Always run data preview and reconcile rowcounts and key figure totals against source…✕Choosing INNER JOIN by default and losingvalid transactional records tied to incomplete…✕Failing to harmonize currency or unit ofmeasure across unioned sources before…✕Skipping data preview validation anddiscovering row duplication or missing records…4 · IN A REAL PROJECTA manufacturing company needed a plant-level production reporting object combining a production order DSO(advanced) with a plant master InfoObject's navigational attributes for region and business unit. The teambuilt a CompositeProvider with a LEFT OUTER JOIN node so that production orders for newly created plants not…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Once the purpose of CompositeProvider is clear, the intermediate-level work is designing it correctly: choosing node types, mapping fields, handling key figure aggregation, and validating output before BEx or SAC queries are built on top.

Design starts with identifying the reporting requirement's grain - the lowest level of detail the final report needs. If the requirement is sales analysis by day, product, and customer segment, the modeler identifies which InfoProviders supply which pieces: an InfoCube for daily sales facts (product, customer, quantity, revenue) and a DataStore Object (advanced) holding customer master attributes including segment.

Because segment is an attribute, not a transactional fact, this becomes a JOIN scenario, not a UNION scenario. Two or more fact-level sources sharing the same structure (e.g., POS and e-commerce sales with identical characteristics and key figures) are UNION candidates.

Field mapping in a UNION node requires aligning source fields to a common output field per target characteristic or key figure. When source providers have compatible but not identical objects, the modeler must confirm they're built on the same InfoObject; if not, a transformation step upstream (in the DSO or InfoCube transformation) should harmonize them before they ever reach the CompositeProvider, since CompositeProvider mapping does not perform data type conversion or business logic transformation the way a BW transformation does.

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
  • 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.