hyperion essbase integration with odi
DESCRIPTION
Steps to extract data from hyperion essbase and load it into relational table.TRANSCRIPT
![Page 1: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/1.jpg)
Steps to extract data from hyperion essbase and load it into relational database.
There are three methods to be able to extract data from essbase; these are using either a Calc script (9.3 onwards), Report script of an MDX query. If your essbase db is BSO then you will be able to use all of the methods, if it is ASO then you will only be able to use the report script or MDX query.
You first have to create a calc script using the DATAEXPORT function that will extract to a text file.
The DATAEXPORT function writes a dense dimension as the columns so you have to decide how you want your data to look, as it will need to be matched against how you reverse the essbase database in ODI. I am using the Sample. Basic db and have decided to use the Scenario as the dense dimension for the columns.
It is important to use :- DataExportDimHeader On;
As ODI will consider the first 2 records to be header information, the extract file will also have to write to location which will be accessible by ODI, this is not so bad if ODI is on the same server as essbase but becomes more of an issue if they are separate, one of the reasons I am not so seen on this method.
![Page 2: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/2.jpg)
Running the calc script produces the following output :-
Now, you have to set up the connection to essbase in the topology manager
Data Server:-
Physical schema:-
![Page 3: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/3.jpg)
Logical Schema:-
New Project:-
![Page 4: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/4.jpg)
Import Knowledge Modules:-
Insert New model:-
![Page 5: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/5.jpg)
In the reverse section, select the context and the logical agent, the KM to use is “RKM Hyperion Essbase..”
To be able to return the correct data columns the KM options have to be updated.
MULTIPLE_DATA_COLUMNS – Set to “Yes” as our exported data has multiple columns.
DATA_COLUMN_DIMENSION – Set to “Scenario” as this data dimension in the exported data file
DATA_COLUMN_MEMBERS – Set to “Actual, Budget” as these are the members in the exported data file.
![Page 6: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/6.jpg)
Reversing the cube produces
You will notice the members Actual & Budget have been generated in the data DataStore.
Establish target connection.
Create data server:-
![Page 7: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/7.jpg)
Physical schema:-
![Page 8: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/8.jpg)
Logical Schema:-
Target Model:-
![Page 9: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/9.jpg)
Reverse engineer produces following output:-
![Page 10: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/10.jpg)
Interface:-
![Page 11: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/11.jpg)
Within the flow area the LKM to use is “LKM Hyperion Essbase DATA to SQL”
The Options are important to get correct.
![Page 12: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/12.jpg)
EXTRACTION_QUERY_TYPE :- Three possible types CalcScript, MDXQuery or ReportScript, you will need to manually enter the type if you are not using the default ReportScript.
In this lesson set it to Calcscript.
EXTRACTION_QUERY_FILE :- This is the location of the file that will be run to extract the data from essbase, so obviously three file types. For the CalcScript you can enter the fully qualified location of the file or if it resides in the essbase app directory you can just type the name of it without the file type suffix.
In this lesson, set it to ESSTEST ( name of calculation script ESSTEST.csc)
EXT_COL_DELIMITER :- this is the columns delimiter that is being used, in my example the calc script is creating a comma delimited file so I just enter ,
EXTRACT_DATA_FILE_IN_CALC_SCRIPT – This only applies if you are using the query type of CalcScript, it is the location of the file created by the calc script., this file must be accessible by ODI.
The other options are self-explanator.
The IKM I used was “IKM SQL Incremental Update” with the options
Insert - true
Update - false
Flow control - false
Delete All - true
Create target table - true
See below screen shots for more info.
![Page 13: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/13.jpg)
Run interface.
Open operator to see the execution status.
![Page 14: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/14.jpg)
View data in odi itself.
![Page 15: Hyperion Essbase integration with ODI](https://reader036.vdocument.in/reader036/viewer/2022062313/557cfed4d8b42a57118b5153/html5/thumbnails/15.jpg)