• No results found

Hyperion Planning Classic Application Dimension Build using ODI

N/A
N/A
Protected

Academic year: 2021

Share "Hyperion Planning Classic Application Dimension Build using ODI"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

Oracle Data Integrator

Hyperion Planning Dimension Build Author: Manohar Anchan

The process below demonstrates how to build a dimension in Hyperion Planning 11.1.1 using Oracle ODI (10.1.3.5). In this example the Account dimension will be built via a metadata text file name statistical accounts.txt. All work is being done on the production planning server (XXXXXX) via remote login.

Note: The odiprams.bat in the ODI install directory bin folder must be executed prior to the ODI set up in topology manager.

1. Log into Topology Manager

2. Click on the “Context” tab on the bottom left and then click “Insert Context”.

(2)

3. For the name put in the application name (in this case, “NUMaster”). This will be the context we use for a dimension build in this environment. Click “OK”.

4. You should now see the “NUMaster” context on the left. We will use this context for all dimension builds in the NUMaster application. This will ensure we are clear on the context for what we are trying to accomplish.

(3)

5. Navigate to the Logical Architecture in Topology Manager and right click on the Hyperion Planning Technology and select “Insert Logical Schema”.

6. The new logical schema box appears. For “Name” enter “NUMaster_Planning”. This name can be anything but for this example using the name of the application and the technology using will simplify it when we go to assign it later. Leave “Undefined” in the Physical schema for each context. Click “OK”

(4)

7. Navigate to the physical Architecture tab and right click on the Hyperion Planning Technologies and select “Insert Data Server”.

8. For the name enter “NUMaster_Planning_Target”. Since we are building a dimension in the planning application “NUMaster is a “Target”. It will be clear later why you want “Target” in the name. Enter the planning server and port “11333”. This port could be different but this is the default RMI Port number. Enter the planning administrator User ID and applicable password. Click “OK”.

(5)

9. The screen below should pop up. The “Name” field will auto populate. Enter the application name in the Application fields. In this example the name of our application we want to dimension build in “NUMaster”. Click on the “Context” Tab.

10.Click the “Add Context” button. For the name enter “NUMaster”. This will be the context we use for a dimension build in this environment. Select NUMaster_Planning as the logical Schema. Click “OK”.

(6)

11.Navigate to “Logical Architecture” and right-click on the “File” Technology and select “Insert Logical Schema”.

(7)

13.Navigate to the “Physical Architecture” and right click on the File Technology and select “Insert Data Server”.

14.Enter the Following: Name “NUMaster_Dim_build”,

Host: “xxxxxxx” (Hyperion Planning Server Name). Leave username and password blank. Click on the “JDBC” tab.

(8)

15.Enter: JDBC Driver: com.sunopsis.jdbc.driver.file.FileDriver. JDBC URL: jdbc:snps:dbfile. Click the “Test” button to validate the connection. Click “OK” Note the button to the right will allow you to choose many drivers and URLs. In this case we are using the drivers specified, but it could be different depending on the environment.

(9)

16. Right Click on the data server you just created and select “Insert Physical Schema”. This is the location where the metadata files reside to build your dimensions. For this example we will use a local location on the server where ODI is installed.

17.The name field will auto populate. Enter the path to the directory location for both “Directory” fields. In this example we will use D:\Prod_Load_Files. Click “Context” tab. Make sure that directory exists or is created on the ODI Server.

(10)

18.Select the “NUMaster” Context and the “NUMaster_Dim_Build” logical schema. Click “OK”.

19.Navigate to the Logical Architecture and right click on “Sunopsis Engine” and select “Insert Logical Schema”.

(11)

21.Navigate to the Physical Architecture and right click on the “Sunopsis Engine” and select “Insert Data Server”.

22.Enter “Dim_Build_SME” for Name. The user name and password are from the ODIW table space. Click on the “JDBC” Tab.

(12)

23.On the JDBC tab the Oracle Server JDBC connection driver and URL need to be specified. The values in out example are below

a. JDBC Driver: oracle.jdbc.driver.OracleDriver

b. JDBC URL: jdbc:oracle:thin:@waoraprd1:1521:ORAHFMPR Click on the “Test” to validate the connection is successful. Click “OK”

24.The following window should appear. Click on the “Context” tab. Click the “Add Context” button.

(13)

25.Click on the “Add Context” button and select “NUMaster” for context and “Dim_Build_SME” for logical schema. Click “OK”

26. Once you have created the Logical and Physical Schemas, it is time to create a project and import the Knowledge Modules (KM). To create a project, you need to access the ODI designer. Once in the Designer tool, Click on the projects tab and then click on the “Insert Project” Button. It may ask you to login to Designer if it is not already opened. Enter “NUMaster_Dim_Build” for the name. Click OK.

(14)

27.You should see a NUMaster_Dim_Build with sub-folders.

28.To import KM’s, expand the Knowledge Modules folder and right-click on any of the folders under “Knowledge Modules” and select “Import Knowledge Modules”.

(15)

29.The following screen appears. Click on the button on the right of the “File Import Directory” and browse to the location of KM’s. Typically these are in the ODI install directory. In our example it will be

D:\Hyperion\OraHome_1\oracledi\impexp directory. This directory has all KMs regardless of technology.

(16)

30.Choose the following KMs to import and validate they show up in the tree as follows. You now have the project created. You will not use all of these but you may need them at a later date.

31.Navigate to the “Models tab in designer and click the “Insert Model Folder” button.

(17)

32.Enter “NUMaster_Dim_Build_Model”. Click “OK”.

33.After you created your Model folder you now need to create folders to you flat files (Metadata) and for your target planning application you want to update. To create the flat file Model folder, right click on the “NUMaster_Dim_Build_Model” folder and select “Insert Model”

(18)

34.Enter”NUMaster_Dim_Build_Files” for name. Select “File for technology. Select “NUMaster_Dim_Build” for Logical schema. Click the reverse tab.

(19)

36.After creating the “NUMaster_Dim_Build_Files” file Model folder, right click on the “NUMaster_Dim_Build_Files” Model and select “Insert DataStore”.

(20)

37.Enter “NUMaster_Stat_Accounts” for Name. Since there can be more than one dimension build, this naming convention notifies us which application and dimension are being updated with this file. For resource name, browse to the location of the appropriate metadata file to build your dimension. In our case it’s the statistical accounts.txt file located in the D:\Prod_Load_Files directory. If you don’t have a metadata file you will need to create a test file in order to proceed. This file is used to reverse engineer and proper file format is needed to proceed. Click on the “files” tab.

(21)

38.The “Statistical Accounts.txt” file we are using is a tab delimited file with one header line. Therefore make the selection below and then click on the “Apply” button.

a. File Format: Delimited

b. Heading (Number of Lines): 1

c. Field separator: Other and Comma(,) d. Text Delimiter: “

39.Expand the “NUMaster_Dim_Build_Files” and you will notice that there is a “lock” next to the “datastore” you created. In order to proceed

(22)

further you will need to remove the lock. Right click on the file click “Locks” and click “Unlock”. Click on the Columns tab.

(23)

40.Click on the Reverse button. This action goes out the reverse engineers your metadata text file into you file Model. So now ODI has a frame work for your source file stored in the backend relational tables. Later you will use this file as your “Source” to Map to your target which will be your planning outline. Click “OK”.

41.Now we need to create the planning Model this will bring into ODI the planning dimensionality. Right click on the “Dim_Build_Model” and select “Insert Model”.

42.Enter the following on the definition tab: Name NUMaster_Dim_build_Planning

(24)

Logical Schema: NUMaster_Planning

All other fields either auto-populate or defaults are used. Click the “Reverse” tab

43.Enter/Select the following on the “Reverse” tab: Customized

(25)

Logical Agent: Local (No Agent)

Select you KML RKM Hyperion Planning.NUMaster.Dim_Build

Click “Reverse” button. Answer “Yes” if it asks to Save. This will reverse engineer in you planning application to the ODI framework.

44. Make sure the Context and Agent are correct and Click “OK” to proceed.

(26)

46.Now under the “NUMaster_Dim_Build_Planning” folder you should see your planning dimensions listed. Note not all dimension are listed as some dimension (Year, Period, Currency, Scenario, Versions) don’t apply for dimension builds. Click “OK”.

47.Navigate back to Projects in designer and expand the “First Folder” under “NUMaster_dim_build” Project. Then right click on “Interface” and select “Insert Interface”.

(27)

48.On the Definition tab enter the following Name: Accounts_Dim_Build

Optimization Context: NUMaster

(28)

Select Dim_Build_SME selected in drop down Click the “Diagrams” tab

49.Now is when you bring in your “Source metadata file and your target planning application to do the mapping. You should see the screen below with the two areas: Sources, Target Datastore. Navigate to the Models tab so the “NUMaster_Dim_Build_Files” shows up on the left side pane.

(29)

50. Drag “NUMaster_Stat_Accounts” under “NUMaster_Dim_Build_Files” to the empty gray area in the Sources” box. Your statistical Accounts.txt columns should appear.

51.Now drag the “Account” Dimension under

“NUMaster_Dim_Build_Planning” to the empty gray area under “Target Datastore” Box. The below Warning will pop up. Choose “Yes” as it will auto map the parent child for us. If you choose No you can always manually map all field in the next step

(30)

52. The screen show which fields were auto mapped. You will need to manually map the remaining fields between “Target” and Source”. In this example we will not perform anymore mappings just take the defaults. Note: Parent = Parent, Account = Member and Alias Default = Alias. Thus it’s imperative that your “Source” metadata file is in proper parent/child format. Click the “Flow” tab

53. Click on the “NUMaster_Stat_Accounts” header. Verify the LKM Selected is “LKM File to SQL”.

(31)

54.Verify the IKM selected is “IKM SQL to Hyperion Planning”. Now input the desired “Option” and “Value”. For our example we will enter the following

(32)

Log Enabled: Yes

Log File Name: D:\Prod_Load_Files\Errors and Logs\Accounts.log Log Errors: Yes

Error log Filename: D:\Prod_Load_Files\Errors and Logs\Accounts.err

Click “Apply” and then Click “Execute”. Save the changes if it asks you to.

55. Make sure your “Context” is “NUMaster” and the agent is correct. In our example “Local” is correct as were not running against another agent. You can run ODI interfaced against satellite agents too. for Instance you need to setup a satellite agent on the Essbase server when performing Essbase data extraction. This is where you define the agent to run you interface. Click “OK”

56.Open Operator and view the job to make sure it ran successful. You should see a green checkmark if it did. Then expand it to view any

(33)

errors or warnings. Make any necessary fixed and rerun if it fails for any reason. In this case , 8 lines from out meta data file were processed successfully

57.Now log into Hyperion Planning web and navigate to the Planning application you were updating (NUMaster). Go to administration  Dimensions and navigate to the account dimension and verify the

(34)

account dimension is built in the planning web. This tells you whether the SQL back end tables were updated.

Congratulations!!!! You have successfully built a Hyperion planning dimension using ODI.

References

Related documents

• Surgical treatment for venous disease helps to address the underlying mechanism of the venous stasis ulcer. • Intervention may help speed ulcer healing and decrease

significantly to the existing social psychological literature regarding expressions of prosocial behaviour in both online and real world settings. Moreover, the results of this

Number of classification errors of the LDA-SPA models in the test set for 1 mm, 10 mm and 20 mm optical lengths. The number of selected wavenumber by SPA is indicated

The objective was to examine direct and indirect deforestation, defined as on-property displacement and cross-parcel displacement deforestation for soybean expansion in the Amazon

Participants submitted binding free energy predictions as a function of the number of force and energy evaluations for seven different alchemical and physical-pathway (i.e.,

Standards The learners demonstrate an understanding of the emergence of the Social Sciences and the different

command the fight, maintaining focus and level of intensity, allowing absolutely no potential for subordinate confusion. The rehearsal’s purpose is to validate synchronization –

This synthesis illustrates that in the absence of stringent policies, i.e., if historical trends of the global energy production and consumption hold into the future, it is