Skip Headers

Oracle Financial Analyzer User's Guide
Release 11i

Part Number A96138-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

23
Data Loaders

Chapter summary

This chapter introduces Financial Analyzer's data loader feature and provides reference material and examples to help you create your own data loader programs.

Who should read this chapter

Individuals who create and run a data loader program for loading data into Financial Analyzer should read this chapter.

List of topics

This chapter includes the following topics:

About the Data Loader Feature

Definition: Data Loader feature

The data loader feature uses Oracle Express Administrator to create programs that load information and data into your personal and shared databases.

You can define programs that perform the following tasks:

Process for creating a Data Loader program

You follow these general steps to create a data loader program.

  1. In Financial Analyzer, from the Maintain menu, choose Data Loaders and then choose Create. This opens Oracle Express Administrator.

  2. In Oracle Express Administrator, from the File menu, you choose Import. This opens the Import Text Data dialog box.

  3. You specify the path and file name of the data file that the data loader program will access.

  4. You specify whether the data file uses character delimited fields or fixed length fields.

  5. You specify the Express database or metadata object into which the information in each field will be loaded.

  6. You specify the appropriate settings for each dimension, variable, or relation information that you will load.

  7. You specify a name for the data loader program that you are creating.

  8. When you have created all the data loader programs that you need, you exit Oracle Express Administrator.

  9. You run the data loader that you created.

Related information

For more information about creating data loader programs, search for the following topic in the Financial Analyzer Help system: "Creating a Data Loader."

Structural Metadata and Express Database Objects

Introduction

When you create a data loader program to load values into dimensions, hierarchies, attributes, or financial data items, your program must populate the Express database and metadata objects that are related to each type of Financial Analyzer structure.

Note: All dimensions, hierarchies, attributes, and financial data items must be defined using the Financial Analyzer user interface. You cannot use the data loader feature to create these structures.

Express database objects associated with Financial Analyzer structures

When you create Financial Analyzer dimensions, attributes, and financial data items, they are stored in your database as Express objects. When you create a data loader program, you must specify the Express object or objects that will store the information you are loading. The Oracle Express Administrator Database Browser displays the Express database and metadata objects that are related to the Financial Analyzer structures in your personal database.

The following topics provide information about the Express objects that are associated with each type of Financial Analyzer structure and show an example of how each would appear in the Database Browser.

Dimensions

A Financial Analyzer dimension is stored as an Express dimension. This object stores values that you load into the dimension.

You can view a list of all of the dimensions in your personal database by clicking on the Expand icon next to the Dimension label in the Database Browser. The object name and description for each dimension appear in the Browser window.

Example: The Express dimension object for a sample dimension called Example would appear as follows.


Text description of U_19c001.gif follows.
Text description of the illustration U_19c001.gif

Note: When you create a dimension in Financial Analyzer, a set of Express metadata objects is defined in addition to the Express dimension object. These metadata objects must also be populated when you load dimension values into a dimension. If you fail to populate the dimension metadata objects, you will not be able to appropriately work with or view data associated with the dimension's values. The metadata objects that you must populate are discussed later in this topic.

Attributes

A Financial Analyzer attribute is stored as an Express relation.

You can view a list of all of the relations in your personal database by clicking on the Expand icon next to the Relation label in the Database Browser. The object name (which is created by the system) and description for each relation appear in the Browser window.

Example: The Express relation for a sample attribute called Example Attribute 1 would appear as follows.


Text description of U_19c002.gif follows.
Text description of the illustration U_19c002.gif

Note: You can load information into one-to-many attributes only. You cannot use the data loader feature to load information into many-to-many attributes.

Financial data items

A Financial Analyzer financial data item is stored as either an Express variable or formula.

Note: You can load data into an Express variable but you cannot load data into a formula.

You can view a list of all of the variables in your personal database by clicking on the Expand icon next to the Variable label in the Database Browser. The object name and description for each variable appear in the Browser window.

Example: The Express variable for a sample financial data item called Example FDI 1 would appear as follows.


Text description of U_19c003.gif follows.
Text description of the illustration U_19c003.gif

Express metadata objects associated with Financial Analyzer dimensions

When you create a dimension, a set of dimension metadata objects is also created. These objects are displayed when you click on the Expand icon next to a dimension in the Express Administrator Database Browser. They store information related to the dimension's values.

Example

For a sample dimension called Example, the Oracle Express Administrator Database Browser would display the complete set of metadata objects as follows.


Text description of U_19c004.gif follows.
Text description of the illustration U_19c004.gif

The following topics provide information about each dimension metadata object.

Dimension value name variable

Dimension value names that you load are stored in an Express variable. The variable name is composed of the dimension's object prefix followed by the suffix .desc.

Example: The dimension value name variable for the Example dimension would be called Example.desc.

Row label variable

Row labels for the dimension values that you load are stored in an Express variable. The variable name is composed of the dimension's object prefix followed by the suffix .lbl.row.

Example: The row label variable for the Example dimension would be called Example.lbl.row.

Column label variable

Column labels for the dimension values that you load are stored in an Express variable. The variable name is composed of the dimension's object prefix followed by the suffix .lbl.col.

Example: The column label variable for the Example dimension would be called Example.lbl.col.

Hierarchy relation

The dimension value relationships that make up a hierarchy are stored in a type of Express relation, called a self-relation. In a self-relation the values of a dimension are related to other values of the same dimension. The relation name is composed of a prefix of Fmshrel followed by the dimension's object prefix.

Example: The self-relation for a hierarchy based on the Example dimension would be called Fmshrel.example.

Hierarchy dimension

When you create the first hierarchy based on a particular dimension, an Express hierarchy dimension is defined for the dimension. The values of the hierarchy dimension are the internal system names of all hierarchies that are based on the dimension. The dimension name is composed of a prefix of Fmshdim followed by the dimension's object prefix.

Note: This object is not used in the creation of data loader programs.

Example: The hierarchy dimension associated with the Example dimension would be called Fmshdim.example.

Guidelines for Data Files

Introduction

It is important that you check your data files to be sure that they adhere to the following guidelines. These guidelines ensure that you will be able to appropriately view and work with your financial data after you have loaded it.

Correcting file problems

In some cases you have to edit your data file to correct problems; in other cases you can set up your data loader program to correct problems as you load the data in the file.

Sample Data Files

About the sample data files

This topic contains two sample data files, one that loads information into Express database and metadata objects, and one that loads financial data into a financial data item. Both files have fixed-length fields.

FIle to load information into Express database and metadata objects

In this example, the data file loads values into the Express database and metadata objects associated with the Organization dimension. The Oracle Express Administrator Database Browser displays information for the Express dimension objects and for the Express variable that stores the Actual financial data item.

Note: These are the objects that you drag from the Database Browser window to the Express Object column in the Import Text Dialog box when you create the data loader program for this sample data file.

Dimension name and description

The following is the name and description of the dimension into which dimension values will be loaded.


Text description of U_19c005.gif follows.
Text description of the illustration U_19c005.gif

Dimension value name variable

The following is the dimension value name variable into which dimension value names will be loaded.


Text description of U_19c006.gif follows.
Text description of the illustration U_19c006.gif

Row label variable

The following is the row label variable into which dimension value row labels will be loaded.


Text description of U_19c007.gif follows.
Text description of the illustration U_19c007.gif

Column label variable

The following is the column label variable into which dimension value column labels will be loaded.


Text description of U_19c008.gif follows.
Text description of the illustration U_19c008.gif

Self-relation

The following is the self-relation into which the parent and child relationships between values of the Org dimension, which create the structure of a hierarchy, will be loaded.


Text description of U_19c009.gif follows.
Text description of the illustration U_19c009.gif

One-to-many relation

The following is the name and description of the relation into which the one-to-many relationships between values of the Org dimension and another Financial Analyzer dimension, which create the structure of an attribute, will be loaded.


Text description of U_19c010.gif follows.
Text description of the illustration U_19c010.gif

Sample data file

The following is the sample data file.

Dimension Value

Dimension Value Name

Dimension Value Row Label

Dimension Value Column Label

Hierarchy Relation

Attribute Relation

C01100

01100-Resource Rollup

Resource Rollup

Resource Rollup

C01PT

NA

C01110

01110-Facilities Resources

Facilities Resources

Facilities

C01100

GANDA

C01120

01120-Machine Resources

Machine Resources

Machine

C01100

GANDA

C01130

01130-Comp and Comm Resources

Comp and Comm Resources

Comp & Comm

C01400

GANDA

C01400

01400-Sales Rollup

Sales Rollup

Sales Rollup

C01PT

NA

File to load financial data into a financial data item

In this example, the data file references the values in the Express database associated with the Organization, Line, Product, and Time dimensions. It then loads financial data into a financial data item called Actuals.

Note: These are the objects that you drag from the Database Browser window to the Express Object column in the Import Text dialog box when you create the data loader program for this sample data file.

The Oracle Express Administrator Database Browser displays information for the Express dimension objects and for the Express variable that stores the Actuals financial data item.

Object name and description: Organization dimension

The following is the object name and description of the Organization dimension, which is referenced when data is loaded into the Actuals financial data item.


Text description of U_19c011.gif follows.
Text description of the illustration U_19c011.gif

Object name and description: Line dimension

The following is the object name and description of the Line dimension, which is referenced when data is loaded into the Actuals financial data item.


Text description of U_19c012.gif follows.
Text description of the illustration U_19c012.gif

Object name and description: Product dimension

The following is the object name and description of the Product dimension, which is referenced when data is loaded into the Actuals financial data item.


Text description of U_19c013.gif follows.
Text description of the illustration U_19c013.gif

Object name and description: Time dimension

The following is the object name and description of the Time dimension, which is referenced when data is loaded into the Actuals financial data item.


Text description of U_19c014.gif follows.
Text description of the illustration U_19c014.gif

Object name and description: Actuals variable

The following is the object name and description of the Actuals variable, into which financial data for the Actuals financial data item will be loaded.


Text description of U_19c015.gif follows.
Text description of the illustration U_19c015.gif

Sample data file

The following is the sample data file.

Organization Dimension Values

Line Dimension Values

Product Dimension Values

Time Dimension Values

Actuals Data Values

C01100

A6100

PPT

JAN00

2207272.65

C01100

A6100

PPT

FEB00

2382589.36

C01100

A6100

PPT

JAN00

502889.92

C01100

A6100

PPT

FEB00

542832.88


Go to previous page Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index