Sap Bods - Quick Guide
Sap Bods - Quick Guide
Home
Coding
HTMLGround
CSS Javascript SQL Python Java C C+
Jobs
Whiteboard
SAP BODS - Quick Guide
Tools
DW - Overview
A Data warehouse is known as a central repository to store the data from
one or multiple heterogeneous data sources. Data warehouse is used for
reporting and analyzing of information and stores both historical and current
data. The data in DW system is used for Analytical reporting, which is later
used by Business Analysts, Sales Managers or Knowledge workers for
decision-making.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 1/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Need of a DW System
Suppose you have a home loan agency where data is coming from multiple
applications like- marketing, sales, ERP, HRM, MM etc. This data is extracted,
transformed and loaded in Data Warehouse.
DW Architecture
Data Warehousing involves data cleaning, data integration, and data
consolidations.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 2/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
DW - Types
There are four types of Data Warehousing system.
Data Mart
Online Analytical Processing (OLAP)
Online Transactional Processing (OLTP)
Predictive Analysis (PA)
Data Mart
A Data Mart is known as the simplest form of a Data Warehouse system and
normally consists of a single functional area in an organization like sales,
finance or marketing, etc.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 3/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
What is an Aggregation?
We save tables with aggregated data like yearly (1 row), quarterly (4 rows),
monthly (12 rows) or so, if someone has to do a year to year comparison,
only one row will be processed. However, in an un-aggregated table it will
compare all rows.
SELECT SUM(salary)
FROM employee
WHERE title = 'Programmer';
Response time is known as one of the most effective and key measure in an
OLAP system. Aggregated stored data is maintained in multi-dimensional
schemas like star schemas (When data is arranged into hierarchical groups,
often called dimensions and into facts and aggregate facts, it is called
Schemas).
Example
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 4/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
query processing. OLTP databases contain detailed and current data. Schema
used to store OLTP database is the Entity model.
Predictive Analysis
Predictive analysis is known as finding the hidden patterns in data stored in
DW system by using different mathematical functions to predict future
outcomes.
Teradata
Sybase IQ
SAP Business Warehouse (SAP BW)
Key Features
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 6/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
From last 16 years, SAP BW has evolved as one of the key system for
many companies to manage their enterprise data warehousing needs.
Web Intelligence
You can also add various types of charts and graphs and create dynamic
dashboards for data visualizations and these are mostly used in financial
meetings in an organization.
Crystal Reports
Crystal Reports are used for pixel-perfect reporting. This enables the users
to create and design reports and later use it for printing purpose.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 7/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Explorer
The Explorer allows a user to search the content in BI repository and best
matches are shown in the form of charts. There is no need to write down the
queries to perform search.
Various other components and tools introduced for detailed reporting, data
visualization and dash-boarding purpose are Design Studio, Analysis edition
for Microsoft Office, BI Repository and Business Objects Mobile platform.
ETL - Introduction
ETL stands for Extract, Transform and Load. An ETL tool extracts the data
from different RDBMS source systems, transforms the data like applying
calculations, concatenate, etc. and then load the data to Data Warehouse
system. The data is loaded in the DW system in the form of dimension and
fact tables.
Extraction
A staging area is required during ETL load. There are various reasons
why staging area is required.
The source systems are only available for specific period of time to
extract data. This period of time is less than the total data-load time.
Therefore, staging area allows you to extract the data from the source
system and keeps it in the staging area before the time slot ends.
Staging area is required when you want to get the data from multiple
data sources together or if you want to join two or more systems
together. For example, you will not be able to perform a SQL query
joining two tables from two physically different databases.
Data extractions’ time slot for different systems vary as per the time
zone and operational hours.
Data extracted from source systems can be used in multiple data
warehouse system, Operation Data stores, etc.
ETL allows you to perform complex transformations and requires
extra area to store the data.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 8/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Transform
In data transformation, you apply a set of functions on extracted data to
load it into the target system. Data, which does not require any
transformation is known as direct move or pass through data.
You can apply different transformations on extracted data from the source
system. For example, you can perform customized calculations. If you want
sum-of-sales revenue and this is not in database, you can apply the SUM
formula during transformation and load the data.
For example, if you have the first name and the last name in a table in
different columns, you can use concatenate before loading.
Load
During Load phase, data is loaded into the end-target system and it can be a
flat file or a Data Warehouse system.
Key Features
Web Administrator
Data Integrator web administrator is used by system administrators and
database administrator to maintain repositories in Data services. Data
Services includes Metadata Repository, Central Repository for team-based
development, Job Server and Web Services.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 10/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
In this chapter, we will learn about the SAP BODS architecture. The
illustration shows the architecture of BODS system with Staging area.
Source Layer
The source layer includes different data sources like SAP applications and
non-SAP RDBMS system and data integration takes place in staging area.
SAP Business Objects Data Services includes different components like Data
Service Designer, Data Services Management Console, Repository Manager,
Data Services Server Manager, Work bench, etc. The target system can be a
DW system like SAP HANA, SAP BW or a non-SAP Data warehouse system.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 11/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
SAP acquired Business Objects in 2007 and both the products were renamed
as SAP BODI and SAP BODQ. In 2008, SAP integrated both the products into
single software product named as SAP Business Objects Data Services
(BODS).
SAP BODS provides data integration and data management solution and in
the earlier version of BODS, the text data-processing solution was included.
BODS – Objects
All the entities that are used in BO Data Services Designer are called
Objects. All the objects like projects, jobs, metadata and system functions
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 12/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
are stored in the local object library. All the objects are hierarchical in
nature.
Types of Objects
There are two types of objects in the system − Reusable objects and Single
Use objects. The type of object determines how that object is used and
retrieved.
Reusable Objects
Most of the objects that are stored in the repository can be reused. When a
reusable object is defined and saved in the local repository, you can reuse
the object by creating Calls to the definition. Each reusable object has only
one definition and all the calls to that object refer to that definition. Now, if
definition of an object is changed at one place you are changing the object
definition at all the places where that object appears.
All the objects that are defined specifically to a job or data flow are known as
single use objects. For example, specific transformation used in any data
load.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 13/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 14/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
At the top, you have Information Platform Services installed for users and
rights security management. BODS depends on Central Management console
(CMC) for user access and security feature. This is applicable to the 4.x
version. In the previous version, it was done in Management Console.
Repository
Repository is used to store metadata of objects used in BO Data Services.
Each Repository should be registered in Central Management Console and is
linked with single or many job servers, which are responsible for executing
jobs that are created by you.
Types of Repositories
Job Server
Job server is used to execute the real time and batch jobs created by you. It
gets the job information from respective repositories and initiates the data
engine to execute the job. Job server can execute the real time or scheduled
jobs and uses multithreading in memory caching, and parallel processing to
provide performance optimization.
Access Server
The table shows the list of recommended naming conventions that should be
used for all jobs and other objects.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 16/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Types of Repositories
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 17/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Creating Repository
You have to create the following users in database while installing BODS and
to create Repositories. These users are required to login to different servers
such as the CMS Server, Audit Server etc.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 18/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 19/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Repository type, Database type, Database server name, Port, User name and
password.
Step 3 − Click the Create button. You will get the following message −
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 20/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 6 − From the Data Services menu, Click Configure a new Data
Services Repository.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 21/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Repository type, Database type, Database server name, Port, User name and
password.
You will see the output as shown in the screenshot shown below.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 23/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
You can access Data Services Management Console in the following ways −
You can access Data Services Management Console by going to Start → All
Programs → Data Services → Data Service Management Console.
You can also access data services management console via Designer if you
are already logged in.
To access data services management console via Tools follow the given steps
−
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 24/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Administrator
Auto Documentation
Data Validation
Impact and Lineage Analysis
Operational Dashboard
Data Quality Reports
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 25/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Administrator Module
An Administrator option is used to manage −
Once you click the Administrator tab, you can see many links in the left
pane. They are − Status, Batch, Web Services, SAP Connections, Server
Groups, Profiler Repositories Management and Job Execution History.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 26/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Nodes
The various nodes are under the Administrator module are discussed below.
Status
The Status node is used to check the status of batch and real time jobs,
access server status, adapter and profiler repositories, and other system
status.
On the right pane, you will see the tabs of the following options −
Batch Job Status − It is used to check the status of the batch job. You can
check the job information such as Trace, Monitor, Error, and Performance
Monitor, Start Time, End Time, Duration, etc.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 27/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Batch Node
Under the Batch Job node, you will see the same options as above.
Sr.
Option & Description
No.
Repository Schedules
3
View and configure schedules for all jobs in the repository.
Web Services is used to publish real time jobs and batch jobs as web service
operation and to check the status of these operations. This is also used to
maintain security for jobs published as web service and to view WSDL file.
SAP Connections
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 28/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
When a new window opens, enter RFC server configuration details click
Apply.
Server Groups
This is used to group all the job servers that are associated with same
repository into one server group. This tab is used for load balancing while
executing the jobs in data services.
Profile Repositories
Management Node
To use the feature of the Administrator tab, you need to add connections to
the Data services using management node. Management Node consists of
different configuration options for administration application.
This is used to check the execution history of a job or a data flow. Using this
option, you can check the execution history of one batch job or all the batch
jobs created by you.
When you select a job, information is displayed in the form of table, which
consists of Repository name, Job name, start time, end time, execution time,
status, etc.
You can create various objects using Data Services Designer like Projects,
Jobs, Work Flows, Data Flows, mapping, transformations, etc.
To start the Data Services Designer follow the steps given below.
Step 1 − Point to Start → All Programs → SAP Data Services 4.2 → Data
Services Designer.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 31/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Once you select the Repository and login to the Data Services Designer, a
home screen will appear as shown in the image below.
In the left pane, you have the project area, where you can create a new
project, Job, data flow, work flow etc. In the Project area, you have Local
Object library, which consists of all the objects created in Data Services.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 32/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
In the bottom pane, you can open the existing objects by going to specific
options like Project, Jobs, Data Flow, Work Flow, etc. Once you select any of
the object from the bottom pane, it will show you all the similar objects
already created in Repository under local object library.
On the right side, you have a home screen, which can be used to −
Create Project
Open Project
Create Data stores
Create Repositories
Import from flat file
Step 2 − Enter the Datastore name, Datastore type and database type as
shown below. You can select different database as source system as shown
in the screenshot below.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 33/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − To use ECC system as the data source, select SAP Applications as
Datastore type. Enter user name and password and on the Advance tab,
enter the system number and client number.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 34/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Click OK and the Datastore will be added to the Local object library
list. If you expand Datastore, it does not show any table.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 35/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 5 − To extract any table from ECC system to load on the target
system, Right-click on Tables → Import by Names.
Step 6 − Enter the table name and click Import. Here, Table–Mara is used,
which is a default table in the ECC system.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 36/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 7 − In a similar way, create a Datastore for the target system. In this
example, HANA is used as a target system.
Once you click OK, this Datastore will be added to the local object library
and there will be no table inside it.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 37/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 1 − Click the option, Create Project. Enter the Project Name and click
Create. It will be added to the Project Area.
Step 2 − Right click on the Project name and create a new batch job/real
time job.
Step 3 − Enter the name of the job and press Enter. You have to add Work
flow and Data flow to this. Select a workflow and click the work area to add
to the job. Enter the name of the workflow and double-click it to add to the
Project area.
Step 4 − In a similar way, select the Data flow and bring it to the Project
area. Enter the name of the data flow and double-click to add it under the
new project.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 38/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 5 − Now drag the source table under datastore to the Work area. Now
you can drag the target table with similar data-type to the work area or you
can create a new template table.
To create a new template table right click the source table, Add New →
Template Table.
Step 6 − Enter the table name and select the Datastore from the list as
target Datastore. The Owner name represents the Schema name where the
table has to be created.
The table will be added to the work area with this table name.
Step 7 − Drag the line from the source table to the target table. Click the
Save All option at the top.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 39/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Now you can schedule the job using Data Service Management Console or
you can manually execute it by right clicking on the Job name and Execute.
In Business Objects Data Services, you can connect to the following systems
using Datastore −
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 40/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
VSAM
Adabas
Flat Files on OS/390 and OS/400
Using Attunity connector, you can connect to the mainframe data with the
help of a software. This software needs to be installed manually on the
mainframe server and the local client job server using an ODBC interface.
Step 1 − Enter the Datastore name, Datastore type and database type as
shown in the image given below. You can select different database as source
system given in the list.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 41/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − To use ECC system as the data source, select SAP Applications as
the Datastore type. Enter user name and password. Click the Advance tab
and enter the system number and client number.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 42/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Click OK and the Datastore will be added to the Local object library
list. If you expand the Datastore, there is no table to display.
Step 1 − To edit a Datastore, right click on the Datastore name and click
Edit. It will open the Datastore editor.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 43/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
You can edit the connection information for the current Datastore
configuration.
Step 2 − Click the Advance button and you can edit client number, system
id and other properties.
Step 3 − Click the Edit option to add, edit, and delete the configurations.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 44/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 1 − Click Create Datastore and enter the name of the Datastore
“Memory_DS_TEST”. Memory tables are presented with normal RDBMS
tables and can be identified with naming conventions.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 45/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Create a New Job by Right-clicking. Add Work flow and Data Flow
as shown below.
Step 5 − Select a Template table and drag and drop to the work area. A
Create table window will open.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 46/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 6 − Enter the name of the table and In Datastore, select Memory
Datastore. If you want a system generated row id, select the create row id
check box. Click OK.
Step 7 − Connect this Memory table to the dataflow and click Save All at
the top.
Step 1 − Go to the local object library, click Datastore tab. Expand the
Memory Datastore → Expand tables.
Step 2 − Select the Memory table you want to use as a source or target
table and drag it to the work flow. Connect this memory table to as source or
target in data flow.
Example
Consider a local database Server named “Product” stores database link to
access information on remote database server called Customer. Now, users
that are connected to the remote database server Customer cannot use the
same link to access data in database server Product. Users that are
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 47/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
This communication path between the two databases is called the database
link. The Datastores, which are created between these linked database
relationships are known as linked Datastores.
To extract or load the data using an adapter, you should define at least one
Datastore for this purpose.
Step 1 − Click Create Datastore → Enter the name for Datastore. Select
Datastore Type as Adapter. Select the Job Server from the list and Adapter
Instance Name and click OK.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 48/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Right click on the Datastore name and click Open. It will open a new window
showing the source metadata. Click on + sign to check objects and right
click on the object to import.
Following type of files can be used as a source or target file using file format
−
Delimited
SAP Transport
Unstructured Text
Unstructured Binary
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 49/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Fixed Width
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 50/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Select the type of File Format. Enter the name that describes the
file format template. For Delimited and Fixed width files, you can read and
load using Custom transfer Program. Enter the other properties to describe
the files that this template represents.
You can also specify the strucutre of columns in column attributes work-area
for few specific file formats. Once all the properties are defined, click the
Save button.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 51/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − Select the File format you want to edit. Right click the Edit option.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 52/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Make changes in the file format editor and click the Save button.
You can create the file format and connect it to data file at the same time.
Follow the steps given below.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 53/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 54/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Click OK. This file format is added to Local Object library. The
COBOL Copybook Schema name dialog box opens up. If required, rename
the schema and click OK.
Table Name
Column Name
Table Description
Column Description
Column Data Type
Column Content Type
Table Attributes
Primary Key
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 55/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Owner Name
Importing Metadata
To import Metadata, follow the steps given below −
In the workspace, all the items that are available for import will be
displayed. Select the items for which you want to import the metadata.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 56/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
In the Object library, go to the datastore to see the list of imported objects.
Right click the New option and select Excel Workbook as shown in the
screenshot below.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 57/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 58/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − Point to New (You can select DTD file or XML Schema or JSON file
format). Enter the name of the file format and select the file that you want
to import. Click OK.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 59/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Once you define a data flow in a project, this can be added to a workflow or
an ETL job. Data flow can send or receive objects/information using
parameters. Data flow is named in format DF_Name.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 60/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
There are three types of objects that can be added to a Data flow. They are
−
Source
Target
Transforms
Step 1 − Go to the Local Object Library and drag both the tables to work
space.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 61/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − To add a Query Transformation, drag from the right tool bar.
Step 3 − Join both the tables and create a template target table by right
clicking the Query box → Add New → New Template table.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 62/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Enter the name of the Target table, Data store name and Owner
(Schema name) under which the table is to be created.
Step 5 − Drag the target table in front and join it to the Query transform.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 63/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Passing Parameters
You can also pass different parameters in and out of the data flow. While
passing a parameter to a data flow, objects in data flow reference those
parameters. Using parameters, you can pass different operations to a data
flow.
Step 1 − To change the properties of data flow, right click on Data flow →
Properties
You can set various properties for a dataflow. The properties are given
below.
Sr.
Properties & Description
No.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 64/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Degree of parallelism
Degree Of Parallelism (DOP) is a property of a data flow that
3
defines how many times each transform within a data flow
replicates to process a parallel subset of data.
Cache type
You can cache data to improve performance of operations such as
joins, groups, sorts, filtering, lookups, and table comparisons.
You can select one of the following values for the Cache type
option on your data flow Properties window −
4
In-memory − Choose this value if your data flow
processes a small amount of data that can fit in the
available memory.
Pageable − This value is the default.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 65/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
A data flow can extract or load a data directly using the following objects −
Source objects − Source objects define the source from which data
is extracted or you read the data.
Target objects − Target Objects defines the target to which you load
or write the data.
The following type of source object can be used and different access
methods are used for the source objects.
Direct or
A file formatted with columns and rows
Table through
as used in relational databases
adapter
The following Target objects can be used and different access method can be
applied.
Direct or
A file formatted with columns and
Table through
rows as used in relational databases
adapter
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 66/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
The Batch jobs in ETL projects are similar to the Workflows with the only
difference that the job does not have parameters.
Work flow
Data flow
Scripts
Loops
Conditions
Try or Catch Blocks
You can also make a work flow call other work flow or a work flow can call
itself.
In order to achieve this, you have to create one script, which determines the
last update date and then pass this as input parameter to the data flow.
You also have to check if the data connection to a particular fact table is
active or not. If it is not active, you need to setup a catch block, which
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 67/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Object Library
Tool Palette
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 68/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
To create a workflow using tool palette, click the icon on the right side and
drag work flow in the work space.
You can also set to execute workflow only once by going to the properties of
workflow.
Conditionals
You can also add Conditionals to workflow. This allows you to implement the
If/Else/Then logic on the workflows.
If
A Boolean expression that evaluates to TRUE or FALSE. You can
1
use functions, variables, and standard operators to construct the
expression.
Then
2 Work flow elements to execute if the If expression evaluates to
TRUE.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 69/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Else
3 (Optional) Work flow elements to execute if the If expression
evaluates to FALSE.
To define a Conditional
Step 3 − Enter the Boolean Expression that controls the Conditional. Click
OK.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 70/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Drag the Data flow you want to execute the Then and Else
window as per the expression in IF condition.
Once you complete the condition, you can debug and validate the
conditional.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 71/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Data Integration
Data Integration transforms are used for data extraction, transform and load
to DW system. It ensures data integrity and improves developer productivity.
Data_Generator
Data_Transfer
Effective_Date
Hierarchy_flattening
Table_Comparision, etc.
Data Quality
Data Quality transforms are used to improve the data quality. You can apply
parse, correct, standardized, enrich data set from the source system.
Associate
Data Cleanse
DSF2 Walk Sequencer, etc.
Platform
Platform is used for the movement of dataset. Using this you can generate,
map, and merge rows from two or more data sources.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 72/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Case
Merge
Query, etc.
Step 2 − Select the Transform that you want to add to the data flow. If you
add a transformation that has option to select configuration, a prompt will
open.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 73/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 74/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
When you double click the Query transform icon, it opens a Query editor that
is used to perform query operations.
Input Schema
Output Schema
Parameters
The Input and Output schemas contain Columns, Nested Schemas and
Functions. Schema In and Schema Out shows the currently selected schema
in transformation.
To change the output schema, select the schema in the list, right click and
select Make Current.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 75/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − Expand the Data Quality transform and add the transform or
transform configuration you want to add to data flow.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 76/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Draw the data flow connections. Double click the name of the
transform, it opens the transform editor. In input schema, select the input
fields that you want to map.
Note − To use Associate Transform, you can add user defined fields to input
tab.
This transform also checks the relationship between entities and allows the
extraction. The data extracted, using text data processing, can be used in
Business Intelligence, Reporting, query, and analytics.
This involves analyzing and processing large volume of text data, searching
entities, assigning them to appropriate type and presenting metadata in
standard format.
The Entity Extraction transform can extract information from any text, HTML,
XML, or certain binary-format (such as PDF) content and generate structured
output. You can use the output in several ways based on your work flow. You
can use it as an input to another transform or write to multiple output
sources such as a database table or a flat file. The output is generated in
UTF-16 encoding.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 77/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Potential meaningful
Potential Quality of data for
information from unstructured
Usage storing in to Repository
data
Each real time job can extract data from a single message. You can also
extract data from other sources like tables or files.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 78/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Real time jobs are not executed with the help of triggers unlike batch jobs.
They are executed as real time services by administrators. Real time services
wait for messages from access server. Access server receives this message
and passes it to real time services, which is configured to process the
message type. Real time services execute the message and returns the
result and continues to process the messages until they get an instruction to
stop executing.
Real time jobs are not executed in response of a schedule or internal trigger
unlike the batch jobs.
You can use the following data models for creating real time jobs −
You can create a real time job with single data flow in its real time
processing loop and it includes a single message source and single message
target.
To create Real Time job using single data model, follow the given steps.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 79/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 2 − Right click on the white space in Project area → New Real time job.
RT_Process_begins
Step_ends
Step 3 − To create a real time job with single data flow, select data flow
from the tool palette on the right pane and drag it to the work space.
Click inside the loop, you can use one message source and one message
target in real time processing loop. Connect the starting and the end marks
to the data flow.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 80/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 4 − Add configure objects in data flow as required and save the job.
This allows you to create a real time job with multiple data flow in its real
time processing loop. You also need to ensure that the data in each data
model is fully processed before it moves to the next message.
To ensure that your job gives you the expected result, you can execute the
job in view data mode. Using this mode, you can capture output data to
make sure that your real time job is working fine.
Option 1
Right click on the object and select to make it Embedded Data flow.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 82/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Option 2
Drag the complete and validate data flow from object library into an open
data flow in the work space. Next, open the data flow that has been created.
Select the object you want to use as the input and output port and click
make port for that object.
Data Services add that object as connection point for embedded data flow.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 83/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Global variables are restricted to jobs in which they are created. Using
global variables, you can change values for default global variables at
run time.
Expressions that are used in work flow and data flow are known as
parameters.
All the variables and parameters in work flow and data flows are
shown in variable and parameters window.
Go to Tools → Variables.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 84/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
The Definitions tab allows you to create and view variables and
parameters. You can use local variables and parameters at work flow and
data flow level. Global variables can be used at job level.
In the call tab, you can see the name of the parameter defined for all objects
in a parent object’s definition.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 85/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Enter the name of the new variable. Select the data type from the
list.
Once it is defined, close the window. In a similar way, you can define the
parameters for data flow and work flow.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 86/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 87/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Go to the Execution tab → Enable Recovery check box. If this box
is not checked, Data services will not recover the job, if it fails.
Step 1 − Right click and execute the job as above. Save changes.
Step 2 − Go to the Execution Options. You have to ensure that the option
Recover from last failed execution box is checked.
Note − This option is not enabled, if a job is not yet executed. This is known
as Automatic recovery of a failed job.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 88/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Column Analysis
Relationship Analysis
Data profiling feature can be used on data from the following data sources −
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 89/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
SQL Server
Oracle
DB2
Attunity Connector
Sybase IQ
Teradata
Step 2 − Enter the details such as System, User Name, Password and
Authentication.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 90/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
There are various other factors that contribute to the performance in an ETL
task. They are −
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 91/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
In SAP Data Services, you can create a central repository for storing
team copy of an application. It contains all the information that is also
available in local repository. However, it just provides a storage
location for the object information. To make any changes, you should
need to work in local repository.
You can copy objects from central repository to local repository.
However, if you have to make any changes, you need to check out
that object in central repository. Due to this, the other users cannot
check out that object in central repository and hence, they cannot
make changes to the same object.
Once you make the changes to the object, you need to check in for
the object. It allows Data Services to save new modified object in
central repository.
Data Services allow multiple user with local repositories to connect to
the central repository at the same time but only one user can check
out and make changes to a specific object.
The central repository also maintains the history of each object. It
allows you to revert to the previous version of an object, if the
changes do not result as required.
Multiple Users
SAP BO Data Services allow multiple users to work on the same application
at the same time. The following terms should be considered in a multi-user
environment −
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 92/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Object dependents
Object dependents are objects associated beneath the highest
level object in the hierarchy. For example, if Job 1 is comprised of
2
Work Flow 1 which contains Data Flow 1, then both Work Flow 1
and Data Flow 1 are dependents of Job 1. Further, Data Flow 1 is
a dependent of Work Flow 1.
Object version
An object version is an instance of an object. Each time you add
3 or check in an object to the central repository, the software
creates a new version of the object. The latest version of an
object is the last or most recent version created.
To update the local repository in multiuser environment, you can get the
latest copy of each object from central repository. To edit an object, you can
use check out and check in option.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 93/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 3 − Select the Repository type as Central. Enter the database details
such as User Name and Password and click Create.
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 94/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Step 6 − Enter the password for the central repository and click the
Activate button.
Filtering
Checking out objects
Undoing check out
Checking in Objects
Labelling Objects
Filtering is applicable when you add any objects, check in, check out and
label objects to the central repository.
You cannot copy the content of one central repository to other central
repository directly; you need to make use of local repository.
The first step is to get the latest version of all objects from the central
repository to the local repository. Activate the central repository in which you
want to copy the contents. Add all the objects you want to copy from the
local repository to the central repository.
Get Started
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 97/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Advertisements
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 98/99
11/16/23, 9:22 PM SAP BODS - Quick Guide
Affiliates eBooks
Contact Us
Tutorials Point India Private Limited,
Incor9 Building, Kavuri Hills, Madhapur,
Hyderabad, Telangana - 500081, INDIA
https://www.tutorialspoint.com/sap_bods/sap_bods_quick_guide.htm 99/99