Creating a Consumption Model

Consumption models are the basis to consume your data.

Prerequisites

To create consumption models, you must have a scoped role that grants you access to a space with the following privileges:
  • Data Warehouse General (-R------) - To access SAP Datasphere.

  • Data Warehouse Business Builder (CRUD----) - To create, edit, and delete Business Builder objects.

  • Data Warehouse Consumption Model (CRUD----) - To create, edit, and delete Business Builder consumption models.

  • Space Files (CRUD----) - To create, read, update, and delete objects in your spaces.

The DW Modeler role template, for example, grants these privileges. For more information, see Privileges and Permissions and Standard Roles Delivered with SAP Datasphere.

Analytical datasets, fact models or dimensions have already been defined.

Context

You build your consumption models on top of business entities or on top of fact models, which have some elements of the consumption model already predefined.

These consumption models focus on specific analytical requirements and enrich the model accordingly. As an example, this could mean setting measures and attributes from different fact and dimension sources or fact models into relation by defining context-dependent navigations to compose use case-specific consumption models.

For instance, if we consider the case of Controlling - Profitability Analysis (COPA) in a business context, it becomes clear that three fact sources storing the measures Actuals, Budget, and Forecast are connected to different dimension sources via associations (Material, Profit Center, SAP Mastercode, and Time). All four dimensions from the first level are connected to the three fact sources. Given that the link between the different business entities was already established, the information on Company Code is automatically available through the Profit Center dimension source.

As a result, the consumption model allows harmonized reporting on different measures and attributes of all the included fact and dimension sources. The object used for reporting is the perspective which is defined within the consumption model editor.

Procedure

  1. In the side navigation area, select (Business Builder), select a space if necessary, and select New Consumption Model to open the editor.
  2. Enter a title for your consumption model. Choose Step 2.
  3. Choose the fact source you want to use in your consumption model: you can choose analytical datasets or fact models. Choose Step 3.
  4. Define a Source Alias and choose Create. You are taken to the graphical representation of your model. At the center of the diagram, you can see your fact source.
  5. You can zoom into your fact source and add associated business entities for consumption by selecting your fact source and choosing (Show Source Graph) .

    If your consumption model contains just one fact source, you will see all associations from the selected fact by default.

  6. To add dimension sources, choose Add Dimension Sources and select your business entities. They then appear under Dimensions in the right half of the screen.

  7. Define the authorizations for the consupmption model. Go to the General tab and choose either Allow public data access or choose an auhtorization scenario.
  8. [optional] Select the package to which the object belongs.
    Packages are used to group related objects in order to facilitate their transport between tenants. For more information, see Creating Packages to Export.
    Perspectives are automatically assigned to the same package.
  9. Define the measures of your consumption model. More information: Define Measures
  10. Define the attibutes of your consumption model. More information: Define Attributes
  11. Define the filters for your consumption model. More information: Define Filters
  12. Define the perspectives for your consumption model. More information: Define Perspectives