Share

Problem Description

Ever needed to import data from multiple columns from the same source file without processing the same source file multiple times? How do we solve this puzzle when we know that the expression DRCRSPLIT in Oracle Enterprise Performance Management Data Management does not work for a delimited file? The import format in Data Management does not allow adding the Amount column for multiple times. Hence, it is not possible to import data from two columns using the standard configurations.

Business Needs

We have a need to integrate a flat file with FCCS via Data Management. However, the file contains the closing debit balance and the closing credit balance in different columns. The requirement is to import data by processing the source file only once.

Solution

Using the native Oracle EPM toolset, it’s possible to import data from multiple columns from the same source file.

The solution would involve:

  1. A Lookup dimension in Target Application
  2. Evaluation order change in the Target Application
  3. Debit column is mapped to Amount field in Import Format
  4. Credit column is mapped to Lookup field in Import Format
  5. Data mapping script for the Lookup dimension

Technical Details

Source File

Target Application

Import Format

It is important to use NZP for the Amount column. This approach will also bring 0 in Data Management.

Mapping Script

UD10,

AMOUNT =  NVL(AMOUNT,0) - NVL(TO_NUMBER(UD10),0)

The import will import the Debit balances in the Amount field and will import the Credit balances in the Lookup dimension field. The script then will apply Debit – Credit logic and will import credit as negative balances. Don’t forget to flip the sign in the account dimension for the credit balances. 

Result

Become a member

Newsletter

Receive our newsletter to stay on top of the latest posts.


Dipen Shah

Author

Dipen Shah