Académique Documents
Professionnel Documents
Culture Documents
4/20/15
1
Agenda
data
data
data
data
data
via
via
via
via
via
Import
Import
Import
Import
Import
Direct Load
Delta Load
Microsoft Confidential
Tables.
Views and Functions.
Segments.
hierarchies.
Files.
SAP provided the New Version of BODI i.e. BODS (Business Object Data Services).
Business Object data services is more compatible to use the SAP ECC or SAP R/3 system as a source.
SAP Business Objects Data Services delivers a powerful, enterprise-class data integration and data
quality solution. It provides one development, run-time, and management environment that allows you
to integrate, transform, improve, and deliver data anywhere, at any frequency.
Business Objects Data Services application offers a number of pre-defined transformations and
functional objects that allow modeling of the ETL flows.
Business Objects Data Services Offers an Easy-to-Use Interface and Drag-and-Drop Development.
Microsoft Confidential
4/20/15 3
First of all, Install the BODS with all components like SAP ERP and R/3 ABAP interface, JobServe, Web
Administrator, Repository's.
Create the New Datastore for source system connection .
Datastores represent connections between Data Services and databases or applications.
To create connection from data base to source and Target, BODS requires name of Database,
password and user name which is depicted in below screen short .
Use SAPGUI parameters like hostname, system number, user etc. into the properties of a datastore .
Microsoft Confidential
4/20/15 4
Business Object Data Services uses Data store for extracting data from SAP R/3 sources.
Data Services connects to the SAP ERP or R/3 application server through
remote function call (RFC).
Defining the name of SAP R/3 datastore.
In Datastore type Combo box select SAP R/3 Source. To specify the datastore connection path to the
database.
Use SAPGUI information to create the BODS datastore to representing the SAP system .
Fill exactly the same values for username, password, hostname, etc. that have mentioned in the
SAPGUI Interface.
In R/3 application server field, type the name of the remote SAP R/3 application computer (host) to
which Data Services connects.
Enter the user name and password for the SAP system.
Now Business objects Data Services(BODS) create connection with SAP R/3 database.
Microsoft Confidential
The SAP ERP or R/3 application server executes the ABAP code.
SAP ERP or R/3 server transfers the data directly to the Local directory.
Microsoft Confidential
4/20/15 6
BODS can use, Datastore, Tables ,Functions, hierarchies and Views as a source of SAP ECC System.
BODS imports the Datastore, Tables , Functions, hierarchies and View by using there Name.
We Imports Datastore ,Tables , Functions, hierarchies and Views into Data Services using an SAP R/3
datastore connection.
Microsoft Confidential
Business Object Data Integrator uses Datastore to Extract data and in turn Datastore uses ODBC
connection to create link between Source database and BODI .
Datastore can create connection from different database like
( IBM DB2, Informix, Microsoft SQL Server, Oracle, Sybase and Teradata databases )
BODI extract s data in Table Format and File Format .
File format should be FLAT FILE,XLS FILE,XML FILE.
Microsoft Confidential
4/20/15 8
To store data in target data base, BODI uses Datastore ODBC connection .
Data Integrator pushes down data in Table format or File Format.
BODI perform only INSERT and UPDATE on the target.
Microsoft Confidential
9
4/20/15
4/20/15 9
Microsoft Confidential
10
4/20/15 10
4/20/15
BODS can extract the data from multiple tables or views at the same time.
Data Services have High availability and use parallel processing to deliver high data
throughput and scalability
When Data Services jobs are executed, the Job Server starts Data Services
engine processes to perform data extraction, transformation, and movement.
Data Services engine processes use parallel processing.
Microsoft Confidential
Microsoft Confidential
4/20/15
12
Extractors internally are something completely different, but it is look and feel very much like SAP
tables.
Datastore has a new node for Extractors.
Click the plus sign (+) next to the datastore that contains the different template.
Click the plus sign (+) next to Template Extractors that get a list of all Extractors .
The other difference for Delta Extractors is the filter condition cannot be dynamically set by a query
of a dataflow.
In Extractor Instance does not need to use the delta in BODS but then the filtering should happen
already inside the SAP system.
Microsoft Confidential
4/20/15
13
Microsoft Confidential
4/20/15
4/20/15 14
Microsoft Confidential
4/20/15
4/20/15 15
Direct Load
Delta Load
Microsoft Confidential
4/20/15 16
Direct Load
Fetch the data from source and Load same into the target
Microsoft Confidential
4/20/15 17
Delta Load
Fetch the data from source and then compare the data set with the target data set and load the
new/changed insertions in the target. In delta load we filter data through Where clause.
Safely identify the rows that got changed in the source system. There could be a last_changed_date,
or any other date, then we have to consider just these rows for deltas andcan ignore all the others.
Whenever a change in the source system is made, a date column is updated .
In Delta Load, BODS receive all change records one by one from source system and save its into BODS
internal table after that use bulk load to store the data into target table.
Lets take an Example Suppose source Sap ECC system have 1 lakh change records then these change
records are fetched one by one into BODS internal table and after load gets completed , BODS uses
the Bulk load technique to store the data into target data base table.
Microsoft Confidential
4/20/15 18
Delta Load
At every point of time during execution BODS uses the internal tables to store the
data.
These internal tables are permanent and have very complex naming conventions so
it is quite tough to find out the specific table.
Internal tables need to be deleted by the DBA after the load is completed or after 45 days in order to free the occupied space .
Microsoft Confidential
4/20/15 19
Delta Load
The WHERE clause is used to extract only those records that fulfill a specified criterion.
SAP ECC Source Table
BODS Internal Table
SQL Data base ,Target system
Microsoft Confidential
4/20/15 20
Delta Load
Identify the status of new added records .It may be newly inserted records, Updated records,
deleted records or Normal records.
Use the Map_Operation, Table_Comparison or History_Preserving transform according to the
requirements. Its allows conversions between data manipulation operations.
Compares two data sets and produces the difference between them as a data set with
rows flagged as INSERT or UPDATE.
Microsoft Confidential
4/20/15 21
Microsoft Confidential
4/20/15 22
Microsoft Confidential
4/20/15 23
Data Extraction time totally depends on Source Data base table Size. If table is too large
then it will take more time and if table is small then it will take less time but total
execution time can be defined only after testing data flow between source and target.
.
Microsoft Confidential
4/20/15 24
Transport Mechanism
At the time of BODS installation, we need to create 2-3 repositories on the same Job server.
Complete the development phase and Testing phase like Dev, SIT, UAT into one repository .
After testing phase, import the respective jobs into different repository that contains the Live
Jobs.
All Live Jobs would be executed on the same repository.
All Repositories have different user name and password.
Microsoft Confidential
4/20/15 25
Related Links
https://wiki.sdn.sap.com/wiki/display/BOBJ/Importing+Extractors+into+the+Datastore
http://
help.sap.com/businessobject/product_guides/boexir32SP1/en/xi321_ds_designer_en.pdf
Microsoft Confidential
4/20/15 26
Microsoft Confidential
4/20/15 27