You are on page 1of 21

SAP BW Data Source & Source System

Confidential

Content

1.
1. Introduction
Introduction of
of Source
Source System
System and
and Data
Data Source
Source

2.
2. Data
Data Source
Source from
from SAP
SAP R/3
R/3 Source
Source System
System

3.
3. Other
Other Source
Source System
System Data
Data Source
Source

Confidential

Content

1.
1. Introduction
Introduction of
of Source
Source System
System and
and Data
Data Source
Source
2. Data Source from SAP R/3 Source System
3. Other Source System Data Source

Confidential

1.1 Data flow in SAP BW

Standard Common Data flow in SAP BW

Info Cube
Info Cube
DSO
DSO

Info
Source
Info
Source
Source
System
Source
System

Page 4

Confidential

1.2 Introduction of Source System

A source system is a protocol that BW uses to find and extract


data.

When the source system is a non-SAP system, such as a flat


file or a third-party tool, the maximum number of characters
allowed for the technical name is 10.

When the source system is an SAP system, either R/3 or BW,


the technical name matches the logical system name. The
maximum number of characters allowed for the technical
name is 32.

Page 5

Confidential

1.3 Introduction of Data Source

A Data Source is not only a structure in which source system


fields are logically grouped together, but also an object that
contains ETTL-related information. Four types of Data Sources
exist:

Page 6

Data
Data
Data
Data

Sources
Sources
Sources
Sources

for
for
for
for

transaction data
characteristic attributes
characteristic texts
characteristic hierarchies

If the source system is R/3, replicating Data Sources from a


source system will create identical Data Source structures in
the BW system. The maximum number of characters allowed
for a Data Source's technical name is 32.

Confidential

Content

1. Introduction of Source System and Data Source

2.
2. Data
Data Source
Source from
from SAP
SAP R/3
R/3 Source
Source System
System
3. Other Source System Data Source

Confidential

2.1 Standard Content SAP R/3 Data Source

Determine what data source we should use for the implementation.

Run tcode RSA5 in SAP R/3 system to activate the standard


content data source.

Run tcode RSA3 in SAP R/3 to check the result of data source
extraction.

Page 8

Confidential

2.1 Standard Content SAP R/3 Data Source

Page 9

Confidential

2.1 Standard Content SAP R/3 Data Source

Page 10

Confidential

2.2 Enhancing Standard Data Source

We can still add more information which is not provided by


standard object in SAP BW or Data source in SAP R/3. We call
this as an Enhancement.

What actually we enhance in data source?


We gather the information which is not provided by standard data source based on
the information we have in the standard data source.

How we enhance the Data source?


Firstly, we add necessary field needed for reporting in the structure of data source
in R/3. (t-code RSA6)
Secondly we enhance it using exit routine (t-code CMOD)

Page 11

Confidential

2.2 Enhancing Standard Data Source

T-code RSA 6 to add field in structure data source


Click this
button to add
field in data
source
structure

Select data
source needed
to enhance

Page 12

Confidential

2.2 Enhancing Standard Data Source

Page 13

Enhance the exit routine for the data source will be in t-code CMOD

Confidential

2.2 Enhancing Standard Data Source

Enhance the exit routine for the data source will be in t-code CMOD

EXIT_SAPLRSAP_001 for transaction data source


EXIT_SAPLRSAP_002 for master data attribute data source
EXIT_SAPLRSAP_003 for Master data Text data source
EXIT_SAPLRSAP_004 for hierarchy data source

Page 14

Confidential

2.2 Generic Data Source

Generic Data Source is needed when:


When information available in SAP R/3 but not in standard content
When we have non standard table need to be analyzed in SAP BW

Generic Data Source can be develop using:


Standard Table
View
Query
Function Module

Enhancement Generic Data Source is also possible.

Generic Data Source can be divided into 3 type of data source:


Master Data Text
Master Data Attribute
Transaction

Page 15

Confidential

2.2 Generic Data Source

Step by step guide for generate generic data source


Gather the information from where the data should be extract
Decided which source data we are going to be used ( view, table, or function
module )
Run tcode RSO2 to create a data source.
Test the data source using tcode RSA3.
Generic data source can be seen in tcode RSA6 ( same with standard data source )

Page 16

Confidential

2.2 Generic Data Source

Page 17

Tcode RSO2 to create and maintain generic datasource

Confidential

2.2 Generic Data Source

Page 18

Tcode RSO2 to create and maintain generic Data Source

Confidential

2.2 Generic Data Source

Page 19

Tcode RSA6 (generic Data Source)

Confidential

Content

1. Introduction of Source System and Data Source


2. Data Source from SAP R/3 Source System

3.
3. Other
Other Source
Source System
System Data
Data Source
Source

20

Confidential

Content

Any Questions ?

21

Confidential