Designing CompositeProvider Union and Join Nodes for Reporting (Part 2)
Preview · a free account unlocks the full lesson
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 sectionsHide sections
Visual overview
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.
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.