Data Extraction
PrepareMe
TellMe
5
India SAP CoE, Slide 2
ShowMe
LetMe
HelpMe
Data Extraction
PrepareMe
TellMe
5
India SAP CoE, Slide 3
ShowMe
LetMe
HelpMe
PrepareMe
In this course, we will cover 3 main sub-topics :
- Purpose
- Use
- Challenges
Purpose
This course demonstrates the various data extraction
methods.
Extraction Methods covered
Business Content Extraction from SAP R/3
LIS & LO Extraction from SAP R/3
CO-PA and FI-SL Extraction
Generic Extractors
Flat File Extraction
UD Connect, DB Connect, SOAP Based and Open Hub
Extraction
DataSource Enhancement
Use
In many organizations, data is fragmented and spread
across many databases and applications.
To be useful, data must be integrated, standardized,
synchronized, and enriched typically through ETL
(extraction, transformation, and loading) processes.
SAP BI provides a broad set of ETL capabilities that support
data extraction.
With the open interfaces of SAP BI, data can be loaded
from virtually any source and can handle the huge amounts
of transactional data typical of the enterprise landscape.
Thus extraction deals with extracting the data into the BW
system for analysing and reporting.
Challenges
To extract large volumes of data from SAP R/3 by defining
delta management
Modifying the already available Business content and
satisfying user needs
Integrating data from non SAP systems into BW
Data Extraction
PrepareMe
TellMe
5
India SAP CoE, Slide 8
ShowMe
ShowMe
LetMe
HelpMe
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
Process Flow
InfoCube
Update Rules
ODS
Order-Deliv.
Order
Delivery
Update Rules
Transfer Rules
PSA
PSA
Order
DataSource
extract
OLTP System Data
Data extract
India SAP CoE, Slide 10
Delivery
DataSource
Data extract
Data extract
Process Flow
The data flows from the OLTP system to the PSA tables
without any transformation.
If any transformation or filtration is required in the data it can
be done in the update rules and transfer rules.
Then the data is loaded in the data targets like ODS. An
ODS object acts as a storage location for consolidated and
cleaned-up transaction data.
The data from multiple ODS is then loaded into InfoCube
and thus available to generate reports.
In this example, Order and Delivery Data are extracted
separately, and populate separate PSA and ODS tables.
The data is then merged within the ODS to form a new
ODS object storing combined Order Delivery data. The
data then updates the InfoCube with Order Delivery data.
Types of Extractors
Types of Extractors
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 13
Types of Extractors
Extractors mainly are of two types:
Application Specific
Cross Application
Application Specific Extractors consist of
BI Content Extractors (LO Cockpit)
Customer Generated Extractors (CO-PA, FI-SL and LIS)
Cross Application Extractors consist of generic extractors
(based on Database table, Infoset and Function module)
Application Specific
BW Content
Extractors
FI
FI
HR
CO
SAP
SAP CRM
CRM
LO COCKPIT
Application
Specific DB Tables
India SAP CoE, Slide 15
Customer Generated
Extractors
Cross Application
Generic Extractors
LIS
DB View
Business Content Extractors:
FISL
Infoset
Application
Specific Extractors
that are activated when
COPA
Function Module
business content datasources
are transferred Various SAP DB
Application
tables
Specific DB Tables
Built in Extractors
High coverage (Applications and Industries)
Available for both Transaction and Master data
Ready to use
Reduce implementation Costs and efforts
Delta capable
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 18
LO Cockpit
Logistics Customizing Cockpit provides a simplified way to
extract logistics data and transfer it to SAP Business
Information Warehouse.
V1 and V2 Updates
V1 Update Synchronous Update
If you create/change a purchase order (me21n/me22n),
when you press 'SAVE' and see a success message (PO....
changed..), the update to underlying tables EKKO/EKPO
has happened (before you saw the message). This update
was executed in the V1 work process.
V2 Update Asynchronous Update
If you create/change a purchase order (me21n/me22n),
when you press 'SAVE' it takes few seconds to update to
underlying tables EKKO/EKPO depending on system load.
This update was executed in the V2 work process.
V3 Update has now replaced V1 and V2 updates.
Serialized V3 Update
Direct Delta
Queued Delta
Un-serialized V3 Update
Serialized V3 Update
R3 system
BW System
SM 13
Transaction
tables
Update
Tables
RSA7
Periodic
Job
BW Delta
queue
Delta Load
Staging
Engine
Serialized V3 Update
Transaction data is collected in the R/3 update table
Data in the update tables is transferred through a periodic
update process to BW Delta queue
Delta loads from BW retrieve the data from this BW Delta
queue
Transaction postings lead to:
Records in transaction tables and in update tables
A periodically scheduled job transfers these postings into the
BW delta queue
This BW Delta queue is read when a delta load is executed.
Direct Delta
R3 system
Transaction
tables
BW System
BW Delta
queue
Delta Load
Staging
Engine
Direct Delta
Each document posting is directly transferred into the BW
delta queue
Each document posting with delta extraction leads to
exactly one LUW in the respective BW delta queues
Transaction postings lead to:
Records in transaction tables and in update tables
A periodically scheduled job transfers these postings into the
BW delta queue
This BW Delta queue is read when a delta load is executed.
Queued Delta
R3 system
BW System
LBWQ
Transaction
tables
Extraction
queue
RSA7
Periodic
Job
BW Delta
queue
Delta Load
Staging
Engine
Queued Delta
Extraction data is collected for the affected application in an
extraction queue
Collective run as usual for transferring data into the BW
delta queue
Transaction postings lead to:
Records in transaction tables and in extraction queue
A periodically scheduled job transfers these postings into the
BW delta queue
This BW Delta queue is read when a delta load is executed.
Un-Serialized V3 Update
R3 system
BW System
SM 13
Transaction
tables
Update
Tables
RSA7
Periodic
Job
BW Delta
queue
Delta Load
Staging
Engine
Un-Serialized V3 Update
Extraction data for written as before into the update tables
with a V3 update module
V3 collective run transfers the data to BW Delta queue
In contrast to serialized V3, the data in the updating
collective run is without regard to sequence from the update
tables
Transaction postings lead to:
Records in transaction tables and in update table
A periodically scheduled job transfers these postings into the
BW delta queue
This BW Delta queue is read when a delta load is executed.
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 34
LIS Extraction
Types of Extractors
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 36
FI-SL Extractors
Types of Extractors
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 40
FI-SL Extractors
FI-SL is an application in which data (planned and actual)
from different levels of OLTP applications is combined to
measure business performance.
FI-SL includes planning functions and reporting tools. FI-SL
reporting in SAP R/3 is however restricted by the following :
Cross application reporting is not diverse
The OLTP system is optimized for transaction processing and
a high reporting workload would have a negative impact on
the overall performance of the system
CO-PA Extractors
Types of Extractors
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 44
CO-PA Extractors
Profitability Analysis (PA) is an integrated component in the
SAP R/3 system.
All of the data related to profitability from the other SAP R/3
applications is mapped in CO-PA in accordance with the
corresponding business transactions.
This allows you to transfer into CO-PA billing document data
from SD, cost object costs from CO-PC, and overall costs
from overall cost controlling.
CO-PA collects all of the OLTP data for calculating
contribution margins (sales, cost of sales, overhead costs)
CO-PA also has powerful reporting tools and planning
functions
CO-PA Extractors
CO-PA Extractors
During billing SD, revenues and payments are transferred to
profitability segments in Profitability Analysis. At the same time,
sales quantities are valuated using the standard cost of goods
manufactured, as specified in the cost component split from
CO-PC.
One of the typical questions that can be answered with CO-PA
module is what are the top products and customers in our
different divisions.
The wide variety of analysis and planning functions in CO-PA
allow you to plan, monitor and control the success of your
company in terms of product-oriented, customer-oriented and
organizational dimensions of multidimensional profitability
segments.
Generic Extractors
Types of Extractors
Application Specific
BW Content
Extractors
FI
FI
Cross Application
Customer Generated
Extractors
Generic Extractors
HR
CO
SAP
SAP CRM
CRM
LIS
DB View
FISL
Infoset
LO COCKPIT
COPA
Function Module
Application
Specific DB Tables
Various SAP DB
tables
Application
Specific DB Tables
India SAP CoE, Slide 48
Generic Extractors
Generic Extractors are Cross Application Extractors used in
scenarios where the other type of extractors are
unavailable.
Generic extractors are of three types:
Based on Database view/Table
Based on InfoSet
Based on Function Module
Generic Extractors
When should you use generic extractors?
Business Content does not contain a DataSource for
your application.
The application does not feature its own generic delta
extraction method
You are using your own programs in SAP R/3 to
populate the tables
The tools for generic data extraction can be used to
generate an extractor for all applications.
UD Connect Overview
With the help of the SAP Web AS J2EE connectivity, UD
Connect (Universal Data Connect) enables reporting and
analysis of both SAP and non-SAP data.
Using UD Connect, you can access just about all relational
and multi-dimensional data sources.
UD Connect transfers the data as flat data. Multidimensional data is converted to a flat format when UD
Connect is used.
UD Connect Overview
For the connection to DataSources (in BW), UD Connect
uses the J2EE Connector Architecture.
BI Java Connectors that are available for various drivers,
protocols and providers as resource adapters.
BI JDBC Connector
BI ODBO Connector
BI SAP Query Connector
BI XMLA Connector
DB Connect Overview
SAP BW
Foreign
Application
Unix
ORACLE
DataBase
Purchasing
DB-Connect
MS SQL
DataBase
NT
DB Connect Overview
A purchasing application runs on a legacy system based on
an ORACLE database.
To analyze the data from the purchasing application, the
data needs to be loaded into the BW System (possibly
installed on a different database, e.g. MS SQL-Server).
DB-Connect can be used to connect the DBMS of of the
purchasing application and extract data from tables or
views.
Datasource Enhancement
Data Extraction
PrepareMe
1
2
TellMe
ShowMe
LetMe
5
India SAP CoE, Slide 64
HelpMe
BI Content Extractors
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
In SAP R/3, go to
transaction Code SBIW
Display IMG
Business Content
DataSources Execute
Transfer Business
Content DataSources
Activate
datasources
Infocube
Update rules
Scheduler
screen
Monitor
Initialize the
delta process
LO Cockpit
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
BW Logs
(LBWF)
Delete set
up tables
(LBWG)
LO
customizing
cockpit lbwe
Perform set up
Application
wise
Activate
datasources
Maintain
extract
structure
Maintaining DataSources
Maintain
datasources
Maintaining DataSources :
Procedure
There exists a DataSource (for
e.g. 2LIS_11_VAITM) for each
extract structure that is made
available (for example,
MC11VA0ITM) in the OLTP
System.
A maintenance screen is
displayed in which you can to
assign other properties to the
fields of the extract structure
Selection fields
Hide fields
Cancellation fields
(field is inverted when
canceled (*-1))
Step 2 Replicating
DataSources
Step 3 - Maintaining
Communication Structure
Activate extract
structure
Step 8 - Initialization/Simulation
(OLI*BW)
Initializing ('build') the dataset for
the respective extract structures is
to be done before data can be
extracted from the R/3 System.
The initialization is set up in the
OLTP. The restructuring process
fills restructuring tables that are
read during the initialization.
It is recommended to carry this out
before, in the simulation mode. The
option of checking the extract
structure update, without actually
updating the data is available. The
results are recorded in a detailed
simulation log.
India SAP CoE, Slide 93
Give a name to
the job
V3 Update- Settings
Set up V3 update
Set the start time
and print
parameters.
Schedule batch
jobs
V3 Update Settings
In Start Date
Select
immediate
scheduling
FI-SL Extractors
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
FI-SL Extractors
After generating the FI-SL DataSource rest of the steps are
same as explained earlier.
Replicate the DataSource and then assign it to the
infosource.
Create transfer rules and update rules
Create InfoPackage and initialize the delta process
CO-PA Extractors
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
Select the
operating concern
Providing required
fields for selection
CO-PA Extractors
After generating the CO-PA DataSource rest of the steps
are same as explained earlier.
Replicate the DataSource and then assign it to the
infosource.
Create transfer rules and update rules
Create InfoPackage and initialize the delta process
Generic Extractors
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
7. Schedule InfoPackages
6. Create InfoPackage for texts
5. Create InfoPackage for Master Data
4. Assign InfoSource and maintain
communication structure and transfer rules
3. Replicate the Datasource in BW System
2. Create DataSources for texts
1. Create DataSources for Master Data (attr)
India SAP CoE, Slide 117
Only one
attribute can be
defined as delta
attribute
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
File in CSV
format
Data separator
India SAP CoE, Slide 128
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
Step 1 - Create a DB
Connect source
system
DB Connection : Give the name of
the connection.
DBMS : Enter the database type to
which you want to connect in this
field. (i.e. Oracle, DB2 etc)
Enter the username and password.
Conn. Info : This field contains the
technical information that is analyzed
in native SQL in the CONNECT
statement in order to open the
database connection. e.g. In Oracle
enter the name of the database you
want to connect
India SAP CoE, Slide 134
Step 2 - Generate
You use the context menu for a
DataSource
database Source System
Select Database Tables to
generate a DataSource for
database source systems.
DataSource Enhancement
BI Content Extractors
LO Cockpit
Datasource Enhancement
DB Connect, UD
Connect and SOAP
based
FI-SL Extractors
Flat File Extraction
CO-PA Extractors
Generic Extractors
Data Extraction
PrepareMe
TellMe
2
3
ShowMe
LetMe
5
India SAP CoE, Slide 145
HelpMe
BI Content Extraction
In the Source system go to transaction RSA5, activate the
DataSource 2LIS_11_VAITM.
Go to BI Content select the grouping as data flow before
and install the InfoSource 2LIS_11_VAITM.
Now replicate the DataSource in BW and assign it to the
InfoSource and maintain transfer rules
Create an ODS and update rules
Create the InfoPackage and load the ODS
LO Cockpit
Go to transaction SBIW. Check out the various options to
delete and fill the set up tables and simulate the batch jobs
Go to transaction LBWE, check the option to maintain the
datasources and to activate them as well as to simulate the
V3 update
Transactions
RSA1
Administrator Workbench
RRMX
RSO2
RSA3
Extractor Checker
RSA7
RSA6
Maintain Datasources
RSQ02
Maintain InfoSets
RSBOH1
Transactions
RSMO
Monitoring
SBIW
BW Config.
OLI*BW
Statistical Setup
SM50
Process Overview
RSA5
RSA6
LBWE
Logistics Cockpit
LBWG
LBWF
BW Log
SM37
Job Overview
KEB0
Course Name
PrepareMe
TellMe
2
3
ShowMe
LetMe
5
India SAP CoE, Slide 151
HelpMe