Creating A Model Using An Sap Bw Package - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

Results
Use the Data Source Viewer to view sample data and, for supported data sources,
the Cognos SQL or the native database SQL.

Creating a Model Using an SAP BW Package

SAP BW packages can be used to import fact data and dimensional data.
When creating your model use the Insert Dimension from Package wizard. This
wizard
v Creates a single query for each dimension and for the facts.
v Imports facts and dimensions in the same manner as dimensionally-modeled
relational models. That is, facts and dimensions are imported at the same time.
v Ensures that the scope is set properly between the dimensions and facts.
v Populates the dimension with the appropriate business key and caption
information.
v Imports only the necessary items from the BW package required for cube
building, when the metadata is imported.
This reduces the number of attributes and keeps the data volumes to only the
necessary items for cube building.
For information about preparing SAP queries and creating packages in Framework
Manager for use in Cognos Transformer, see Appendix E, "Guidelines for Working
with SAP BW Data for Use in Transformer," on page 339. For information about
creating an SAP package-based model, see "Creating a Model Using an SAP BW
Package."
Procedure
1. In Cognos Transformer, click Create a new model.
2. In the New Model Wizard, click Cancel.
3. With the Dimension Map pane selected, from the Edit menu, click Insert
Dimension from Package.
4. Click Browse to open the metadata browser.
5. In the Browse Metadata dialog box, select the package that contains your SAP
BW query and click OK.
6. In the Insert Dimension from Package dialog box, click Finish.
7. In the Select Dimension and Measures from Package dialog box, click the
dimensions and measures to include in the data source.
Select a query item that will provide the dates for the PowerCube. Note that
the dates for the PowerCube can be derived entirely from the transaction data.
8. If there are errors or warnings, you are notified. In the Data Sources pane,
expand the package to view the data source queries and query items. Key
figures or measures appear in the Measures pane.
Ensure that the aggregation rule for each measure is correctly defined within
Cognos Transformer to align as closely as possible with the aggregation rule
defined in SAP BW.
Set the storage type for all measures to 64-bit floating point.
Ensure that the leaf level of each dimension is marked as unique.
SAP BW presentation hierarchies may contain ragged paths, typically in
association with the "not assigned" and "#" nodes in the hierarchy. The gaps in
these hierarchies produce blanks at the associated level in the Cognos
Chapter 3. Data Sources for Your Model
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents