What Is an Infocube in SAP BI/BW? How To Create One?

โšก Smart Summary

An InfoCube in SAP BW is a self-contained multidimensional dataset built on the extended star schema, storing fact-table key figures surrounded by dimension tables, and serving as both a data target and an InfoProvider for reporting.

  • ๐ŸงŠ InfoCube: A self-contained multidimensional dataset used as a data target and InfoProvider.
  • โญ Extended Star Schema: A central fact table is surrounded by 16 dimension tables with master data outside.
  • ๐Ÿ“ 16 Dimensions: BW allows 16 dimensions, three predefined, each holding up to 248 characteristics.
  • ๐Ÿ“Š Aggregated Data: InfoCubes store summarized data for long periods to support fast queries.
  • ๐Ÿ—ƒ๏ธ Three Types: Standard, virtual, and real-time InfoCubes differ in how data is maintained.
  • ๐Ÿค– AI Assistance: AI and SAP HANA optimize InfoCube models for large-scale analytics.

What is an InfoCube in SAP BI/BW

What is an InfoCube?

An InfoCube is a data storage area in which we maintain data extracted from the source system physically. An InfoCube can function as both a data target and an InfoProvider. From a reporting point of view, an InfoCube can be described as a self-contained dataset.

For example, a Sales Amount InfoCube with dimensions such as MONTH, PRODUCT, CUSTOMER, and REGION can be viewed by any of the axes, for example total sales by region or by customer. The dimensions of an InfoCube are entities or hierarchies.

InfoCube

BIW (Business Intelligence Warehouse) provides the facility to define 16 dimensions, out of which 3 are predefined.

InfoCube

The above cube demonstrates a simple three-dimensional cube. Each dimension can hold 248 characteristics for analysis. One square in the cube represents the relative value for the corresponding customer/region/division combination.

InfoCube Structure

  • An InfoCube follows the extended star schema.
  • It has a fact table at the center, surrounded by 16 dimension tables, with master data lying outside the cube.
  • InfoCubes are the central multidimensional data model in BI.
  • It is a self-enclosed data set encompassing one or more related business processes. A reporting user can define or execute queries against an InfoCube.
  • It stores summarized or aggregated data for long periods. An InfoCube consists of precisely one fact table surrounded by dimension tables.
  • SAP-delivered InfoCubes begin with a number, usually 0. Your own InfoCube should begin with a letter from A to Z and be 3 to 9 characters in length.

Types of InfoCube

An InfoCube is classified into three types based on the way of maintaining and distributing the data.

  • Standard InfoCube: maintains the data physically in the cube. Read-only is possible.
  • Virtual InfoCube: does not maintain data physically in the cube. During query execution, it brings the data from the respective source system.
  • Real-Time InfoCube: stores the data physically in the cube. Read and write are possible. It is significantly used in planning the data.

How to Create a Standard InfoCube

Step 1) Create InfoCube.

  1. Go to transaction code RSA1.
  2. Click the OK button.

Create Standard InfoCube

Step 2)

  1. Navigate to the Modeling tab -> InfoProvider.
  2. Right click on InfoArea.
  3. Click on “Create InfoCube” from the context menu.

Create Standard InfoCube

Create Standard InfoCube

Step 3)

  1. Enter the Technical Name.
  2. Enter the Description.
  3. Choose the option button “Standard InfoCube”.

Click the Create button.

Create Standard InfoCube

Step 4) Right click on Dimension 1 -> Properties.

Create Standard InfoCube

Step 5) Rename the dimension as per the InfoObject information.

Create Standard InfoCube

Step 6) Right click on the Dimension -> InfoObject Direct Input to insert InfoObjects into the dimension.

Create Standard InfoCube

Step 7) Select Characteristics.

Create Standard InfoCube

Step 8) Select Airline ID in characteristics.

Create Standard InfoCube

Drag and drop it into the dimension.

Create Standard InfoCube

Step 9) Similarly, create new dimensions and follow steps 4-8 to add the InfoObjects.

Create Standard InfoCube

Step 10) Add key figure InfoObjects to the InfoCube.

Create Standard InfoCube

Step 11) Follow the process above to add more key figures.

Create Standard InfoCube

Step 12) Activate the InfoCube.

Create Standard InfoCube

InfoCube Additional Points

The technical name of the dimension table is assigned by the system using the pattern /BIC/D<your InfoCube>#, where the first # is 1, the second 2, and so on. For a SAP-delivered cube, it begins with /BI0/D.

Characteristic InfoObjects can be freely added to customer-created dimensions. Dimension tables should be used optimally. Ensure optimum cardinality while adding characteristic InfoObjects to dimensions. For example, a departmental store has 10,000 customers and 1,000 different materials; the cardinality is m:n, which means each customer can buy many materials. Such cardinality should not be maintained in the same dimension table.

Thumb rule: avoid m:n within a dimension.

Best Practices

  • Use a standard InfoCube to facilitate multidimensional analysis.
  • Use it to store summarized or aggregated information with a large volume of data.
  • Use a line-item dimension if only one object is placed in a dimension table.
  • Bring character information through navigational attributes where appropriate.

Points to Avoid

  • Do not group m:n cardinality within the same dimension.
  • Do not maintain high-cardinality information in a dimension table without a line-item dimension.

FAQs

An InfoCube stores summarized, aggregated data on the extended star schema and is additive, which suits fast multidimensional reporting. A DSO stores detailed, document-level data in transparent tables and can overwrite values. DSOs often feed InfoCubes.

Of the 16 dimensions, SAP predefines three: the Time dimension, the Unit dimension, and the Data Package dimension. The remaining 13 are available for your own characteristics, grouped to keep dimension tables small and efficient.

A line-item, or high-cardinality, dimension holds a single characteristic with very many distinct values, such as document number. SAP links the SID table directly to the fact table, avoiding a large dimension table and improving load and query speed.

Yes. SAP HANA and machine learning analyze query patterns to recommend aggregates, partitioning, and dimension design. The SAP Joule AI copilot can explain modeling choices, helping consultants build efficient InfoCubes faster.

Machine learning reads the clean, aggregated InfoCube data to train forecasting and anomaly-detection models. In SAP Analytics Cloud, AI uses the cube dimensions and key figures to auto-generate charts and answer natural-language questions.

Summarize this post with: