FDM Dimension script

Script.JPG
I've created a script Sun cross in UD2 for a multiload (screenshot above) / (script below).

strTrgAcct = varValues (14)

Select the strTrgAcct box

Case "A701210".

Result = "PNonSGA."

Select end

Import valid but the result is not added to the export

Load data started: 26/08/2014-12:46:25.

Line: 66 error: cell invalid for the period Jan.

Legislative, 2013; FOR A YEAR; CO4440; < entity currency >; A701210; [ICP no]; [None]; [None]; [None]; [None]; [None]; FDM_Load; 55158 40404 40404; 40404; 40404; 40404; 40404; 40404; 40404; 40404

> > > > > >

Any ideas?

Thank you!

Hello

who is your source Custom2 value for this intersection?

The default mapping rules are executed in alphabetical order so rules P1 to P7 will run before the PNONSGA rule.

This means that if your source Custom2 matches P1 *... P7 *, target Custom2 will [none] and rule PNONSGA will not be applied as Custom2 had already been mapped.

If you want to put PNONSGA on an exceptional basis and run before all P1... P7 rules, then rename the rule so that it is executed in the first place (or use the sequence card option)

I hope this helps.

Concerning

Tags: Business Intelligence

Similar Questions

  • FDM - a script engine for the specified language cannot be created.

    Hello

    When I try to log into the application of FDM, I get the error message below. FDM - 11.1.1.3 application version. I restarted all services and tried to log in again. But getting same error message.  It was working fine before. Please could you help me solve the problem.

    "Error: an error occurred in the logging on the system." -A script engine for the specified language cannot be created. »

    Thank you

    Michel K

    Your vbscript.dll is corrupt. Replace with a good copy and register again via cmd regsvr32.

  • How to use event FDM (vb) scripts in FDMEE


    Hi all

    In my application, I have a few event using VBA scripts.

    When I copied the same script of old FDM to my new app FDMEE it did not work.

    Please let me know what are the steps I need to do to make the old scripts to work in the new application FDMEE.

    Thank you

    HAPPY.

    It could be that your adapter HFM is not registered correctly.

    I can remember the API from VB FDMEE is saved with the HFM adapter.

    I would recommend the deregistration of the adapter and save it again (example):

    Unsubscribe from the command line-> E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\UnregisterHFM.vbs

    Command line registry-> E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\RegisterHFM.vbs domain\hfmdcomuser password E:\Oracle\Middleware\user_projects\epmsystem1

    You should get a message like this:

    HFM finished recording adapter

    ...

    FDMEE VB API completed registration

    Also, try to use a VB script in a custom script to ignore the problem is related to the script BefImport to create the object.

  • Automation of FDM integration Script in the Task Manager

    Hello world

    I have created an integration Script that copies the data of a table SQL to FDM and now tries to automate a daily run in the Task Manager.

    To do this, it seems that I have to create a custom Script to perform the following integration Script:
     Function LedgerTrans(strLoc, lngCatKey, dblPerKey, strWorkTableName) 
    I can't understand what it takes to write the custom Script to trigger the integration Script. Can someone explain or give a sample?



    Best regards
    Frederik

    You don't need a custom script, you can simply use batch processing to trigger the import for the POV. You must create a standard command using the GUI of batch script in the workbench (Tools > batch) then put the empty source files in the folder OpenBatch with the POV for the name of the file to trigger the import for the POV script.

  • Executing Script clear Essbase through FDM event scripts

    Hello

    Is it possible to access and run the script clear essbase through event FDM scripts? I know, a method is to modify the action of the load, but was wondering if can be done otherwise.

    Thanks in advance.

    The Essbase client is installed on the application server in FDM, then Yes. You can create a batch file that calls a calc via Essbase Client script and run it your script of the event

  • FDM integration Script error

    Hi Experts

    I want to import SQL data to FDM. When I ran the script for integration in FDM display < font color = "red" > "data access error. Online: 20 ' < / do >.

    I have created a. UDL file and connection test shows 'success.
    Which is exactly the problem that I don't know.
    1. the case where I am doing wrong?
    2. He must give to this path of the udl file in the Application of FDM?

    Below is the screenshot of the error of FDM

    http://www.Flickr.com/photos/84027801@N04/7692782026/in/photostream



    Here's the Script of integration

    Note: I changed the below < font color = "red" > red < / police > color highlighted fields in the script.


    -------------------------------------------------------------------
    Function SQLIntegration (lngCatKey, dblPerKey, strLoc, strWorkTableName)
    ‘------------------------------------------------------------------
    ' FDM integration Import Script:
    "Created by: Admin"
    "Creation date: 19/04/2004 14:18:39.
    ' Object: this integration import script connects to the example
    "SQL Server Northwind sample database and imports
    "the Orders in FDM table data source.
    ‘-----------------------------------------------------------------
    Dim cnSS ' ADO connection object
    Dim strSQL ' SQL string
    Dim rs ' Source system recordset
    Dim rsAppend ' FDM recordset
    ' Initialization of ADO objects
    Define the cnSS = CreateObject ("ADODB. Connection")
    Set rs = CreateObject ("ADODB. Recordset')
    'Open recordset object FDM work table can be added '.
    Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName)
    'Connect to the SQL Server Northwind (our data source) database
    Dim StrConn
    strConn = "Provider = SQLOLEDB.1; Integrated Security = SSPI; Persist Security
    Info = False; »
    strConn = strConn & "Initial Catalog = < font color ="red"> Northwind < / police >; Data Source = < font color = "red" > LocalHost < / police >; »
    CNSS. Open strConn
    ' Create the source query string
    strSQL = "" Select * ".
    strSQL = strSQL & "FROM Orders"
    ' Recordset open source
    RS. Open strSQL, cnSS
    "Look for the data in the source system.
    If rs.bof AND rs.eof then
    "Give the error message
    RES. PlngActionType = 2
    RES. PstrActionValue = "no records to load!
    'Assign the return value of function '.
    SQLIntegration = False
    Exit Function
    End If
    ' Loops through the records in the source in the database Northwind (orders table) and
    Add to the FDM work table
    If it is rs.bof and not rs.eof then
    While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields ("PartitionKey") = RES. PlngLocKey
    rsAppend.Fields ("CatKey") = lngCatKey
    rsAppend.Fields ("PeriodKey") = dblPerKey
    rsAppend.Fields ("DataView") = "CDA".
    rsAppend.Fields ("Amount") = rs.fields ("Freight"). Value
    rsAppend.Fields ("Account") = rs.fields ("CustomerID"). Value
    rsAppend.Fields ("Entity") = rs.fields ("ShipCountry"). Value
    rsAppend.Fields ("Desc1") = rs.fields ("ShipName"). Value
    rsAppend.Update
    RS. MoveNext
    Loop
    End If
    "Give the success message
    RES. PlngActionType = 2
    RES. PstrActionValue = "import successful SQL!"
    'Assign the return value.
    SQLIntegration = True
    End Function
    --------------------------------------------------------------------


    Please do the needful.

    If you have any document integration FDM step by step, please share me to my email id [email protected]

    concerning
    Smilee

    Because you use Select *, I don't see what are the names of the fields in the SOR table. Did you double check that the domain name (dblAmt) for the amount in the table in the SOR field is correct?

    Published by: user10757003 on November 14, 2012 14:27

  • FDM VB Script validation rule

    Hi I am using a VB script on one of my FDM validation rule, I followed the manual, but I get this error message

    EXPECTED 'If' line 10

    Which is very odd, because the code has only 5 lines top

    The code is very simple

    fun:
    If strEntity = "R99018" then
    Result = True
    On the other
    Result = False

    Any toughts?

    Thank you

    Published by: HFMColUser on 11 / 2011 there 16:20

    There should be an end if, on the line following result = false

  • HFM and FDM dimensions

    Hi all

    I am fairly new. I'm thinkg to know how to get the POV of HFM in FDM
    As entity and scenario dimensions. How to connect with FDM

    Thanks in advance

    Hello

    1. I ask you to look at the documentation, the question is very basic.

    2. we have locations of FDM, dealing with the entity.

    3. you need to spend time on the tables (period, categoris and currencies), explais categories control the Scenario of HFM dimension

    Sandeep Reddy, Enti
    HCC
    http://hyperionconsultancy.com/

  • FDM event Script Help

    Hello

    I just wanted to know when do you use the event 'BatchAction '?

    Thank you
    SSP.

    Code all your customizations in the batchaction script. Batachaction script will be executed when you run the batch of fdm.
    Thank you
    Vani.

  • FDM as Script for the account mapping

    I use the following script as a 'Like' card for the account. The import file has account in this format: 123456-Description. I would like to delete everything after the "-" and set the result to just the account number; However, I get an error saying card conditional Script error: expected "End" to line (4)

    sParse ="-"
    IPOS = InStr (varValues (13), sParse)
    If iPos = 0 Then Result = varValues (13)
    Else Result = Left (varValues (13), iPos-1)
    End If

    Someone knows how to fix the error? I tried to move the End If up to line 4, but that did not help.

    Thank you.

    Terri T.

    The RESULT setting should be on its own line of the if statement as follows:

    sParse="-"
    ipos=InStr(varValues(13),sParse)
    If iPos=0 Then
         RESULT=varValues(13)
    Else
         RESULT=Left(varValues(13),iPos-1)
    End If
    
  • Use target category and period of FDM import script

    Hi all


    I write an import script where I want to validate that the target of the period and the target category are filled in the tables of control for the selected perspective.

    Export action, I can use the strTper and the strTCat, but I need to check in the event script ImportAction.

    Someone at - it a suggestion how to find these values?

    Thanks in advance,

    Marc

    Res.pstrper, res.pstrcat to get the pov element.

    For members of the target, use the accelerator.

  • Concatenation FDM Import Table script

    Hi all

    First post here, so let me know if I'm making mistakes or leaving out critical information.  I'm trying to use FDM for importing a pipe delimited text file, use the mapping feature, and then export the new data to a .txt file.  The problem is that the entity on the finished side dimension must be a concatenation of the fields of the entity and the division.  What I tried to do is to write a script for the field of the entity on the tables import screen.

    Function Div_Ent_Comb (lngCatKey, dblPerKey, strLoc, strWorkTableName)

    '------------------------------------------------------------------

    "Integration oracle Hyperion FDM IMPORT script:

    '

    "Created by: cwinslow"

    "Creation date: 2014-10-09 15:34:39.

    '

    ' Object:

    '

    '------------------------------------------------------------------

    'Set variables '.

    Dim strCombination As String

    Dim strDivision As String

    Dim strEntity As String

    ' set where the combo will go

    strCombination = Trim (DW. Utilities.fParseString(strRecord, 29, 8, "|"))

    "Store column 7 of 11 of a delimited file

    strDivision = Trim (DW. Utilities.fParseString(strRecord, 29, 5, "|"))

    "To store the column 8 of the 11 of a delimited file

    strEntity = Trim (DW. Utilities.fParseString(strRecord, 29, 8, "|"))

    strCombination = strDivision & strEntity

    End If

    End Function

    Error when importing is as follows:

    Error: An error occurred importing the file.

    Detail: Object Variable or With block variable not set

    What I want to happen is when I import the file, is for the entity column show the result of the concatenation before going through the validation part.

    If you're just trying to concatenate two fields to use as a source for a mapping for the entity dimension, there is a much easier way to do this without script. In your import format to create two entries for the target dimension i.e. entity. The first line contains a reference to the field of the entity of your source (data field 8 of 29), the 2nd line will contain the reference to the field of the Division of your source (data field 5 of 29). If you do this FDM will automatically concatenate the 2 fields together for you.

  • Gives the Script import FDM of oracle RDB to import - import has failed. Data not valid or empty content.

    Hi all

    I create an FDM interface to extract data from Oracle RDB and onto an essbase database. I feel that if you have to shoot the script import data of RDB, you must create an integration. So I created a script to import integration based on the example given in the FDM Document admin.

    The Script is as below:

    Function PSIP_TEST (lngCatKey, dblPerKey, strLoc, strWorkTableName)

    '------------------------------------------------------------------

    "Import oracle Hyperion FDM integration script:

    '

    ' Created By: admin

    "Creation date: 18/02/2014-18:00:33.

    '

    ' Object:

    '

    '------------------------------------------------------------------

    Dim cnSS ' ADODB. Connection

    Dim strSQL ' SQL string

    Dim rs ' Recordset

    Dim rsAppend ' tTB table add rs object

    'Initialize objects.

    Define the cnSS = CreateObject ("ADODB. Connection")

    Set rs = CreateObject ("ADODB. Recordset')

    Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName)

    "To connect to the Oracle database

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    ' Create the query string

    strSQL = "SELECT YEAR, COST_CENTRE, PROGRAMME_CODE, PROJECT_CODE, ACCOUNTS, AMOUNT FROM VW_PSIP_EBUDGET_ESTIMATES.

    «Get data»

    RS. Open strSQL, cnSS

    "Locate the data.

    If rs.bof and rs.eof then

    RES. PlngActionType = 2

    RES. PstrActionValue = "no records to load!

    Exit Function

    End If

    ' Loop through records and add table APCs to place DB

    If it is rs.bof and not rs.eof then

    While Not rs.eof

    rsAppend.AddNew

    rsAppend.Fields ("PartitionKey") = RES. PlngLocKey

    rsAppend.Fields ("CatKey") = RES. PlngCatKey

    rsAppend.Fields ("PeriodKey") = RES. PdtePerKey

    rsAppend.Fields ("DataView") = "CDA".

    rsAppend.Fields ("CalcAcctType") = 9

    rsAppend.Fields ("Account") = rs.fields ("ACCOUNTS"). Value

    rsAppend.Fields ("Entity") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("UD1") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("node2") = rs.fields ("PROGRAMME_CODE"). Value

    rsAppend.Fields ("UD3") = rs.fields ("PROJECT_CODE"). Value

    rsAppend.Fields ("Amount") = rs.fields ("Amount"). Value

    rsAppend.Update

    RS. MoveNext

    Loop

    End If

    "Loaded files

    RES. PlngActionType = 6

    RES. PstrActionValue = "import successfully!

    'Assign the return value.

    SQLIntegration = True

    End Function

    When I run the Script in the Script Editor, I get the following error:

    Error: An error occurred while running the script:

    -2147467259-data access error.

    Online: 19

    If I see in the error log, it is as follows:

    ERROR:

    Code... - 2147467259

    Description... ORA-00903: invalid table name

    Process... clsDataAccess.farsTableAppend

    The component... upsWDataWindowDM

    Version.......................................... 1112

    Thread........................................... 41900

    Nude of the line. 19 is as follows: Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName) and, therefore, I thought that perhaps this is when I run the script in the Script Editor, perhaps that the value of the variable "strWorkTableName" does not get filled it is why it gives an error.

    So I ran the import stage in the Workflow, and Got the following error:

    Error: Failed to import. Data not valid or empty content.

    and there is no entry in the error log.

    I'm lost, need your help please.

    One last thing, I would like to ask is kindly please post if my connection string is correct, either:

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    I read that FDM is a 32-bit product and will require a connection 32-bit oledb provider.

    FDM here is installed on a 64-bit computer and the provider that is used here in the connection string is 64-bit.


    Please help, my work here came to a fixed support. Kindly help

    That would mean that your 32-bit TNSNAMES. ORA file does not have a good connect descriptor for what you provide in the UDL file.

    Check your TNSNAMES 32bits. ORA file and make sure you have a good connect descriptor for the Oracle database.

  • How to use strCurrency when writing scripts in workbench FDM

    Gurus,

    I have a flat file that has rows for the currency, duration and year

    What I'm trying to do is to read the currency, period and year specified in the file and compare it with the currency, period and year selected POV.

    If all three corresponding, the file will be imported if it should fail.

    I am able to compare period and the year of file with POV however I don't know how I can read currency set by the location.

    Can we use using strCurrency? If so, can anyone suggest how?

    Thanks for the help in advance.

    Hello

    You can use strCurrency to get the coin.

    Here you have an example:

    Void Test_Currency()

    '------------------------------------------------------------------

    "Oracle Hyperion FDM CUSTOM Script:

    '

    "Created by: hypadmin"

    "Creation date: 2014-02-04 04:48:55.

    '

    ' Object:

    '

    '------------------------------------------------------------------

    ' Declare local variables

    Dim strCurrency

    'Get the profile of the current location.

    With the API. POVMgr.fCheckLocProf (API. POVMgr.PPOVLocation)

    strCurrency = .strCurrency

    Ends with

    MsgBox strCurrency

    End Sub

  • FDM batch / Multiload possibilities of Script-based interfaces

    Hello world

    I need to get data out of Essbase using FDM to export more.

    I am faced with a situation where I need a script to run NOT on a month-by-month, but in a batch interface / multiload fashion.
    Using the Multiload is as far as I use it for users by selecting import files - then only to file based locations.

    Due to security reasons I need a shell script (such as users are not allowed to see import files from other users).

    So far, I have solved this problem via a batch processing tool that runs on the server only = > problem is that users running the interface cannot start the tool batch on the server because of security restrictions.

    Is there a built / customized as to run a script in a way post-job Interface, so that a user selects for example January - December, since several years and charges it based on FDM deployed scripts (these can also run in the background).

    I'm open to suggestions / ideas where to look.

    Thanks & BR,
    Julius

    You can run a command to a workflow script in the FDM GUI web.

    (1) in the Batchloader on the server write a batch script
    (2) Insert the following lines shows the code at the top of the Batch Script under decalrations variables (this allows it to be called from the web)

    Dim BATCHENG
    Set BATCHENG = CreateObject ("upsWBatchLoaderDM.clsBatchLoader")
    BATCHENG.mInitialize API, SCRIPTENG

    (3) use Menu Maker to create the link and link to your active web batch script
    4) access workflow task, by clicking on the link will execute the batch
    (5) then you can create a custom security profile to determine which users can access these workflows

Maybe you are looking for