L04 loading metadata

19

Click here to load reader

Transcript of L04 loading metadata

Page 1: L04 loading metadata

4Copyright © 2008, . All rights reserved.

Loading Metadata

Page 2: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Objectives

After completing this lesson, you should be able to:

• Format metadata files

• Set up dimensions

• Manage multiple languages

• Create import profiles

• Run import profiles

• View job status

• Create interface tables

Page 3: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Metadata Load Files Overview

• You can load metadata from text files.

• Load files can contain metadata for these items:– Account, Entity, Scenario, Custom, and ICP dimensions– Period, Year, and View dimensions– Value dimension– Currencies– Consolidation methods– Security classes– Aliases

Page 4: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Formatting Metadata Load Files

• Load files are divided into sections with an exclamation point as the delimiter defining the section header.

• Sections can be in any order in the file.

• The line defining the column names is immediately below the section header and begins with an apostrophe.

• You can place the column names in any order.

!Members=Standard Products'Name;SwitchSignForFlow;SwitchTypeForFlow;IsCalculated[None] N;N;NAllProducts;Y;N;NGolf;Y;N;NGolfBalls;N;N;N

Section header Column names

Page 5: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Setting Up Dimensions

For each dimension:

• Add an entry to the DIMENSIONS section to define the dimension.

• Add a !MEMBERS section to specify members and their properties.

• Add a !HIERARCHIES section to specify parent-child relationships.

• Add entries to the DIMENSIONASSOCIATIONS section for each member property with an association to another dimension.

Page 6: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Dimensions Section

• Add an entry for each dimension in the load file.

• Include these required columns: Name and DimensionClass.

!Section=Dimensions'Name;DimensionClass;DefaultTopMember;DimensionAlias;CustomIDGlobalCurrencies;Currency;#root; GlobalCurrencies;Calendar Months;Period;#root;CalendarMonths;Standard Scenario;Scenario;#root;Scenario;Standard Year;Year;#root;Year;Functional Entity;Entity;#root;Functional;AccountUSGAAPCommercial;Account;#root;GlobalCOA;

Page 7: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Members Sections

• Use a separate members section for each dimension.

• Use Y for Yes and N for No.

!Members=Standard Scenario'Name;DefaultFrequency;DefaultView;ZeroViewForNonAdj;ZeroViewForAdj;ConsoActual;MTD;Periodic;Periodic;Periodic;N;10;Y;N;;Y;MTD; Budget;MTD;Periodic;Periodic;Periodic;N;10;Y;Y;;Y;MTD;

Page 8: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Managing Languages

!Members=T_Account 'Name;Alias=English;Alias=French;ConsolidationAccountType;IsCalculated;IsConsolidate AverageMonthlySales;Average Monthly Sales;Moyenne des ventes;Balance;Y;N;;TotalBusinAverageRate;Average Rate;Taux moyen;CurrencyRate;N;N;;;;;;6;Y;Y;Y;Y;;;N;N;SYSTEM;Y;; BankOverdraft;Bank Overdraft;Decouvert;TotalShortTermLiab;Liability;N;Y;;;;;ClosingB

Page 9: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Hierarchy Sections

• !HIERARCHY sections define parent-child relationships

• Use this format:<parent member>;<child member>

• Represent top-level members as children of #root:#root;<top-level member>

!HIERARCHIES=Entity'Parent;Child#root;GeographicalGeographical;UnitedStatesGeographical;EuropeUnitedStates;CaliforniaCalifornia;1000California;Plant1California;WestSales

Entity

Geographical

UnitedStates

California

1000

Plant1

WestSales

Connecticut

Mass

Europe

Page 10: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

DimensionAssociations Section

!Section=DimensionAssociations'BaseDimension;Property;TargetDimensionFunctionalEntity;SecurityClass;Security ClassesFunctionalEntity;Currency;GlobalCurrencies

Page 11: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Loading Metadata Process

You perform the following tasks to load metadata:

1. Create an import profile.

2. Specify load options.

3. Map dimensions in the load file to dimensions in the Dimension Library.

4. Map columns in the load file to dimension properties in the Dimension Library.

5. Run the import profile.

Page 12: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Creating Import Profiles

Page 13: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Defining Load Options

Page 14: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Mapping Dimensions

Source FileGlobalCurrenciesLanguages

Shared LibraryC_CurrencyC_Alias

Page 15: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Mapping Properties

Maps fields to member properties

Page 16: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Running Import Profiles

Page 17: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Viewing Job Status

Page 18: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Process for Loading Metadata from Interface Tables

Interfacetables

Relational database Performance ManagementArchitect

Page 19: L04 loading metadata

Copyright © 2008, Oracle. All rights reserved.

Summary

In this lesson you should have learned to:

• Format metadata files

• Set up dimensions

• Manage multiple languages

• Create import profiles

• Run import profiles

• View job status

• Create interface tables