Setting Up and Working with Metadata for the Operational Warehouse - Enriched

This chapter provides an overview of metadata, lists common elements, and discusses how to:

Click to jump to parent topicUnderstanding Metadata

The PeopleSoft Analytical Applications are supported by a framework of metadata. Metadata defines everything from table and data structures to rules for running processes. Metadata is central to the entire Analytical Applications product suite.

When you run PeopleSoft EPM processes, you require two types of input: your business data and the appropriate EPM metadata. Metadata provides an abstraction layer that enables technical users to establish dynamic relationships between tables, business users to easily identify the data that interests them without having to know the database structure, and administrators to manage processes.

Metadata is information that is used by processes and application engines to define rules and physical objects such as tables or trees. For instance, you may want an application engine to process certain columns from certain tables. Instead of entering a long SQL statement, you can define a datamap.

This diagram shows the relationship between data and metadata in EPM.

EPM data and metadata

This section discusses:

Click to jump to top of pageClick to jump to parent topicMetadata Terms and Objects

When we discuss metadata, we discuss:

The metadata structure that is used by the PeopleSoft EPM engines is built in several layers or levels, each dependent on the layer below it. The following table lists the metadata layers that are found in PeopleSoft EPM in order from the lowest to the highest level:

Metadata Object

Includes

Record metadata

Defines the lowest level of EPM metadata table objects. This is the foundation on which all other metadata is defined. Record metadata defines and identifies EPM data tables.

Tablemaps

Define the physical relationships (joins) between tables and are foundations for datamaps.

Datamaps

Built on tablemaps, datamaps are similar to table definitions in that they describe a logical view of the tables themselves. They enable you to select information from different tables that are specified in a tablemap and define it as if it were one entity or table.

Constraints

Built on datamaps and can use one or more filters to define your business processing rules.

Filters

Enable you to define what subset of data gets processed by or uses a specific business rule.

This diagram illustrates how PeopleSoft EPM metadata is nested to define a SQL statement.

EPM metadata, SQL

The resulting SQL is SELECT (Datamap) FROM (Tablemap) WHERE (Constraints/Filters).

Other types of metadata and terms are:

ERP metadata

Examples are calendars, fiscal year, accounting period, business unit, and setID.

See Setting Up EPM Business Rules.

Data sets

Used as input for various engines.

Expressions

Enable you to create virtual columns that are made up of mathematical calculations based on actual fields on a table.

Tree metadata

Captures information about the trees that you have set up in PeopleSoft EPM. It is mainly used for reporting.

Rule metadata

Gathers the rules for PeopleSoft EPM engines based on the standard keys of setID, business unit, model ID, and effective date. Rule metadata is used by PeopleSoft EPM engines to recursively determine inheritance rules between models.

Balancing rules

Enable you to track before and after amounts in the system.

Job totals

Define flash totals for data to be used as input or output to the different source or target tables in the system.

PF_RECONCILIATION engine

PF_RECONCILIATION uses the job totals and balancing rules metadata that you set up to validate balances.

Engine and job metadata

Delivered metadata for running jobs and jobstreams.

Not all the metadata objects are described in this chapter. Refer to the following chapters for information about rule and engine metadata and balancing rules and job totals metadata.

See Also

Working with Engine Metadata

Setting Up Job Metadata

Using Balancing and Reconciliation Features

Click to jump to top of pageClick to jump to parent topicSQL Object ID

The SQL object ID is a system-generated number that identifies a SQL object that is generated by a metadata component and is stored in the PeopleSoft SQL repository. The prefix identifies the PeopleSoft EPM product, metadata object, and sequential number for each metadata object respectively, for example PF$_MR_140. Many setup pages within PeopleSoft EPM have a SQL object ID associated with the page definition.

Various types of SQL object ID prefixes exist, depending on the metadata object that you set up:

SQL Object ID Prefix

Metadata Object

PF$_MR_#

Record Metadata

PF$_RS_#

Record summary metadata

PF$_TM_#

Tablemaps

PF$_DM_#

Datamaps

PF$_EX_#

Expressions

PF$_CN_#

Constraints

PF$_RL_#

Rule Metadata

PF$_DS_#

Data sets

MD$_xxx_#

Data Manager. Where xxx is the rule ID.

AB$_yyy_xxx_#

ABM. Where yyy = setID, and xxx = rule ID.

Click to jump to top of pageClick to jump to parent topicMetadata Utilities

Several utilities are available that you can use to search for and validate your metadata objects. These utilities include :

These utilities are described later in this PeopleBook.

Warning! Only an experienced user should make changes to existing metadata.

See Also

Finding Metadata Objects

Running Mass Validate

Performing Impact Analysis

Click to jump to parent topicCommon Elements Used in This Chapter

Hidden Object

This is a check box that enables power users to edit metadata objects while ensuring that everyday users can only view the objects. It enables another level of security to be applied to metadata.

Owner ID

Assign an owner ID to a particular metadata object. The owner represents an EPM functional area (such as ABM or Budgeting) that is associated with a metadata object. Assigning an owner ID to the metadata organizes and groups the metadata, making it easier to locate and audit. After an owner ID is defined for record metadata, any tablemap, datamap, and constraint built on this record inherits the owner ID of the primary table.

Note. You can add owner ID values by updating the translate values in the Owner table (PF_OWNER). However, the added values represent a configuration and are not supported and must be migrated on upgrade.

Warning! When an owner ID is changed for parent metadata (for example, record metadata), the owner IDs for child metadata (for example tablemaps and datamaps) are not updated.

SQL Object ID Prefix

A system-generated number that identifies the prefix of the SQL that is built by this component in the SQL repository.

Click the Compile button on any of the metadata pages to build the metadata. Remember that you need to recompile any metadata that you change using this button.

Description

The Metadata search engine uses the description that you enter to find metadata objects.

Click to jump to parent topicFinding Metadata Objects

This section describes how to search for metadata objects.

Click to jump to top of pageClick to jump to parent topicPage Used to Find Metadata Objects

Page Name

Definition Name

Navigation

Usage

Metadata Search

PF_SRCH_PANEL

EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Search

Search for delivered and created metadata objects.

Click to jump to top of pageClick to jump to parent topicSearching for Metadata Objects

Access the Metadata Search page (EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Search).

Search Keywords

Enter any keywords that you want to search by. You can use the AND, OR, and parentheses buttons to create a search string. Alternatively, you can leave this field blank and just search on a setID.

Metadata Types

You can further narrow your search by specifying the metadata types to search on.

Click the All Metadata button to select all the metadata types that are listed.

Click the Clear all flags button to clear all the current selections in the Metadata Types group box.

Restrict SetID

Select Yes to restrict the search to a specific setID. This applies only to data sets, constraints, and filters.

Search

After you have entered your criteria, click the Search button to activate the search. Depending on your criteria and the amount of metadata in your system, the search may take a while. The search returns metadata matching your criteria to the grid at the bottom of the page.

Click the Go to Setup Page button to go directly to the metadata setup page of any of the metadata objects that are returned.

Click to jump to parent topicApplying the Hidden Flag to Metadata Objects

To fully secure your metadata objects, it is recommended that you establish hidden flags. Hidden flags enable power users to edit metadata objects while ensuring that everyday users can only view the objects. Hidden flags provide you with an extra level of security for your metadata. Hidden flags use the PeopleTools My Personalizations feature to determine how to render the page for a user. If the user does not have access to the hidden flag through the personalization feature, then the page will be rendered as display only. This ensures that daily users are not able to modify or delete the metadata object

Using this flag, system administrators can control access to metadata objects. System administrators may also assign power users access on an as-needed basis.

This flag acts as an attribute for the following metadata objects:

This section discuses how to:

Click to jump to top of pageClick to jump to parent topicApplying the Hidden Flag to Metadata Objects

On any of the metadata setup pages for record metadata, tablemaps, datamaps, expressions, filters, constraints, or data sets, select the Hidden Flag check box to activate the hidden flag for that metadata object.

Click to jump to top of pageClick to jump to parent topicGranting Access to Hidden Metadata Objects

System administrators may grant access to hidden metadata objects for day-to-day users (power users) by enabling them to access the My Personalizations, EPM Expert User Settings page.

On this page, users can click the Personalize Option button for EPM Expert User Settings to access the Option Category: EPM Expert User Settings page. On this page, power users can set the override value for Display Hidden Objects to Yes to enable them to modify metadata objects that are hidden from day-to-day users.

Click to jump to parent topicSetting Up Record Metadata

This section provides an overview of record metadata and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Record Metadata

Record metadata defines the first level of metadata; that is, it defines the tables that are part of EPM . Your PeopleSoft database contains several types of tables:

Record metadata defines and identifies the PeopleSoft EPM data tables only.

PeopleSoft delivers permanent data tables and the corresponding record metadata that identifies them as fact tables, fact reference tables, dimension tables, dimension reference tables, or transaction-dated tables.

If you add new tables, you must set up record metadata for each table that you add.

If you change a table, you must recompile record metadata for that table. If you add a non-key column to a table, you must recompile the record metadata. If you add a key column, you must recompile the record metadata and any tablemaps, datamaps, constraints, filters, or other metadata objects that are associated with it.

The Record Stub

Every permanent data table that is defined within EPM requires a shadow temporary table, known as the record stub. Shadow temporary tables have a similar record layout that generally matches the permanent tables. One exception to this is long varchar, long binary columns are removed. The temporary tables are defined as temporary tables on the PeopleTools record definition.

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up Record Metadata

Page Name

Definition Name

Navigation

Usage

Record Metadata

PF_META_REC_TBL1

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Record Metadata

Define record metadata for any new tables that you add to EPM.

Record Metadata - Field Properties

PF_META_REC_SEQ

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Field Properties

Verify that your permanent and temporary tables are in sync.

Record Metadata - Table Description

PF_META_REC_NOTE

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Table Description

Enter any notes that you want to associate with the record metadata.

Record Metadata - Related Metadata

PF_META_RELMD

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Related Metadata

Create and review tablemaps, datamaps, and constraints that are related to specific record metadata.

Click to jump to top of pageClick to jump to parent topicDefining Record Metadata

Access the Record Metadata page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Record Metadata).

Record Details

Temporary Table

Select a temporary table to use in parallel processing.

When the system uses temporary tables for parallel processing, it uses the temporary table in conjunction with the record suite table.

Note. Temporary tables need to be selected only for Operational Warehouse - Enriched (OWE) tables.

Table Type

Select the type of table for the selected record.

You can select Dimension Reference Table, Dimension Table, Fact Reference Table, Fact Table, Security Join Table, or Transaction-Dated Fact Table.

Merge Allowed

Select this check box if the table name needs to be merged from a temporary table to a final table by the Merge (PF_MERGE) application engine.

Generally, this check box is used for engine output tables only.

Warning! The following tables must never be marked for Merge: PF_LEDGER_F00, PF_JRNL_F00, PF_ADB_JRNL_F00, PF_LED_ADB_F00, LEDGER, or LEDGER_ADB.

Selective Merge

Select this check box to use in the selective merge delete clause.

Temporary tables that are created during the last step of a jobstream run are merged into permanent tables (F00 tables). To avoid duplicates in the permanent tables, a delete must occur before the merge. Typically, the run control parameters are used to delete the necessary rows from the permanent tables and then the temporary tables are merged in. For some isolated cases, a more restrictive delete is necessary. The Selective Merge process performs a delete with even more criteria than just the run control parameters. Selective Merge bases its delete on the run control parameters plus the SQL Object ID that is entered in the record metadata settings for each specific table and settings within the Application Engine (AE).

Note. You generally do not use Selective Merge unless your application uses KPI Manager.

SQL Object ID

Select the ID of the SQL object for the selective merge.

Related Warehouse Tables

Error Table

Select the OWE error table related to the selected record.

The error table contains the error data that fails as part of the edit and modification process.

TSE Table Name

Select the TSE table related to the selected record.

The TSE (transaction editor set) table contains error message detail information.

Owner Details

Component

Select the component to which the record metadata belongs.

Select either Multi-Dimensional Warehouse or Operational Warehouse - Enrich.

Sub Component

Select the sub component, or type of data, associated with the selected record.

Select either Enriched Data orInput Data.

When you have completed your record metadata setup, click the Compile button to generate the SQL objects. You must also build your SQL anytime you make changes to the record metadata.

Click to jump to top of pageClick to jump to parent topicReviewing Record Column Properties

Access the Field Properties page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Field Properties).

Key Field

Select this check box if the field is a key on the permanent table.

Field Name

Lists all the fields on the permanent table.

Field Type

Lists the field type for each column.

Prompt Table

Column in which you can enable the system to prompt for criteria and default value fields.

Field on Temp Table (field on temporary table)

Select this check box for all fields that also appear on the temporary table. In general, this should be all fields, with the exception of transaction-dated tables.

Measure

(Transaction-dated tables only). All numbers (DBFIELDTYPE = 2) and signed numbers (DBFIELDTYPE = 3) that are defined on the temporary table. When the SQL is generated for these fields in a list, they are enclosed in a sum construct, for example, sum (REPORTED_HRS).

Resolve By

Select a key for use in the rule resolver process.

The Rule Resolver is an application engine program that is called by most PeopleSoft EPM engines to gather the rule sets that are used in processing. The main function of the Rule Resolver is to gather the rules for a given process run based on the standard keys of setID, business unit, model ID, fiscal year, accounting period, and effective date.

Resolver fields are used for SQL object generation that enables applications to select data based on the run control parameters.

The Resolver reduces the amount of data that an application engine needs to process by populating tables with only the data necessary for the engine to run. Individual application engines call the Resolver as part of their run process.

Note. If an OWE table is selected, the resolve by field is automatically selected and you cannot edit this field. If a MDW table is selected, you can select a resolve by field.

Click the Table Description tab to enter a more detailed description of the record metadata.

Record Columns for Transaction-Dated Tables

At resolution time, data is selected from the permanent transaction-dated fact table by transaction date and stored in the temporary table in a fiscal year and period format so that it is processed in the same way as in any other table.

For example, if an engine runs for 2002 and is based on a monthly calendar, all transaction dates between January 1, 2002 and January 31, 2002 are selected from the transaction-dated fact table and inserted into the temporary table. Because more than one transaction with the same key information may exist, some aggregation must occur. A group by clause is generated that includes all fields on the temporary table that are not resolved or are not measure fields. You use the Record Columns page to see how the fields are defined.

Click to jump to top of pageClick to jump to parent topicCreating and Reviewing Related Metadata Objects

Access the Record Metadata - Related Metadata page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Metadata, Related Metadata).

The Related Metadata page enables you to create and review tablemaps and datamaps that are related to particular record metadata. The fist time you define record metadata, you can use this page to create related tablemaps and datamaps at the same time that you create the record. Simply enter a name and description for the objects and click the add button—the objects are created automatically with the same name as the related record metadata. The SQL IDs for each object are also created automatically.

If you have already defined record metadata, you can use this page to review the tablemaps and datamaps that are built on top of the record metadata. Click any of the metadata objects to access their primary page (for example, the Tablemap page).

Click to jump to parent topicSetting Up Rule Metadata

This section provides an overview of rule metadata and discusses how to define rule metadata.

Click to jump to top of pageClick to jump to parent topicUnderstanding Rule Metadata

Rule metadata is used in conjunction with the Rule Resolver to specify the relationship between parent and child models. Unless you create a new PeopleSoft EPM engine, you will not likely need to create any rule metadata. PeopleSoft EPM engines use rule metadata to recursively determine inheritance rules between models.

Understanding the Rule Resolver

The Rule Resolver is an application engine program that is called by most PeopleSoft EPM engines to gather the rule sets that are used in processing. The main function of the Rule Resolver is to gather the rules for a given process run based on the standard keys of setID, business unit, model ID, fiscal year, accounting period, and effective date. The system does this by passing the Rule Resolver a list of parent tables that need to be resolved. The related child tables (as defined in the Rule Metadata page) are also resolved as part of the Rule Resolver. In addition, if a table is keyed by model ID, the Rule Resolver determines what the parent models are and resolves rules for them.

Click to jump to top of pageClick to jump to parent topicPage Used to Set Up Rule Metadata

Page Name

Definition Name

Navigation

Usage

Rule Metadata

PF_METARULE_TBL

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Rule Metadata

Define rule metadata. Rule metadata is delivered with EPM and generates the SQL that is needed to resolve rules.

Click to jump to top of pageClick to jump to parent topicDefining Rule Metadata

Access the Rule Metadata page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Rule Metadata).

Resolve

The settings in this group box are set by default based on the table name that you select. You cannot update this information.

Child Record Name

Select the appropriate record name. This includes all child tables that must be resolved along with the parent table.

Record Stub

Select the appropriate record stub.

When you have completed your rule metadata setup, click the Compile button to generate the SQL objects. You must also build your SQL anytime you make changes to the rule metadata.

Click to jump to parent topicSetting Up Tablemaps

This section provides and overview of tablemaps, lists common elements, and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Tablemaps

Tablemaps define the physical relationships between your PeopleSoft data warehouse tables. Tablemaps enable you to define families of related data warehouse tables and the columns that define the key relationships (or joins) between the tables. Tablemaps describe the parent-child relationships between tables by defining the common fields that join them together.

A tablemap can be defined as identifying a primary table only, or you may specify any combination of child tables, reference tables, and reference child tables:

The types of tables are:

Primary table

Often a fact table, the primary table, from a logical point of view, to which the other tables are related.

Child table

A hierarchical child of the primary table (all the same keys, plus one). Child tables enable you to have a one-to-many relationship between a primary table and its child tables and to define the relationship between these tables through the tablemaps. You specify a child table only if you need fields from that table in your tablemap.

Reference table

A table that defines the properties for one or more keys in the primary table. Reference tables contain additional attributes, or properties, of the transactional fact information. Some examples of reference tables are Customers, Products, Channels, Geography, and Time. A reference table always has one or more key fields that it shares with the primary table. These fields are defined on this page and matched with the corresponding fact field to enable engines to access data through the join. Each reference table may be the parent table to one or more reference child tables.

Reference child table

A hierarchical child of the reference table (all the same keys, plus one). Reference child tables are similar to child tables in that they allow for multiple types or rows of data per related dimension table. An example of a reference child and its related dimension is a customer demographic table's relationship to a customer table. That is, you may want to track various demographic values for each customer, such as salary range and geographic codes

The relationship between these tables is often referred to as a star schema. A star schema is a group of tables that are related to a central fact table. A single fact table can have numerous fact references and dimensions and each dimension can have numerous dimension references.

Example of relationship between tables (star schema)

Tablemaps are used as a basis for defining datamaps, filters, and ultimately constraints. After a tablemap is set up, you will likely keep it as it is. You therefore have many datamaps defined for each tablemap.

We deliver a set of tablemaps with EPM.

Warning! If you plan at the leaf level instead of the node level for a dimension, you must remove the reference table for that dimension. When you set up your data set that uses this dimension, you must select to group by dimension ID and not dimension node.

Click to jump to top of pageClick to jump to parent topicCommon Elements Used in This Section

Join Mapping

Depending on the key field type, you may or may not be able to edit this field. The system automatically resolves certain fields. Fields that you can edit are in white. If you change the method to Map One to One =, then you can specify the primary field. Map One to One = is the default if the reference key field has the same name as on the primary table.

Primary Field

If you change the join mapping to Map One to One =, then you can specify the primary field using the valid values that are provided by the system.

Additional Field Lookup Table

If join mapping is set to Additional Key, you can specify that key value in this field using the valid values that are provided by the system. Additional Key is the default when the key cannot be resolved and if it does not have the same name on the primary table. In a valid tablemap, every child has only one additional key.

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up TableMaps

Page Name

Definition Name

Navigation

Usage

TableMap

PF_TBLMAP_DEFN

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, TableMap

Define tablemap and tablemap child tables.

Reference

PF_TBLMAP_REF

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, Reference

Define reference and reference child tables.

SQL IDs

PF_TBLMAP_REF

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, SQL IDs

View the generated SQL object ID prefixes for the tables that are defined in this tablemap.

Click to jump to top of pageClick to jump to parent topicDefining TableMaps

Access the TableMap page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, TableMap).

Target Table

Select this check box to define the primary table as a target table for Data Manager, Allocation Manager, or another application engine.

You must select this check box if you are using this table as a target for Data Manager or Allocation. If you select this check box, the Reference page is disabled.

Note. This check box is unavailable for editing when input MDW tables are selected.

Compile

Click to generate the SQL objects for the tablemap metadata.

You must rebuild your SQL anytime you make changes to the tablemap, such as when you delete or add a key field.

Note. If you need to recompile a tablemap, you must also recompile any datamaps or other metadata objects that are associated with the tablemap.

Primary Table

Primary Table

Select the table that you want to use as the primary table for this tablemap.

Only tables that have been defined in record metadata appear as valid values.

A primary table is the center of the tablemap. Generally, a primary table will be a fact table. Fact tables contain the data that is relevant to a single business transaction, and they also have a unique key structure that can identify other related fact reference or child tables. A tablemap can contain only one primary table, but it may be related to many child and reference tables.

View Primary Table Fields

Click to go to the Field Properties page and review the fields that are associated with the underlying record metadata.

List Only Fact Records

Select this check box if you want to view only the tables that are defined in record metadata as fact table type.

Child Fact Tables

Child Table

Select the appropriate child table to join with the primary table for this tablemap.

Only tables that have been defined in record metadata appear as valid values.

List Only Fact Reference Recs (list only fact reference records)

Select this check box if you want to view only the tables that are defined in record metadata as fact table type.

Child Key Field

Displays the key field of the child table used to join to the fact table key field.

This key field relates the child table to the primary table.

Join Operator

Select a method to join the child key field and the fact table key field.

If you select Additional Key to use in the join, you must specify the record in which the additional key resides.

Fact Table Key Field

Select the key field of the primary fact table used to join to the child key field.

This field relates the fact table to the child table. In some cases, this field is display only.

Additional Field Lookup Table

Select the record in which the additional key for the join resides.

This field is available only when you select Additional Key in the Join Operatorfield.

Click to jump to top of pageClick to jump to parent topicDefining Reference Tables

Access the TableMap - Reference page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, Reference).

Reference Tables

Reference Table

Select the appropriate reference table that you want to join to the primary table.

Only tables that have been defined in record metadata appear as valid values.

View Only Dimension Records

Select this check box to view only the tables that are defined in record metadata as dimension table type.

View Reference Table Fields

Click to access the Field Properties page and view the record metadata fields related to the selected reference table.

Reference Key Field

Displays the key field of the reference table used to join to the primary table key field.

Join Mapping

Select a method to join the reference key field and the primary table key field.

Primary Field

Select the key field of the primary table used to join to the reference key field.

Child Reference Tables

Child Table

Select the appropriate reference child table that you want to join to the primary table.

Only tables that have been defined in record metadata appear as valid values.

View Only Dimension Ref Recs (view only dimension reference records)

Select this check box to view only the tables that are defined in record metadata as dimension table type.

Reference Child Key Field

Displays the key field of the child reference table used to join to the reference table key field.

This key field relates the child reference table to the primary reference table.

Join Mapping

Select a method to join the reference child key field and the reference table key field.

If you select Additional Key to use in the join, you must specify the record in which the additional key resides.

Reference Key Field

Select the key field of the reference table used to join to the reference child key field.

Additional Field Lookup Table

Select the record in which the additional key for the join resides.

This field is available only when you select Additional Key in the Join Mappingfield.

Click to jump to top of pageClick to jump to parent topicViewing SQL IDs

Access the TableMap - SQL IDs page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, TableMap, SQL IDs ).

After the SQL has been compiled, you can view the generated SQL object ID prefixes for the tables that are defined in this tablemap.

Click to jump to parent topicSetting Up Datamaps

This section provides an overview of datamaps and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Datamaps

A datamap is the third level of metadata that builds upon the information that you captured in the tablemap and enables you to define a logical view of the physical EPM tables. Datamaps bring together information from the different tables that can be specified in a tablemap and defines it as if it were one entity or table. Not every column of every table that is defined in a tablemap is necessary; datamaps enable you to select only those columns that you want to use

You can group fields that are related to common processes so that processing can be done on one data set. In addition, datamaps enable you to give columns more intuitive, meaningful names, making data retrieval and review easier for business users.

Warning! If you plan at the leaf level instead of the node level for a dimension, you must remove the row that contains this dimension. When you set up your data set that uses this dimension, you must select to group by dimension ID and not dimension node.

Click to jump to top of pageClick to jump to parent topicUnderstanding Datamap Setup

PeopleSoft provides you with the option of setting up datamaps using the DataMap Wizard, which is intended to simplify the datamap creation process. You can still use the Record Metadata, TableMap, and DataMap components to manually set up datamaps.

See Setting Up Record Metadata, Setting Up Tablemaps.

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up Datamaps

Page Name

Definition Name

Navigation

Usage

General Properties

PF_DATAMAP_DEFN

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataMap, General Properties

Define datamaps.

DataMap Fields

PF_DATAMAP_DEFN2

Click DataMap Fields on the General Properties page.

View DataMap fields.

Constraints

PF_DMAP_CONSTRNTS

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataMap, Constraints

View or add constraints for a specific datamap.

Datamap Wizard

PF_DATAMAP_WIZ, PF_DATAMAP_SUM

EPM Foundation, Foundation Metadata, Metadata Wizards, Datamap Wizard

Simplify datamap setup using the Datamap Wizard.

Click to jump to top of pageClick to jump to parent topicDefining Datamaps

Access the DataMap - General Properties page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataMap, General Properties).

TableMap Code

Select a tablemap code. The code selected here limits the records that you can include in your datamap to the ones that are defined in the tablemap. When you add or change this value, the page automatically inserts each field from the tablemap's primary table into the grid. Generally, you include all fields from the primary table and add only a few from the reference tables. You can add or remove rows from the grid below. If your tablemap is a target table, you cannot insert or delete rows.

View/Edit TableMap

Click to access the TableMap page and view the tablemap associated with the selected datamap.

Target

This check box is controlled by the tablemap that the datamap is based on. If the tablemap that you select is a target, the check box is selected.

DataMap Fields

Click to access the DataMap - DataMap Fields page and view or edit the fields that are associated with this datamap.

When you have completed your datamap setup, click the Compile button to generate the SQL objects. You must also build your SQL anytime you make changes to the datamap, such as when you delete or add a key field.

Note. If you need to recompile a datamap, you must also recompile any tablemaps or other metadata objects that are associated with the datamap.

Click to jump to top of pageClick to jump to parent topicViewing DataMap Fields

Access the DataMap - DataMap Fields page (Click DataMap Fields link on the General Properties page).

Expr (expression)

To create a virtual column, add a new blank row, select the Expr check box, and click the Expression button. This accesses the Expressions page.

After you have defined and saved your expression, all the changes made to the DataMap page are also saved. You cannot change an existing row into an expression.

See Setting Up Expressions.

Record

Contains a list of all the records that are defined in the tablemap on which this datamap is based.

Field Name

Lists all the possible fields for the selected record. When you add or change a field, the description is automatically populated with the column field name that you select. You may then edit the description to be anything you want under 30 characters long.

Description

Change the name of a field to enable you to create more intuitive names that provide more meaning than the original column name when creating your datamap. The names that you select here will show up on reports and are used in filters, constraints, and by the Data Manager.

Type

Select Attribute, Dimension, or Measure. The system's default is Attribute.

The type field is important when you are defining datamaps for the Data Manager to verify rule definitions.

Note. The types mentioned here are different from the types that are used by PeopleSoft EPM metadata and OLAP objects.

Key Value

Required for fields from child tables. Enables you to define more than one column from a single column based on different values in the lookup table code on the child table.

Lookup Table

This field is available for character fields and is used when you are defining filters to limit the field to valid values that are contained in the Lookup table.

Field Type

Displays the field type that is associated with the field. Its value is based on the field type that is defined in PSDBFIELD. Number fields consist of the following types: 1 (Basis Points), 2 (Rate), 3 (Amount), and 5 (Number). These types represent ways in which the field will be summed.

Click to jump to top of pageClick to jump to parent topicViewing DataMap Constraints

Access the Constraints page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataMap, Constraints).

You can use this page to view constraints associated with a datamap. You can also add new constraints to the datamap.

Click to jump to top of pageClick to jump to parent topicSetting Up Datamaps using the Datamap Wizard

Access the Datamap Wizard (EPM Foundation, Foundation Metadata, Metadata Wizards, Datamap Wizard)

DataMap Wizard - Record Metadata (Step 1 of 6)

The first view of the DataMap Wizard enables you to define Record metadata for your DataMap.

Next

Click to advance to the next step of the DataMap Wizard and confirm your record metadata selection.

Record Metadata

Select the record metadata (primary table) to associate with the tablemap (which is used as the basis for your datamap)

Generally, a primary table will be a fact table.

Only tables that have been defined in record metadata appear as valid values.

Create Record

Click to access the Record Metadata page and create a new primary table to associate with the tablemap.

Note. Once you select record metadata for the wizard, a new link appears that can access the Record Metadata page for that specific record. The link name is determined by the description provided on the Record Metadata page.

In the example above the link is named Demo Source because that is the description given for the PF_AL_SRC record on the Record Metadata page.

DataMap Wizard - TableMap Metadata (Step 2 of 6)

The second view of the DataMap Wizard enables you to define TableMap metadata for your DataMap.

Previous

Click to return to the previous step of the DataMap Wizard.

Next

Click to advance to the next step of the DataMap Wizard and confirm your tablemap selection.

TableMap

Select a tablemap to associate with the datamap.

Create TableMap

Click to access the TableMap page and create a new tablemap to associate with the datamap.

Once you select a tablemap for the wizard, a new link appears that can access the TableMap page for that specific tablemap. The link name is determined by the description provided on the TableMap page.

Note that as you progress through the DataMap Wizard steps, the previous section becomes unavailable for input. You can click Previous at any time to return to the previous step.

DataMap Wizard - DataMap Metadata (Step 3 of 6)

The third view of the DataMap Wizard enables you to define your DataMap.

Previous

Click to return to the previous step of the DataMap Wizard.

Next

Click to advance to the next step of the DataMap Wizard and confirm your datamap selection.

DataMap

Select a datamap.

Create DataMap

Click to access the DataMap page and create a new datamap.

Once you select a datamap for the wizard, a new link appears that can access the DataMap page for that specific datamap. The link name is determined by the description provided on the DataMap page.

Note that as you progress through the DataMap Wizard steps, the previous section becomes unavailable for input. You can click Previous at any time to return to the previous step.

DataMap Wizard - Filter Metadata (Step 4 of 6)

The fourth view of the DataMap Wizard enables you to define filter metadata for your DataMap.

Previous

Click to return to the previous step of the DataMap Wizard.

Next

Click to advance to the next step of the DataMap Wizard and confirm your filter selection.

Filter

Select a filter to associate with the datamap.

Create Filter

Click to access the Filter page and create a new filter.

Once you select a filter for the wizard, a new link appears that can access the Filter page for that specific filter. The link name is determined by the description provided on the Filter page.

Note that as you progress through the DataMap Wizard steps, the previous section becomes unavailable for input. You can click Previous at any time to return to the previous step.

DataMap Wizard - Constraint Metadata (Step 5 of 6)

The fifth view of the DataMap Wizard enables you to define constraint metadata for your DataMap.

Previous

Click to return to the previous step of the DataMap Wizard.

Next

Click to advance to the next step of the DataMap Wizard and confirm your constraint selection.

Constraint

Select a constraint to associate with the datamap.

Create Constraint

Click to access the Constraint page and create a new constraint.

Once you select a constraint for the wizard, a new link appears that can access the Constraint page for that specific constraint. The link name is determined by the description provided on the Constraint page.

Note that as you progress through the DataMap Wizard steps, the previous section becomes unavailable for input. You can click Previous at any time to return to the previous step.

DataMap Wizard - DataMap Summary (Step 6 of 6)

The sixth and final view of the DataMap Wizard provides you with a summary of all the metadata defined for your DataMap.

You can click on the links to the right of each metadata object to return to their main criteria pages and make adjustments to the rules.

You can also click Previous to return to the previous DataMap Wizard steps.

Click to jump to parent topicSetting Up Expressions

Expressions enable you to create virtual columns that are made up of mathematical calculations based on actual fields on a table. Because expressions are resolved at runtime, duplicate information is not stored in the database. Expressions are user-defined columns that you add to a datamap. After you add them as columns to the underlying datamap, you can use them in filters just like record fields. An expression can be either numeric or a string. Numeric expressions can combine any number of record fields, value objects, and math operators. String expressions can be concatenations of any number of character record fields and value objects.

Note. On DB2 UDB for OS/390 and z/OS, you should compose your expressions so that multiplication occurs before division; otherwise, decimal precision may be affected as values may be truncated. Use parentheses where necessary to control the order of calculation to ensure correct decimal precision.

This section discusses how to define expressions.

Click to jump to top of pageClick to jump to parent topicPage Used to Set Up Expressions

Page Name

Definition Name

Navigation

Usage

Expression

PF_EXPR_DEFN

EPM Foundation, Business Metadata, Constraint and Expressions, Expression

Define an expression.

Click to jump to top of pageClick to jump to parent topicDefining Expressions

Access the Expression page (EPM Foundation, Business Metadata, Constraint and Expressions, Expression).

DataMap Code

Select the datamap that you want to build your expression on. You cannot change the datamap code after you have associated a datamap with an expression.

Rounding

For numeric expressions, the result of the expression is rounded based on the precision that is selected. For all the other types of expressions, the rounding factor is not applicable.

Type

Controls the set of operators, record fields, and value objects that can be selected. Values are:

Numeric: These expressions can combine any number of record fields, value objects, and math operators.

String: These expressions can be concatenations of any number of character record fields and value objects.

Date: These expressions can be a constant data or a date field that is derived from the datamap or built-in functions.

Expression Statement

Displays the expression that you build by selecting operators, fields, or value objects in the group boxes below. This is where you build your expression logic. You cannot type directly in the Expression Statement field.

First, select a data source. The data source that you select presents you with different options below it. To add an element to the expression statement, select it from the data source, and then click the Insert button. The system inserts your selection into the text area. Use the arrow buttons at the bottom to move in the text area. You can see what element is being specified by the arrows surrounding it, for example >>Effective Date<<.

Note. >>Effective Date<< is also displayed in the Current Element group box.

Operators

Select from the operators buttons to add the indicated value to the expression.

DataMap Column

Select to display a datamap column drop-down list box. Select the appropriate datamap column from the list and use the Insert button to place your selection in the text area of the page.

Built-In Function

Select to display a built-in function drop-down list box. Select the appropriate function from the list and use the Insert button to place your selection in the text area of the page. Built-in functions enable you to define numeric calculations, for example sum, average, or end of month, and minimum and maximum values.

Constant Value

Select to make available the constants options and, depending on your choice, a drop-down list box. The Ad Hoc option enables you to enter your own values for the character, numeric, and date field. The From List drop-down list box contains valid value objects. Use the Insert button to place your selection in the text area of the page.

Note. It is important to consider how an expression will be used when you want to specify date-related value objects. If the expression is to be used in a WHERE clause, then the %CurrentDateIn value object must be used. If the expression is to be used in a SELECT clause, then the %CurrentDateOut value object must be used.

Clear

Click to erase all of the text in the Expression Statement box.

First, Previous, Next, Last

Use these arrow buttons to move in the Expression Statement area of the page and identify the text that you want to replace, insert, or delete. When you click either > or < , you move one element forward or backwards. If you use the double arrows >> or <<, you move either to the beginning of the expression text or to the end. You can see what element is being specified by the arrows surrounding it, for example >>Effective Date<<.

Replace

Use the arrow buttons to specify the element that you want to replace, select another element, and then click Replace.

Insert

After you have selected a data source, use this button to insert it into the Expression Statement text area. The system inserts the element at the position designated by the work area, pushing everything else to the back.

Delete

Use the arrow buttons to specify the element that you want to delete, and then click Delete.

When you have completed your expression, click the Compile button to compile the expression.

SQL Functions That Are Available to the Expression Builder

The following table lists the SQL functions that are available to build expressions.

SQL Object ID

Expression Function

Return Value

Description

PF_FUNCLIB_DATE_DAYADD_UPD

AddtoDays (Date, Integer)

Date

Increase date by adding days (Integer).

PF_FUNCLIB_DATE_DAYDIFF_UPD

DiffDates (Date, Date)

Integer

Calculate difference between two dates.

PF_FUNCLIB_DATE_DAY_UPD

GetDay(Date)

Integer

Returns numeric day of the month from date.

PF_FUNCLIB_DATE_MONADD_UPD

AddtoMonth(Date, Integer)

Date

Increase date by adding months (Integer).

PF_FUNCLIB_DATE_MONBEG_UPD

BOM(Date)

Date

Returns the date value for the beginning of the month.

PF_FUNCLIB_DATE_MONTH_UPD

GetMonth(Date)

Integer

Returns numeric month from date.

PF_FUNCLIB_DATE_YEARBEG_UPD

BOY(Date)

Date

Returns date for the beginning of the year.

PF_FUNCLIB_DATE_YEAREND_UPD

EOY(Date)

Date

Returns date for the end of the year.

PF_FUNCLIB_DATE_YEAR_UPD

GetYear(Date)

Integer

Returns numeric year from date.

PF_FUNCLIB_DATE_YYMMDD_UPD

YYMMDD(Date)

Character

Formats date YYMMDD.

PF_FUNCLIB_DIFF_H(DTTM,DTTM)

DTTMDIFF_H(Date, Date)

Integer

Date time difference in hours.

PF_FUNCLIB_DTTM_DTTMDIFF_M_UPD

DTTMDIFF_M(Date, Date)

Integer

Date time difference in minutes.

PF_FUNCLIB_DIFF_S(DTTM,DTTM)

DTTMDIFF_S(Date, Date)

Integer

Date time difference in seconds.

PF_FUNCLIB_MATH_ABS_UPD

ABS(Integer)

Integer

Absolute value.

PF_FUNCLIB_MATH_MOD_UPD

MOD(Integer, Integer)

Integer

Modulus.

PF_FUNCLIB_MATH_TO_NUMB_UPD

TO_NUM(Character)

Integer

Convert to number.

PF_FUNCLIB_RTRIM

RTRIM(Character)

Character

RTrim blanks.

PF_FUNCLIB_TO_CHAR_UPD

TO_CHAR(Integer)

Character

Convert to character.

Note. All expression functions are operating system independent and database dependent.

Click to jump to parent topicUsing Data Sets

Data sets are used as input for various engines, for instance, the Forecasting engine, user-defined functions, drivers in PeopleSoft Activity-Based Management (PeopleSoft ABM), and data elements in PeopleSoft KPI Manager. Data sets provide a user-defined set of information to the engines. Data sets restrict used columns and returned rows using constraints.

When you create a data element in PeopleSoft KPI Manager, for example, you are actually creating a data set. Though each data set is created by a process-specific setup, the underlying logic is the same, enabling you to more easily understand the functional aspects of the process.

Note. You will most likely not need to create a data set using the DataSet page because data sets are created behind the scenes. However, you may have to rebuild or recompile a data set if you change an underlying table. Data sets that are created in PeopleSoft EPM analytical applications do not appear on this page.

This section provides an overview of data sets and discusses how to recompile or rebuild data sets.

Click to jump to top of pageClick to jump to parent topicPage Used to Use Data Sets

Page Name

Definition Name

Navigation

Usage

DataSet

PF_DATASET_DEFN

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataSet

Recompile or rebuild a data set.

Click to jump to top of pageClick to jump to parent topicRecompiling or Rebuilding DataSets

Access the DataSet page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, DataSet).

Constraint Code

The constraint code for this data set. The selected constraint code populates the grid at the bottom of the page.

Select

Select this check box to indicate that this datamap column is included in the data set's select clause.

Aggregate Type

The aggregate type choices correspond to the standard SQL aggregate functions. If you select an aggregate type, all the other selected columns are populated with the group by default. Values are:

Avg (average): Returns the average of all the records retrieved.

Avg Distinct: Returns the average of all the unique records retrieved. For example, average (5, 8, 9, 12, 9, 7, 5) = 55/7 but average distinct (5, 8, 9, 12, 9, 7, 5) = 41/5.

Count: Returns the count of all the records retrieved.

Count Distinct: Returns the count of all the unique records retrieved. For example, count (A, B, A, C) = 4 but count distinct (A, B, A, C) = 3.

Group By: Groups the records retrieved by the measure field.

Min (minimum): Returns the minimum of all the records retrieved.

Max (maximum): Returns the maximum of all the records retrieved.

Sum: Returns the sum of all the records retrieved.

Sum Distinct: Returns the sum of all the unique records retrieved. For example, sum (1,1) = 2 but sum distinct (1,1) = 1.

Select the Compile button to compile the data set. This compilation sets the as of date of the data set to the effective date. If you want to change the as of date, you must recompile after updating the Effective Date field.

Use the Mass Validate utility to validate against as of dates.

Note. If a data set is sent to Resolver and has an inactive constraint, the system returns an error message.

PF_FETCH

PF_FETCH is an application engine process that is used by PeopleSoft EPM analytical applications to retrieve and display data by running the SQL behind the data set for a set of run control parameters after the data set is built (SQL is generated). PF_FETCH selects and inserts data into an output table that is specified by the application. Output table data is automatically deleted if it is more than two days old based on the date and time stamp.

Click to jump to parent topicSetting Up Filters

This section provides an overview of filters and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Filters

Filters are used extensively by the PeopleSoft EPM engines to define subsets of data to perform operations or calculations on. In your datamap, you define which columns from the tablemap to use in processing. Filters enable you to specify which rows to use from those columns, similar to a WHERE clause in a query.

In general, the PeopleSoft EPM engines use set-based processing to process large amounts of data as efficiently as possible. Filters enable you to define what subset of data gets processed by or uses a specific business rule. Not every row of data may be necessary to process your data. Filters enable you to select only those rows you want.

You can create multiple filters based on a single datamap. In addition, your filters, and thus your business rules, can be different for each setID, making the enrichment engines behave differently for the same rules in a different business unit.

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up Filters

Page Name

Definition Name

Navigation

Usage

Filter

PF_FILTER_DEFN

EPM Foundation, Business Metadata, Constraint and Expressions, Filter, Filter

Define a filter and specify the datamap.

Filter - Selection Criteria

PF_FILTER_SEQ

EPM Foundation, Business Metadata, Constraint and Expressions, Filter, Selection Criteria

Define selection criteria for business rules.

Tree Viewer

PSTREEVIEWER

Click the Tree button on the Filter - Selection Criteria page. This appears only if you select an operation involving trees.

View all tree nodes. Select a node to be displayed in the value field on the Selection Criteria page by double-clicking the node.

Click to jump to top of pageClick to jump to parent topicDefining Filters

Access the Filter page (EPM Foundation, Business Metadata, Constraint and Expressions, Filter, Filter).

DataMap Code

Select the datamap for which you want to define filters.

View/Edit Datamap

Click to transfer directly to the DataMap page for the selected DataMap to review it or make changes.

Notes

Enter any notes to further describe the filter.

When you have finished defining your filter, click the Compile button to compile the filter. This compilation sets the as of date of the filter equal to the effective date. If you want to change the as of date, you must recompile after updating the Effective Date field. Use the Mass Validate utility to validate against as of dates

Click to jump to top of pageClick to jump to parent topicSpecifying Filter Selection Criteria

Access the Filter - Selection Criteria page (EPM Foundation, Business Metadata, Constraint and Expressions, Filter, Selection Criteria).

On this page, you can add or delete actual data values that make up your filter. You can have multiple filter rules.

Open

Select the number of left parentheses needed for the selection criteria. You may have multiple parentheses in a case such as ((X or Y) and Z).

DataMap Column

Select the columns from the datamap for which you want to define filter criteria.

Oper (operation)

Select the operation to be used as selection criteria. The current operations available are equal to, greater than, less than, greater than or equal to, less than or equal to, not equal to, In Tree, Not in Tree, In MetaTree, and NotInMetaTree.

Like is valid only for character type columns that have no associated lookup tables in the datamap. The value column for this operator must have a pattern search wild card, for example % or _.

If you specify an operation of In Tree, click the Tree button that appears alongside the Oper field to specify the tree name and tree node that you want to use as selection criteria. You can search in the Lookup Tree ID page for your tree if it is not displayed. If you still can't find the tree, verify that when you added the tree in the Tree Manager, you also created a record in the Tree Metadata page. This record identifies the engines where the flattened tree data is stored. On selecting the tree name, other information that is related to the tree is retrieved and then sent to the tree viewer (PSTREEVIEWERWRK). All the nodes can be seen here. The node you select here will be displayed in the Value field.

Obj (object)

Select this check box to select from a list of predefined value objects for the value setting. The Obj check box appears if you select any operand other than the tree choices.

Filter Tree

Select this to access the Tree Viewer page and view the tree nodes associated with the tree.

This button only appears if you select one of the tree options for the Operation field.

Value

Select the value that the column is to be evaluated against. If you've defined a lookup table for the column in the datamap, you are prompted to select from a list of valid values.

Close

Select the number of right parentheses that are needed for the selection criteria.

And/Or

Select either an AND or an OR join for the filter criteria.

Aggr (aggregate)

Select to aggregate the values.

Note. Remember that the Resolver resolves the following fields, so you do not have to include them as selection criteria: setID, business unit, scenario ID, effective date, as of date, fiscal year, and period.

Click to jump to top of pageClick to jump to parent topicUsing the Tree Viewer

Access the Tree Viewer page (Click the Filter Tree button on the Selection Criteria page).

You can expand all levels of the tree to view detailed information. Double-click the folder button to expand specific levels. Select the node of the tree that you want to use and click the Select button to return to the Filter - Selection Criteria page. The value field is populated with the node that you selected.

Click to jump to parent topicSetting Up Constraints

Constraints can be made up of one or more filters linked together using AND, OR, and NOT logic. This means that you can keep your filters simple and dedicated to a single purpose, and link them together in constraints to form complex business logic.

Constraints enable you to define business rules for processing and also enable you to create and reuse filters.

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up Constraints

Page Name

Definition Name

Navigation

Usage

Constraint

PF_CONSTRAINT_DEFN

EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Constraint

Define a constraint.

Constraint - Criteria

PF_CONSTRAINT_SEQ

EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Criteria

Specify your constraint criteria. This is where you can combine filters to create complex business logic.

Constraint - Details

PF_FILTER_EXPLODE

EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Details

Display the filter contents of a given constraint. Modify the filter, as needed.

Click to jump to top of pageClick to jump to parent topicDefining Constraints

Access the Constraint page (EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Constraint).

Save As

Click to replicate existing constraint metadata. You are prompted to enter the new constraint code name and effective date. This is available only in correction mode.

DataMap Code

Select the datamap for the constraint.

View/Edit Datamap

Click to transfer directly to the DataMap setup page where, you can view and edit the selected datamap.

No Criteria

You are not required to link filters to your constraint. By selecting this check box, you indicate to the system that you want all the values from the datamap. The system adds a 0= 0 WHERE clause to any other join criteria that the datamap needs (thus hiding the criteria page). The FROM clause is the same as the from field on the datamap.

Notes

Enter any notes to further describe the constraint.

When you have completed setup of the constraint, click the Build Constraint SQL button to compile the constraint. This compilation sets the as of date of the constraint equal to the effective date. If you want to change the as of date, you must recompile after updating the Effective Date field. Use the Mass Validate utility to validate against as of dates.

Click to jump to top of pageClick to jump to parent topicSpecifying Constraint Criteria

Access the Constraint - Criteria page (EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Criteria).

Use this page to add or delete the filters that you want to make up the constraint. You can link one or more filter codes. This page is not accessible if you select the No Criteria check box on the Constraint page.

Not

Select to signify the negative of the condition.

Open

Select the number of left parentheses that are needed for the selection criteria. You may have multiple parentheses in a case such as ((X or Y) and Z).

Filter Code

Select the filter to use. You define filters using the Filter component.

Close

Select the number of right parentheses needed.

And/Or

Select either AND or OR to relate one line to the next of the filter criteria.

Three filter types are available: WHERE, HAVING, and a combination of the two. Filter types relate lines of constraint rules.

Note. After a filter is created, the filter type cannot be changed.

Click to jump to top of pageClick to jump to parent topicSpecifying Constraint Details

Access the Constraint - Details page (EPM Foundation, Business Metadata, Constraint and Expressions, Constraint, Details).

Here you can view the data elements that are targeted based on the filter selection criteria.

Modify Filter

Click to access the Filter setup page, where you can modify the filter.

Click to jump to parent topicSetting Up Metric Metadata

You can create metric metadata to process specific groups of your transactional data, based on columns in your record tables. These metrics can help you track essential measures for your organization, such as total sales and revenue. PeopleSoft does not deliver metrics. You can, however, create your own metrics using the Define Metric page. The page also enables you to define security for your metric.

See Defining Dimension and Metric Security.

Click to jump to top of pageClick to jump to parent topicPage Used to Set Up Metric Metadata

Page Name

Definition Name

Navigation

Usage

Define Metric

PF_SY_METR_DEFN

EPM Foundation, EPM Security, Metrics and Dimensions, Create/Edit Secured Metrics, Define Metric

Define and secure metrics.

Click to jump to top of pageClick to jump to parent topicDefining and Securing Your Metrics

Access the Define Metric page (EPM Foundation, EPM Security, Metrics and Dimensions, Create/Edit Secured Metrics, Define Metric).

Record Name

Enter the name of the record that is associated with the metric that you are defining.

Column Name

Select a column that is associated with the metric that you are defining.

Is Secured

Select this check box to indicate that the metric is secured.

Click to jump to parent topicWorking with Record Summary Metadata

Record summary metadata specifies the TSE views and pages, as well as the flash total fields that are associated with a table. Record summary metadata is delivered for fact tables. If you change the record structure of a table that uses record summary metadata, or change the totals to be summarized, you must click the Rebuild button to regenerate the SQL. This process is associated with Profit Manager.

See Setting Up and Using Profit Manager.

Click to jump to top of pageClick to jump to parent topicPage Used to Work With Record Summary Metadata

Page Name

Definition Name

Navigation

Usage

Record Summary

PF_SUMM_REC_TBL1

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Summary

Create new record summary metadata or rebuild delivered record summary metadata.

PF Record Summary

RUN_PF_SUMM

EPM Foundation, Data Enrichment Tools, Profit Manager, Record Summary, Summarize Error Statistics, PF Record Summary

Run the PF Record Summary engine before you process any fact table modifications.

Click to jump to top of pageClick to jump to parent topicCreating or Rebuilding Record Summary Metadata

Access the Record Summary page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Record Summary).

SQL Object Prefix ID

A system-generated number that identifies the location of the SQL that is built by this component in the SQL Repository.

Record Abbreviation

A naming convention that populates all other fields on the page. Enter up to four characters. By defining the record abbreviation, the system makes a best guess and automatically populates all the fields on the rest of the page.

Apply Fact Error Correction

Select to apply fact error correction to this table.

Error Table and TSE Table

Are display-only and based on the error and TSE table definitions that were made in the record metadata for the selected table.

The following fields are automatically populated based on the record abbreviation. These objects are used for PF Modification:

TSE Table's View 1

The work record that is used in the PF Summary process.

TSE Table's View 2

The work record that is used by PF Edi.

Flash Total Field 1, 2, 3

Select the totals that you want to summarize. These totals are defined in the job totals metadata. These are monetary amounts that you want to track.

You can now run the PF Record Summary engine.

Note. Record Summary metadata must be defined before you run the PF Record Summary engine. You must run the PF Record Summary engine to run PF Modification.

See Also

Reviewing and Defining Job Totals Metadata

Click to jump to top of pageClick to jump to parent topicRunning the PF Record Summary Engine

Access the PF Record Summary page (EPM Foundation, Data Enrichment Tools, Profit Manager, Record Summary, Summarize Error Statistics, PF Record Summary).

Description

The description is important because it is used by the Metadata Search engine to locate your metadata.

As Of Dated Jobstream

Select to replace the fiscal year and period with the as of date field for the engine run.

Business Unit

Select the appropriate business unit.

Scenario ID

Select the appropriate scenario.

Fiscal Year

Select the appropriate fiscal year. This field does not display for an as of dated jobstream.

Period

Select the appropriate period. This field does not display for an as of dated jobstream.

As Of Date

If you selected the As of Dated Jobstream check box, enter the date.

Job ID

Select the job ID of Summ. Job IDs are set up in job metadata.

Record

Select the record.

PF_SUMM summarizes error statistics by field and value for the PF Modification process. The record summary metadata uses record metadata to determine which records can be summarized.

Click to jump to parent topicSetting Up Report Metadata

Report metadata is delivered for Crystal reports, and delivered PeopleSoft Analytical Application reports. Each delivered report or cube has a record within the Report Metadata page. You can change the metadata as reports change, or as additional parameters are needed. If you create your own reports, you can use report metadata to document them.

This section discusses how to define report details.

Click to jump to top of pageClick to jump to parent topicPages Used to Set Up Report Metadata

Page Name

Definition Name

Navigation

Usage

Report Details

PF_META_RPT_TBL1

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Report Metadata, Report Details

Define report details, including the report name and type. Report metadata is not required. Rather, it is provided for your reference.

Tables Used

PF_META_RPT_TBL2

EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Report Metadata, Tables Used

Display the tables that are used to generate the report.

Click to jump to top of pageClick to jump to parent topicDefining Report Details

Access the Report Details page (EPM Foundation, Foundation Metadata, Metadata Creation and Editing, Report Metadata, Report Details).

Report Type

The type of report.

Product

The associated product for the report.

URL

Use to specify either a URL or the directory where the generated reports are stored.

Cube Instance ID

Select the ID assigned by PeopleTools Cube Builder that is used for reporting.

This field is active when you select Cognos Cube as the report type.

Notes

Enter any notes to further describe the report.

Click the Tables Used tab to review the tables that are used to create the selected report.

Click to jump to parent topicCloning Metadata

Cloning metadata is an efficient and quick way to create a duplicate copy of existing or already defined metadata.

This section discusses how to define metadata clone criteria.

Click to jump to top of pageClick to jump to parent topicPage Used to Clone Metadata

Page Name

Definition Name

Navigation

Usage

Metadata Clone

PF_MD_CLONE

EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Clone

Define metadata clone criteria for copying metadata from one setID to another.

Click to jump to top of pageClick to jump to parent topicDefining Metadata Clone Criteria

Access the Metadata Clone page (EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Clone).

SetID

The setID from which you want to clone the metadata.

Clone SetID

The setID for which you want to create the clone.

Clone Metadata Type

Select the type of metadata that you want to clone. Values are: AL Rule (allocation manager rule), DM Rule (data manager rule), Constraint, DataSet, or Filter.

Select on of the following operations: =, <>, Like, or Not Like.

Enter a metadata value to search on.

Click the Get Selected Metadata button. Your results will appear in the Metadata Selection List field.

Clone

Select this check box to return all metadata objects that are based on your selection criteria. Deselect the check box for any metadata that you do not want to clone.

Note. Remember that you must compile all cloned metadata. You can do so using the Mass Compile utility.

See Also

Running Mass Compile

Click to jump to parent topicUsing the Metadata Mover Utility

This section provides an overview of the Metadata Mover utility and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding the Metadata Mover Utility

The Metadata Mover utility enables you to migrate EPM metadata from one database to another. Specifically, the Metadata Mover utility moves record metadata, tablemaps, datamaps, expressions, filters, constraints, data sets, engine metadata, jobs, jobstreams, report metadata, metric metadata, tree metadata, value objects rule metadata, Data Manager rules, Data Manager rule sets, Allocation Manager rules, Allocation Manager rule sets, Data Mapper rule groups, and Data Mapper rule sets.

The Metadata Mover utility enables metadata to be moved between PeopleSoft 8.8x environments. For example, you cannot move metadata from a PeopleSoft 8.8x environment to a PeopleSoft 8.0x environment. Additionally, to successfully move metadata between PeopleSoft 8.8x EPM environments, the source and target databases must be the same type. For example, if you have a Microsoft database, you must migrate to another Microsoft database. You can't migrate from a Microsoft database to an Oracle database.

The Metadata Mover utility maintains SQL counters for the target database. The source SQL counter will be lost when the move is completed so that uniqueness in ensured within the target database.

Follow these steps to move EPM metadata from your source database to your target database:

  1. Sign in to your source database.

  2. Select the metadata that you plan to export from your source database using the Metadata Export page.

  3. Use the Data Mover script to export the objects from the source database.

  4. Use the Data Mover script to import the objects into the target database.

  5. Use the Mass Compile and Audit processes in the target database to build and validate the migrated metadata objects.

Click to jump to top of pageClick to jump to parent topicPages Used to Migrate Metadata

Page Name

Definition Name

Navigation

Usage

Metadata Export - Export Definition

PF_MD_EXPORT

EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Export, Export Definition

Specify metadata export criteria.

Metadata Export - Export List

PF_MD_EXPLST

EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Export, Export List

Click the Generate Export List button on the Export Definition page.

View a list of metadata objects that you selected on the Export Definition page. These objects will be exported to your target database. The list includes the following information for each metadata object: metadata type, setID value, metadata object code, and related objects.

Click to jump to top of pageClick to jump to parent topicSpecifying Metadata Export Criteria

Access the Export Definition page (EPM Foundation, Foundation Metadata, Other Metadata Operations, Metadata Export, Export Definition).

Note. You can maintain many export IDs, although you can have only one metadata export list. This means that when you generate the metadata export list, the system replaces the existing list with a new list.

In the Metadata Selection List group box, select:

Metadata Object Type and Metadata Object Code

Select each metadata object type and code that you want to export to your target database. Remember that you must select metadata dependencies (if the metadata has dependencies).

Fetch Related Objects

Select this check box to have the system fetch all objects that are related to or dependent on the object that you have selected and add them to the metadata export list.

Generate Export List

Click to have the system generate the list of objects to be exported. You can view them on the Metadata Export - Export List page.

For example, if you select a datamap as the object type and select the Fetch Related Objects check box, the system adds all related expressions, filters, constraints, data sets, Data Manger rules, Allocation Manager rules, and value objects to the metadata export list.

The following table shows which metadata objects are dependent upon each other.

Metadata Type

Related Objects

Allocation Manager rules

Meta Values.

Allocation Manager rule set

Allocation Manager Rules and Meta Values.

Data Manager rules

Meta Values.

Data set

Option is not available.

Data Manager rule set

Data Manager rules and meta values.

Data Mapper rule set

Set of data mapper rules.

Data Mapper rule group

Group of Data Mapper rules.

Constraint

Data sets, Allocation Manager rules, Allocation Manager meta values, Data Manager rules, and Data Mart meta values.

Filter

Constraints and related objects.

Datamap

Expression, filter, and related objects.

Tablemap

Datamap and related objects.

Record

Tablemap and related objects.

Jobstream

Option is not available.

Job

Jobstream.

Engine

Job and jobstream.

Tree, metric, report, and rule metadata, expressions, Data Loader and data mart data

Option is not available.

Review the metadata export list and if you are sure that this is the data that you want to export, proceed to the next step.

Note. Data Mapper is documented in the PeopleSoft Global Consolidations PeopleBook.

See Mapping to a Common Chart of Accounts (Data Mapper).

Click to jump to top of pageClick to jump to parent topicExporting Metadata from a Source Database to a Target Database

After selecting the metadata that you want to export from your source database to your target database (using the Export Definition page), perform the export. To perform the export, follow these steps:

  1. Sign in to Data Mover in the metadata source database.

  2. Open PFMMEXP.dms in the Data Mover tool.

  3. Edit the path name for the output files (you can select which path you want).

  4. Run the script.

    The script exports the metadata tables into a DAT file for the export list that is generated through the Export Definition page.

  5. Sign out of the source database.

You now need to import the metadata that you just exported.

Click to jump to top of pageClick to jump to parent topicImporting Metadata into the Target Database

Now that you have exported the metadata from the source database, you must import the metadata into the target database in the following way:

  1. Sign in to the target database.

  2. Open PFMMIMP.dms in the Data Mover tool.

  3. Edit the path of both the input files to point to the output directory of the exported files.

  4. Run the script.

    The script exports the metadata tables from the .DAT files.

Click to jump to top of pageClick to jump to parent topicBuilding Imported Metadata in the Target Database

After you've finished importing the metadata into your target database, you must build the new metadata. To build the new imported metadata, you must first recompile it. If you imported a small number of new metadata objects, you can go to each metadata object's page and click the Compile button.

Note. Now there is no SQL object counter on the pages. Clicking the Compile button generates the counter.

If you have imported a large quantity of metadata objects, run the Mass Compile process followed by the Audit process.

Correct any errors that were identified during the Audit process.

Rerun the audit until it is clean.

See Also

Auditing PeopleSoft EPM Objects

Running Mass Compile

Click to jump to parent topicDeleting Metadata

The Metadata Delete process enables you to delete records, tablemaps, datamaps, and rule metadata.

Click to jump to top of pageClick to jump to parent topicPage Used to Delete Metadata

Page Name

Definition Name

Navigation

Usage

Metadata Delete

PF_METADATA_DEL

EPM Foundation, Foundation Metadata, Other Metadata Operations, Delete Metadata, Metadata Delete

Delete metadata.

Click to jump to top of pageClick to jump to parent topicDeleting Metadata

Access the Metadata Delete page (EPM Foundation, Foundation Metadata, Other Metadata Operations, Delete Metadata, Metadata Delete).

MetaData Type

Select the type of metadata that you want to delete.

Metadata Object Code

Based on the metadata type that you have selected, select the metadata object from the valid values that are available. For example, if you select datamap as the metadata type, you will be able to select from the available datamap objects.

Click the Fetch Related Objects button to populate the grid with the related metadata objects.

Click the Delete All Objects button to delete the object code and all the related objects.

Click to jump to parent topicCreating User-Defined Functions

User-defined functions enable you to define functions one time through a common interface, then use them throughout many of the Analytical Applications. The options that are available to you when defining functions are based on predefined modules that are provided with your system.

Refer to the PeopleSoft Application Fundamentals for Financial Services Industry Applications for details on working with user-defined functions.

See Also

Creating User-Defined Functions

Click to jump to parent topicOWE Dimension Correction Pages

Organizational change is both necessary and inevitable. Your organization will restructure departments, hire new department managers, develop new products, and obtain new customers through a variety of sales channels. In each case, you must capture these business rules in EPM.

Although the prepackaged ETL jobs are designed to automatically capture these changes to your organization, you might encounter times when you are required to add or update dimensions directly in the PeopleSoft pages. You can use the OWE Dimension Maintenance menu items for this purpose (EPM Foundation, Business Metadata, OWE Dimension Maintenance).

This menu includes a separate menu item for each functional area that corresponds to one or more dimensions from your PeopleSoft source data and contains the following categories:

For example, under the Common menu there is a specific menu item to add or update common dimensions. The following is an example of one of the maintain dimension pages:

For each dimension, enter the relevant information for your dimension and save.

Warning! It is recommended that dimensions be accessible only to the EPM Administrator.

Note. Critical errors, such as missing setIDs or business units, must be fixed on their respective setup pages. Typically, the types of errors you correct in the dimension pages are the non-key fields of an error record.