Académique Documents
Professionnel Documents
Culture Documents
PAGE: 27
03. Database
01. Presentation
Layer (Front End)
01. Presentation
Layer (Front End)
02. Application
Server
03. Database
03. Database
USR-01
USR-02
USR-03
SD
FI
APPLICATION LAYER
DATABASE
ORACLE-DB
SAP BI/BW
PAGE: 27
SAP BI/BW
PAGE: 27
SAP - SYSTEM
FI
CO
AM
PM
PP
BASIS
PS
ABAP/4
MM
BW
WF
SD
IS
HR
QM
DATA WAREHOUSING:
Data warehousing is a time variant, integrated, non-volatile, subjective collection of data
in support of management decision making process.
- William. H. Inmon {Father of Data Warehousing}.
SAP BI/BW
PAGE: 27
OLTP VS OLAP
OLAP
OLAP is optimized for
reporting
OLTP is normalized system
OLAP is de-normalized system.
OLTP is optimized for write
OLAP is optimized for Read
OLTP is used by operational
OLAP is used by Strategic or
management
Top level management.
OLTP has limited history
OLAP is having historical Data
OLTP holds very detailed data
OLAP holds summarized data
Number of users in OLTP is more
Number of users are Limited in
OLAP
OLTP is a real time
OLAP is near real time.
OLTP is read/write enabled
OLAP is read enabled
OLTP is independent data-mart OLAP is dependent data-mart.
SAP BW:
Today's decision makers urgently need accurate information and complete and up to
date picture of their business and their business environment.
However, that information is spread over a wide variety of platform and applications
throughout the corporate IT structure.
SAP Business Information Warehouse is a robust and forms the foundation of the SAP
business Intelligence Solution.
The reporting and analysis tools with SAP BI offer a easy way to gain access to the
unique information.
This can make obtaining vital facts and figures a complex and time consuming task.
BW DO?:
Staging.
Optimizing
Reporting.
SAP BI/BW
PAGE: 27
PRESENTATION SERVICE
META DATA
SERVICES
MODELING
MONITERING
TRANSPORTATION
BI CONTENT
META DATA
MANAGER
STOREAGE SERVICE
TRANSCATION
DOCUMENTATION
ETL SERVICE
META DATA
REPOSITORY
REPORTINT
AGENT
SAP BI/BW
PAGE: 27
MASTER DATA:
Describing an entity Attribute which describes an entity and have one to one or one to
many relationship.
DATA:
Data can be both Characteristic and Key figure.
1. Anything we analyzed is a Key figure.
2. Anything we analyzed on the basis is Characteristic.
CHARACTERISTIC:
Which is used n a facts for analysis.
Example: Customer number, Production number etc...
KEYFIGURE:
Which is being analyzed.
Example: Revenue, Price, Measure, Quantity, etc...
SAP BI/BW
PAGE: 27
FACT TABLE:
Each classical Star Schema is made of fact table containing facts (transactional).
The central fact table is connected relationally with the surrounding dimension tables via
unique key.
Fact table is highly normalized and master data is contained in dimension table.
Fact table can have maximum 16 characteristic as primary key.
Note: One fact table can hold many dimension tables. But one dimension table can be
assigned to only one fact table.
Example:
DAY_ID
05.12.2014
05.12.2014
CUSTMER_ID
DZS100
DZS200
MATERIAL_ID
M1001
M1002
SALES_VOLUME
5000
3000
QUANTITY
100
100
DIMENSION TABLE:
In the dimension table any number of symmetrically related dimension attributes are
stored. Dimension table holds Master Data.
Example: Customer dimension table.
CUSTMER_ID
DZS100
DZS200
1.
2.
3.
4.
CUSTOMER_NAME
DRED
SAM
CITY
BANGALORE
HYDERABAD
COUNTRY
INDIA
INDIA
FACT TABLE:
/BIC/F<IC_NAME{INFO_CUBE_NAME}>
1. Fact table is highly normalized.
2. Fact table contains transactional data.
3. Fact table can hold maximum of 16 dimensions.
4. Three are reserved for SAP and 13 are customer defined.
5. One fact table can hold a maximum of 233 key figures.
DIMENSION TABLE: /BIC/D<IC_NAME><1-9, A,B,C,D P,T,U>
1. Dimension table generate Dimension id's for every unique combination of SID's
2. One Dimension table can assign a maximum of 248 SID's.
3. Dimension table is a fact table dependent.
4. Customer defined: 13 dimensions.
5. SAP reserved are three
SAP BI/BW
P Table
T Table
U Table
SID TABLE:
PAGE: 27
Pocket Dimension
Time Dimension
Unit Dimension
/BIC/S<INFO_OBJECT>
SAP BI/BW
PAGE: 27
It holds 0LANG.
It has additional primary key describing:
Short text
0TXTSH
20 Char
Medium text
0TXTMD
40 Char
Long text
0TXTLG
60 Char
Hierarchy: It helps us to detect the organizational towards the fact table.
Technical Name: /BIC/H<INFO_OBJ_TECH_NAME>
SAP BI/BW
PAGE: 27
SAP BI/BW
PAGE: 27
Step: 01
Purpose:
1. How to load data into info cube using flat files?
2. How to define data flow in SAP BI?
3. How to define different metadata Objects in SAP BI?
4. Load data from Client Workstation.
5. Define full upload.
6. Define Additive Mechanism
7. Fixed currency/fixed unit.
Step: 02
Create a Source file.
DATE
0DATE
20141205
20141205
20141205
20141205
20141205
20141205
20141205
20141205
20141206
20141206
20141207
20141207
CUSTOME
R_NO
PCUS_NO
C_DZS_001
C_DZS_002
C_DZS_003
C_DZS_004
C_DZS_005
C_DZS_006
C_DZS_007
C_DZS_008
C_DZS_001
C_DZS_001
C_DZS_002
C_DZS_003
PRODUCT
_NO
PPRD_NO
PRD_001
PRD_001
PRD_001
PRD_001
PRD_002
PRD_002
PRD_002
PRD_003
PRD_003
PRD_001
PRD_001
PRD_001
PRODUCT
_TYPE
PPRD_TY
GOLD
GOLD
GOLD
GOLD
PERMIUM
PERMIUM
PERMIUM
PLATINUM
PLATINUM
PLATINUM
GOLD
GOLD
SALES_P
ERSON
PSAL_PR
SPER_001
SPER_001
SPER_001
SPER_002
SPER_002
SPER_002
SPER_002
SPER_001
SPER_001
SPER_001
SPER_002
SPER_002
QUANTITY
REVENUE
P_QNTY
100
200
80
630
522
36
15
45
89
25
10
89
P_REVU
15000
30000
12000
94500
78300
5400
2250
6750
13350
3750
1500
13350
SAP BI/BW
/n
/o
PAGE: 27
Under Modeling ---> Click on Source Systems ---> File ---> Right Click Create ---> Provide
logical Name, Source System Name and click on Green tick(continue).
NOTE: Do not create Source system all the time you upload a flat file. Once created we
can use the same for the rest of flat flies upload on the same system.
Step: 04
Creation of Info Objects.
Note: first create an Info Area( A folder like in SAP system - Logical Area)
SAP BI/BW
PAGE: 27
Under Modeling click on Info Objects---> Right click on top node and say Create Info Area
---> Provide Info Area Name(IA_PRJ_BW) ---> Long description as well ---> click continue.
Click on your above info area and say Create Info Object Catalog
Provide Info Object Catalog Name: CHAR_BW101 (Info Object Type: Char)
SAP BI/BW
PAGE: 27
Click on create.
Select your Info Object Catalog right click on Create Info Object.
SAP BI/BW
PAGE: 27
Provide the info object name as we have our flat file. click on Continue.
Provide correct data types and desired length and click on Activate button.
Repeat the same for all the Characteristic log for below. Activate every Info Object.
SAP BI/BW
LNG DESCRIPTION
Date
Customer Number
Product Number
Product Type
Sales Person
PAGE: 27
Once created you will see all your characteristic objects under your char log, as shown
below.
Now Create Key Figure Catalog same like above, by selecting Info Object type as key Fig
First activate and log and right click and create the key figures.
Select correct data type as per your data file and activate the as per below.
SAP BI/BW
PAGE: 27
Once completed your will see all your char/keyfig objects as below.
Step 05
SAP BI/BW
PAGE: 27
NOTE: A custom defined Application Component system will add prefix "Z" followed by
your application component name.
Step 06:
Create Data Source as per below
SAP BI/BW
PAGE: 27
Update the fields and observe the tab and update the fields as per below
Provide the path of your .csv file and provide the number of fields to be ignored.
Selecte the data format as .csv and provide "," comma separated in the first box.
SAP BI/BW
PAGE: 27
Provide the info object name what we have created and map with the external data
source.
This triggers data inside to your BW system. Once Info Objects are mapped click enter and
click on copy. Once done click on Activate button.
Step: 07
Select the data source which you just created and right click and create Info Package
which will
Trigger the data into PSA (Persistent Staging Area).
SAP BI/BW
PAGE: 27
SAP BI/BW
PAGE: 27
Step: 08
Create Info Cube.
Select your info Provide right click and create info cube.
SAP BI/BW
PAGE: 27
SAP BI/BW
PAGE: 27
Once you drag and drop all the objects you would see as below. Now check and activate
the
cube.
SAP BI/BW
PAGE: 27
Copy paste your data source which you created earlier. Click continue.
Once you click continue you will see as below. Map date to 0CALDAY and 0CALMONTH
Check the transformation and check & Activate. Once done right click and say
create Data transfer process. Check and activate.
On Execute tab page click on Execute. and click Yes, to see DTP monitor...
SAP BI/BW
PAGE: 27
SAP BI/BW
PAGE: 27