Você está na página 1de 17

Creating Custom Row Sources

Purpose
This tutorial covers how to create custom table-based row sources.

Time to Complete
Approximately 40 minutes.

Overview
You can create a custom row source in Integrated Operational Planning to access external database tables. A custom row source enables you to create a virtual copy of the data within the product and use that data for modeling and analysis. If you create a table-driven (custom) row source in Integrated Operational Planning, you must add two columns sandbox and active in order for Integrated Operational Planning to connect to the custom row source.

Scenario
In this example, you use Oracle SQL Developer to verify that the targeted external table, external_orders_data, is correctly structured. Next, you create the custom row source in Integrated Operational Planning, map it to the PlanDemand cube, and add a loaded measure to it.

Software and Hardware Requirements


The following is a list of software requirements:

Integrated Operational Planning 4.0.1 Java Development Kit JDK 1.6.0_12 or later Microsoft Internet Explorer 6.x or 7.x Oracle 10.2.0.4 or 11.1.0.7 database

Prerequisites
Before starting this tutorial, you should: . . . . Load the Integrated Operational Planning model. Start the Integrated Operational Planning server. Define Integrated Operational Planning dimensions, row sources, and cubes. Create the external database table targeted as the custom row source.

Verifying External Table Structures


To verify the external table structure, perform the following steps: 1. Log on to Oracle SQL Developer as the Integrated Operational Planning database owner.

2. Verify that the table contains the two required columnssandbox and active for mapping to Integrated Operational Planning. In this example, the table is external_orders_data.

Creating Custom Row Sources


To create a custom row source, perform the following steps: 1. Log on to Integrated Operational Planning as the administrator.

2.

From Planning Workbench, click the Administration Workbench link.

3.

In the Object Browser section, from the View drop-down list, select Rowsources.

4.

From the Actions drop-down list, select Add to display Rowsource Wizard.

5.

In the Name box, enter a unique identifier for the custom rowsource. In this example, enter external_orders_RS.

6.

From the Type drop-down list, select Custom.

7.

Select the Columns tab.

8.

In the Database Table Name box, enter external_orders_data, and click Refresh Fields to display the row source columns.

9.

Select the Key and Indices tab, and in the Rowsource Key section, click Edit.

10. In the Available Columns section, press Ctrl key and select PRODUCT and ORDER_DATE.

11. Click Add to move the columns to the Selected Columns section and click OK.

12. Click Save.

Mapping Custom Row Sources to Cubes


To map a custom row source to a cube, perform the following steps: 1. In the Administration Workbench Object Browser section, from the View drop-down list, select Rowsources.

2.

Select the custom row source. In this example, select external_orders_RS.

3.

In the Object Details section, on the Graph tab, click the custom rowsource icon, and select Map to Cube.

4.

On the Rowsource Mapping page, select the cube that you are mapping to. In this example, select PlanDemand.

5.

Select the Default Map tab.

6.

Map the cube dimensions to the custom row source columns and click Save.

In this example, map the FiscalCalendar dimension to the ORDER_DATE rowsource column and map the Product dimension to th rowsource column.

7.

In Data Designer, select the Relationships tab to verify that the custom row source is mapped to the correct cube. In this example is correct.

Creating Custom Row Source Measures


To create a custom row source measure, perform the following steps: 1. In the Administration Workbench, Object Browser section, from the View drop-down list, select Cubes.

2.

Select a cube. In this example, select PlanDemand.

3.

From the Actions drop-down list, select Edit.

4.

Select the Measures tab.

5.

Click Create to add a line to the Measures section.

6.

In the Name box, enter the measure name. In this example, enter External Orders.

7.

From the Type drop-down list, select Loaded.

8.

Click the 7. link to display the Measure Details section.

9.

From the Rowsource drop-down list, select a custom rowsource. In this example, select external_orders_RS.

10.

From the Rowsource Column drop-down list, select a custom row source column. In this example, select ORDERS.

11.

Click Save.

Summary
In this tutorial, you learned how to create custom table-based row sources.

Você também pode gostar