SAP BW 7.3 Learning Material-Basics: - Kiran Kumar Chikati Emp Id: 285671
SAP BW 7.3 Learning Material-Basics: - Kiran Kumar Chikati Emp Id: 285671
3 Learning Material-
Basics
BW 7.01
BW 7.0
BW3.5
BW3.1C
BW3.0B
BW3.0A
BW2.1C
BW2.0B
BW2.0A
BW1.0B
BW1.0A
Terms in BW
Source System:
System that makes the Business Intelligence available for data
extraction.
Data Source:
Data that logically belongs together is stored in the SAP (R/3)
Source System in the form of Data Sources.
Info Source:
Data that logically belongs together is stored in the SAP (BW)
System in the form of Info Sources.
An Info Source contains a number of Info Objects which structure
the information needed to create Info Cubes / DSO Objects in the
SAP (BW) System.
Terms in BW
Persistent Staging Area (PSA):
Stores data in original format while being imported from the source
system. PSA allows for quality check before the data are loaded into
their destinations.
Transformations:
The transformation process allows you to consolidate, cleanse, and
integrate data. When you load data from one BW object into a further BW
object, the data is passed through a transformation. A transformation
converts the fields of the source into the format of the target.
Data Transfer Process (DTP):
Data transfer process (DTP) is used to transfer data within BW from one
persistent object to another object.
Infopackage :
Infopackage is used to load data from source system to persistent
staging area of SAP BW.
InfoProviders
Info Object:
Info Objects are the basic information providers of BW. They
structure the information needed to create Info Cubes /DSO/SPO
Objects.
InfoObjects can be classified into the following types:
Characteristics:
Characteristics are Business reference objects used to analyze key
figures.
Examples of characteristics InfoObjects:
Cost center (0COSTCENTER)
Material(0MATERIAL)
InfoProviders
Keyfigures:
Key figures provide the values to be evaluated. They are numeric information that is
reported in the query.
Examples of key figure InfoObjects:
Quantity (0QUANTITY)
Amount (0AMOUNT)
Units:
Units are paired with Key figure values . They provide assign a unit of measurement to a
Key Figure Value. For instance 10 Kg where 10 is the KeyFigure and Kg is the unit
Other Examples of Unit Characteristics:
Currency unit (0CURRENCY) (Holds the currency type of the transaction e.g. $, EUR,
USD...)
Value unit (0UNIT) (or) unit of measure (Hold the unit of measure e.g. Gallon, Inch, cm,
PC)
Time Characteristic:
The data in DSO objects is stored in transparent, flat database tables unlike
multi-
dimensional data storage in cubes.
The cumulative update of key figures is supported for DSO objects, just as it
is with
InfoCubes, but with DSO objects it is also possible to overwrite data fields.
InfoProviders
Types of Data Store Object (DSO):
InfoCube:
An InfoCube is a quantity of relational tables that are created according to
the star schema: a large fact table in the center, with several dimension
tables surrounding it.
Types of Infocube:
There are 2 types of Info cubes
Basic InfoCube
RemoteCube or Virtual InfoCube
InfoProviders
InfoCube:
The central objects upon which reports and analyses in BW are based, are called
InfoCubes.
An InfoCube is a multidimensional data structure.
An InfoCube is a set of relational tables that contains Info Objects.
An InfoCube consists of a Fact Table and a set of n Dimension Tables
In Star Schema model, Fact table is surrounded by dimensional tables. Fact table is usually very large,
that means it contains millions to billions of records. On the other hand dimensional tables are very
small. Hence they contain a few thousands to few million records. In practice, Fact table holds
transactional data and dimensional table holds master data.
The dimensional tables are specific to a fact table. This means that dimensional tables are not shared
to across other fact tables. When other fact table such as a product needs the same product dimension
data another dimension table that is specific to a new fact table is needed.
This situation creates data management problems such as master data redundancy because the very
same product is duplicated in several dimensional tables instead of sharing from one single master
data table. This problem can be solved in extended star schema.
Extended Star Schema
In Extended Star Schema, under the BW star schema model, the dimension table does not contain
master data. But it is stored externally in the master data tables (texts, attributes, hierarchies).
The characteristic in the dimensional table points to the relevant master data by the use of SID table.
The SID table points to characteristics attribute texts and hierarchies.
This multistep navigational task adds extra overhead when executing a query. However the benefit of
this model is that all fact tables (info cubes) share common master data tables between several info
cubes.
Moreover the SID table concept allows users to implement multi languages and multi hierarchy OLAP
environments. And also it supports slowly changing dimension.
R/3 Data Source:
Lo Extraction:
Logistics refers to the process of getting a product or
service to its desired location upon request which involves
transportation, purchasing, warehousing etc.
Main areas in logistics are:
Sales and Distribution (SD) : application 11, 13, 08 (in
LBWE T-code)
Materials Management (MM) : application 03, 02
Logistics Execution (LE) : application 12
Quality Management : application 05
Plant Maintenance (PM) : application 04, 17
Customer Service (CS) : application 18
Project System (PS) : application 20
SAP Retail : application 40,43,44,45
Generic Extractor:
What is it?
Once a new entry is posted or an existing posting
is changed at R/3 side, an after image shows the
status after the change, a before image shows
the status before the change with a negative sign
and the reverse image shows the negative sign
next to the record while indicating it for deletion.
What update type (for key figures) it supports?
Addition
Overwrite
Does it support loading to both info cube and DSO?
YES
Example of ABR Delta Process:
Let us consider a scenario to demonstrate the ABR Delta
Process.
Since it can be used for both Infocube and DSO, let
us consider a scenario where in the loading happens
directly to DSO, with the advantage that we can track
the record changes in change log table for the DSO.
In our case, the DSO is set to additive mode so that
the data source sends both before and after image.
Incase if it is set to overwrite, it sends only after
image.
Let us check the new entry in DSO.
As shown below (Figure 3), the recordmode has the
value N (New entry), indicating that this record is a
new one.
Here, the CRM Gross Weight (CRM_GWEIGH) field has the
initial value 4,093.
Next, the value of CRM gross weight (CRM_GWEIGH)
is changed to 5,360 in the source system.
In order to reflect this change, the data source will
send two entries to BI: One is before image with
negative sign to nullify the initial value (Figure 4).
Let us consider the example given above. The initial load to the
target DSO is as shown in Figure 7.
Upon activation, the after image goes to active table (Figure 9).
ADD: Additive Delta Process
What is it?
Once a new entry is posted or an existing posting is changed
at R/3 side, an additive image shows the difference between
the numeric values.
What update type (for key figures) it supports?
Addition Only
Web Reports
Workbook
Query
Multi Provider
DSO
Transformations/DTP
InfoSource
Customer
Info Object Order quantity
Extractor
Its BW Layered Scalable Architecture (LSA)architecture
Data Acquisition Layer
The Acquisition Layer is the Inbox of the Data Warehouse:
Fast inbound & outbound flow of data to targets
Accepts data from extraction with as little overhead as possible no early checks, merges,
transformations (1:1)
Adds additional information to each record, like origin (source system), load time, origin
organizational data (like company code). This makes standardized administration and
addressing of all records possible
Provides abstraction of Data Warehouse from sources of data
Provides short term history of extracted data for immediate/short term data inspection
Harmonization and Quality Layer
The data is passed from the Acquisition Layer to the Harmonization and Quality Layer,
which is responsible for transforming the extracted data in accordance with common
semantics and values. The final result is stored in Propagation Layer Data Store objects.
What happens in this layer depends largely on the quality and integration level of the
extracted data. There is often no explicit data storage in this layer. This is especially true
with data flows that receive data from SAP Data Sources, as the data derived from the SAP
sources is frequently already in good shape.
Please note: No business scenario-driven transformation are allowed here. This would
reduce or prevent the reusability of the data in the Propagation Layer.
Data Propagation Layer
The Data Propagation Layer offers persistent data (stored in Data Store objects), which is
compliant with the defined company quality, integration and unification standards. The
Data Propagation Layer meets the extract once deploy many and single version of truth
requirements (reusability).
Business Transformation Layer
The data mart related layers get their data from the Data Propagation Layer. All business
related requirements are modelled in these layers.
In the Business Transformation Layer, data transformations take place, which serve to fulfil
the Data Mart scope. Dedicated Data Store objects in the Business Transformation Layer
might be necessary if we have to join or merge data from various Propagator Layer Data
Store objects.
Please note: Only apply business transformation rules on reusable Propagation Layer Data
Store Objects.
Reporting layer
As the name implies, the Reporting layer contains the reporting related Info Providers
(Architected Data Marts). The Reporting Layer Objects can be implemented as Info Cubes
with or without BW Accelerator or sometimes as Data Store Objects.
Virtualization Layer
To ensure greater flexibility, the queries should always be defined on a MultiProvider.
Queries Please