Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Saptarshi Bose
Oracle EPM Consultant, Wipro Technologies
Disclaimer: This article draws references from ODI 11g documentations from Oracle. At certain points, further
reading references are also provided using URLs from ODI online documentation library. Besides, it takes
references from certain websites on ODI 11g and 10g.
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Contents
Introduction ............................................................................................................................................ 3
Where and How Does ODI fit in with Hyperion Modules? ..................................................................... 3
Overview of ODI Architecture and Graphical Modules .......................................................................... 5
Repositories ....................................................................................................................................... 5
Studio ................................................................................................................................................. 7
Topology Navigator (TN) ................................................................................................................ 7
Designer Navigator (DN) ................................................................................................................ 9
Operator Navigator (ON) ................................................................................................................ 9
Security Navigator (SN) ................................................................................................................ 10
Console ............................................................................................................................................ 10
ODI Architecture How it Works at Runtime?................................................................................. 10
ODI Knowledge Modules (KMs)....................................................................................................... 11
ODI Knowledge Modules (KMs) for Hyperion Modules ................................................................... 12
Hyperion Planning KMs ................................................................................................................ 12
Essbase KMs ................................................................................................................................ 12
HFM KMs ...................................................................................................................................... 13
Generic Flow Diagram to put Together ODI Components for Data Integration .................................. 14
Hyperion Planning 11.1.2.2 and ODI 11g Data Integration POC Cases............................................. 15
High Level Data Flow Model for the POC Cases ............................................................................ 15
Setting up the Topology ................................................................................................................... 15
Topology Setup File Technology ............................................................................................... 16
Topology Setup Oracle Database Technology ......................................................................... 19
Topology Setup Hyperion Planning Technology ....................................................................... 23
Topology Setup Hyperion Essbase Technology ....................................................................... 26
Enter the Designer: Create Project and Import Hyperion Planning and Essbase KMs .................. 27
Case 1: Load a Member Hierarchy (Metadata) from a Flat File Source to a Planning Application
Target Simple Load ....................................................................................................................... 29
Case 2: Load a Member Hierarchy (Metadata) from a Flat File Source to a Planning Application
Target Advanced Load - Source File Manipulation/Transformation Techniques ......................... 44
Case 3: Load Member Formula from a Flat File Source to a Planning Application Target ............. 49
Case 4: Delete Member(s) from Hyperion Planning ........................................................................ 54
Case 5: Load a Member Hierarchy (Metadata) from a Relational Database Source to a Planning
Application Target ............................................................................................................................ 57
pg. 1
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Case 6: Create a ODI File Watch Package to Load Metadata from Flat File Source to a Planning
Application Target Demonstrating File Watch, Error Log Capture and E-mail Sending Features
.......................................................................................................................................................... 64
Overview of Topics to be covered in Part-2......................................................................................... 73
pg. 2
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Introduction
This technical article is intended to demonstrate the usage of Oracle Data Integrator (ODI) 11g in
conjunction with Hyperion Planning and Essbase 11.1.2.2 for typical ETL (Extract-Transform-Load)
scenarios involved in a Hyperion Planning and Essbase project.
Part-1 of this series covers architecture overview of ODI 11g and illustrates the data integration
capabilities of ODI 11g when used in conjunction with Hyperion Planning 11.1.2.2 with six typical use
cases. The cases discussed can be used as re-usable guidelines to implement advanced cases of
the same in real time project scenarios.
A key purpose of this article is to document the implementation steps of a set of POC (Proof of
Concept) scenarios to demonstrate ODI 11g data integration features and capabilities with
Hyperion Planning and Essbase 11.1.2.2 for one of the top US Banks. Demonstration of the POC
scenarios to the client management is intended to expand the scope of current Hyperion
engagement in the bank in the forthcoming calendar year of 2015.
pg. 3
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Oracle Hyperion
Planning
Oracle Hyperion
Financial Mgt
Oracle Hyperion
Essbase
Planning API
HFM API
Essbase API
Metadata Discovery
& Model Creation
Oracle | Hyperion Data Access
Authentication
Data Services
Hyperion
Financial
Management
Hyperion
Essbase
Extract Data
Use
Essbase KM
Extracts Dimension
Members
Use
Essbase KM
Logging Services
API Layer
Hyperion
Planning
Loads Data
Loads Dimension
Members
Cube Refresh
Consolidate
Other Features
Metadata
Lineage
Bulk/Trickle
Loading
Changed Data
Capture
Master
Data
Data Quality
& Profiling
Oracle
EBS
CDC
SAP/R3
PeopleSoft
Data
MessageWarehouse
Queues
pg. 4
Calculate
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 5
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Master Repository
Stores security information including users, profiles and rights for ODI platform.
Stores topology information including technologies, server definitions, schemas,
contexts, languages and so forth.
Stores versioned and archived objects
Normally one ODI installation would have a single Master Repository. However
for certain scenarios multiple Master Repositories might be required a) Project
construction over several sites not linked by a high-speed network (off-site
development, for example). b) Necessity to clearly separate the interfaces'
operating environments (development, test, production), including on the
database containing the Master Repository. This may be the case if these
environments are on several sites.
Work Repository(s)
The work repository is the one that contains actual developed objects.
Several work repositories may coexist in the same ODI installation (for example,
to have separate environments or to match a particular versioning life cycle).
Stores Models, including schema definition, data stores structures and metadata,
fields and columns definitions, data quality constraints, cross references, data
lineage and so forth.
Stores Projects, including business rules, packages, procedures, folders,
Knowledge Modules, variables and so forth.
Stores scenario execution, including scenarios, scheduling information and logs.
When the Work Repository contains only the execution information (typically for
production purposes), it is then called an Execution Repository.
The database that will host the repository does not have to be on the same hardware as the ODI
Studio. Multiple developers will share the same repository when projects are developed, so it is
convenient to install the repository in a central location.
The Studio will make very frequent access to the repository. From that perspective, the Studio and
the repository will have to be on the same LAN (and since distance adds to latency, they should
preferably be at a reasonable distancenot in a different country or continent for instance).
The repository will use a few gigabytes of disk space to store the metadata, transformation rules,
and (mostly) the logs. Make sure that you have enough disk space for the database. A good starting
point for the size of the repository is 1 GB each for the Master and Work repository.
Each repository (Master or Work) is typically installed in a dedicated schema. The privileges required
by ODI are "Connect" and "Resource" on an Oracle database, but it is important to note that the
pg. 6
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
installation program will have more stringent requirements (the RCU utility will require sysdba
privileges to be able to create the repositories).
Studio
The ODI Studio is the graphical interface provided to all users to interact with ODI (refer to Fig. 3).
People who need to use the Studio usually install the software on their own machine and connect to
a shared repository. The only exception would be when the repository is not on the same LAN as the
Studio. In that case, most customers use Remote Terminal Service technologies to ensure that the
Studio is local to the repository (same LAN). Only the actual display is then sent over the WAN.
pg. 7
Physical Architecture :
o Data Server and Physical Schemas - The physical architecture defines the different
elements of the information system, as well as their characteristics taken into
account by Oracle Data Integrator. Each type of database (Oracle, DB2, etc.), file
format (XML, Flat File), or application software is represented in Oracle Data
Integrator by a technology.
o A technology handles formatted data. Therefore, each technology is associated with
one or more data types that allow Oracle Data Integrator to generate data handling
scripts.
o The physical components that store and expose structured data are defined as data
servers. A data server is always linked to a single technology. A data server stores
information according to a specific technical logic which is declared into physical
schemas attached to this data server. Every database server, JMS message file,
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 8
group of flat files, and so forth that is used in Oracle Data Integrator must be
declared as a data server. Every schema, database, JMS Topic, etc., used in Oracle
Data Integrator, must be declared as a physical schema.
o Finally, the physical architecture includes the definition of the Physical Agents. These
are the Java software components that run Oracle Data Integrator jobs.
Contexts :
o Contexts bring together components of the physical architecture (the real
Architecture) of the information system with components of the Oracle Data
Integrator logical architecture (the Architecture on which the user works).
o For example, contexts may correspond to different execution environments
(Development, Test and Production) or different execution locations (Boston Site,
New-York Site, and so forth.) where similar physical resources exist.
Note: During installation the default GLOBAL context is created.
Logical Architecture:
o The logical architecture allows a user to identify as a single Logical Schema a group
of similar physical schemas - that is containing datastores that are structurally
identical - but located in different physical locations. Logical Schemas, like their
physical counterpart, are attached to a technology.
o Context allows resolving logical schemas into physical schemas. In a given context,
one logical schema resolves in a single physical schema.
Agents:
o At design time, developers generate scenarios from the business rules that they
have designed. The code of these scenarios is then retrieved from the repository by
the Run-Time Agent. This agent then connects to the data servers and orchestrates
the code execution on these servers. It retrieves the return codes and messages for
the execution, as well as additional logging information such as the number of
processed records, execution time and so forth - in the Repository.
o Agent has 2 flavors:
JAVA EE agent can be deployed as a web application and benefit Application
server features, in terms of high availability and pooling of the connections.
The standalone agents are very lightweight and can easily be installed on
any platform. They are small Java applications that do not require a server.
o Both Agents are multi-threaded Java Programs that support load balancing and can
be distributed across the information system. This agent holds its own execution
schedule which can be defined in Oracle Data Integrator, and can also be called from
an external scheduler. It can also be invoked from a Java API or a web service
interface.
o A common configuration is to use the JEE agent as a "Master" agent, whose sole
purpose it is to distribute execution requests across several child agents. These
children can very well be standalone agents. The master agent will know at all times
which children are up or down. The master agent will also balance the load across all
child agents.
o In a pure standalone environment, the Agent is often installed on the target server.
Agents are also often installed on file servers, where they can leverage database
loading utilities to bulk load data into the target systems. Load balancing can also be
done with a standalone master agent. Multiple standalone agents can run on the
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
same server, as long as they each have a dedicated port. This port number is
defined in the Topology navigator, where the agent is defined.
pg. 9
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Console
The Console is an HTML interface to the repository. The Console is installed on a WebLogic Server
(other application servers will be supported with later releases of the product). The Console can be
used to browse the repository, but no new developments can be created through this interface. The
Console is useful for viewing lineage and impact analysis without having the full Studio installed on a
machine. Operators can also perform most of the tasks they would perform with the Studio, including
starting or restarting processes. The exact information that is available in the Operator Navigator of
the Studio will be found in the matching view of the Console: generated code, execution statistics,
and statuses of executed processes are all available.
pg. 10
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
A KM will be reused across several interfaces or models. To modify the behavior of hundreds of
jobs using hand-coded scripts and procedures, developers would need to modify each script or
procedure. In contrast, the benefit of Knowledge Modules is that developers can make a change
once and it is instantly propagated to hundreds of transformations. KMs are based on logical
tasks that will be performed. They don't contain references to physical objects (data stores,
columns, physical paths, etc.)
KMs can't be executed standalone. They require metadata from interfaces, data stores and
models.
Knowledge modules are also fully extensible. Their code is opened and can be edited through a
graphical user interface by technical experts willing to implement new integration methods or
best practices (for example, for higher performance or to comply with regulations and corporate
standards). Without having the skill of the technical experts, developers can use these custom
Knowledge Modules in the integration processes.
Knowledge Modules are named after the specific database for which they have been optimized,
the utilities that they leverage, and the technique that they implement. For instance, an IKM
Teradata to File (TTU) will move data from Teradata into a flat file, and leverage the TTU utilities
for that operation, or an LKM File to Oracle (EXTERNAL TABLE) will expose a flat file as an
external table for Oracle. Similarly, an IKM Oracle Slowly Changing Dimension will generate
pg. 11
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
code optimized for the Oracle database which implements a Slowly Changing Dimension (Type
2) type of integration.
Knowledge Module
Reverse-engineering KM
(RKM)
Check KM (CKM)
Loading KM (LKM)
Integration KM (IKM)
Description
Usage
Service KM (SKM)
Description
Essbase KMs
Knowledge Module
RKM Hyperion Essbase
IKM SQL to Hyperion
Essbase (DATA)
IKM SQL to Hyperion
Essbase (METADATA)
LKM Hyperion Essbase
pg. 12
Description
Reverse-engineers Essbase applications and creates data models to use
as targets or sources in Oracle Data Integrator interfaces
Integrates data into Essbase applications.
Integrates metadata into Essbase applications
Loads data from an Essbase application to any SQL compliant database
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
DATA to SQL
LKM Hyperion Essbase
METADATA to SQL
HFM KMs
Knowledge Module
RKM Hyperion Financial
Management
IKM SQL to Hyperion
Financial Management
Data
IKM SQL to Hyperion
Financial Management
Dimension
Description
Reverse-engineers Financial Management applications and creates data
models to use as targets or sources in Oracle Data Integrator interfaces.
Integrates data into Financial Management applications.
pg. 13
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Create Interfaces ,
Procedures Packages ,
Variables etc. - Define
Mapping, Flows,
Configure KM and KM
parameters
TN
TN
Execute Package or
Interface
DN
ON
pg. 14
DN
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
File System
Oracle Database
Hyperion Planning
Hyperion Essbase
These technologies are first setup in the TN. Once setup they can be accessed by any Work
Repository that is tagged to the Master Repository of a particular installation.
Key steps followed are:
Define Data Server and
Properties
pg. 15
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Add a new
server
Provide Server
Definition
pg. 16
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Provide JDBC
Definition
Add Physical
Schema
pg. 17
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Define Physical
Location of
Source Files
Physical Model
for File System
Logical Model
for File System
pg. 18
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Add a new
server
Here the Oracle database ODIDB is connected with a user DBF_HYP_POC_USER specifically
setup to simulate a staging area for the POC cases. The Data Server name at ODI level can be
anything meaningful.
Provide Server
Definition and
Credentials
Provide JDBC
connection
details
pg. 19
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 20
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Add New
Physical
Schema
pg. 21
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Physical Model
for Oracle
Database
Logical Model
for Oracle
Database
pg. 22
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Add a new
server
Provide Server
Definition and
Credentials.
Note: The port used
to connect ODI to
Hyperion Planning is
the RMI Port
configured during
Hyperion
installations.
Connections cannot be tested for Hyperion Planning. Therefore, it is automatically greyed out. This
is kind of a drawback at Topology level as to understand whether connections are proper or not, one
has to wait till RE step in the DN.
Add New
Physical
Schema
pg. 23
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 24
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Physical Model
for Hyperion
Planning
Logical Model
for Hyperion
Planning
pg. 25
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Note: Only difference for Essbase is that while defining Physical Schema both Application and
Database names are required to be entered. In this example, Sample. Basic is chosen.
pg. 26
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Enter the Designer: Create Project and Import Hyperion Planning and
Essbase KMs
In the DN, a new project ODI_POC_PROJECT is created to host the interfaces, procedures,
variables, packages etc. for the POC scenarios being setup.
Next, the required KMs for Hyperion Planning and Essbase (discussed in earlier sections), File
Technology and Oracle Database Technologies required for the POC scenarios are imported within
the project.
pg. 27
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Hyperion KM
File KM
Hyperion KM
RDBMS KM
Hyperion KM
pg. 28
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
This file is meant to load 3 children members (513000, 514000, 516000) under the parent
member 500000 within the Account dimension of the target planning application. The name of the
file used in the POC scenario is ACC_METADATA_LOAD_ODI_POC_1.csv and is placed in the
folder as defined in the File system physical schema.
Target: Account dimension hierarchy in PLN_Samp Hyperion application.
Objective is to add the 3 members as shown in the source file under the member 500000
Operating Expenses.
Next, in the designer a new Model Folder is created for the Files to be used for the POC scenarios.
pg. 29
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
The Name, Alias are entered. The Resource Name source file is selected.
pg. 30
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, RE is performed on the file source. This type of RE for File technology is known as Delimited
Files Reverse-Engineering.
Note: Once RE is complete, the Parent and Account data types are changed to String to avoid
errors in future steps.
pg. 31
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 32
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, the RKM for Hyperion Planning is used to RE Hyperion Planning Model and create the
dimension level datastores.
The model is hosted within the folder ODI_PLANNING_POC_MODELS.
A Customized RE is required to import the metadata for Hyperion Planning inside ODI repository.
The KM used is RKM Hyperion Planning which is already tagged to the ODI_POC_PROJECT.
pg. 33
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Note: Successful completion of the RE suggests that connectivity of ODI with Hyperion Planning
server is correct this is the only indirect way to find out connectivity issues with Hyperion
technology unlike Oracle Database technology where connectivity can be tested at the TN level only.
Once the RE is completed, the dimension level datastores are created within the Planning model.
Each dimension (standard dimension and attribute dimension) is reversed as a datastore with the
same name as the dimension with appropriate columns. RE also creates a datastore named "UDA"
for loading UDA's.
Expanding Account datastore, all the properties are seen. This datastore would be required to be
mapped to the source, as the POC scenario is intended to load metadata under Account dimension
in PLN_Samp Hyperion application.
pg. 34
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 35
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
the
mapping is performed. Due to same name in source and target automatic mapping happens
between Parent and Account fields, rest of the source fields are dragged over to the target and
mapped.
pg. 36
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Following operations are possible at the target (note the Operation field in the target datastore):
Update This is the default and is used if not populated, it adds, updates, moves the
member being loaded.
Delete Level0 - Deletes the member being loaded if it has no children
Delete IDescendantsDeletes the member being loaded and all of its descendants.
Delete DescendantsDeletes the descendants of the member being loaded, but does not
delete the member itself.
In this example, the default UPDATE operation is being used to add the metadata elements. For all
the fields Staging Area option is chosen for mapping purpose.
Next, Flow tab settings are done. On the Flow tab, ODI creates a logical data flow automatically as
shown below:
pg. 37
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
End to end data flow for POC scenarios where metadata is loaded to Hyperion Planning from Flat
File can be summarized as:
ODI Staging Layer or
Sunopsis Memory
Engine
Flat File
Hyperion Planning
IKM SQL to
Hyperion Planning
Figure 9: Data Flow Load Metadata from Flat File to Hyperion Planning
LKM File to SQL: LKM will load the source file into the staging area, and all transformations will
take place in the staging area afterwards.
IKM SQL to Hyperion Planning: Loads metadata and data into Hyperion planning applications.
In the Flow tab following settings are done to set the IKM Load Options on the Target:
Following settings are possible:
IKM SQL to Hyperion Planning Load Options
Possible Values
LOAD_ORDER_BY_INPUT
SORT_PARENT_CHILD
LOG_ENABLED
LOG_FILE_NAME
MAXIMUM_ERRORS_ALLOWED
LOG_ERRORS
ERROR_LOG_FILE
ERR_COL_DELIMITER
pg. 38
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
ERR_ROW_DELIMITER
ERR_TEXT_DELIMITER
ERR_LOG_HEADER_ROW
REFRESH_DATABASE
pg. 39
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Note: IKM Bug - There is a bug in ODI 11.1.1.6 when using IKM SQL to Hyperion Planning. While
preparing this POC, it was observed that the IKM is not visible in the IKM selector on the Flow tab
even after doing the setting of Staging Area Different from Target. The mechanisms which
define the KMs which ODI offers in the dropdown are tied to the technologies of the Interface's
Source, Staging Area and Target. Checking the IKM in its raw format that was being imported it
showed the following:
ODI is very strict about the selected technologies and since the datastore being used was of
technology Oracle, the KM is not visible on the interface. To resolve this, the source technology was
set to <undefined> and the IKM now became visible in the interface.
pg. 40
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Once, the Load Option settings are done, the interface is saved and executed. Note the red box
around the green triangular button the execution icon.
pg. 41
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 42
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, Hyperion Planning is accessed to check the addition of the metadata elements from the source
file. It is observed, that 3 source file accounts are added successfully to the metadata in Hyperion
Planning.
Next, Essbase is accessed via EAS console to check whether the Cube Refersh property being set
in the IKM Load Option properly refreshed the cube. It is observed, that refresh was successful and
the 3 accounts got refreshed to essbase successfully from planning repository.
pg. 43
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Target: The objective is to have the following hierarchy loaded under a Parent member called
Product in the Segment Dimension using ODI file manipulation techniques on the source file.
As-Is State:
pg. 44
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
To-Be State:
For this POC scenario, other setups like creating a model, RE etc. are all similar to Case-1.
Therefore, those initial set-ups are skipped.
To create the mapping, an interface POC_SEG_DIM_LOAD_FILE_MANIPULATION is created.
The source and target datastores are dragged and dropped in the mapping area.
pg. 45
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Following manipulations are done on the target datastore using the Expression Editor under the
Mapping Properties to map the source file columns. The transformation codes are self-explanatory.
pg. 46
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Segments:
Parent:
pg. 47
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Alias:
pg. 48
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, similar settings (as done for Case-1) are done in the Flow tab and the interface is executed.
Once the session, is successfully complete, planning application is accessed and the hierarchy is
checked to confirm the metadata elements added successfully.
pg. 49
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Target: Account member 514000 under parent member 500000 in Planning Account dimension
within PLN_Samp application. The member formula is intended to be loaded for the account
514000
Following similar steps as in Case-1, source file RE is done and corresponding datastore is created.
pg. 50
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
The source datastore is ready to be plugged into a new interface to simulate this case post RE is
done successfully.
new
interface
is
created
named
In the Mapping tab, source and target datastores are dragged and dropped and mappings are
performed.
pg. 51
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, IKM level settings are done in the Flow tab; the interface is saved and executed.
In the ON, the session logs and details are subsequently viewed
pg. 52
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
The same is then verified from EAS console to check the proper cube refresh from the IKM.
pg. 53
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Delete Level0 - Deletes the member being loaded if it has no children. Removes security
attached to the member as well.
Delete IDescendantsDeletes the member being loaded and all of its descendants.
Delete DescendantsDeletes the descendants of the member being loaded, but does not
delete the member itself.
In this POC case, a level0 member is deleted from Hyperion Planning PLN_Samp application using
ODI.
Source: Flat file ACC_METADATA_LOAD_POC_2.csv contains a member 516000 that requires
to be deleted from Account dimension of the planning application PLN_Samp.
Target: Account member 516000 under Account dimension of PLN_Samp application. This
account would be deleted in this POC scenario using ODI.
pg. 54
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
At the interface Mapping window the setting Delete Level 0 is done on the Operation column:
pg. 55
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 56
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Target: Within Segment dimension in PLN_Samp application, under parent member HA a child
element PTAS would be added using ODI from the source table.
In the DN, a new model folder is created to host Oracle Database related models and datastores.
Next, a new model ODI_RDBMS_SOURCE_PLN is created with the details as shown below,
followed by RE of the table ODI_POC_PLN_HIER_MEMBERS
pg. 57
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 58
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Once RE is complete successfully a datastore for the source table is imported inside the ODI
repository under the model created. Therefore, the source datastore is ready to be used in mapping
interface.
Reversed columns
of Oracle table
Target datastore, is already RE in previous examples and is ready to be plugged into an interface.
Reversed columns
of Segment
dimension under
PLN_Samp
Planning
Application
pg. 59
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
On the Mapping window, source and target datastores are dragged and automatic mapping is
done. Fields not mapped automatically are mapped dragging the source fields directly onto the
target fields.
Before moving to the Flow tab settings it is important to note the data flow for scenarios where
metadata is loaded to Hyperion Planning from RDBMS source:
Oracle Database Table
Hyperion Planning
IKM SQL to
Hyperion Planning
Figure 10: Data Flow Load Metadata from RDBMS to Hyperion Planning
LKM SQL to SQL: LKM will load the source database table into the staging area, and all
transformations will take place in the staging area afterwards. This is a generic KM.
IKM SQL to Hyperion Planning: Loads metadata and data into Hyperion planning applications.
pg. 60
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Note: There is another KM called LKM SQL to Oracle, when staging area is hosted on Oracle
database specifically. Though LKM SQL to SQL and LKM SQL to Oracle does the same job, for
large data volumes its better to use LKM SQL to Oracle.
Details about loading strategies can be read at:
http://docs.oracle.com/cd/E23943_01/integrate.1111/e12645/lkm.htm
Next, Load Option settings are done on Planning IKM at Target on the Flow tab of the interface.
The interface is then saved and executed. Execution details and logs are observed from the ON.
pg. 61
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 62
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Next, accessing PLN_Samp application it is verified whether the member PTAS got added
successfully.
pg. 63
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Case 6: Create a ODI File Watch Package to Load Metadata from Flat File
Source to a Planning Application Target Demonstrating File Watch, Error
Log Capture and E-mail Sending Features
This POC scenario is about creating an ODI package where a file watch mechanism is implemented.
The idea is that metadata load from a flat file named ACC_METADATA_LOAD_ODI_POC.csv to
PLN_Samp application would happen if a 0 kb file named AccLoad.txt is present in a designated
folder. Success or failure of the package execution would be notified to intended recipients via email. Failure mails would be having the failure reason logs as attachments.
Source: Source file format is as shown below:
Target: Account dimension in PLN_Samp planning application, where the ODI package would load
the account POC_Account.
Interface POC_ACC_DIM_LOAD_FF1 is built as the following (steps are similar for RE, building
interface as discussed in previous POC cases).
pg. 64
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Definition
Mapping
pg. 65
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Flow
pg. 66
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
On the Diagram tab following ODI Tool elements are dragged and dropped to create the workflow.
pg. 67
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
4. Next, a failure mail is sent attaching the logs using OdiSendMail tool. Settings are shown
below:
5. From Step-2, in case the interface execution is a success - the process routes to an ODI tool
OdiSendMail that is intended send success mail to intended users. Settings are :
pg. 68
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
6. Final step is to delete the 0 kb file which is achieved using an ODI tool OdiFileDelete.
Settings are shown below.
Success Case: On running the package and viewing the session details from ON, following step
executions are observed.
pg. 69
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
pg. 70
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Failure Case: To make the interface fail, the source file is removed from the source folder.
Next, the package is run. As expected the interface step has failed.
pg. 71
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
Having a look at the error logs shows the reason for failure:
In case the 0kb file is not present in the source folder and the package is executed following
happens:
AccLoad.txt
not present
The session keeps on waiting for the file to arrive for the time delay defined in the properties. As
soon as it arrives, the process kicks off.
AccLoad.txt
has arrived.
pg. 72
Using ODI 11g with Hyperion Planning and Essbase 11.1.2.2 Part1
This suggests that this package can be scheduled during the business day which would monitor the
source folder using the file watch mechanism to look for the 0 kb flag file to load data from source file
to the target.
Data loading to Essbase cube ( valid for a native Essbase cube and Planning Essbase cube
both)
Outline extraction
Loading SQL metadata to Essbase,
Loading file metadata to Essbase
Writing from Essbase to a flat file Data Export
Writing from Essbase to a RDBMS Data Export
-------------------------------
pg. 73