Oracle FDMEE Change Import Formats Dynamically
Oracle FDMEE Change Import Formats Dynamically
Ashima Rajput
The example given below creates two import formats and assigns one of
them to the Oracle Hyperion Financial Data Quality Management, Enterprise
Edition location. The script evaluates the file name and, if necessary,
changes the import format.
www.bispsolutions.com Page 1
Select Enable Event script execution set as yes for event script in application
settings.
This script chooses Import format based on the source file which we select in DLR
(Data Load Rule).
www.bispsolutions.com Page 2
Here you can see File (source system) is registered already.
If you want to register any other source simply click on Green plus icon
and you can add here New source system.
To add new Source system
Setup > Register > source system > add
Provide name for source system, select source system likewise fill other
details than save it.
we have two Source files. First file contained data with delimiter which is
comma name as sal_ActIF.txt, and second file have Fixed file type name as
sal_ForeIF.txt.
www.bispsolutions.com Page 3
3. Go to setup Tab Register Target Application.
Setup > Register > Target Application
Here you can see some of the Target application is registered already. Mine
Target Application name was Sal_data-esales.
If you want to register any other Target, simply click on Green plus icon and
you can add here New Target Application.
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.
www.bispsolutions.com Page 4
Here you can see all the details comes automatically related to dimension
mapping this refers to staging table.
www.bispsolutions.com Page 5
4. In next step we need to prepare Import format for each file so basically
you need to create two import Formats for each text file.
Import Formats:
Import format assigned into Location. Import format is used to define file
structure. We need to create import format before creating Location.
If Import format not present in list than add it by click on Green add button
you will have option below to add new import format
www.bispsolutions.com Page 6
Second Import Format
www.bispsolutions.com Page 7
Fill all the details in Details section like Name of import format than source
Type as ERP, Source as File Target Type as EPM and Select Target system. File
Delimiter means your source file contains which type of delimiter in my case
it is comma in first file and second file contained fixed type.
Then Click on save And Now scroll down here we need to define Mappings for
columns. with the help of source file line up source file column to Target
dimension by providing Field Number. as I have done above.
5. This is the step where we need to write Event script. select your Target
application, then select technology as Jython.
www.bispsolutions.com Page 8
fdmContext is an object which has list of properties for Example
“LOCNNAME”,” FILENAME” are the two properties of fdmContext.one contain
location and other has file. We can access these via fdmContext.
Then we specified two conditions based on selected location. That if filename
is matched with our file name (which is “sal_ActIF”) then assign given import
format. Or else run other import format.
updateImportFormat: this function used to update import format. This
takes two parameters as you can see in import script first contain import
format second contains load id.
www.bispsolutions.com Page 9
To Specify new Location, give any name to Location provide any one of the Import
Format which you made in last step once you provide Import format system
automatically fetch all other details related to source and Target. Then click on save.
www.bispsolutions.com Page 10
8. Category Mapping: If category exist under category list which you
want to load into target dimension than select it or otherwise create
them.
For creating New click on add provide source system data to Target Scenario
dimension member.
www.bispsolutions.com Page 11
9.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
we need to set Data Load Mapping. but first select POV (Point of view) set to
Location in my case mine location was Fore_Loc.
1. 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. 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.
Dimension- Product
Dimension- Scenario
www.bispsolutions.com Page 12
Dimension- Measures
Dimension- Accounts
10.Data Load Rule: Now we create data Load rule for location.
Finally, set DLR (Data Load Rule) Click on Green plus icon Then in Details
section give Name for Data Load Rule, select Category, select File Type as
single period data. select one by one Text File in file name. click on save
then Execute it.
www.bispsolutions.com Page 13
Workflow > Data Load > Data Load Rule
Fill all things in Execute Rule remember select start and end period as you define in
flat file like in My case I select start and end period as Jan.
www.bispsolutions.com Page 14
Here you will see This window.
Fill all things in Execute Rule remember select start and end period as you define in
flat file like in My case I select start and end period as Jan.
www.bispsolutions.com Page 15
Workbench Output for second file
Excel output
www.bispsolutions.com Page 16
www.bispsolutions.com Page 17