SAP BW - Info cube

Preview:

Citation preview

INFO CUBE- Yasmin Banu A

INTRODUCTION

WHAT IS AN INFO CUBE? Info Cube is data storage area in which we

maintain data Info Cube is a set of relational tables that are

created according to the star schema An Info Cube can function as both a data

target and Info Provider Reports and analyses are based on Info Cubes A reporting user can define or execute queries

against an Info Cube Only Info Cubes physically contain data in the

database It is used to store summarized /

aggregated data for long periods of time

EXTENDED STAR SCHEMA: The benefits of star schema are slicing down,

easy understanding of data and performance increase

In extended star schema, “fact table” and “master data table”  is  connected  through SID (Surrogate ID)  table

In extended star schema , fact table and dimension table will be inside the cube

EXTENDED STAR SCHEMA (CONTD.):

Fact Table

Dimension Table

Dimension Table

Dimension Table

Dimension Table

SID Table

SID Table

SIDTable

SIDTable

Attribute Text Hierarchies

Attribute Text Hierarchies

Attribute

Text

Hierarchies

Attribute

Text

Hierarchies

INFO CUBES: Info Cube consists of one fact table to store key figure

values and can contain a maximum of 233 key figures It usually has a minimum of 4 dimensions and a

maximum of 16 dimensions Of these, 13 are customer created and 3 are SAP

supplied dimensions: Unit dimension table: - Created only if there is at

least one key figure of type amount or quantity

Data Package dimension table Time dimension table

Dimension tables do not contain the characteristics/characteristics values, but the corresponding SID keys/values

Each customer created dimension can have 248 characteristics Info Objects

TYPES OF INFO CUBES: Infocube is classified in to three types based on the

way of maintaining and distributing the data1) Standard Info Cube:

Used to maintain the data physically in the cube

Read only is possible2) Virtual Info Cube:

It does not maintain data physically in the cube

During the query execution it brings the data

from respective source system3) Real Time Info Cube:

Stores the data physically in the cube Read and Write are possible It is significantly used in planning the data

STEPS TO CREATE STANDARD INFO CUBE

STEPS TO CREATE STANDARD INFO CUBE : Step 1 : Firstly, we will create the Data

Source. Right click on the Application component and create Data Source

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 2 : Give the technical name, description

and data source data type. Then, click Continue

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 3 : In ‘General Info.’ tab, give short,

medium and long description for the Info Cube

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): In ‘extraction’ tab, give the path name,

header rows to be ignored, select the data format & data separator

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): In ‘Proposal’ tab, click on ‘Load example

data’

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Activate the data source, and choose

‘Preview’ tab. Click on “Read Preview Data”

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 4 : Create an Info Package to load the

data into PSA from flat file

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 5 : Give a description for the Info

package. Click Save button

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 6 : Click on ‘Start’ button in the

Schedule tab

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Monitor the data load

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 7 : Go to Info Providers, choose an Info

Area, right click and choose ‘Create Info Cube’

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Give Technical name and description for Info

Cube. Click create button

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 8 : Choose ‘Info Object Catalog’ and

select the respective Info object & put them under dimensions (which is in the right hand side of d screen). Check & Activate

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 9 : Create Transformation by right

clicking on the Info Cube

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Give the details like data source name as the

object type & data source name

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Link the data source fields to the info objects

in the data target. Check & Activate

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 10 : Create the Transformations by right

clicking on the DTP

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Click Continue

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Choose the Extraction mode as ‘Full’ in the

Extraction tab. Check & Activate

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): In the ‘Execute’ tab, click on Execute button

and monitor the records loaded to the info cube from PSA

STEPS TO CREATE STANDARD INFO CUBE (CONTD.): Step 11 : Once the data load is successful,

the info cube contents can be checked for data

THANK YOU

Recommended