Integartion of Oracle to FDM
Hi All,
I want to load data into FDM directly fom Oracle database through an Integration Script.
I developed the script for integrating , but when i run the script i got an Error:in line
Set rsAppend=DW.DataAccess.farstable(strworktablename)
the Error says that the table doesn't exist
Can any one guide me for which table its giving me the error.
Plz guide me.
Plz revert back to me in case of any queries.
Thanks,
Hi,
I have tried replicating the Integration script at a client site as mentioned in the Admin Guide and its fails to execute giving me a data access error at the following statement:
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
The section of the script is given below:
Function CTIDB2Test(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Hyperion FDM Integration Import Script:
'Created By: admin
'Date Created: 2/19/2009 1:16:59 PM
'Purpose: This import integration script connects to the xyz database
' and imports Actuals data from the generalLedgerMasterFile and glMasterAccount table into FDM
Dim cnSS 'ADO Connection object
Dim strSQL 'SQL String
Dim rs 'Source System recordset
Dim rsAppend 'FDM recordset
Dim sPOVString
Dim sPOVPeriod
Dim sDataCol
' Initialise the ADO objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.RecordSet")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
Similar Messages
-
BPEL or OSB Integartion with ORACLE CEP
Hi all,
Can any body give me url or links or documents which will give me good idea on . How we can pass events from BPEL or OSB to CEP .
Other wise how can issue the SOA 11g Event Delivery Network (EDN) with CEP .
Any help appreciated.
Thankshttp://www.oracle.com/technology/sample_code/products/event-driven-architecture/index.html#11gR1
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14301/toc.htm
Regards,
Anuj -
Source Data from OLE DB staging area to Import for FDM
Hi ! Please help me out on Integartion of Oracle to FDM
I want to load data into FDM directly fom Oracle database through an Integration Script.
How to take Source Data from OLE DB staging area to Import for FDM?
My main intension to import data for FDM from Oracle DB where there is no manual intervention and it could be safe. We are taking Actual data through Oracle Apps and keep that data into Oracle DB for further process.
FDM can also import data from Oracle Data Base Source means I need procedure/script to import data from Oracle data base staging area where we keep some data for HFM to enter the data on monthly basis.
OLEDB----->Import FDM-------> Export to HFM (Procedure\script without manual intervention)
Here in OLEDB data comes cumulative from Day or week to Month basis for inputing to HFM applicaiton.(Actual)
Regards and Thanks.
Edited by: user3557428 on 10-Dec-2008 00:05You will want to look at the FDM Admin Guide
Look for Integration Import Scripts
There are a few pages that cover what you are trying to do. If you do not know VBScript it might be benefitial to tap someone who does or brush up on ADO.
Hope this helps
Wayne Van Sluys
TopDown Consulting -
Using FDM to load data from oracle table (Integration Import Script)
Hi,
I am using Integration Import Script to load data from oracle table to worktables in FDM.
i am getting following error while running the script.
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
Attaching the full error report
ERROR:
Code............................................. -2147217887
Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
At line: 22
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 6260
IDENTIFICATION:
User............................................. ******
Computer Name.................................... *******
App Name......................................... FDMAPP
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... DBNAME
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SCRTEST
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... FDM ACTUAL
Category ID...................................... 13
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ True
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I am using the following script
Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM Integration Import Script:
'Created By: Dhananjay
'Date Created: 1/17/2012 10:29:53 AM
'Purpose:A test script to import data from Oracle EBS tables
Dim cnSS 'ADODB.Connection
Dim strSQL 'SQL string
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
'Connect to SQL Server database
cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
'Create query string
strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
'Get data
rs.Open strSQL, cnSS
'Check for 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 append to tTB table in location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Amount") = rs.fields("Amount").Value
rsAppend.Fields("Desc1") = rs.fields("Description").Value
rsAppend.Fields("Account") = rs.fields("Account").Value
rsAppend.Fields("Entity") = rs.fields("Entity").Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "Import successful!"
'Assign Return value
SQLIntegration = True
End Function
Please help me on this
Thanks,
Dhananjay
Edited by: DBS on Feb 9, 2012 10:21 PMHi,
I found the problem.It was because of the connection string.The format was different for oracle tables.
PFB the format
*cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
And thanks *SH* for quick response.
So closing the thread......
Thanks,
Dhananjay -
Using INSERT INTO for FDM Memory Issue
All -
We configured FDM to run an integration script into our EBS instance upon the import step. It worked fine for a time, then we began running out of memory on the FDM server. Upon Oracle's suggestion, we stopped running through a record set to append and update the values to strWorkTableName and instead began using INSERT INTO. I admit, I have never needed to use the INSERT INTO way of doing things so I may be missing something bery basic.
Our integration script:
Function SQLIntegration2(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: karks
'Date Created: 2011-10-26 13:05:18
'Purpose:
Dim strSQL 'SQL string
Dim lngPartitionKey
Dim strConn 'Connection string to the source data
Set cnSS = CreateObject("ADODB.Connection")
lngPartitionKey = RES.PlngLocKey
strConn= "File Name=C:\Users\karksadm\Desktop\NewConnection.udl;"
cnSS.open strConn
strSQL = "Insert Into " & strWorkTableName & " (PartitionKey, CatKey, PeriodKey, DataView, Amount , Account, Entity, ICP, UD1, UD2, UD3, UD4) "
strSQL = strSQL & "SELECT " & lngPartitionKey & ", " & lngCatKey & ", TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & "), 'YTD', EBS.YTD_BALANCE, EBS.ACCOUNT, EBS.SEGMENT1, EBS.SEGMENT5, EBS.SEGMENT4, EBS.SEGMENT5, '[None]', EBS.CURRENCY_CODE FROM "
strSQL = strSQL & "(Select D.NAME, A.CODE_COMBINATION_ID, D.NAME LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR (C.START_DATE, 'MON-YY') AS PERIOD, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3) As ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, "
strSQL = strSQL & "(SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) As YTD_BALANCE "
strSQL = strSQL & "FROM GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D "
strSQL = strSQL & "WHERE 1 = 1 And A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR "
strSQL = strSQL & "And A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID And B.SUMMARY_FLAG = 'N' AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME "
strSQL = strSQL & "And (B.SEGMENT1 = 001 And A.CURRENCY_CODE = 'USD' And D.LEDGER_ID = 2022) "
strSQL = strSQL & "And C.END_DATE = TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & ") "
strSQL = strSQL & "And B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID And A.ACTUAL_FLAG = 'A' "
strSQL = strSQL & "And ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_NET_CR))) <> 0 "
strSQL = strSQL & "GROUP BY A.CODE_COMBINATION_ID, D.NAME, A.CURRENCY_CODE, TO_CHAR (C.START_DATE,'MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 "
strSQL = strSQL & "ORDER BY B.SEGMENT4) EBS"
DW.DataManipulation.fExecuteDML(strSQL)
'Give success message
RES.PlngActionType = 2
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
SQLIntegration2 = True
cnSS.close
Set cnSS = Nothing
End FunctionI can run the SQL minus the Insert line in my SQL Developer and it works fine. When I run the script in its entirety in FDM, we receive the following:
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:30] **
ERROR:
Code............................................. -2147217865
Description...................................... ORA-00942: table or view does not exist
Insert Into tWibison72564424799 (PartitionKey, CatKey, PeriodKey, DataView, Amount , Account, Entity, ICP, UD1, UD2, UD3, UD4) SELECT 772, 28, TO_DATE (TO_DATE (N'30/12/1899',N'dd/mm/yyyy')+40724), N'YTD', EBS.YTD_BALANCE, EBS.ACCOUNT, EBS.SEGMENT1, EBS.SEGMENT5, EBS.SEGMENT4, EBS.SEGMENT5, N'[None]', EBS.CURRENCY_CODE FROM (Select D.NAME, A.CODE_COMBINATION_ID, D.NAME LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR (C.START_DATE, N'MON-YY') AS PERIOD, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3) As ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, (SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) As YTD_BALANCE FROM GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D WHERE 1 = 1 And A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR And A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID And B.SUMMARY_FLAG = N'N' AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME And (B.SEGMENT1 = 001 And A.CURRENCY_CODE = N'USD' And D.LEDGER_ID = 2022) And C.END_DATE = TO_DATE (TO_DATE (N'30/12/1899',N'dd/mm/yyyy')+40724) And B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID And A.ACTUAL_FLAG = N'A' And ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_NET_CR))) <> 0 GROUP BY A.CODE_COMBINATION_ID, D.NAME, A.CURRENCY_CODE, TO_CHAR (C.START_DATE,N'MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 ORDER BY B.SEGMENT4) EBS
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:31] **
ERROR:
Code............................................. -2147217865
Description...................................... Data access error.
At line: 33
Procedure........................................ clsImpProcessMgr.fExecuteImpScript
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:31] **
ERROR:
Code............................................. -2147217865
Description...................................... Data access error.
At line: 33
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I really think the issue is that I am not telling the script where to find the Oracle tables at. I left the code in where we were using the UDL to call in the opening of the record set, but since we are doing away with the record set how do I let FDM know where to find the Oracle tables?
Thanks in advance - I've been wrestling with this for several days.
Thanks you,
SarahHere's a script with INSERT INTO that works fine if FDM back-end is SQL DB and it's pulling from FDMHarris data warehouse which is on SQL Server.
Problem is when FDM back-end is Oracle DB and it's pulling from FDMHarris data warehouse which is on SQL Server.
I'm assuming the INSERT INTO statement needs to be written differently, syntax wise?
Here's the error message displayed.
** Begin FDM Runtime Error Log Entry [2012-06-03 21:18:15] **
ERROR:
Code............................................. -2147217900
Description...................................... ORA-00933: SQL command not properly ended
INSERT INTO tWadmin476032843931 (PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) SELECT 752, 12, N'30-Apr-2012', N'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount FROM FDMHarris.dbo.tdataseg4;
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 3284
Function INSERTINTO(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: admin
'Date Created: 2012-06-03 11:31:39
'Purpose:
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
Dim strPeriod
Dim strYear
'Period
'strPeriod=MonthName(Month(RES.PdtePerKey))
a=CStr(FormatDateTime(RES.PdtePerKey,1))
'Tuesday,January 30, 2012
b=Right(a,(Len(a)-Len(DW.Utilities.fParseString(a,1,1,",")))) '7
c=DW.Utilities.fParseString(b,2,2,",")
strPeriod=Left(c,3)
'Year
'strYear=Year(RES.PdtePerKey)
strYear=Right(b,4)
DW.DBTools.mLogError 1, CStr(strPeriod), CStr(strYear), Nothing
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
'Connect To SQL Server database
cnss.open "Provider=SQLOLEDB.1;Password=datafusion;Persist Security Info=True;User ID=sa;Initial Catalog=FDMHarris;Data Source=dfv11122"
'DW.DBTools.mLogError 1, CStr(strSQL), CStr(strSQL), Nothing
'Initialize common SQL statement
strSQL = "INSERT INTO " & _
strWorkTableName & " " & _
"(PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) " & _
"SELECT " & RES.PlngLocKey & ", " & RES.PlngCatKey & ", " & _
"'" & Day(RES.PdtePerKey) & "-" & MonthName(Month(RES.PdtePerKey), True) & "-" & Year(RES.PdtePerKey) & "', " & _
"'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount " & _
"FROM FDMHarris.dbo.tdataseg4;" '& _
' "WHERE Month = '" & strPeriod & "' And CalYear = '" & strYear & "'"
DW.DBTools.mLogError 1, CStr(strSQL), CStr(strWorkTableName), Nothing
DW.DataManipulation.fExecuteDML(strSQL)
'cnss.Execute strSQL
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
INSERTINTO = True
cnss.Close
Set cnss = Nothing
End Function
Edited by: user12152138 on Jun 3, 2012 6:43 PM -
Import Balances into FDM as YTD Even Though ERPi Extracts in Periodic
Hi All,
We are trying to load data into HFM by using FDM using ERPI integrator adaptor.here issue is revnue and expense accounts are loading as periodic insted of YTD,so we have to load revenue ane expense should load as YTD format.
oracle analyst given us refrence doc(How to Import Balances into FDM as YTD Even Though ERPi Extracts in Periodic [ID 1077823.1]) script for this: The below script we have created in script editor as import (dataPump).then after where we have to map this import script,i am not sure this script is right or not.
even we have tried to import data from EBS still importing periodic for revenue and expense accounts.
Any one plz help me here.
Function TestImport2(strField, strRecord)
'Oracle Hyperion FDM DataPump Import Script:
'Created By: admin
'Date Created: 1/11/2010 8:46:02 AM
'Purpose:
Int BEGIN_BALANCE_DR
Int BEGIN_BALANCE_CR
Int PERIOD_NET_DR
Int PERIOD_NET_CR
Dim Account_Type
If InStr(1,strRecord,"|")=0 Then
RES.pblnskip = False
Exit Function
End If
'Check to make sure this isn't the first row
If DW.Utilities.fParseString(strRecord, 50, 38, "|") = "BEGIN_BALANCE_DR" Then
Res.pblnskip = True
Exit Function
End If
'Parse out the different value columns in the import file
BEGIN_BALANCE_DR = DW.Utilities.fParseString(strRecord, 50, 38, "|")
BEGIN_BALANCE_CR = DW.Utilities.fParseString(strRecord, 50, 39, "|")
PERIOD_NET_DR = DW.Utilities.fParseString(strRecord, 50, 40, "|")
PERIOD_NET_CR = DW.Utilities.fParseString(strRecord, 50, 41, "|")
Account_Type = DW.Utilities.fParseString(strRecord, 50, 42, "|")
'Do Some Math
If LCase(account_type) = "1" Then
TestImport2 = (BEGIN_BALANCE_DR - BEGIN_BALANCE_CR + PERIOD_NET_DR - PERIOD_NET_CR) * (-1)
Else
TestImport2 = (BEGIN_BALANCE_DR - BEGIN_BALANCE_CR + PERIOD_NET_DR - PERIOD_NET_CR)
End If
End Function
Thanks,
sriWhich version of FDM are you using 11.1.2.x uses a direct data link to move the data into FDM from the ERPI staging tables with no flat file intemediary so the data pump script would be useless to you. If you are using an older version then go to the import format used as part of the ERPI adapter setup and the script reference to the expression box against the amount field.
-
FDM - Integration IMPORT script failed
Hi,
We are on 11.1.2.1.
I am trying to create a import integration script which i took from the FDM admin guide...and i am trying to pull data from Oracle table...
But i am getting error as "Data access error" and its in the below line when i try to execute the code form the workbench...but when i use the import button in the web its importing....*i beleive its somethign related to the STRWORKTABLENAME and somewhere i read that i need to declare the function FARSTABLE*...but i dont know how as i am pretty novice to that....can you please help me....
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
also when i checked the error log i saw
*** Begin FDM Runtime Error Log Entry [2012-07-03 07:06:27] ***
ERROR:
Code............................................. -2147467259
Description...................................... ORA-00903: invalid table name
Procedure........................................ clsDataAccess.farsTableAppend
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 20228
Below is the complete code i am using
Function SI_ActualLoad(strLoc, lngCatKey, dblPerKey, strWorkTableNam)*
*+'------------------------------------------------------------------+*
+'Oracle Hyperion FDM IMPORT Integration Script:+
+'+
+'Created By: admin+
+'Date Created: 2012-06-01 01:19:02+
+'strWorkTableName+
+'Purpose:+
+'strWorkTableName+
*+'------------------------------------------------------------------+*
Dim cnSS 'ADO connection Object*
Dim strSQL 'SQL String*
Dim rs 'Source system recordset*
Dim rsAppend 'Hyperion FDM recordset*
Dim monthvar*
+'Initialize ADO objects+
Set cnSS = CreateObject("ADODB.Connection")*
Set rs = CreateObject("ADODB.Recordset")*
monthvar=Month(Date)*
+'Open Hyperion FDM work table recordset For appending+
+'Set rsappend = DW.DataAccess.farsTableAppend(strWorkTableName)+
+'Connect To Oracle database (our data source)+
Dim strConn*
strConn="Provider=ORAOLEDB.ORACLE.1;Data Source=EMDDS392:1521/DEVDBEMD;Database=DEVDBEMD;User id=xxxxxxx;Password=xxxxx"*
cnss.open strConn*
+'Create source query String+
strSQL = "Select * "*
+'strSQL = strSQL & "FROM STG_SAP_ACTUALS WHERE ACCOUNT NOT LIKE 'NA'"+
strSQL = strSQL & "from EGETLDB.STG_SAP_ACTUALS where period =SUBSTR(TO_CHAR(SYSDATE-90,'MONTH'),1,5)"*
+'Open source recordset+
rs.Open strSQL, cnSS*
+'Check For data In source system+
If rs.bof And rs.eof Then*
+'Give Error message+
RES.PlngActionType = 2*
RES.PstrActionValue = "No records To load!"*
+'Assign Return value of Function+
SI_ActualLoad = False ' Assign return value of function*
Exit Function*
End If*
+'Loop through source records In database And append To+
+'Hyperion FDM work table+
If Not rs.bof And Not rs.eof Then*
Do While Not rs.eof*
rsAppend.AddNew*
rsAppend.Fields("PartitionKey") = RES.PlngLocKey*
rsAppend.Fields("CatKey") = RES.lngCatKey*
rsAppend.Fields("PeriodKey") = RES.dblPerKey*
rsAppend.Fields("DataView") = "YTD"*
rsAppend.Fields("CalcAcctType") = 9*
rsAppend.Fields("Amount") = rs.fields("GROUPCURRENCY").Value*
rsAppend.Fields("Account") =UCase(rs.fields("ACCOUNT").Value)*
rsAppend.Fields("Entity") = UCase(rs.fields("ENTITY").Value)*
rsAppend.Fields("UD1") = UCase(rs.fields("SCENARIO").Value)*
rsAppend.Fields("UD2") = rs.fields("VERSION").Value*
rsAppend.Fields("UD3") = rs.fields("CURRENCY").Value*
rsAppend.Fields("UD4") = rs.fields("TRANS_CURRENCY").Value*
rsAppend.Fields("UD5") = rs.fields("ZONE").Value*
rsAppend.Fields("UD6") = rs.fields("CATEGORY").Value*
rsAppend.Fields("UD7") = rs.fields("SCHEDULE").Value*
rsAppend.Fields("UD8") =UCase(rs.fields("DEPT_PRJCTS").Value)*
rsAppend.Fields("UD9") =rs.fields("WBSELEMENT").Value*
rsAppend.Fields("UD10") = rs.fields("DOC_DETAIL").Value*
rsAppend.Fields("UD11") = rs.fields("BUSINESS_TRANSACTION").Value*
rsAppend.Fields("UD12") = rs.fields("VENDOR_NAME").Value*
rsAppend.Fields("UD13") =rs.fields("RECOVERYINDICATOR").Value*
rsAppend.Fields("UD14") = rs.fields("TRANSAMOUNT").Value*
rsAppend.Fields("UD15") = rs.fields("GROUPCURRENCY").Value*
rsAppend.Fields("UD16") = rs.fields("SEGMENTNO").Value*
rsAppend.Fields("UD17") = rs.fields("PARTNEROBJECT").Value*
rsAppend.Fields("UD18") =rs.fields("PO").Value*
rsAppend.Fields("UD19") = rs.fields("QUANTITY_UOM").Value*
rsAppend.Fields("UD20") = rs.fields("DESCRIPTION").Value*
rsAppend.Fields("DESC1") = rs.fields("ACCOUNT_DESCRIPTION").Value*
rsAppend.Update*
rs.movenext*
Loop*
End If*
+'Give success message+
RES.PlngActionType = 6*
RES.PstrActionValue = "SQL Import successful!"*
+'Assign Return value+
SI_ActualLoad = True*
End Function*Per my answer on Network 54 you cannot test the script interactively in FDQM workbench. You must execute the integration script as part of the normal data load process.
Per the FDM Admin guide: "Integration scripts can be run only by selecting Script from the File Type column of the Import Group grid (top grid) of the Import Formats screen".
As I mentioned in my Network 54 post you can test the pure vbscript portions (without the FDQM specifics) to confirm that is working properly then add it to the integration script which will only run as part of a normal file import process.
Regards,
John A. Booth
http://www.metavero.com -
URGENT!! NEED HELP IN VB SCRIPTING IN FDM
Hi Guys,
I want to write a scipt in the BefImportMap under Events Scipts.
The reason is when any user imports the mapping table(in my case an excel .xls doc), if the user imports any other excel by mistake then the mapping goes wrong and affects the application.
So I want to validate the imported excel by putting condition say:
i) (1, B) must be LOCATION
ii) (3, B) must be either of these--Account, Entity, Icp, C1, C2, C3 & C4.
If these conditions satisfy only then the user can import the mapping excel sheet, otherwise the user will see an error.
Please help me in this, and FYI I am novice in VB scripting.
Thanks in advance.
Regards
SandyI wrote the following script, but when i am importing a file which doesnt have "maploader" string in its name, it gets loaded, doesnt throw the error
PLESE WRITE BACK, HELPPPPPP
Sub BefImportMap(strLoc, strType, strFile)
'Oracle Hyperion FDM EVENT Script:
'Created By: hypadmin
'Date Created: 2011-04-29-14:19:56
'Purpose:
'Declare local variables
Dim lngStartPosition
Dim strSearchValue
Dim lngPosition
'Define starting position and search string
lngStartPosition = 1
strSearchValue = "Maploader"
'Execute the search (Not case sensitive)
lngPosition = InStr(lngStartPosition, strFile, strSearchValue, 1)
'Test the Results
If Not lngPosition > 0 Then
'String Found
'Declare local variables
Dim strMessage
'Set the message value
strMessage = "INCORRECT"
If LCase(API.DataWindow.Connection.PstrClientType) = "workbench" Then
'Win32 Client (Use Msgbox)
MsgBox strMessage
Else
'Web Client (Set API action properties)
RES.PlngActionType = 2 '(See Enumeration: ScriptActionTypes)
RES.PstrActionValue = strMessage
End If
End If
End Sub -
INSERT INTO QUERY AGAINST ORACLE
I've tested the INSERTINTO query where it successfully pulls data from one table in SQL DB and inserts into another SQL DB.
However, when I use the same script to pull data from one table in Oracle DB to another table in Oracle DB, I get an error.
I'm assuming the syntax is a little different for Oracle?
Added debugging and the query looks like this...
** Begin FDM Runtime Error Log Entry [2012-06-27-21:20:57] **
ERROR:
Code............................................. 1
Description...................................... INSERT INTO tWadmin30284128092 (PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) SELECT 752, 12, '31-Mar-2008', 'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount FROM tdataseg4
Error Message...
** Begin FDM Runtime Error Log Entry [2012-06-27-21:10:52] **
ERROR:
Code............................................. -2147217900
Description...................................... ORA-02291: integrity constraint (FDM1113ORCL.FKC_DS6_TCTRLPERIOD) violated - parent key not found
INSERT /*+ Append */ INTO tDataSeg6 ( PartitionKey, CatKey, PeriodKey, DataView, CurKey, CalcAcctType, ChangeSign, JournalID, Amount, AmountX, Account, AccountX, AccountR, AccountF, Entity, EntityX, EntityR, EntityF, ICP, ICPX, ICPR, ICPF, UD1, UD1X, UD1R, UD1F, UD2, UD2X, UD2R, UD2F, UD3, UD3X, UD3R, UD3F, UD4, UD4X, UD4R, UD4F, DESC1, DESC2, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5, ATTR6, ATTR7, ATTR8, ATTR9, ATTR10, ATTR11, ATTR12, ATTR13, ATTR14, ArchiveID, HasMemoItem, StaticDataKey ) SELECT PartitionKey, CatKey, PeriodKey, DataView, CurKey, CalcAcctType, ChangeSign, JournalID, Amount, AmountX, Account, AccountX, AccountR, AccountF, Entity, EntityX, EntityR, EntityF, ICP, ICPX, ICPR, ICPF, UD1, UD1X, UD1R, UD1F, UD2, UD2X, UD2R, UD2F, UD3, UD3X, UD3R, UD3F, UD4, UD4X, UD4R, UD4F, DESC1, DESC2, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5, ATTR6, ATTR7, ATTR8, ATTR9, ATTR10, ATTR11, ATTR12, ATTR13, ATTR14, ArchiveID, HasMemoItem, StaticDataKey From tWadmin436038889587
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1111
Thread........................................... 3888
Function INSERTINTO(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: admin
'Date Created: 2012-06-27-21:01:10
'Purpose:
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
Dim strPeriod
Dim strYear
'Period
'strPeriod=MonthName(Month(RES.PdtePerKey))
a=CStr(FormatDateTime(RES.PdtePerKey,1))
'Tuesday,January 30, 2012
b=Right(a,(Len(a)-Len(DW.Utilities.fParseString(a,1,1,",")))) '7
c=DW.Utilities.fParseString(b,2,2,",")
strPeriod=Left(c,3)
'Year
'strYear=Year(RES.PdtePerKey)
strYear=Right(b,4)
DW.DBTools.mLogError 1, CStr(strPeriod), CStr(strYear), Nothing
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
'Connect To SQL Server database
cnss.open "Provider=OraOLEDB.Oracle.1;Password=password;Persist Security Info=True;User ID=fdm1113orcl;Data Source=orcl"
'DW.DBTools.mLogError 1, CStr(strSQL), CStr(strSQL), Nothing
'Initialize common SQL statement
strSQL = "INSERT INTO " & _
strWorkTableName & " " & _
"(PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) " & _
"SELECT " & RES.PlngLocKey & ", " & RES.PlngCatKey & ", " & _
"'" & Day(RES.PdtePerKey) & "-" & MonthName(Month(RES.PdtePerKey), True) & "-" & Year(RES.PdtePerKey) & "', " & _
"'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount " & _
"FROM tdataseg4 " '& _
DW.DBTools.mLogError 1, CStr(strSQL), CStr(strWorkTableName), Nothing
DW.DataManipulation.fExecuteDML(strSQL)
'cnss.Execute strSQL
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
INSERTINTO = True
cnss.Close
Set cnss = Nothing
End FunctionEdited by: user12152138 on Jun 27, 2012 6:29 PM
Edited by: user12152138 on Jun 27, 2012 6:33 PM
Edited by: user12152138 on Jun 27, 2012 6:36 PM
Edited by: user12152138 on Jun 27, 2012 6:37 PM
Edited by: user12152138 on Jun 27, 2012 6:46 PMHi together,
I fixed the problem. I multiply the origin number with 10. The result is a number without any comma. During the insert into MSSql I divide by 10.
I now, this is a very strange solution but it works.
Yes I know this helps only, because the column can only save number with one decimal place. For higher decimal places you have to multiple it with 100 or 1000 or......
Hope this helps also other peoples.
kind regards
Joe -
Rows not deleted after delete in BefExportToDat Script in FDM
Hi
I am using FDM ERPI to load data from Oracle eBS GL 1.5 to Oracle Hyperion Planning 11.1.2.1.
I have to slit data coming from eBS to 2 Essbase applications, using a temporary table :
Location1 (data to app1) : I have to load data on accounts listed in the temporary table.
Location2 (data to app2) : I have to load data on accounts not listed in the temporary table.
For that, I have chosen to use the BefExportToDat script on which I would like to delete from the tdatasegxx table the data I don't want to load into essbase.
I do my test with the ERPIEBS location.
The "Delete" sql generated is correct (I have displayed the generated sql and executed it via SQL Developer without problem).
but when I execute the "Delete" sql through FDM, the result is "True", but rows have not been deleted from the table.
You can read the script bellow.
Any idea?
Thanks in advance
Fanny
Sub BefExportToDat(strLoc, strCat, strPer, strTCat, strTPer, strFile)
'Oracle Hyperion FDM EVENT Script:
'Created By: fanny
'Date Created: 2011-08-30 15:33:42
'Purpose:
Set objFileSys = CreateObject("Scripting.FileSystemObject")
objfilepath = "D:\Oracle\FDMApplication\FDMTEST\Inbox\ERPIEBS\ComptesCA.txt"
'Vérification de l'existence du fichier
If objFileSys.FileExists(objfilepath) Then
Set objReadFile = objFileSys.OpenTextFile(objfilepath)
'Création de la table temporaire qui stockera les indicateurs de CA à prendre en compte
strSQL = "CREATE TABLE TMP (Compte NVARCHAR2(75)) "
API.DataWindow.DataManipulation.fexecuteDML(strSQL)
'Alimentation de la table avec les lignes du fichier
Do Until objReadFile.AtEndOfStream
sText = objReadFile.ReadLine
strSQL = "INSERT INTO TMP VALUES ('"&sText&"')"
API.DataWindow.DataManipulation.fexecuteDML(strSQL)
Loop
objReadFile.Close
'Récupération des paramètres du flux
dtePerKey = RES.PdtePerKey 'Period Key
strCatKey = RES.PlngCatKey 'Category Key
strLocKey=RES.PlngLocKey 'Location Key
strTableName = "tDataSeg" & API.DataWindow.Reports.PlngSegKey 'Location Segment Number (tDataSegxx)
'S il s'agit du flux CA, on ne garde que les indicateurs listés dans la table
If strLoc="ERPIEBS" Then
strSQL = "DELETE FROM " & strTableName
strSQL = strSQL & " WHERE PartitionKey='" & strLocKey & "'"
strSQt = strSQL & " AND CatKey = '" & strCatKey & "'"
strSQL = strSQL & " AND PeriodKey = '" & dtePerKey & "'"
strSQL = strSQL & " AND ACCOUNTX NOT IN (SELECT Compte FROM TMP)"
'Show user a message
RES.PlngActionType = 2
RES.PstrActionValue = strSQL
API.DataWindow.DataManipulation.fExecuteDML(strSQL)
'S il s'agit du flux CR, on supprime les indicateurs listés dans la table
ElseIf strLoc="ERPIEBSCR" Then
strSQL = "DELETE FROM " & strTableName
strSQL = strSQL & " WHERE PartitionKey='" & strLocKey & "'"
strSQL = strSQL & " AND CatKey = '" & strCatKey & "'"
strSQL = strSQL & " AND PeriodKey = '" & dtePerKey & "'"
strSQL = strSQL & " AND ACCOUNTX IN (SELECT Compte FROM TMP)"
API.DataWindow.DataManipulation.fexecuteDML(strSQL)
End If
'Suppression de la table temporaire
strSQL = "DROP TABLE TMP"
'API.DataWindow.DataManipulation.fexecuteDML(strSQL)
Else
'Show user a message
RES.PlngActionType = 2
RES.PstrActionValue = "Impossible de trouver le fichier D:\Oracle\FDMApplication\FDMTEST\Inbox\ERPIEBS\ComptesCA.txt"
End If
End SubHi
I have done other tests and can see that there is first of all a problem with the strSQL = strSQL & " AND PeriodKey = '" & dtePerKey & "'"
in the where clause.
If I execute this SQL request in SQL Developer, I have a non-zero number in the TMP table :
INSERT INTO TMP (SELECT COUNT(*) FROM tDataSeg3 WHERE PartitionKey='749' AND CatKey = '12' AND PeriodKey = to_date('30/04/10'))If I execute the same request through FDM, I have 0 in the TMP table.
Thanks for your help
Fanny -
IN FDM 11.1.2.2 EXPORT ERROR API PROCEDURE ESBLOGIN THREWCODE 1054067
Error Export Failed
ESSBASE API PROCEDURE ESBLOGIN THREWCODE 1054067-1054067 Local ///Error (1054067) Internal Error At line 24
Hi
When i tried to Export data from FDM 11.1.2.2 TO Essbase i am getting this error . Previous it is Upend running application. i dont know why this suddendly happend.Following are which i had done for Essabase to FDM Integration
In MyComputer Environment Variables
In System Variable:
ESSBASE PATH:
E:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0
ESSLANG:
English_UnitedStates.Latin1@Binary
PATH:
E:\Oracle\Middleware\EPMSystem11R1\bin-32;E:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0\bin;E:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient-32\bin;E:\Oracle\Middleware\EPMSystem11R1\bin;E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Client\32bit;E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Client;E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Common\32bit;E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Common;E:\Oracle\Middleware\EPMSystem11R1\common\SAP\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;E:\Oracle\Middleware\EPMSystem11R1\products\hsf\bin-64;E:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Merant\6.0\Drivers
In User Variables
there is no AROBHARPATH
Register Adaptor UpsES11G4J is placed in Below Path
E:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0\bin
I am getting Unable to Retrieve Target system when i clicked on Control Tables
ThanksHi Tom
This is what i had found in Logs
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-05-30-13:15:33] **
Error:
Code..............10410
Description.......Essbase API Procedure: [EsbCalc] Threw code: 1012004 - 1012004 - [Thu May 30 13:15:33 2013]prod-hypess/TDWPLAN/CAPITAL/hypadmin/Error(1012004)
Invalid member name [[Empty]]
Procedure.........clsHPDataManipulation.fCalculate
Component.........upsES11XG4J
Version...........100
Thread............5124
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... Connection Open
** Begin FDM Runtime Error Log Entry [2013-05-30 13:17:04] **
ERROR:
Code............................................. 1004
Description...................................... SaveAs method of Workbook class failed
Procedure........................................ clsUtility.mRecordsetToExcel
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 3848
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-05-30 14:05:11] **
ERROR:
Code............................................. 1004
Description...................................... Microsoft Excel cannot access the file 'E:\FDM\CAPITAL\Inbox\ActiveWorkOrder\ActiveWorkOrder033.xls'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.
Procedure........................................ clsImpTemplate.fImportExcelFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 5908
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-05-30 14:05:11] **
ERROR:
Code............................................. 91
Description...................................... Object variable or With block variable not set
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 5908
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-05-31-01:18:36] **
Error:
Code..............10410
Description.......Essbase API Procedure: [EsbCalc] Threw code: 1012004 - 1012004 - [Fri May 31 01:18:36 2013]prod-hypess/TDWPLAN/CAPITAL/hypadmin/Error(1012004)
Invalid member name [[Empty]]
Procedure.........clsHPDataManipulation.fCalculate
Component.........upsES11XG4J
Version...........100
Thread............5096
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-05:51:11] **
Error:
Code..............10403
Description.......Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:11 2013]Local////Error(1054067)
Internal error
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4J
Version...........100
Thread............4624
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-05:51:11] **
Error:
Code..............10400
Description.......Essbase API Procedure: [EsbLogout] Threw code: 1030001 - .
Procedure.........clsHPConnection.fDisconnect
Component.........upsES11XG4J
Version...........100
Thread............4624
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2013-07-29 05:51:11] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:11 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActConnect
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 3052
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-07-29 05:51:12] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:11 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActExport
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 3052
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-05:51:25] **
Error:
Code..............10403
Description.......Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:25 2013]Local////Error(1054067)
Internal error
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4J
Version...........100
Thread............1084
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-05:51:25] **
Error:
Code..............10400
Description.......Essbase API Procedure: [EsbLogout] Threw code: 1030001 - .
Procedure.........clsHPConnection.fDisconnect
Component.........upsES11XG4J
Version...........100
Thread............1084
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2013-07-29 05:51:25] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:25 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActConnect
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 4856
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-07-29 05:51:25] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 05:51:25 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActExport
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 4856
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-07:20:30] **
Error:
Code..............10403
Description.......Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 07:20:30 2013]Local////Error(1054067)
Internal error
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4J
Version...........100
Thread............6988
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2013-07-29 07:20:30] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 07:20:30 2013]Local////Error(1054067)
Internal error
Procedure........................................ frmIntegrateES.tabMain_Click
Component........................................ upsES11XG4J
Version.......................................... 100
Thread........................................... 6988
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WorkBench
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-07:21:07] **
Error:
Code..............10400
Description.......Essbase API Procedure: [EsbLogout] Threw code: 1030001 - .
Procedure.........clsHPConnection.fDisconnect
Component.........upsES11XG4J
Version...........100
Thread............6988
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-07:28:16] **
Error:
Code..............10403
Description.......Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 07:28:16 2013]Local////Error(1054067)
Internal error
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4J
Version...........100
Thread............7144
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2013-07-29 07:28:16] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 07:28:16 2013]Local////Error(1054067)
Internal error
Procedure........................................ frmIntegrateES.tabMain_Click
Component........................................ upsES11XG4J
Version.......................................... 100
Thread........................................... 7144
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WorkBench
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-07:28:26] **
Error:
Code..............10400
Description.......Essbase API Procedure: [EsbLogout] Threw code: 1030001 - .
Procedure.........clsHPConnection.fDisconnect
Component.........upsES11XG4J
Version...........100
Thread............7144
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-09:29:37] **
Error:
Code..............10403
Description.......Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 09:29:37 2013]Local////Error(1054067)
Internal error
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4J
Version...........100
Thread............5108
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2013-07-29-09:29:37] **
Error:
Code..............10400
Description.......Essbase API Procedure: [EsbLogout] Threw code: 1030001 - .
Procedure.........clsHPConnection.fDisconnect
Component.........upsES11XG4J
Version...........100
Thread............5108
Identification:
User..............hypadmin
Computer Name.....PROD-HYPAPP
Essbase Connection:
App Name..........TDWPLAN
DB Name...........CAPITAL
Server Name.......prod-hypess
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2013-07-29 09:29:37] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 09:29:37 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActConnect
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 4996
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-07-29 09:29:38] **
ERROR:
Code............................................. 10403
Description...................................... Essbase API Procedure: [EsbLogin] Threw code: 1054067 - 1054067 - [Mon Jul 29 09:29:37 2013]Local////Error(1054067)
Internal error
At Line: 124
Procedure........................................ clsBlockProcessor.ActExport
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 4996
IDENTIFICATION:
User............................................. hypadmin
Computer Name.................................... PROD-HYPAPP
App Name......................................... CAPITAL
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... prod-hypsql
Database Name.................................... fdmCapital
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ActiveWorkOrder
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Mar FY12
Period ID........................................ 3/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I tried to Connect to Source dimension its showing Connection Failed -
Integration between Oracle BPM and Oracle UCM
Hi
I have a requirement how to integarte between Oracle BPM and Oracle UCM.
Detailsabout the problem:
Once user start the process and want to upload the document in the same process, the document should be uploaded into UCM and similarly user wants to update some document in the middle of the process , user can check-out the document and check-in the document (Docuemnt present on Oracle UCM).
Please guide me what is the approach for that ?
Thanks for your help in advance.Check this, u can get some info
Re: What is a recommended approach to integrate Oracle BPM 10R3 and Oracle UCM -
How to use strCurrency while writing scripts in FDM workbench
Gurus,
I have a flat file which has rows for Currency, Period and year
What I am trying to do is read the currency, period and year specified in the file and compare it with currency, period and year as selected in POV.
If all the three match, the file will be imported else it should fail.
I am able to compare period and year from file with POV however I am not sure how can I read currency attached with the location.
Can we use it using strCurrency?? If yes, can some one suggest how??
Thanks for the help in advance.Hi,
you can use strCurrency to get the Currency.
Here you have an example:
Sub Test_Currency()
'Oracle Hyperion FDM CUSTOM Script:
'Created By: hypadmin
'Date Created: 2014-02-04 04:48:55
'Purpose:
'Declare local variables
Dim strCurrency
'Get the current location's profile
With API.POVMgr.fCheckLocProf(API.POVMgr.PPOVLocation)
strCurrency = .strCurrency
End With
MsgBox strCurrency
End Sub -
FDM 11.1.2.1 cannot connect to Essbase
Hi All,
I've been using FDM for a while but am new to version 11.1.2.1.
When i set up my connection from the workbench i'm not able to connect to the essbase server.
I keep getting a connection failed in the target dimension drop down.
I've used both the server name and the (new?) clustername in the target machine.
I use the admin account so ít's not in the user rights.
Does anyone know what's different in 11.1.2.1 and could cause this problem?
Thanks in advance,
MarcHi John,
thanks for your reply..
When i use the server name i just see 'connection failed.' in the target dimension field in the integration settings of the workbench client.
The error log shows:
* Begin Oracle Hyperion FDM Adapter for Essbase Runtime Error Log Entry [2011-05-08-17:28:45] **
Error:
Code..............10404
Description.......Essbase API Procedure: [EsbInit] Threw code: 1030803 - .
Procedure.........clsHPConnection.fConnect
Component.........upsES11XG4H
Version...........100
Thread............10104
Identification:
User..............admin
Computer Name.....SWP-SRV-05
Essbase Connection:
App Name..........Sample
DB Name...........Basic
Server Name.......swp-srv-06
Connect Status.... No Connection Open
** Begin FDM Runtime Error Log Entry [2011-05-08 17:28:45] **
ERROR:
Code............................................. 10404
Description...................................... Essbase API Procedure: [EsbInit] Threw code: 1030803 - .
Procedure........................................ frmIntegrateES.tabMain_Click
Component........................................ upsES11XG4H
Version.......................................... 100
Thread........................................... 10104
IDENTIFICATION:
User............................................. admin
Computer Name.................................... SWP-SRV-05
App Name......................................... FDMDemo
Client App....................................... WorkBench
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... swp-srv-05
Database Name.................................... FDM_FDMDemo
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... Sample
Location ID...................................... 748
Location Seg..................................... 2
Category......................................... WLCat
Category ID...................................... 12
Period........................................... May - 2011
Period ID........................................ 5/31/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
The essbase client is installed (everything is 32 bit).
The Essbasepath shows:
D:\Oracle\Middleware\EPMSystem11R1\products\ExcelAddin;D:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0
and the path:
D:\Oracle\Middleware\EPMSystem11R1\bin;D:\Oracle\Middleware\EPMSystem11R1\products\ExcelAddin\bin;D:\Oracle\Middleware\EPMSystem11R1\bin;D:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Client;D:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Common;D:\Oracle\Middleware\EPMSystem11R1\common\SAP\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;D:\Oracle\Middleware\ohs\bin;D:\Oracle\Middleware\ohs\opmn\bin;D:\Oracle\Middleware\ohs\opmn\lib;D:\Oracle\Middleware\ohs\perl\bin;D:\Oracle\Middleware\EPMSystem11R1\common\ODBC\Merant\6.0\Drivers;%ESSBASEPATH%\bin
I haven't updated the arborpath.
Thanks,
Marc -
Hi All,
When Performing the second step in workflow (Validate) the fish turns gold for success but returns the error message "Automation error" what can be the reason and what is the solution?
Thanks
SatyajeetHi,
Check Oracle Support FDM Validate Step Returns "Automation Error" [ID 1301133.1]:
Applies to:
Hyperion Financial Data Quality Management - Version 11.1.2.0.00 and later
Microsoft Windows (32-bit)
Symptoms
When performing the second step of the FDM workflow (validate) the Fish turns gold for success but returns the error message "Automation Error".
Cause
FDM is currently unable to integrate with Hyperion Financial Management successfully to perfrom the intersection validation. The integration failure is due to the HFM Adapter not being configured to run as the FDM Service account. In order to successfully integrate with HFM the FM11x-G5-D adapter must be registered and configured with the FDM Service account. Currently the adapter has not been configured.
Solution
A) Login to the FDM application via the workbench client on the FDM application server
B) Go to File menu and choose Register Adapter
C) Browse out to Adapter folder and register 'fdmFM11XG5D.dll'
D) Expand Target System Adapters > Right-Click on the FM11x-G5-D adapter and choose "Configure"
E) Enter the FDM windows service account username/password/ confirm password/domain and click OK.
References
NOTE:597481.1 - When Running Validate Step in FDM Receive "Automation error"
NOTE:599826.1 - FDM Validation Fails With Error: Automation Error
Cheers,
Mehmet
Maybe you are looking for
-
Opening multiple iphoto libraries
Hi folks, due to huge amount of photos, I use multiple libraries in iPhoto. 1) Is there a way to have more libraries opened at a time? to shift photos and movies between... 2) default library is the one, which was last opened. I would preffer to have
-
Form distribution error with email client
Hi All- I have an extremely frustrating problem. I have designed a form in LiveCycle ES 8.2.1 for users to fill out and submit via xml. I would like to use Acrobat Pro 9.1.0 to track and collect responses from this form. When I test the original
-
How to call data from backend ECC system in Gateway Hub System?
Hi Experts, We have a scenario where the GR process has to be done on Mobile app. We have a SMP 3.0 and Netweaver gayeway deployed as Hub. I really need quick pointers on how should we go about this? My queries are mentioned below: 1.I don't see SAP
-
How can I change the secret question email address?
I have the wrong email to send the secret questions to. If anyone can help me won how to change the email to these questions that would be greatly appreciated. Thank you in advance for taking time to help.
-
GeeThree volume 7 and Quicktime issues ughh, help!
I just bought some plug-ins. G3 volumes 4-5 and G3 volume7,9. So, I installed them. They all seem to be workiing except G3 7 titles. When I go to titles-GeeThree Slick 7, underneath it is suppossed to be numerous wild fx titles...wild fx-black, wild