Sap Idt Tutorial
Sap Idt Tutorial
Sap Idt Tutorial
Audience
This tutorial is designed for all those who want to learn the basics of SAP Information
Design Tool and implement it to create and deploy SAP BusinessObjects universes.
Prerequisites
You need to have a working knowledge of SQL and relational databases, and familiarity
with OLAP database management concepts is preferred.
All the content and graphics published in this e-book are the property of Tutorials Point (I)
Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish
any contents or a part of contents of this e-book in any manner without written consent
of the publisher.
We strive to update the contents of our website and tutorials as timely and as precisely as
possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt.
Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our
website or its contents including this tutorial. If you discover any errors on our website or
in this tutorial, please notify us at [email protected].
i
SAP IDT
Table of Contents
About the Tutorial .................................................................................................................................... i
Audience .................................................................................................................................................. i
Prerequisites ............................................................................................................................................ i
Project..................................................................................................................................................... 3
ii
SAP IDT
iii
SAP IDT
Contexts ................................................................................................................................................ 69
Parameters............................................................................................................................................ 89
iv
SAP IDT
v
1. IDT – Overview & User Interface SAP IDT
Information Design Tool (IDT) is a Business Objects design tool that extracts the data from
different data sources using an OLAP and Relational connection to create Universes. There
are different Universe parameters that can be passed at time of Universe creation.
A Universe is called as logical collection of dimensions and objects that allow business
users to analyze the business data. Objects and dimension represent different hierarchies,
measures, custom calculations, and attributes.
Universe can be created on the top of relational databases like SQL Server, Oracle or also
on top of an InfoCube in SAP Business Warehouse (BW) system. Different types of
connections can be created to these data sources like personal connection, shared
connection and a public connection. A SQL or MDX statement is generated according to
data source respectively - Relational and an OLAP.
A Universe created using an IDT can be used with different reporting tools in Business
Objects. When a Universe is published to a central repository, it can be used in the
following reporting and dashboard tools -
1
SAP IDT
Extracting the tables and joins from Relational database or an OLAP cube.
Creating metadata objects from data foundation layer and these objects are
managed in Business layer.
Universe can be published to the central repository to be used by other SAP Business
Objects reporting applications.
Security profiles are used to provide access on Universe data and metadata objects.
IDT is primary used by application managers and report developers who wants to create
analytical reports on the top of data stored in the different data sources. To create reports
on top of Universes, a person needs technical understanding of IDT tool and functional
knowledge of Data Warehouse.
2
2. IDT – Resources SAP IDT
There are various resources in Information Design Tool that can be used to extract the
data from data sources and to create a Universe:
Project
A Project is a local workspace where you store the resources used to build one or more
Universes. This is used to manage the local objects, which are used for Universe creation.
A single project can contain objects for one or multiple Universe. A local project can contain
multiple number of objects like data foundation layer, business foundation, and data
source connection, etc.
Data Foundation
Data Foundation layer allows you to import tables and joins from different relational
databases. All the joins are imported and you can also define derived tables, custom
calculations, additional joins, contexts and prompts.
3
SAP IDT
A connection can be saved locally with .cnx file and all Universes created on the top of
local connections can’t be published to BO repository. To publish a Universe to repository,
you should use a secured central connection with .cns file.
.cnx-local unsecured connection. If you use this connection, it will not allow you to publish
anything to repository.
4
SAP IDT
Business Layer
In Business layer, you define measures and dimensions. You can also apply Aggregations
like Sum, Count, Avg, Min, Max.
To complete the Universe creation, you need to save the project and then publish the
business layer to the repository.
UDT vs IDT
In UDT, a Universe is created with file extension as .unv. In IDT, a Universe file extension
is changed to .unx file.
To open unv file in IDT, it can’t be directly opened but you can convert unv file to unx file
to open in Information Design tool. You can’t open an IDT .unx file in Universe Design tool
nor you can convert it to unv file.
You can’t open .unx file and also it can’t be You can open unv file by converting unv
converted to unv to open in UDT file to unx file extension
5
SAP IDT
Local Projects
It defines the existing connection in use (.cnx or.cns), Data foundation layer (.dfx) and
Business Layer that are local in Universe as shown above.
You can click on each object under Local Projects to see the details and to make any
changes. Click on the connection .cns file to see the connection details. Similarly, you can
open .dfx or .blx object.
6
SAP IDT
Repository Resources
Once you connect to the Repository, you can retrieve all the objects that are designed and
published to that repository.
To insert objects from the Repository, click on + sign and select Insert Session. Enter the
system details, the username and password, and you can see all the objects in the
Repository.
Business Layer
This layer contains all the classes and objects, you can check dimensions and measures
that are defined in a Universe. When you publish the business layer in the repository, this
shows the completion of Universe creation.
You can check the summary of Business La0yer to see the number of attributes,
dimensions, measures, classes, LOVs, etc.
7
SAP IDT
8
SAP IDT
To check the structure of data foundation, you can click on .dfx under local projects and it
will take you to Data Foundation layer and its components.
Once you click on Preferences, a new window will open. You can define preferences under
General, Help and Information Design Tool preferences.
9
SAP IDT
Using Reset to Default display option under Window tab allows you to reset all the values
to default or you can also use Restore Default option on Preferences window.
10
3. IDT – Creating Universe SAP IDT
To create a Universe in IDT, go to Start -> All Programs -> SAP Business Intelligence ->
SAP Business Objects BI Platform 4 Client Tool.
In Information Design Tool, you have to create a New Project. Go to File -> New -> Project.
Enter the Project Name and Click on Finish.
11
SAP IDT
Once the project is created, next is to create an OLAP or Relational connection to connect
to a data source. A Relational connection is used to connect to the Database layer to
import tables and Joins. An OLAP connection is used to connect to the multidimensional
model like an Information View in SAP HANA.
Right-click on Project name -> New -> Select Relational Connection -> Enter
connection/resource name -> Next.
Choose SAP from the list -> SAP HANA -> Select Drivers JDBC -> Next -> Enter details.
12
SAP IDT
Click Finish.
13
SAP IDT
We have to publish this connection to the Repository to make it available for use.
Right-click on the connection name -> Publish the connection to the Repository -> Enter
BO repository password -> Click on Connect -> Finish -> Yes.
14
SAP IDT
.cnx – local unsecured if you use this connection it will not allow you to publish anything
to repository.
The next step is to create a Data Foundation Layer on this secure connection.
Enter Resource Name and click on Finish. It will show you a list of all available schemas in
the database. You can add Tables and Joins from Schema to Data Foundation layer. This
can be done by dragging the table or by a double-click. Apply the joins on Dimension and
Fact tables to create a logical schema.
To define a Join, double-click on Join between tables. It will show you both the tables. You
can select from different Joins as per data requirement and click on detect Cardinality to
define cardinality - 1:1, 1:n, n:n.
15
SAP IDT
Next is to create a Business Layer on the Data Foundation. Click the Save All icon at the
top of the screen. Then, right-click on Data foundation .dfx -> New Business Layer.
Enter Resource Name -> (Generating Business Layer for Data Foundation) Finish. It will
add Business Layer .blx under the Local Project.
It will show a list of all dimensions and measures under Data Foundation. You can define
dimensions, measures, aggregation, etc.
16
SAP IDT
To define an Aggregation, you can select from Projection Function. You can also hide few
objects in the report if you want by using the dropdown next to measures and dimension.
You can select Hidden for a particular object.
Once you define Business Layer, click Save All icon at the top of the screen as shown in
the following screenshot.
17
SAP IDT
To publish a Universe to the Repository, right-click on .blx -> Publish -> To a Repository.
Select Resources -> Next -> In Publish Universe window, select Next -> Select the
Repository folder where you want to publish Universe and click Finish.
18
SAP IDT
To check the Universe under Repository, go to Repository resources and check for the
Universe that has been created.
You can create a single source Data Foundation to support local connections but it doesn’t
support Joins and calculated columns between the tables inserted from an ERP connection.
To use a calculated column, joins, you need to create a Data foundation that is multi-
source-enabled on a secured connection.
19
SAP IDT
When a table is added in Data Foundation layer, the table type of info set, SAP query, or
ABAP function is saved as a table property in the data foundation. To add an ABAP Function
table, there is one data foundation table created to map the main function.
The table contains input columns for the input parameters of the function. These
parameters can be mandatory or optional. To assign a value to mandatory parameters,
you need to edit the input columns.
If you don’t want to insert tables and joins automatically, you can unselect the Detect
tables by going to advance properties while adding connection to Data Foundation.
You can also turn off insertion of Business Layer objects by unchecking the option to
automatically create classes and objects when selecting data foundation in New Business
Layer.
20
SAP IDT
Dimension: Analysis dimensions are created in the business layer for each
dimension in the cube.
Display Folder: Folders are created in the analysis dimension to contain the
hierarchies in the display folder.
Named Set: Named sets are created in the related analysis dimension, in the
folder Named sets.
Multilingual Universes
You can also create multilingual Universe in Information Design tool. This allows you to
use multilingual solution by using single Universe metadata model.
Following are the steps to use multilingual Universe for report creation:
Step 2: Use translation management tool to translate the metadata in the data foundation
and business layer.
Step 3: Use report designers to build the reports on the same Universe, which can be
displayed in different languages as per user preferences.
Step 4: Go to Information Design Tool -> Preferences -> Preferred Viewing Locale
determines the language of the metadata and data in the Query Panel.
21
SAP IDT
22
SAP IDT
23