Malformed INSERT statement - Sample Hyperion Planning with ODI
Hello,
I've tried to execute the sample Hyperion Planning pack with ODI, but it was found the following error below, I am beginner and I don't have faintest idea what it is.
My source is a CSV file and my target is Hyperion Planning.
7000 : null : java.sql.SQLException: Malformed INSERT statement.
java.sql.SQLException: Malformed INSERT statement.
at com.sunopsis.jdbc.driver.file.bb.a(bb.java)
at com.sunopsis.jdbc.driver.file.bb.a(bb.java)
at com.sunopsis.jdbc.driver.file.w.a(w.java)
at com.sunopsis.jdbc.driver.file.w.<init>(w.java)
at com.sunopsis.jdbc.driver.file.u.prepareStatement(u.java)
at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrdersScriptingOder(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Hello Mateus,
My source is CSV file and my target is Hyperion Planning.
I defined only one RKM for Hyperion Planning. There is a IKM SQL to Hyperion Planning. There are two technologies defined: one for Generic File and another to Hyperion Planning. These steps are defined on the sample manual of ODI - Hyperion Planning.
I created the interface without any warning or errors. But when I tried execute this rule, I have the following error return on the Operator module:
7000 : null : java.sql.SQLException: Malformed INSERT statement.
java.sql.SQLException: Malformed INSERT statement.
at com.sunopsis.jdbc.driver.file.bb.a(bb.java)
at com.sunopsis.jdbc.driver.file.bb.a(bb.java)
at com.sunopsis.jdbc.driver.file.w.a(w.java)
at com.sunopsis.jdbc.driver.file.w.<init>(w.java)
at com.sunopsis.jdbc.driver.file.u.prepareStatement(u.java)
at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrdersScriptingOder(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Thanks a lot for your help and attention,
Wallace Galvao
Similar Messages
-
Maintain attribute dimensions in Hyperion Planning, via ODI
How can I move/maintain attribute members in Hyperion Planning, preferably via ODI?
I have been loading an attribute dimension into Hyperion Planning, via ODI. The problem is that some children have been previously loaded to incorrect parents. However, a reload does not seem to move the children to their rightful place in the hierarchy.
There are no errors being generated.
CheersAre you definitely sure it is not on the planning side the issue lies, I would create a file and then use the outline loader to compare load times to see where the issue is first.
Cheers
John
http://john-goodwin.blogspot.com/ -
Dear Gurus and Experts.
I'm trying to reverse engineer had made a model of the Hyperion Planning.
After configuring the topology.
Steps:
A)
Physical Architecture:
machine.mycompany.com: 11333, user / pdw (here's Hyperion Planning)
Physical Layout:
Catalog Application - I wrote: myapphp
Implementation and Application of Work - I wrote: myapphp
1_doubt: I expected to be able to select the physical layout, the field catalog application, an application name that is in Hyperion Planning.
But I saw that does not work well. I had to enter.
is this right? or just this wrong in my settings?
B)
Logical Architecture:
Context: Global
Associated with LS_HP_myapp
C)
In Contexts:
Global, contains the association.
logical scheme: LS_HP_myapp for Physical Schema: myapphp
D)
In Designer.
I want to reverse engineer;
Criated a folder, added a model;
name: mymodelhp, selected technology: hyperion planning
logical schema: LS_HP_myapp
em group of generic actions.
Saved.
E)
And clicked on Reverse Engineering
Then the error ODI: 20616 Failed Reverse Engineering Standard.
details:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Driver name cannot be empty
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.get(SwingWorker.java:476)
at com.sunopsis.graphical.frame.edit.EditFrameSnpModel$8.done(EditFrameSnpModel.java:2622)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$4.run(SwingWorker.java:615)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1044)
at java.awt.Dialog$3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1584)
at java.awt.Component.setVisible(Component.java:1536)
at java.awt.Window.setVisible(Window.java:841)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:352)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:243)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:215)
at com.sunopsis.graphical.tools.utils.SnpsSwingUtilities.executeAndBlockGUI(SnpsSwingUtilities.java:181)
at com.sunopsis.graphical.frame.edit.EditFrameSnpModel.jButtonReverse_ActionEvents(EditFrameSnpModel.java:2650)
at com.sunopsis.graphical.frame.SnpsEditFrame$IvjEventHandler.actionPerformed(SnpsEditFrame.java:206)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalArgumentException: Driver name cannot be empty
at org.springframework.util.Assert.hasText(Assert.java:161)
at com.sunopsis.sql.SnpsConnection.setDriverName(SnpsConnection.java:302)
at com.sunopsis.dwg.dbobj.DwgConnectConnection.setDefaultConnectDefinition(DwgConnectConnection.java:380)
at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:274)
at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:288)
at oracle.odi.core.datasource.dwgobject.support.DwgConnectConnectionCreatorImpl.createDwgConnectConnection(DwgConnectConnectionCreatorImpl.java:53)
at com.sunopsis.dwg.reverse.Reverse.getLocalConnection(Reverse.java:1286)
at com.sunopsis.dwg.reverse.Reverse.getLocalConnection(Reverse.java:1336)
at com.sunopsis.dwg.reverse.Reverse.getLocalConnection(Reverse.java:1301)
at com.sunopsis.dwg.reverse.Reverse.getMetaData(Reverse.java:1357)
at com.sunopsis.graphical.frame.edit.EditFrameSnpModel$8.doInBackground(EditFrameSnpModel.java:2587)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any light please.
thank youIn the reverse engineer tab of the model you will need to select customized and select the knowledge module "RKM Hyperion Planning"
Cheers
John
http://john-goodwin.blogspot.com/ -
Urgent Reverse Engineering Hyperion-Planning in ODI fails**
All,
using the provided ODI RKM for Hyperion Planning and the step by step document, we have built the HYPN-Planning datastore and tried to reverse eng.
on application ( called 'month'). it failed with msg:
IndexError: index out of range: 1 at org.apache.bsf.engines.jython.JythonEngine.exec
please see the error. not sure what that means.
any pointer is appreciated.
thanks
ali
=========================
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last): File "<string>", line 17, in ?IndexError: index out of range: 1 at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146) at com.sunopsis.dwg.codeinterpretor.k.a(k.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java) at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java) at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java) at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java) at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java) at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java) at com.sunopsis.dwg.cmd.e.i(e.java) at com.sunopsis.dwg.cmd.g.y(g.java) at com.sunopsis.dwg.cmd.e.run(e.java) at java.lang.Thread.run(Unknown Source)I have similar problem. I just copy the code of step "Begin Essbase Data Extract" from "LKM Hyperion Essbase DATA To SQL" to the ODI procedure created by myself. After the execution, ODI Operator shows me the following error message:
java.lang.StringIndexOutOfBoundsException: String index out of range: 3629
at java.lang.String.charAt(Unknown Source)
at com.sunopsis.sql.SnpsQuery.scanHostVariable(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.setSqlTxt(SnpsQuery.java)
Thanks -
Oracle Hyperion Planning with EBS 11i
hi all
we have Oracle EBS 11i [Finance, HRMS, SCM, CRM] implemented and working fine...
now we are going to select Oracle Hyperion Planning, for Budget and Planing;;
Is Oracle Hypeion Planning Plus have integrator with EBS ...
if not what are the recomended components required
Thanks
Abuzaid
[email protected]Hi
I not confident but I guess, Hyperion don't have integrator with OEBS
We solved issue like this using ODI
Regards
Sasha -
Unable to load metada into Hyperion Planning using ODI
HI All,
I am using ODI 11g and trying to load the metadata for Hyperion Planning application 11.1.2.1. But I couldnt load all the Product members in Product Dimension.
Could able to load few members but was able to run the interface successfully but thrown error while loading few members(Most of the members are shared members, verified that base members existed). Please find the below error log.
2011-11-17 06:18:06,534 INFO [SimpleAsyncTaskExecutor-2]: Oracle Data Integrator Adapter for Hyperion Planning
2011-11-17 06:18:06,550 INFO [SimpleAsyncTaskExecutor-2]: Connecting to planning application [xxxx] on [xxxx]:[11333] using username [xxxx].
2011-11-17 06:18:06,675 INFO [SimpleAsyncTaskExecutor-2]: Successfully connected to the planning application.
2011-11-17 06:18:06,706 INFO [SimpleAsyncTaskExecutor-2]: The load options for the planning load are
Dimension Name: Product Sort Parent Child : false
Load Order By Input : false
Refresh Database : false
2011-11-17 06:18:06,768 INFO [SimpleAsyncTaskExecutor-2]: Begining the load process.
2011-11-17 06:18:06,878 DEBUG [SimpleAsyncTaskExecutor-2]: Number of columns in the source result set does not match the number of planning target columns.
2011-11-17 06:18:07,440 INFO [SimpleAsyncTaskExecutor-2]: Load type is [Load dimension member].
2011-11-17 06:18:07,487 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D090, Mobile Mice Cordless_Prod type, D090-Flores DJ, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
2011-11-17 06:18:07,503 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D091, Mobile Mice Cordless_Prod type, D091-Fiji BT, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
2011-11-17 06:18:07,518 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D093, Mobile Mice Cordless_Prod type, D093-New York, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
2011-11-17 06:18:07,550 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D060, Mobile Mice Cordless_Prod type, D060-Corbusier Vista, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
2011-11-17 06:18:07,565 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D064, Mobile Mice Cordless_Prod type, D064-Sardinia Laser, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
2011-11-17 06:18:07,581 ERROR [SimpleAsyncTaskExecutor-2]: Record [[D065, Mobile Mice Cordless_Prod type, D065-Ibiza Optical, null, Shared, null, null, null, null, null, null, null, +, null]] was rejected by the Planning Server.
Regards,
SPCan you check the error log file as you have posted the log file, it should give more information to why the records were rejected.
Cheers
John
http://john-goodwin.blogspot.com/ -
Unable to load Dimension into Hyperion planning using ODI ?
Hi All
We are trying to load Dimension into hyperion planning Ver. 11.1.2 using ODI. We have created the interface and mapped the source csv file to target planmning application using ODI KM.
LKM file to SQL
IKM SQL to Planning
We get success in ODI's Operator but the Dimension is not updated nor new data is insreted.
We get this message in Error file:-
+
Retail Format,Parent,Alias: Default,Data Storage,Two Pass Calculation,Smart List,Data Type,Plan Type (APlan),Error_Reason
ABC,Total Format,,StoreData,,,,Aplan,Cannot load dimension member, error message is: java.lang.RuntimeException: Fetch of saved member "ABC" failed.
+
We get this message in log files:-
+
2010-07-22 07:04:06,550 INFO [DwgCmdExecutionThread]: Oracle Data Integrator Adapter for Hyperion Planning - Release 9.3.1.1
2010-07-22 07:04:06,550 INFO [DwgCmdExecutionThread]: Connecting to planning application [******] on [********]:[11333] using username [admin].
2010-07-22 07:04:06,597 INFO [DwgCmdExecutionThread]: Successfully connected to the planning application.
2010-07-22 07:04:06,597 INFO [DwgCmdExecutionThread]: The load options for the planning load are
Dimension Name: Retail Format Sort Parent Child : false
Load Order By Input : false
Refresh Database : true
2010-07-22 07:04:06,612 INFO [DwgCmdExecutionThread]: Begining the load process.
2010-07-22 07:04:06,612 DEBUG [DwgCmdExecutionThread]: Number of columns in the source result set does not match the number of planning target columns.
2010-07-22 07:04:06,659 INFO [DwgCmdExecutionThread]: Load type is [Load dimension member].
2010-07-22 07:04:06,675 ERROR [DwgCmdExecutionThread]: Record [[ABC, Total Format, null, null, StoreData, null, null, null, null, null, null, null, null, null, Aplan, null, null, null]] was rejected by the Planning Server.
2010-07-22 07:04:06,675 INFO [DwgCmdExecutionThread]: Planing cube refresh operation initiated.
2010-07-22 07:04:08,425 INFO [DwgCmdExecutionThread]: Planning cube refresh operation completed successfully.
2010-07-22 07:04:08,425 INFO [DwgCmdExecutionThread]: Load process completed.
+
Please help out .....Can you check the error log file as you have posted the log file, it should give more information to why the records were rejected.
Cheers
John
http://john-goodwin.blogspot.com/ -
Problem With Insert statement using field symbols with unicode enabled
I was writng a function module for dyanamic operations on the table. We are using the field symbols, function module is unicode enabled.
Assign statements are working fine, with which we created work are <fs_wa_header> and internal table <fs_tb_item> dynamically based on the table name (IM_TB_HENAME) which we get as import parameter.
we have query which is giving us dump.
INSERT (IM_TB_HENAME) FROM <FS_WA_HEADER>.Hi
INSERT (IM_TB_HENAME) FROM <FS_WA_HEADER> is good for inserting a line in the database, so IM_TB_HENAME has to have the name of dictionary table.
U should write:
INSERT <FS_WA_HEADER> INTO (IM_TB_HENAME).
But I believe you can't use the variable IM_TB_HENAME, you should use another field-symbols:
ASSIGN (IM_TB_HNAME) TO <FS_TB_ITEM>.
INSERT <FS_WA_HEADER> INTO <FS_TB_ITEM>.
Max -
ODI with Hyperion Planning.
Hi,
I have a problem. I need to connect to Hyperion Planning with ODI. I am following this documnet: http://docs.oracle.com/cd/E15985_01/doc.10136/user/DIHPU.pdf
When I configure phisiscal architecture I put following values:
Name: Planning
Server (Data server): erp-app-srv2:11333
User: Admin
Password: ***
After that I try to Insert Phisiscal Schem but in Application (Catalogue) I see only Undefined.
Is there anything I need to do to see my applications here?
Please help.
Best regards,
GrzegorzCheers, didn't notice that I can manualy edit this drop down list.
Best Regards -
How to delete Hyperion Planning member using ODI
Hi All,
Anyone know how to delete Hyperion Planning member using ODI? And how to update account type on Hyperion Planning Using ODI?
e.g.:
I have a member with account type Saved Assumption, and I need to change to Revenue, but it cannot change. But if I change to Expense, it can. So what's wrong with the mapping?
This is my csv file for update a member on Hyperion Planning.
Parent,Account,Default Alias,Operation,Data Storage,Two Pass Calculation,Account Type,Time Balance,Skip Value,Data Type,Exchange Rate Type,Use 445,Variance Reporting,Source Plan Type,Aggregation,Member Formula
Account,Statistics,,Update,,,,,,,,,,,,
Account,Meal,,Update,Store,,Expense,,,,,,,,,
Account,Test1,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
Account,Test2,,Update,Never Share,,Revenue,Average,None,Non-currency,none,,,Consol,~,
Account,Test3,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
Thanks in advance.
Regards,
Sumardi
Edited by: Sumardi Wijaya on Mar 31, 2009 10:57 PMHi,
To delete a member you use the Operation column, the following values can be used.
Update – This is the default and is used if not populated, it Add, updates, moves the member being loaded.
Delete Level 0 - Deletes the member being loaded if it has no children
Delete Idescendants –Deletes the member being loaded and all of its descendants.
Delete Descendants –Deletes the descendants of the member being loaded, but does not delete the member itself.
Does the member you trying to change to Revenue have a variance reporting set to "Expense" as it will need to be set to "Non Expense"
Also in your interface you can add logging options in the IKM, this maybe will give a clearer indication where your problem lies.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to tune the Insert statement?
Hi ,
I am using 10.2.0.4.0 version of oracle.
i am having one insert statement , which comes almost all the time in the TOP of my AWR elapsed time section.
And its somewhat similar to as below.
Query:
INSERT INTO a (InvoicePK, CheckPK)
SELECT DISTINCT ih.InvoicePK, cd.CheckPK
FROM at,
cd,
ih,
rd
WHERE at.AttachmentPK = :1
AND cd.CheckPK = at.CheckPK
AND at.AttachmentPK = rd.AttachPK
AND ih.PAYPK = cd.PAYEEPAYPK
AND ih.PayerNS = cd.PayerNS
AND ih.PayerPayId = cd.PayerPayId
AND ih.UpperInvoiceNum = rd.UPPERINVNUM
AND ih.InvoiceStatusCD NOT IN ('REJ', 'DNY');
Below is the plan for the 'Select ' statement i.e. used in the insert statement.
Execution Plan:
Plan hash value: 2232002808
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 193 | 9 (23)| 00:00:01 | | |
| 1 | HASH UNIQUE | | 1 | 193 | 9 (23)| 00:00:01 | | |
|* 2 | HASH JOIN | | 1 | 193 | 8 (13)| 00:00:01 | | |
| 3 | NESTED LOOPS | | 10 | 1740 | 4 (0)| 00:00:01 | | |
| 4 | NESTED LOOPS | | 1 | 85 | 3 (0)| 00:00:01 | | |
| 5 | TABLE ACCESS BY INDEX ROWID | at | 1 | 16 | 2 (0)| 00:00:01 | | |
|* 6 | INDEX UNIQUE SCAN | atpk1 | 1 | | 1 (0)| 00:00:01 | | |
| 7 | TABLE ACCESS BY INDEX ROWID | cd | 7359K| 484M| 1 (0)| 00:00:01 | | |
|* 8 | INDEX UNIQUE SCAN | cdpk1 | 1 | | 1 (0)| 00:00:01 | | |
|* 9 | TABLE ACCESS BY GLOBAL INDEX ROWID| ih | 10 | 890 | 2 (0)| 00:00:01 | ROWID | ROWID |
|* 10 | INDEX RANGE SCAN | IH_PAYPK_PAYERNS_PAYID | 5 | | 1 (0)| 00:00:01 | | |
| 11 | TABLE ACCESS BY INDEX ROWID | rd | 9 | 171 | 3 (0)| 00:00:01 | | |
|* 12 | INDEX RANGE SCAN | IDX_rd | 9 | | 2 (0)| 00:00:01 | | |
Predicate Information (identified by operation id):
2 - access("IH"."UPPERINVOICENUM"="RD"."UPPERINVNUM")
6 - access("AT"."ATTACHMENTPK"=7794833983)
8 - access("CD"."CHECKPK"="AT"."CHECKPK")
9 - filter("IH"."INVOICESTATUSCD"<>'REJ' AND "IH"."INVOICESTATUSCD"<>'DNY')
10 - access("IH"."PAYPK"="CD"."PAYEEPAYPK" AND "IH"."PAYERNS"="CD"."PAYERNS" AND "IH"."PAYERPAYID"="CD"."PAYERPAYID")
12 - access("RD"."ATTACHPK"=7794833983)
Statistics
1 recursive calls
0 db block gets
71 consistent gets
0 physical reads
0 redo size
316 bytes sent via SQL*Net to client
240 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
3 rows processed
The 'select' Statement executes with in seconds resulting 3 distinct records, but the insert statement takes ~20sec(Elaps time per execution
as shown in AWR report) for one time execution, so what must be the reason , and how should i proceed to resolve this performance issue?You can do as follows:
- Enable trace
- execute the insert statement
- use tkprof (and put the results here) to see where's its taking long
Also, while insert is being executed, what are the wait events you see ?
I dont think there is problem with plan. -
Insert Statement taking longer time
Hi,
One of my insert statement inside the procedure is taking more than 10secs to complete.
Scenario:
1. Having three tables e.g invoice table - invoice header, invoice Item and invoice attribute
2. These tables are loaded with data in the above specified order and they are not commited till all the data for an invoice gets inserted sucessfully.
e.g
a. Invoice header gets inserted first(one row)
b. Invoice Item second(will be in a loop with more than one row)
c. For every Invoice item an invoice attribute will be inserted
(Invoice Attribute has a FK column with a PK column in invoice item table column)
The problem is while inserting data into InvoiceAttribute it takes more than 10sec, IF the FK(mentioned above) is disabled insert statement is running fine.
note: Invoice Item table has 8.4million records
My assumption :
while inserting into Invoice attribute table the insert statement validated the FK with the invoice item table, since the new Inovice item id(PK column in invoice Item table) is not commited the insert statement takes time to validate the FK against (8.4million records)......
Please suggest me a solution.....................
Thanks in advance
NaveenPeriI'll try with a blind shot : The FK is likely missing an index, thus performing full table scan on invoice attribute each time you perform an insert on the invoice attribute table.
By default an FK doesn't have an index. You must create one manually.
If this turns out to be a missfire then please post a plan with statistics for the attribute insertion.
Message was edited by:
76°® -
Load members and sort in Planning using ODI
Is it possible to load the members and also sort all the members, after the load, when loading into Hyperion Planning using ODI? If there are new members after the previous load, the new nembers are being added at the end. I tried to sort my source but it's the same. I also had SORT_PARENT_CHILD set to Yes.
TIAHi,
There are sometimes issues with the sorting using the parent/child option, I think it stems from the old days of HAL as that wasn't the best at sorting.
The options are use the planning sort member utility or depending on how you loading the hierarchy you can order it before it is loaded, if you are using a repository you can create a view to return the members in the correct order or use an id to badge the members in the correct order.
Cheers
John
http://john-goodwin.blogspot.com/ -
Using sql:variable in an insert statement
I'm writing an insert statement for a table with an XML column. Most of the XML is static, but I need to replace the value of an element with the value of a T-SQL variable, as shown here:
CREATE TABLE [dbo].[OrderDetail](
[OrderID] [int] NULL,
[OrderDetail] [xml] NULL
GO
DECLARE @XMLData XML;
DECLARE @ItemID INT;
SET @ItemID = 1000;
SELECT @XMLData = N'
<OrderDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</OrderDetail>
SET @XMLData.modify('insert <ItemID>[sql:variable("@ItemID")]</ItemID> into (/OrderDetail)[1]')
INSERT INTO [dbo].[OrderDetail] ([OrderID], [OrderDetail])
VALUES (@ItemID, @XMLData);
When I run this, it inserts "[sql:variable("@ItemID")]" instead of the value of @ItemID. If someone could show me the proper syntax, I would really appreciate it. Thanks.Yes, that worked. Now I want to change it a little. I also have an attribute that I need to update with the value of a variable.
DECLARE @XMLData XML;
DECLARE @SetID INT;
DECLARE @SetIDStr VARCHAR(12);
DECLARE @SetIDXML XML;
SET @SetID = 9999;
SET @SetIDStr = CONVERT(VARCHAR(12), @SetID);
SET @SetIDXML = CONVERT(XML, @SetIDStr);
SELECT @XMLData = N'
<OrderDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ItemID>1000</ItemID>
<RightOperand ID="15524" Name="ItemName" Value="15524" />
</OrderDetail>
SET @XMLData.modify('replace value of (/OrderDetail/RightOperand/@ID)[1] with sql:variable("@SetIDXML")');
INSERT INTO [dbo].[OrderDetail] ([OrderID], [OrderDetail])
VALUES (@SetID, @XMLData);
SELECT * FROM [dbo].[OrderDetail];
I'm trying to replace "ID="15524"" with the value of @SetID. This code throws an exception:
Msg 9342, Level 16, State 1, Line 23
XQuery [modify()]: An XML instance is only supported as the direct source of an insert using sql:column/sql:variable.
Thanks again for your help. -
Cannot see existing Business Rules in Hyperion Planning ?
Hello,
I'm working on Planning 9.3.1.2 :
I've developped several Business Rules with the EAS console (theses HBR are attached to a project).
But when I open the application in Hyperion Planning with my admin accounts. I can't see any Business Rules in the list of Business Rules, only Calc sCripts.
Is anyone as an idea ?
Thanks for your help.
Best regards1. Make sure that you have used the planning outline and not the Essbase outline to develop the rules.
2. Also access needs to be given to the rules for a location (even to admin - somtimes). Ensure that you have given the access rights correctly.
Regards,
Sayantan
Maybe you are looking for
-
i try to syncronise my ipod but it's not wor; i just see the music of my grandfather and his account! i don't want to go on itunes store i want to see my music and my ipod's informations on itunes. help me please im discouraged
-
Script for 'Check Links Before Opening Document' preference
I'm trying to find the VB script for changing the "Check Links Before Opening Document" checkbox on the File Handling panel in the Preferences dialog? I haven't found any documentation referring to the Links items on that panel. Bob
-
Hi, this is the process we are doing 1.create a bonus agreement (VBO1) 2.Icheck if all relevant materials are included (VBO2) 3.run VBOF u2013 update sales volume 4.release an agreement for settlement - run VBO2 to
-
How to call ABAP programs from Excel
Hello everyone, Currently I'm investigating the integration of Excel and ABAP program. I find it's easy to call Excel from ABAP program, but does anyone of you know how I can first open and do some actions in an Excel sheet first, and then, for examp
-
Merged Projects in Robohelp 10
When I publish my master project in IE(8 or 9) using Robohelp 10, the child projects do not appear in the TOC. However, if I open the published master project in Mozilla Firefox, the child projects do appear. My office only supports IE. Is there a so