SlideShare a Scribd company logo
1 of 51
Download to read offline
www.bispsolutions.com www.bisptrainings.com
2017
BISP Solutions Inc.
Ashima Rajput
[FDMEE WRITING IMPORT AND MAPPING SCRIPT]
This document provides various examples as to how to use import and mapping script. There are four
examples used in it, they provide various ways to apply import and mapping scripts.
Contents
 Overview of Scripts
 Exercise#1 Import script with string expression.
 Exercise#2 Import Script with conditional expression.
 Exercise#3 Mapping Script with IGNORE expression.
 Exercise#4 Import Script with StrRecord Function
Overview of Scripts: Oracle Hyperion Financial Data Quality Management, Enterprise Edition having
great power and strength because of extensive framework by offering Jython and Visual Basic scripting
so that user has wider area for customize the product which is well suited for their needs.
There are instances when source data not in the same format as required by target application
therefore some changes and data massaging is required with data. With Jython or VB script, data
massaging job turns out to be quite flexible. Jython script empowers developers to customize the source
data to the greatest extent. i.e There are two amount columns in our Source File, one for credit amount
and other for debit amount, so we need to convert two columns into one based on condition
Amount=debit-credit.
Script Editor: With the help of script Editor, we write Jython script in FDMEE. Scripts are saved with .py
extension. Every script saved under scripts folder. Scripts can be copied into other FDMEE environments
and one can edit scripts using text Editor.
How to Launch Script Editor
Setup -scripts -- script Editor
Fig 1.1 Script Editor
Types of Scripts in FDMEE
I. Import scripts
II. Mapping scripts
III. Event scripts
IV. Custom scripts
I. Import scripts: Import script only supported by Jython script, so far visual basic script not
supported. These scripts support only file-based data loads. One can use any Jython
functions with Import scripts. Note file name of Import script and function Name should be
same. For our flexibility we always write script in text editor than paste it into FDMEE editor.
When source files are successfully imported than Import scripts will be executed.
These scripts not supported LCM in FDMEE.
Function passes two parameters.
 First parameter takes dimension value defined by the import format.
 In other parameter it takes entire record from the source.
Exercise#1
In this Example, the account column is a complete string i.e 01-205-A0065-0000-000 and we need to
apply string split function in order to extract certain subset of the string.
Input String : 01-205-A0065-0000-000
Expected Output: Account: A0065
Source: file(SCRIPT1Dl.TXT)
Target: drcrLoad
Script type: Import script
Sample Data file.
1. Login to workspace and open FDMEE.
Navigate -Administer -- Data Management
2.Go to setup tab Register Source system.
SetupRegister-source system
Here you can see File (source system) is already registered.
If you want to register any other source simply click on plus icon and you can add here.
For add new Source system: SetupRegister-source system-add
Provide name for source system, select source system likewise fill other details than save it.
3.Go to setup tab Register Target Application.
SetupRegister-Target Application
Here you can see some of the Target applications are already registered. My Target Application name is
DrcrLoad.
If you want to register any other Target, simply click on plus icon and you can add here.
For add new Target application.
SetupRegister- Target application -add
Click on add, select application window will appear, from dropdown select Type of Target application,
name of application will appear ,select one of them click on ok.
Dimension mapping details populated automatically, this refers to staging table. Market, Product,
Customers, Entity, are generic dimension. Account is Account Type and Market is country dimension.
4. Now in next step, define import format, we define source data type which we want to load to target
application.
Setup - Integration Setup
Setup - Integration Setup Import Format
If Import format not present in list than add it by click on add button, you will have option below to add
new import format, fill all the details like Name of import format than source Type, Source File etc. File
Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on
save than need to define Mapping Type.
Here define mapping based on your source File provide source column name, and Field Number of
source. For Ex in my Source file account number 01-205-A0065-0000-000 is First field so you can view in
Import format Account Map with field number 1 .
This is my Source file.
5. Now we write script.
Setup-Scripts--Script Editor---Import
Here select your Target Application as drcrload, and Technology as Jython.
For creating new script.
Setup-Scripts--Script Editor---Import---New
Script Name and function definition should be exactly same. Function takes two parameters, field
name and record name. Parameter#1 strfield contains whole record as row from your file and strrec
contains value for dimension on which we are applying script, i.e here we have Account. So in script we
give condition if strfield contain “–“ more than zero times than need to split the field and store into
seglist array. Now in next step we want third string A0065 so we pass second index (remember index
start from zero) of seglist and store it into new variable result and return it into account.
Script
This is the one way of writing script for this problem. and below script can also use for same problem.
Now we give reference of this script into Import Format. Click on Account and select pencil Icon under
add expression over their click on it. Choose Expression Type as script, select Expression value. Click ok,
then save it.
6.Location: Once we define Import Format define Location Here if location not available in list than click
on add button and fill related details.
Setup - Integration Setup Location
To Specify new Location, give any name to Location provide Import Format Name which you gave in
last step once you provide Import format system automatically fetch all other details related to source
and Target. Then click on save.
7. Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period
mapping. Period mapping is used to map source data(File) to Target dimension which is period
dimension. we can define mapping at different levels like Global, Application, source system.
Setup - Integration Setup Period Mapping
8.Category Mapping: If category exist under category list which you want to load into target dimension
than select it or otherwise create them.
Setup - Integration Setup Category Mapping
For creating New click on add provide source system data to Target Scenario dimension member.
9.we need to set Data Load Mapping. but first select POV (Point of view).
Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how
we export data from ERP to EPM system.
Data Load
Data Load Mapping: We use Data Load Mapping for map source dimension member to their target
Application Dimension member. We have Location, Period, Category set of Mappings for Data Load
Mapping. For that we need to select for which member we want to load data like in my case I choose
Account as a dimension than we have types of Mapping choose one of them then click on add then fill
all details. We need to specify mapping for each dimension.
Setup - Data Load -- Data Load Mapping
Dimension- Account
Dimension- Customers
Dimension- Market
Dimension- Entity
Dimension- ICP
Dimension- Product
10. Data Load Rule: We need to create data Load rule for location and category to describe what we are
going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like
provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single
period. Than choose Import Format which you Prepared.
After that in Source Option select File Name Which you want to Load.
Workflow -- Data Load - Data Load Rule
Basically, data load rule represents our file which we want to import with other details once we
complete data load rule we need to save it so execute button enabled than click on it here Execute
rule window will appear here we need to specify one or more periods. Run it than you will see one
process id has created than verify it by click on save
11. Data Load Workbench
Here we can see our data successfully Loaded.
We can see in Target Account A0065 is loaded successfully.
Data for other dimension loaded.
Excel output
Exercise#2 : The 2nd exercise demonstrate string function, type case and conditional expression. We
get source file which has two amount columns, one for credit amount and other for debit amount, so we
need to store Amount as Amount=Debit-credit which means convert two Amount columns into one
column.
Expected Output: Amount: Amount for A00065 will be 340, Amount for A00066 will be 200.and for
A0067 will be 15.
Source system-File (MULTIdata.txt).
Target system-Essbase cube(Mul_peri-Mul_db).
Script type: Import script
1.In First step we login to workspace and open FDMEE.
Navigate -Administer -- Data Management
2.Go to setup tab Register Source system.
SetupRegister-source system.
Here you can see File (source system) is registered already.
If you want to register any other source simply click on plus icon and you can add here.
For add new Source system: SetupRegister-source system-add
Provide name for source system, select source system likewise fill other details than save it.
3.Go to setup tab Register Target Application.
SetupRegister-Target Application
Here you can see some of the Target application is registered already. My Target Application name is
Mul_peri-Mul_db.
If you want to register any other Target, simply click on plus icon and you can add here.
For add new Target application.
SetupRegister- Target application -add
Click on add than window will appear, from dropdown select Type of Target application, then Name of
application will appear select one of them click on ok.
Here you can see all the details comes automatically related to dimension mapping this refers to staging
table. Market, Product, Customers, Entity, ICP are generic dimension and Account is Account Type
dimension. You can view in detail in your Target application by seeing dimension type. These all sets
automatically.
4.Now in next step define import format here we define map to source. We also define script in Import
format.
Setup - Integration Setup
My import format present in list name as Multi_IF.
Setup - Integration Setup Import Format
If Import format not present in list than add it by click on add button you will have option below to add
new import format fill all the details like Name of import format than source Type, Source File etc. File
Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on
save than need to define Mapping Type.
Here define Mapping based in your source File provide Source column name than Field Number of
source.
5.Now we write Import script.
Setup-Scripts--Script Editor---Import
Here select your Target Application and Technology as Jython.
For creating new script.
Setup-Scripts--Script Editor---Import---New
Script Name and definition of function should be exactly same. Function takes two parameters field
name, record Name.
strRecord contains full data record means, string record contains full value of a row.so when we use split
function with strRecord so we can get credit value. remember index start from zero.so credit Amount
present on 7th
index.
Import format we define Amount field as debit amount so strfield contain record which is present in
Amount in import format like in our case Amount present on 9th
field in Import format.
Now we need to apply condition for Amount field. . Here our logic was very simple if debit amount is
zero than amount will be negative if credit is not zero, and if credit is zero than amount should remain
same as debit. and if in case debit credit both contains some value in this case Amount=debit-credit.
Script
Now we give reference of this script into Import Format. this script we written for Amount dimension so,
click on Amount and you can see pencil Icon under add expression over their click on it. choose
Expression Type as script. Than select Expression value. Click ok, then save it.
6.Location: Once we define Import Format define Location Here if location not available in list than click
on add button and fill related details.
Setup - Integration Setup Location
To Specify new Location, give any name to Location provide Import Format Name which you gave in
last step once you provide Import format system automatically fetch all other details related to source
and Target. Then click on save.
7.Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period
mapping. Period mapping is used to map source data(File) to Target dimension which is period
dimension. we can define mapping at different levels like Global, Application, source system.
Setup - Integration Setup Period Mapping
8.Category Mapping: If category exist under category list which you want to load into target dimension
than select it or otherwise create them.
Setup - Integration Setup Category Mapping
For creating New click on add provide source system data to Target Scenario dimension member.
9.we need to set Data Load Mapping. but first select POV (Point of view).
Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how
we export data from ERP to EPM system.
Data Load
Data Load Mapping: We use Data Load Mapping for map source dimension member to their target
Application Dimension member. We have Account, customer, Entity, ICP, market, Product. set of
Mappings for Data Load Mapping. For that we need to select for which member we want to load data
like in my case I choose Account as a dimension than we have types of Mapping choose one of them
then click on add then fill all details. We need to specify mapping for each dimension.
Setup - Data Load -- Data Load Mapping
Dimension- Account
Dimension- Customers
Dimension- Market
Dimension- Entity
Dimension- ICP
Dimension- Product
10.Data Load Rule: We need to create data Load rule for location and category to describe what we are
going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like
provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single
period. Than choose Import Format which you Prepared.
After that in Source Option select File Name Which you want to Load.
Workflow -- Data Load - Data Load Rule
Basically, data load rule represents our file which we want to import with other details once we
complete data load rule we need to save it so execute button enabled than click on it here Execute
rule window will appear here we need to specify one or more periods. Run it than you will see one
process id has created than verify it by click on save
11.Data Load Workbench
Here we can see our data successfully Loaded. View in Amount column.
Workbench output
Excel output
II. Mapping Script
This type of scripting generally we use when we want to apply conditional Mapping.
In these scripts source members directly not going to map with Target members, first we map source
members to script expression than it maps to target.
Mapping script written with dimension Mapping.
We use if ..then logic for conditional mapping.
Mapping script not supported Explicit and Multi-dimension mapping.
How to create.
Workflow-Data Load Mapping-Like tab-Choose Dimension--select source value-Target
value write #SCRIPT.
1.Mapping Script Example:
Exercise#3
Here in this Example we skip those lines where amount is less than Zero with "IGNORE "option else map
all with Account members for target.
Expected output: Write IGNORE with less than zero Amount in Account column.
Source system: dataload1.txt
Target system: sample-Basic
Mapping Type: Mapping Script
Source file:
1.In First step we login to workspace and open FDMEE.
Navigate -Administer -- Data Management
2.Go to setup tab Register Source system.
SetupRegister-source system
Here you can see File (source system) is registered already.
If you want to register any other source simply click on plus icon and you can add here.
For add new Source system: SetupRegister-source system-add
Provide name for source system, select source system likewise fill other details than save it.
3.Go to setup tab Register Target Application.
SetupRegister-Target Application
Here you can see some of the Target application is registered already. My Target Application name is
Sample-Basic.
If you want to register any other Target, simply click on plus icon and you can add here.
For add new Target application.
SetupRegister- Target application -add
Click on add than window will appear, from dropdown select Type of Target application, then Name of
application will appear select one of them click on ok.
Here you can see all the details comes automatically related to dimension mapping this refers to staging
table. Market, Product, Scenario are generic dimension and Year is Period Type and Measures is Account
dimension. You can view in detail in your Target application by seeing dimension type. These all sets
automatically.
4Now in next step define import format here we define map fields to source to Target.
Setup - Integration Setup
Setup - Integration Setup Import Format
If Import format not present in list than add it by click on add button you will have option below to add
new import format fill all the details like Name of import format than source Type, Source File etc. File
Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on
save than need to define Mapping Type.
Here define Mapping based on your source File provide Source column name than Field Number of
source.
5.Location: Once we define Import Format define Location Here if location not available in list than click
on add button and fill related details.
Setup - Integration Setup Location
To Specify new Location, give any name to Location provide Import Format Name which you gave in
last step once you provide Import format system automatically fetch all other details related to source
and Target. Then click on save.
6.Period Mapping: suppose we want to load data for Jan 2012 so we can specify this into
Period mapping. Period mapping is used to map source data(File) to Target dimension which is
period dimension. we can define mapping at different levels like Global, Application, source
system.
Setup - Integration Setup Period Mapping
7.Category Mapping: If category exist under category list which you want to load into target dimension
than select it or otherwise create them.
Setup - Integration Setup Category Mapping
For creating New click on add provide source system data to Target Scenario dimension member.
Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how
we export data from ERP to EPM system.
Data Load
8.Data Load Mapping
Workflow-Setup - Data Load -- Data Load Mapping
Than In workflow we set Data Load Mapping. for members like Market, Product, Scenario we map
simply without script with like mapping all source goes to all target. but for Measures we write script, so
that all source mapped with target based on conditional mapping.
We write #SCRIPT keyword for Jython script in place of Target value and #SQL for sql scripts.
WorkflowData Load Mapping-select Measures
When we write #SCRIPT in Target value script editor will be enabled for us here we write script, this is
recommended that first write script in notepad than copy it and paste into script editor. then save it.
This is our script
fdmRow is used to get column value of current row in our script our column name is Account .so when
mapping is processed it return column value.
fdmResult returns the updated value for the target dimension. If amount less than zero than it return
IGNORE or else it return amount to the function.
Map all remaining dimensions.
Dimension- Measures
Here we also write script for Measures.
Dimension- Market
Dimension- Product
9.we need to set Data Load Mapping. but first select POV (Point of view).
10.Data Load Rule: We need to create data Load rule for location and category to describe what we are
going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like
provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single
period. Than choose Import Format which you Prepared.
After that in Source Option select File Name Which you want to Load.
Workflow -- Data Load - Data Load Rule
11.Data Load Workbench
Here we can see our data successfully Loaded.
We can see in Target Measures “IGNORE” loaded for amount -20 because it is less than Zero. For
other sales loaded.
Excel output
See in California there is no data loaded because amount was less than zero.
Problem 4: In my File Measures dimension contain dimension member with some appended text, here
we need to eliminate appended text so that only dimension member will be loaded into Target
application. For ex file contains sales_10 in measures dimension, so we need to eliminate -10 through
Import Script.
Expected output: sales from sales-10.
Target Application: Sample-Basic
File Name: Removeextra.txt
Script Type: Import Script
Ex. Step by step process of writing Import Script: -
1.In First step we login to workspace and open FDMEE.
Navigate -Administer -- Data Management
2.Go to setup tab Register Source system.
SetupRegister-source system
Here you can see File (source system) is registered already.
If you want to register any other source simply click on plus icon and you can add here.
For add new Source system: SetupRegister-source system-add
Provide name for source system, select source system likewise fill other details than save it.
3.Go to setup tab Register Target Application.
SetupRegister-Target Application
Here you can see some of the Target application is registered already. My Target Application name is
sample-Basic
If you want to register any other Target, simply click on plus icon and you can add here.
For add new Target application.
SetupRegister- Target application -add
Click on add than window will appear, from dropdown select Type of Target application, then Name of
application will appear select one of them click on ok.
Here you can see all the details comes automatically related to dimension mapping this refers to staging
table. Market, Product, Scenario are generic dimension and Measures is Account Type and Year is Period
dimension. You can view in detail in your Target application by seeing dimension type.
4.Now in next step define import format here we define map to source. We also define script in Import
format.
Setup - Integration Setup
Setup - Integration Setup Import Format
If Import format not present in list than add it by click on add button you will have option below to add
new import format fill all the details like Name of import format than source Type, Source File etc. File
Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on
save than need to define Mapping Type.
Here define Mapping based in your source File provide Source column name than Field Number of
source.
5.Now we write script.
Setup-Scripts--Script Editor---Import
Here select your Target Application as Sample-Basic, and Technology as Jython.
For creating new script.
Setup-Scripts--Script Editor---Import---New
Script Name and definition of function should be exactly same. Function takes two parameters field
name, record Name. FDMEE takes data as series of characters from file and character index starts from
zero. Now we need to identify in our source file from where we need to start and what will be the end
point we need to read characters, like in our case sales index is sales [0:5], rest of the character of this
dimension we need to ignore. It represents range of character, it takes sales_10 as input and return
sales.
Script
Now we give reference of this script into Import Format. this script we written for Measures dimension
so, click on Measures and you can see pencil Icon under add expression over their click on it. choose
Expression Type as script. Than select Expression value. Click ok, then save it.
6.Location: Once we define Import Format define Location Here if location not available in list than click
on add button and fill related details.
Setup - Integration Setup Location
To Specify new Location, give any name to Location provide Import Format Name which you gave in
last step once you provide Import format system automatically fetch all other details related to source
and Target. Then click on save.
7. Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period
mapping. Period mapping is used to map source data(File) to Target dimension which is period
dimension(Sample-Basic). we can define mapping at different levels like Global, Application, source
system.
Setup - Integration Setup Period Mapping
8.Category Mapping: If category exist under category list which you want to load into target dimension
than select it or otherwise create them.
Setup - Integration Setup Period Mapping
For creating New click on add provide source system data to Target Scenario dimension member.
9.we need to set Data Load Mapping. but first select POV(Point of view).
Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how
we export data from ERP to EPM system
Data Load
Data Load Mapping: We use Data Load Mapping for map source dimension member to their target
Application Dimension member. We have Location, Period, Category set of Mappings for Data Load
Mapping. For that we need to select for which member we want to load data like in my case I choose
Product as a dimension than we have types of Mapping choose one of them then click on add then fill all
details. We need to specify mapping for each dimension.
Setup - Data Load -- Data Load Mapping
Dimension- Product
Dimension- Scenario
Dimension- Market
Dimension- Measures
10.Data Load Rule: We need to create data Load rule for location and category to describe what we are
going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like
provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single
period. Than choose Import Format which you Prepared.
After that in Source Option select File Name Which you want to Load.
Workflow -- Data Load - Data Load Rule
Basically, data load rule represents our file which we want to import with other details once we
complete data load rule we need to save it so execute button enabled than click on it here Execute
rule window will appear here we need to specify one or more periods. Run it than you will see one
process id has created than verify it by click on save
11.Data Load Workbench
Here we can see our data successfully Loaded.
We can see in Target measures sales appended value has eliminated.
Workbench Output
Excel Output

More Related Content

What's hot

Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by stepksrajakumar
 
Deep dive on dynamic member lists
Deep dive on dynamic member listsDeep dive on dynamic member lists
Deep dive on dynamic member listsfinitsolutions
 
FDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next LevelFDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next LevelFrancisco Amores
 
HFM Business Rule Writing Tips and Techniques
HFM Business Rule Writing Tips and TechniquesHFM Business Rule Writing Tips and Techniques
HFM Business Rule Writing Tips and TechniquesAlithya
 
Hyperion step by step guide
Hyperion step by step guideHyperion step by step guide
Hyperion step by step guidechalasani kamesh
 
Understanding HFM System Tables
Understanding HFM System TablesUnderstanding HFM System Tables
Understanding HFM System Tablesaa026593
 
Finit solutions getting the most out of hfm - intercompany matching and eli...
Finit solutions   getting the most out of hfm - intercompany matching and eli...Finit solutions   getting the most out of hfm - intercompany matching and eli...
Finit solutions getting the most out of hfm - intercompany matching and eli...finitsolutions
 
Hyperion essbase basics
Hyperion essbase basicsHyperion essbase basics
Hyperion essbase basicsAmit Sharma
 
FDMEE Can Do That?
FDMEE Can Do That?FDMEE Can Do That?
FDMEE Can Do That?Alithya
 
Calculation commands in essbase
Calculation commands in essbaseCalculation commands in essbase
Calculation commands in essbaseShoheb Mohammad
 
Finit solutions - Automating Data Loads with FDMEE
Finit solutions - Automating Data Loads with FDMEEFinit solutions - Automating Data Loads with FDMEE
Finit solutions - Automating Data Loads with FDMEEfinitsolutions
 
Finit solutions getting the most out of hfm process management and phased sub...
Finit solutions getting the most out of hfm process management and phased sub...Finit solutions getting the most out of hfm process management and phased sub...
Finit solutions getting the most out of hfm process management and phased sub...finitsolutions
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidationAmit Sharma
 
Getting the Most out of EPMA: HFM Managing Metadata with EPMA
Getting the Most out of EPMA: HFM Managing Metadata with EPMAGetting the Most out of EPMA: HFM Managing Metadata with EPMA
Getting the Most out of EPMA: HFM Managing Metadata with EPMAfinitsolutions
 
Loading Smartlists into PBCS using FDMEE
Loading Smartlists into PBCS using FDMEELoading Smartlists into PBCS using FDMEE
Loading Smartlists into PBCS using FDMEERay Février
 
Data-Driven Rules in HFM
Data-Driven Rules in HFMData-Driven Rules in HFM
Data-Driven Rules in HFMaa026593
 
Key Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationKey Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationAlithya
 
Become Jythonic in FDMEE (KSCOPE15)
Become Jythonic in FDMEE (KSCOPE15)Become Jythonic in FDMEE (KSCOPE15)
Become Jythonic in FDMEE (KSCOPE15)Francisco Amores
 

What's hot (20)

Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by step
 
HFM-Implementation
HFM-ImplementationHFM-Implementation
HFM-Implementation
 
Deep dive on dynamic member lists
Deep dive on dynamic member listsDeep dive on dynamic member lists
Deep dive on dynamic member lists
 
FDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next LevelFDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next Level
 
HFM Business Rule Writing Tips and Techniques
HFM Business Rule Writing Tips and TechniquesHFM Business Rule Writing Tips and Techniques
HFM Business Rule Writing Tips and Techniques
 
Hyperion step by step guide
Hyperion step by step guideHyperion step by step guide
Hyperion step by step guide
 
Understanding HFM System Tables
Understanding HFM System TablesUnderstanding HFM System Tables
Understanding HFM System Tables
 
Finit solutions getting the most out of hfm - intercompany matching and eli...
Finit solutions   getting the most out of hfm - intercompany matching and eli...Finit solutions   getting the most out of hfm - intercompany matching and eli...
Finit solutions getting the most out of hfm - intercompany matching and eli...
 
Hyperion essbase basics
Hyperion essbase basicsHyperion essbase basics
Hyperion essbase basics
 
FDMEE Can Do That?
FDMEE Can Do That?FDMEE Can Do That?
FDMEE Can Do That?
 
Calculation commands in essbase
Calculation commands in essbaseCalculation commands in essbase
Calculation commands in essbase
 
Finit solutions - Automating Data Loads with FDMEE
Finit solutions - Automating Data Loads with FDMEEFinit solutions - Automating Data Loads with FDMEE
Finit solutions - Automating Data Loads with FDMEE
 
Finit solutions getting the most out of hfm process management and phased sub...
Finit solutions getting the most out of hfm process management and phased sub...Finit solutions getting the most out of hfm process management and phased sub...
Finit solutions getting the most out of hfm process management and phased sub...
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidation
 
Getting the Most out of EPMA: HFM Managing Metadata with EPMA
Getting the Most out of EPMA: HFM Managing Metadata with EPMAGetting the Most out of EPMA: HFM Managing Metadata with EPMA
Getting the Most out of EPMA: HFM Managing Metadata with EPMA
 
Loading Smartlists into PBCS using FDMEE
Loading Smartlists into PBCS using FDMEELoading Smartlists into PBCS using FDMEE
Loading Smartlists into PBCS using FDMEE
 
Optimization in essbase
Optimization in essbaseOptimization in essbase
Optimization in essbase
 
Data-Driven Rules in HFM
Data-Driven Rules in HFMData-Driven Rules in HFM
Data-Driven Rules in HFM
 
Key Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationKey Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning Implementation
 
Become Jythonic in FDMEE (KSCOPE15)
Become Jythonic in FDMEE (KSCOPE15)Become Jythonic in FDMEE (KSCOPE15)
Become Jythonic in FDMEE (KSCOPE15)
 

Similar to FDMEE script examples

Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12Rajesh Khatri
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshopmanisherp084
 
Fusion ERP Direct Integration with EPBCS
Fusion ERP Direct Integration with EPBCSFusion ERP Direct Integration with EPBCS
Fusion ERP Direct Integration with EPBCSIbraam Sami
 
Central Finance Configuration.pdf
Central Finance Configuration.pdfCentral Finance Configuration.pdf
Central Finance Configuration.pdfchandramohan431817
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designerrlsotto
 
Be sure to read all of Chapters 8 and 9 before starting this assignm.docx
Be sure to read all of Chapters 8 and 9 before starting this assignm.docxBe sure to read all of Chapters 8 and 9 before starting this assignm.docx
Be sure to read all of Chapters 8 and 9 before starting this assignm.docxaman341480
 
Uploading customer master extended address using bapi method
Uploading customer master extended address using bapi methodUploading customer master extended address using bapi method
Uploading customer master extended address using bapi methodlondonchris1970
 
PG Real Estate CMS: Import instructions
PG Real Estate CMS: Import instructionsPG Real Estate CMS: Import instructions
PG Real Estate CMS: Import instructionspilotgroup
 
Informatica cloud Powercenter designer
Informatica cloud Powercenter designerInformatica cloud Powercenter designer
Informatica cloud Powercenter designerRameswara Reddy
 
Baltimore MuleSoft Meetup #8
Baltimore MuleSoft Meetup #8Baltimore MuleSoft Meetup #8
Baltimore MuleSoft Meetup #8ManjuKumara GH
 
Hrms interview
Hrms interviewHrms interview
Hrms interviewnikhilgla
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Rajeev Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Kranthi Kumar
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsWilliam Olivier
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfPhani Pavan
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfPhani Pavan
 
Q3 2019 EC and Platform Quick Preview by Deloitte Germany
Q3 2019 EC and Platform Quick Preview by Deloitte GermanyQ3 2019 EC and Platform Quick Preview by Deloitte Germany
Q3 2019 EC and Platform Quick Preview by Deloitte GermanyChristoph Pohl
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3Amit Sharma
 
SAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxSAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxKen T
 

Similar to FDMEE script examples (20)

Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshop
 
Fusion ERP Direct Integration with EPBCS
Fusion ERP Direct Integration with EPBCSFusion ERP Direct Integration with EPBCS
Fusion ERP Direct Integration with EPBCS
 
Central Finance Configuration.pdf
Central Finance Configuration.pdfCentral Finance Configuration.pdf
Central Finance Configuration.pdf
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designer
 
Be sure to read all of Chapters 8 and 9 before starting this assignm.docx
Be sure to read all of Chapters 8 and 9 before starting this assignm.docxBe sure to read all of Chapters 8 and 9 before starting this assignm.docx
Be sure to read all of Chapters 8 and 9 before starting this assignm.docx
 
Uploading customer master extended address using bapi method
Uploading customer master extended address using bapi methodUploading customer master extended address using bapi method
Uploading customer master extended address using bapi method
 
PG Real Estate CMS: Import instructions
PG Real Estate CMS: Import instructionsPG Real Estate CMS: Import instructions
PG Real Estate CMS: Import instructions
 
Visual Logic Project - 1
Visual Logic Project - 1Visual Logic Project - 1
Visual Logic Project - 1
 
Informatica cloud Powercenter designer
Informatica cloud Powercenter designerInformatica cloud Powercenter designer
Informatica cloud Powercenter designer
 
Baltimore MuleSoft Meetup #8
Baltimore MuleSoft Meetup #8Baltimore MuleSoft Meetup #8
Baltimore MuleSoft Meetup #8
 
Hrms interview
Hrms interviewHrms interview
Hrms interview
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculations
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdf
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdf
 
Q3 2019 EC and Platform Quick Preview by Deloitte Germany
Q3 2019 EC and Platform Quick Preview by Deloitte GermanyQ3 2019 EC and Platform Quick Preview by Deloitte Germany
Q3 2019 EC and Platform Quick Preview by Deloitte Germany
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3
 
SAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxSAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docx
 

Recently uploaded

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

FDMEE script examples

  • 1. www.bispsolutions.com www.bisptrainings.com 2017 BISP Solutions Inc. Ashima Rajput [FDMEE WRITING IMPORT AND MAPPING SCRIPT] This document provides various examples as to how to use import and mapping script. There are four examples used in it, they provide various ways to apply import and mapping scripts.
  • 2. Contents  Overview of Scripts  Exercise#1 Import script with string expression.  Exercise#2 Import Script with conditional expression.  Exercise#3 Mapping Script with IGNORE expression.  Exercise#4 Import Script with StrRecord Function Overview of Scripts: Oracle Hyperion Financial Data Quality Management, Enterprise Edition having great power and strength because of extensive framework by offering Jython and Visual Basic scripting so that user has wider area for customize the product which is well suited for their needs. There are instances when source data not in the same format as required by target application therefore some changes and data massaging is required with data. With Jython or VB script, data massaging job turns out to be quite flexible. Jython script empowers developers to customize the source data to the greatest extent. i.e There are two amount columns in our Source File, one for credit amount and other for debit amount, so we need to convert two columns into one based on condition Amount=debit-credit. Script Editor: With the help of script Editor, we write Jython script in FDMEE. Scripts are saved with .py extension. Every script saved under scripts folder. Scripts can be copied into other FDMEE environments and one can edit scripts using text Editor. How to Launch Script Editor Setup -scripts -- script Editor Fig 1.1 Script Editor
  • 3. Types of Scripts in FDMEE I. Import scripts II. Mapping scripts III. Event scripts IV. Custom scripts I. Import scripts: Import script only supported by Jython script, so far visual basic script not supported. These scripts support only file-based data loads. One can use any Jython functions with Import scripts. Note file name of Import script and function Name should be same. For our flexibility we always write script in text editor than paste it into FDMEE editor. When source files are successfully imported than Import scripts will be executed. These scripts not supported LCM in FDMEE. Function passes two parameters.  First parameter takes dimension value defined by the import format.  In other parameter it takes entire record from the source. Exercise#1 In this Example, the account column is a complete string i.e 01-205-A0065-0000-000 and we need to apply string split function in order to extract certain subset of the string. Input String : 01-205-A0065-0000-000 Expected Output: Account: A0065 Source: file(SCRIPT1Dl.TXT) Target: drcrLoad Script type: Import script Sample Data file. 1. Login to workspace and open FDMEE. Navigate -Administer -- Data Management
  • 4. 2.Go to setup tab Register Source system. SetupRegister-source system Here you can see File (source system) is already registered. If you want to register any other source simply click on plus icon and you can add here. For add new Source system: SetupRegister-source system-add Provide name for source system, select source system likewise fill other details than save it.
  • 5. 3.Go to setup tab Register Target Application. SetupRegister-Target Application Here you can see some of the Target applications are already registered. My Target Application name is DrcrLoad. If you want to register any other Target, simply click on plus icon and you can add here. For add new Target application. SetupRegister- Target application -add Click on add, select application window will appear, from dropdown select Type of Target application, name of application will appear ,select one of them click on ok.
  • 6. Dimension mapping details populated automatically, this refers to staging table. Market, Product, Customers, Entity, are generic dimension. Account is Account Type and Market is country dimension. 4. Now in next step, define import format, we define source data type which we want to load to target application. Setup - Integration Setup
  • 7. Setup - Integration Setup Import Format If Import format not present in list than add it by click on add button, you will have option below to add new import format, fill all the details like Name of import format than source Type, Source File etc. File Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on save than need to define Mapping Type.
  • 8. Here define mapping based on your source File provide source column name, and Field Number of source. For Ex in my Source file account number 01-205-A0065-0000-000 is First field so you can view in Import format Account Map with field number 1 . This is my Source file. 5. Now we write script. Setup-Scripts--Script Editor---Import Here select your Target Application as drcrload, and Technology as Jython.
  • 9. For creating new script. Setup-Scripts--Script Editor---Import---New Script Name and function definition should be exactly same. Function takes two parameters, field name and record name. Parameter#1 strfield contains whole record as row from your file and strrec contains value for dimension on which we are applying script, i.e here we have Account. So in script we give condition if strfield contain “–“ more than zero times than need to split the field and store into seglist array. Now in next step we want third string A0065 so we pass second index (remember index start from zero) of seglist and store it into new variable result and return it into account.
  • 10. Script This is the one way of writing script for this problem. and below script can also use for same problem. Now we give reference of this script into Import Format. Click on Account and select pencil Icon under add expression over their click on it. Choose Expression Type as script, select Expression value. Click ok, then save it.
  • 11. 6.Location: Once we define Import Format define Location Here if location not available in list than click on add button and fill related details. Setup - Integration Setup Location To Specify new Location, give any name to Location provide Import Format Name which you gave in last step once you provide Import format system automatically fetch all other details related to source and Target. Then click on save. 7. Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period mapping. Period mapping is used to map source data(File) to Target dimension which is period dimension. we can define mapping at different levels like Global, Application, source system. Setup - Integration Setup Period Mapping
  • 12. 8.Category Mapping: If category exist under category list which you want to load into target dimension than select it or otherwise create them. Setup - Integration Setup Category Mapping For creating New click on add provide source system data to Target Scenario dimension member. 9.we need to set Data Load Mapping. but first select POV (Point of view).
  • 13. Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how we export data from ERP to EPM system. Data Load Data Load Mapping: We use Data Load Mapping for map source dimension member to their target Application Dimension member. We have Location, Period, Category set of Mappings for Data Load Mapping. For that we need to select for which member we want to load data like in my case I choose Account as a dimension than we have types of Mapping choose one of them then click on add then fill all details. We need to specify mapping for each dimension. Setup - Data Load -- Data Load Mapping Dimension- Account Dimension- Customers
  • 15. Dimension- Product 10. Data Load Rule: We need to create data Load rule for location and category to describe what we are going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single period. Than choose Import Format which you Prepared. After that in Source Option select File Name Which you want to Load. Workflow -- Data Load - Data Load Rule Basically, data load rule represents our file which we want to import with other details once we complete data load rule we need to save it so execute button enabled than click on it here Execute
  • 16. rule window will appear here we need to specify one or more periods. Run it than you will see one process id has created than verify it by click on save 11. Data Load Workbench Here we can see our data successfully Loaded. We can see in Target Account A0065 is loaded successfully. Data for other dimension loaded.
  • 17. Excel output Exercise#2 : The 2nd exercise demonstrate string function, type case and conditional expression. We get source file which has two amount columns, one for credit amount and other for debit amount, so we need to store Amount as Amount=Debit-credit which means convert two Amount columns into one column. Expected Output: Amount: Amount for A00065 will be 340, Amount for A00066 will be 200.and for A0067 will be 15. Source system-File (MULTIdata.txt). Target system-Essbase cube(Mul_peri-Mul_db). Script type: Import script
  • 18. 1.In First step we login to workspace and open FDMEE. Navigate -Administer -- Data Management 2.Go to setup tab Register Source system. SetupRegister-source system. Here you can see File (source system) is registered already. If you want to register any other source simply click on plus icon and you can add here. For add new Source system: SetupRegister-source system-add Provide name for source system, select source system likewise fill other details than save it. 3.Go to setup tab Register Target Application. SetupRegister-Target Application
  • 19. Here you can see some of the Target application is registered already. My Target Application name is Mul_peri-Mul_db. If you want to register any other Target, simply click on plus icon and you can add here. For add new Target application. SetupRegister- Target application -add Click on add than window will appear, from dropdown select Type of Target application, then Name of application will appear select one of them click on ok. Here you can see all the details comes automatically related to dimension mapping this refers to staging table. Market, Product, Customers, Entity, ICP are generic dimension and Account is Account Type dimension. You can view in detail in your Target application by seeing dimension type. These all sets automatically.
  • 20. 4.Now in next step define import format here we define map to source. We also define script in Import format. Setup - Integration Setup
  • 21. My import format present in list name as Multi_IF. Setup - Integration Setup Import Format If Import format not present in list than add it by click on add button you will have option below to add new import format fill all the details like Name of import format than source Type, Source File etc. File Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on save than need to define Mapping Type. Here define Mapping based in your source File provide Source column name than Field Number of source.
  • 22. 5.Now we write Import script. Setup-Scripts--Script Editor---Import Here select your Target Application and Technology as Jython. For creating new script. Setup-Scripts--Script Editor---Import---New Script Name and definition of function should be exactly same. Function takes two parameters field name, record Name. strRecord contains full data record means, string record contains full value of a row.so when we use split function with strRecord so we can get credit value. remember index start from zero.so credit Amount present on 7th index.
  • 23. Import format we define Amount field as debit amount so strfield contain record which is present in Amount in import format like in our case Amount present on 9th field in Import format. Now we need to apply condition for Amount field. . Here our logic was very simple if debit amount is zero than amount will be negative if credit is not zero, and if credit is zero than amount should remain same as debit. and if in case debit credit both contains some value in this case Amount=debit-credit. Script Now we give reference of this script into Import Format. this script we written for Amount dimension so, click on Amount and you can see pencil Icon under add expression over their click on it. choose Expression Type as script. Than select Expression value. Click ok, then save it.
  • 24. 6.Location: Once we define Import Format define Location Here if location not available in list than click on add button and fill related details. Setup - Integration Setup Location To Specify new Location, give any name to Location provide Import Format Name which you gave in last step once you provide Import format system automatically fetch all other details related to source and Target. Then click on save. 7.Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period mapping. Period mapping is used to map source data(File) to Target dimension which is period dimension. we can define mapping at different levels like Global, Application, source system. Setup - Integration Setup Period Mapping
  • 25. 8.Category Mapping: If category exist under category list which you want to load into target dimension than select it or otherwise create them. Setup - Integration Setup Category Mapping For creating New click on add provide source system data to Target Scenario dimension member. 9.we need to set Data Load Mapping. but first select POV (Point of view). Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how we export data from ERP to EPM system. Data Load Data Load Mapping: We use Data Load Mapping for map source dimension member to their target Application Dimension member. We have Account, customer, Entity, ICP, market, Product. set of Mappings for Data Load Mapping. For that we need to select for which member we want to load data like in my case I choose Account as a dimension than we have types of Mapping choose one of them then click on add then fill all details. We need to specify mapping for each dimension. Setup - Data Load -- Data Load Mapping Dimension- Account
  • 27. Dimension- ICP Dimension- Product 10.Data Load Rule: We need to create data Load rule for location and category to describe what we are going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single period. Than choose Import Format which you Prepared. After that in Source Option select File Name Which you want to Load. Workflow -- Data Load - Data Load Rule
  • 28. Basically, data load rule represents our file which we want to import with other details once we complete data load rule we need to save it so execute button enabled than click on it here Execute rule window will appear here we need to specify one or more periods. Run it than you will see one process id has created than verify it by click on save 11.Data Load Workbench Here we can see our data successfully Loaded. View in Amount column.
  • 30. This type of scripting generally we use when we want to apply conditional Mapping. In these scripts source members directly not going to map with Target members, first we map source members to script expression than it maps to target. Mapping script written with dimension Mapping. We use if ..then logic for conditional mapping. Mapping script not supported Explicit and Multi-dimension mapping. How to create. Workflow-Data Load Mapping-Like tab-Choose Dimension--select source value-Target value write #SCRIPT. 1.Mapping Script Example: Exercise#3 Here in this Example we skip those lines where amount is less than Zero with "IGNORE "option else map all with Account members for target. Expected output: Write IGNORE with less than zero Amount in Account column. Source system: dataload1.txt Target system: sample-Basic Mapping Type: Mapping Script Source file: 1.In First step we login to workspace and open FDMEE. Navigate -Administer -- Data Management 2.Go to setup tab Register Source system.
  • 31. SetupRegister-source system Here you can see File (source system) is registered already. If you want to register any other source simply click on plus icon and you can add here. For add new Source system: SetupRegister-source system-add Provide name for source system, select source system likewise fill other details than save it. 3.Go to setup tab Register Target Application. SetupRegister-Target Application
  • 32. Here you can see some of the Target application is registered already. My Target Application name is Sample-Basic. If you want to register any other Target, simply click on plus icon and you can add here. For add new Target application. SetupRegister- Target application -add Click on add than window will appear, from dropdown select Type of Target application, then Name of application will appear select one of them click on ok. Here you can see all the details comes automatically related to dimension mapping this refers to staging table. Market, Product, Scenario are generic dimension and Year is Period Type and Measures is Account dimension. You can view in detail in your Target application by seeing dimension type. These all sets automatically. 4Now in next step define import format here we define map fields to source to Target.
  • 33. Setup - Integration Setup Setup - Integration Setup Import Format If Import format not present in list than add it by click on add button you will have option below to add new import format fill all the details like Name of import format than source Type, Source File etc. File Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on save than need to define Mapping Type.
  • 34. Here define Mapping based on your source File provide Source column name than Field Number of source. 5.Location: Once we define Import Format define Location Here if location not available in list than click on add button and fill related details. Setup - Integration Setup Location To Specify new Location, give any name to Location provide Import Format Name which you gave in last step once you provide Import format system automatically fetch all other details related to source and Target. Then click on save. 6.Period Mapping: suppose we want to load data for Jan 2012 so we can specify this into Period mapping. Period mapping is used to map source data(File) to Target dimension which is period dimension. we can define mapping at different levels like Global, Application, source system. Setup - Integration Setup Period Mapping
  • 35. 7.Category Mapping: If category exist under category list which you want to load into target dimension than select it or otherwise create them. Setup - Integration Setup Category Mapping For creating New click on add provide source system data to Target Scenario dimension member. Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how we export data from ERP to EPM system. Data Load 8.Data Load Mapping Workflow-Setup - Data Load -- Data Load Mapping Than In workflow we set Data Load Mapping. for members like Market, Product, Scenario we map simply without script with like mapping all source goes to all target. but for Measures we write script, so that all source mapped with target based on conditional mapping. We write #SCRIPT keyword for Jython script in place of Target value and #SQL for sql scripts. WorkflowData Load Mapping-select Measures
  • 36. When we write #SCRIPT in Target value script editor will be enabled for us here we write script, this is recommended that first write script in notepad than copy it and paste into script editor. then save it. This is our script fdmRow is used to get column value of current row in our script our column name is Account .so when mapping is processed it return column value. fdmResult returns the updated value for the target dimension. If amount less than zero than it return IGNORE or else it return amount to the function. Map all remaining dimensions. Dimension- Measures Here we also write script for Measures.
  • 37. Dimension- Market Dimension- Product 9.we need to set Data Load Mapping. but first select POV (Point of view).
  • 38. 10.Data Load Rule: We need to create data Load rule for location and category to describe what we are going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single period. Than choose Import Format which you Prepared. After that in Source Option select File Name Which you want to Load. Workflow -- Data Load - Data Load Rule 11.Data Load Workbench
  • 39. Here we can see our data successfully Loaded. We can see in Target Measures “IGNORE” loaded for amount -20 because it is less than Zero. For other sales loaded. Excel output See in California there is no data loaded because amount was less than zero. Problem 4: In my File Measures dimension contain dimension member with some appended text, here we need to eliminate appended text so that only dimension member will be loaded into Target application. For ex file contains sales_10 in measures dimension, so we need to eliminate -10 through Import Script. Expected output: sales from sales-10. Target Application: Sample-Basic File Name: Removeextra.txt
  • 40. Script Type: Import Script Ex. Step by step process of writing Import Script: - 1.In First step we login to workspace and open FDMEE. Navigate -Administer -- Data Management 2.Go to setup tab Register Source system. SetupRegister-source system
  • 41. Here you can see File (source system) is registered already. If you want to register any other source simply click on plus icon and you can add here. For add new Source system: SetupRegister-source system-add Provide name for source system, select source system likewise fill other details than save it. 3.Go to setup tab Register Target Application. SetupRegister-Target Application Here you can see some of the Target application is registered already. My Target Application name is sample-Basic If you want to register any other Target, simply click on plus icon and you can add here. For add new Target application. SetupRegister- Target application -add Click on add than window will appear, from dropdown select Type of Target application, then Name of application will appear select one of them click on ok.
  • 42. Here you can see all the details comes automatically related to dimension mapping this refers to staging table. Market, Product, Scenario are generic dimension and Measures is Account Type and Year is Period dimension. You can view in detail in your Target application by seeing dimension type. 4.Now in next step define import format here we define map to source. We also define script in Import format. Setup - Integration Setup
  • 43. Setup - Integration Setup Import Format If Import format not present in list than add it by click on add button you will have option below to add new import format fill all the details like Name of import format than source Type, Source File etc. File Type Delimited means your source file contains which type of delimiter in my case it is comma. Click on save than need to define Mapping Type. Here define Mapping based in your source File provide Source column name than Field Number of source.
  • 44. 5.Now we write script. Setup-Scripts--Script Editor---Import Here select your Target Application as Sample-Basic, and Technology as Jython. For creating new script. Setup-Scripts--Script Editor---Import---New Script Name and definition of function should be exactly same. Function takes two parameters field name, record Name. FDMEE takes data as series of characters from file and character index starts from zero. Now we need to identify in our source file from where we need to start and what will be the end point we need to read characters, like in our case sales index is sales [0:5], rest of the character of this dimension we need to ignore. It represents range of character, it takes sales_10 as input and return sales.
  • 45. Script Now we give reference of this script into Import Format. this script we written for Measures dimension so, click on Measures and you can see pencil Icon under add expression over their click on it. choose Expression Type as script. Than select Expression value. Click ok, then save it. 6.Location: Once we define Import Format define Location Here if location not available in list than click on add button and fill related details. Setup - Integration Setup Location
  • 46. To Specify new Location, give any name to Location provide Import Format Name which you gave in last step once you provide Import format system automatically fetch all other details related to source and Target. Then click on save. 7. Period Mapping: suppose we want to load data for Jan 2016 so we can specify this into Period mapping. Period mapping is used to map source data(File) to Target dimension which is period dimension(Sample-Basic). we can define mapping at different levels like Global, Application, source system. Setup - Integration Setup Period Mapping
  • 47. 8.Category Mapping: If category exist under category list which you want to load into target dimension than select it or otherwise create them. Setup - Integration Setup Period Mapping For creating New click on add provide source system data to Target Scenario dimension member. 9.we need to set Data Load Mapping. but first select POV(Point of view). Data Load: In this Part of FDMEE We will see process of Data Load and validation of data and finally how we export data from ERP to EPM system
  • 48. Data Load Data Load Mapping: We use Data Load Mapping for map source dimension member to their target Application Dimension member. We have Location, Period, Category set of Mappings for Data Load Mapping. For that we need to select for which member we want to load data like in my case I choose Product as a dimension than we have types of Mapping choose one of them then click on add then fill all details. We need to specify mapping for each dimension. Setup - Data Load -- Data Load Mapping Dimension- Product Dimension- Scenario Dimension- Market
  • 49. Dimension- Measures 10.Data Load Rule: We need to create data Load rule for location and category to describe what we are going to import from ERP system. For prepare Data Load Rule click on plus icon Fill all the details like provide any suitable Name to your Data Load Rule, Choose File Type here we are loading data for single period. Than choose Import Format which you Prepared. After that in Source Option select File Name Which you want to Load. Workflow -- Data Load - Data Load Rule
  • 50. Basically, data load rule represents our file which we want to import with other details once we complete data load rule we need to save it so execute button enabled than click on it here Execute rule window will appear here we need to specify one or more periods. Run it than you will see one process id has created than verify it by click on save 11.Data Load Workbench Here we can see our data successfully Loaded. We can see in Target measures sales appended value has eliminated. Workbench Output