Linking existing Essbase Cube to Planning
My business team created an Essbase cube, and now they want us to link that cube to Planning.
I opened an SR and I was told the following:
1. Ensure you have a test environment to create this new Planning app before moving to production.
2. Create a new Planning app in the test environment with the same name as the production Essbase cube.
3. Export all Essbase data.
4. Copy over the outline to the new Essbase cube in the test env. You can copy over the rest of the Essbase objects as needed (calc scripts, report scripts, etc).
5. Import the Essbase data into the new Essbase cube.
6. refresh Planning
Everything went well except for Step 6. When I do the refresh from Planning, the Essbase Outline gets updated with the one from Planning which doesn't have anything since it was just created.
I need to refresh the Planning Outline with the the one from Essbase that does have the data the users have been working on.
Thanks.
Hi,
You will have to define all the dimension membes etc to Planning. Because Essbase is the database, it will be updated with planning information... There are no shortcuts.. But you can export your dimension members from existing Essbase and load into planning using HAL/ODI/DIM..
Use outline extractor tool to get the existing dimensionality and create 1 metadata file per dimensions.
I believe Oracle support thought that you want to create a new Essbase cube from existing Planning cube.
Cheers
RS
Similar Messages
-
Hi,experts!!!!!!!
I have Essbase Studio From Epm 11.1.2.1 Version,the thing is that i have to link the Essbase cube to sql,can you suggest any solutions or can just give me info about drill back method in essbase studio...The documentation on drill-through is a good place to start http://docs.oracle.com/cd/E17236_01/epm.1112/est_user/ch17.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Not able to access the links to Essbase Console, Planning and Shared Servic
Hi,
I am trying to access the links to Essbase Console, Planning and Shared Services but I get the following error message.
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I tried to restart all the services on all the servers and also restarted the servers but it didn't work.
I found some more errors in the starter file on the Linux box.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20 Detected Java version: 1.6 in: /srv/Oracle/Middleware/jdk160_21/jre\par
Detected OS: Linux\par
parsing buildfile /srv/Oracle/Middleware/EPMSystem11R1/common/config/11.1.2.0/resources/instance/start.xml with URI = file:/s\par
rv/Oracle/Middleware/EPMSystem11R1/common/config/11.1.2.0/resources/instance/start.xml\par
Project base dir set to: /srv/Oracle/Middleware/EPMSystem11R1/common/config/11.1.2.0/resources/instance\par
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found\par
.\par
[property] Loading Environment env.\par
Build sequence for target(s) `start' is [start]\par
Complete build sequence is [start, stop, ]\par
\par
start:\par
[starter] oracle.as.management.opmn.optic.OpticException: Error in starting opmn server\par
[starter] Operation aborted because of a system call failure or internal error\par
[starter] at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:310)\par
[starter] at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)\par
[starter] at com.hyperion.cis.ant.starter.OPMNStarter.startAndReloadOpmnCtl(OPMNStarter.java:177)\par
[starter] at com.hyperion.cis.ant.starter.OPMNStarter.init(OPMNStarter.java:47)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.load(StarterEngine.java:133)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.execute(StarterEngine.java:105)\par
[starter] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\par
[starter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\par
[starter] at java.lang.reflect.Method.invoke(Method.java:597)\par
[starter] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\par
[starter] at org.apache.tools.ant.Task.perform(Task.java:348)\par
[starter] at org.apache.tools.ant.Target.execute(Target.java:357)\par
[starter] at org.apache.tools.ant.Target.performTasks(Target.java:385)\par
[starter] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)\par
[starter] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)\par
[starter] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\par
[starter] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)\par
[starter] at org.apache.tools.ant.Main.runBuild(Main.java:758)\par
[starter] at org.apache.tools.ant.Main.startAnt(Main.java:217)\par
[starter] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)\par
[starter] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)\par
[starter] oracle.as.management.opmn.optic.OpticBadXMLConfigException: Error reading formFactorFile: /srv/Oracle/Middleware/\par
user_projects/epmsystem6/config/OPMN/opmn/.formfactor (/srv/Oracle/Middleware/user_projects/epmsystem6/config/OPMN/opmn/.form\par
factor (No such file or directory))\par
[starter] at oracle.as.management.opmn.optic.OpmnPhone.refreshFormFactor(OpmnPhone.java:628)\par
[starter] at oracle.as.management.opmn.optic.OpmnPhone.getLocalOpmnPhone(OpmnPhone.java:99)\par
[starter] at oracle.as.management.opmn.optic.OpmnQuery.getLocalOpmnQuery(OpmnQuery.java:77)\par
[starter] at com.hyperion.cis.ant.starter.OPMNStarter.init(OPMNStarter.java:48)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.load(StarterEngine.java:133)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.execute(StarterEngine.java:105)\par
[starter] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\par
[starter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\par
[starter] at java.lang.reflect.Method.invoke(Method.java:597)\par
[starter] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\par
[starter] at org.apache.tools.ant.Task.perform(Task.java:348)\par
[starter] at org.apache.tools.ant.Target.execute(Target.java:357)\par
[starter] at org.apache.tools.ant.Target.performTasks(Target.java:385)\par
[starter] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)\par
[starter] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)\par
[starter] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\par
[starter] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)\par
[starter] at org.apache.tools.ant.Main.runBuild(Main.java:758)\par
[starter] at org.apache.tools.ant.Main.startAnt(Main.java:217)\par
[starter] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)\par
[starter] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)\par
[starter] Caused by: java.io.FileNotFoundException: /srv/Oracle/Middleware/user_projects/epmsystem6/config/OPMN/opmn/.formf\par
actor (No such file or directory)\par
[starter] at java.io.FileInputStream.open(Native Method)\par
[starter] at java.io.FileInputStream.<init>(FileInputStream.java:106)\par
[starter] at java.io.FileReader.<init>(FileReader.java:55)\par
[starter] at oracle.as.management.opmn.optic.OpmnPhone.refreshFormFactor(OpmnPhone.java:623)\par
[starter] ... 22 more\par
( Feb 06, 2012 04.33.13 PM ) Pass [00 min 05 sec] Starting BPMS_bpms1_Server\par
[starter] oracle.as.management.opmn.optic.OpticException: Error in starting opmn server\par
[starter] Operation aborted because of a system call failure or internal error\par
[starter] at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:310)\par
[starter] at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)\par
[starter] at com.hyperion.cis.ant.starter.OPMNStarter.startAndReloadOpmnCtl(OPMNStarter.java:177)\par
[starter] at com.hyperion.cis.ant.starter.OPMNStarter.start(OPMNStarter.java:115)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.start(StarterEngine.java:190)\par
[starter] at com.hyperion.cis.ant.starter.StarterEngine.execute(StarterEngine.java:112)\par
[starter] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\par
[starter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\par
[starter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\par
[starter] at java.lang.reflect.Method.invoke(Method.java:597)\par
[starter] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\par
[starter] at org.apache.tools.ant.Task.perform(Task.java:348)\par
[starter] at org.apache.tools.ant.Target.execute(Target.java:357)\par
[starter] at org.apache.tools.ant.Target.performTasks(Target.java:385)\par
[starter] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)\par
[starter] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)\par
[starter] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\par
[starter] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)\par
[starter] at org.apache.tools.ant.Main.runBuild(Main.java:758)\par
[starter] at org.apache.tools.ant.Main.startAnt(Main.java:217)\par
[starter] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)\par
[starter] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)\par
( Feb 06, 2012 04.33.31 PM ) Pass [00 min 05 sec] Starting OHS\par
( Feb 06, 2012 04.41.51 PM ) Fail [08 min 20 sec] Starting FoundationServices\par
\par
BUILD SUCCESSFUL\par
Total time: 8 minutes 55 seconds\par
Please let me know how to fix this issue. Also please let me know where else can I find the logs to the errors.
Thanks.The logs would be a good place to start, if you are not sure where to look post your OS and planning version.
Cheers
John
http://john-goodwin.blogspot.com/ -
Shared Services access to Essbase cubes
I'm having several problems with user access to Essbase (non-Planning) cubes. The first problem is that I have granted Read access to the users (using a group) to these Essbase cubes in Shared Services. The security has been refreshed, and if you view the properties of any of the databases to which I've granted access, it shows that the group has read access. However, the users do not see these applications in Smart View Data Source Manager. Does anyone know why they are not showing up in Smart View? Using my own id, I added all of these applications to the pre-defined view, and if the users use the pre-defined view, they can see the databases, but if they try to connect it says they don't have access.
The second issue is that only the Essbase cubes that existed at the time that we upgraded to version 11 are showing up in Shared Services. We have since created several more cubes, but I am unable to get them to show up in Shared Services. What am I missing? Shared Services Help is not particularly helpful in either of these instances.
Thanks,
Sabrina
P.S. Just venting, but I hate Shared Services.John,
I have two problems with your suggestion. The first is that when I go to the "Assign Access Control" page, I can't select users/groups, but can only select users. I could do each user separately, I suppose, but doesn't that sort of defeat the purpose of having groups? I'm on version 11 - do you know of any reason why I can't choose groups at this point?
My second problem is that I can't set them as essbase/planning users, if by that you mean there should be a choice that is both. I can do either one, but not both together. They are currently set to Planning. Will it mess anything up with their Planning access if I set them to Essbase?
Thanks,
Sabrina -
Integrating Essbase cubes with Oracle Tables in BI Server
I'm trying to link together data from an aggregated Essbase Cube with some static table data from our oracle system. Both the essbase and oracle data exist correctly in their own right in the physical, business and presentation levels. Aggragted data is client sales, static data is client details
Within the OBIEE Administration tool I've tried to drag the physical oracle table for clients onto the clients essbase section in the business area, and it seems to work OK, until you try and report on them together and I get the following error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42043] An external aggregate is found in an outer query block. (HY000)
Can anyone advise on what I'm doing wrong?
ThanksThanks Christian I found some very useful articles (one or two by you) - I'll have to look harder on the net before posting.
One thing I found out, with respect to vertical federation, that others may benefit from, is that I fuond it much easier to start from the most detailed level and then attach the less detailed source rather start with the less detailed and add the additional on. -
Combining relation facts with dimensions from an Essbase cube
Hi!
I am having trouble combining relational measures (from EBS) with dimensions from an Essbase cube. The dimensions that we want to use for reporting (drilling etc) are in an Essbase cube and the facts are in EBS.
I have managed to import both the EBS tables and the cube into OBIEE (11.1.15) and I have created a business model on the cube. For the cube I converted the accounts dimension to a value based dimension, other than that it was basically just drag and drop.
In this business model I created a new logical table with an LTS consisting of three tables from the relational database.
The relational data has an account key that conforms to the member key of the accounts dimension in the Essbase cube. So in the accounts dimension (in the BMM layer) I mapped the relational column to correct column (that is already mapped to the cube) - this column now has two sources; the relational table and the cube. This account key is also available in the LTS of my fact table.
The content levels for the LTS in the fact table have all been set to detail level for the accounts dimension.
So far I am able to report on the data from the fact table (only relational data) and I can combine this report with account key from the account dimension (because this column is mapped to the relational source as well as the cube). But if expand the report with a column (from the accounts dimension) that is mapped only to the cube (the alias column that contains the description of the accounts key), I get an error (NQSError 14025 - see below).
Seeing as how I have modeled that the facts are connected to the dimension through the common accounts key, I cannot understand why OBIEE doesn't seem to understand which other columns - from the same dimension - to fetch.
If this had been in a relational database I could have done this very easily with SQL; something along the lines of select * from relational_fact, dim_accounts where relational_fact.account_key=dim_accounts.account_key.
Error message:
[nQSError: 14025] No fact table exists at the requested level of detail
Edit:
Regards
Mogens
Edited by: user13050224 on Jun 19, 2012 6:40 AMAvneet gave you the beginnings of one way, but left out that a couple of things. First, you would want to do the export of level zero only. Second, the export needs to be in column format and third, you need to make sure the load rule you use is set to be additive otherwise the last row will overwrite the previouse values.
A couple of other wats I can think of doing this
Create a replicated partition that maps the 3 non used dimensiosn to null (Pick the member at the top of the dimension in your mapping area)
Create a report script to extract the data putting the three dimensions in the page so they don't show up.
Use the custom defined function jexport in a calc script to get what you want -
How to use the dynamical or static variable for ESSBASE cube name?
Hi Experts,
When I import ESSBASE Cube into physical layer, the cube name from ESSBASE is created automatically, such as H_Sales.
I want to use the the static or dynamical variable for replacing the external name. So I try to create the static variable in RPD,such as cubeName, and use the following code
'VALUEOF(cubeName)' into the textbox of external name.
However, when I view the report in answer, it will generate the error message: Database VALUEOF(cubeName) does not exist.
Is it possible to implement this functionality?
Thanks..Hi,
use <%=odiRef.getSchemaName("D")%>
D as parameter if it is the Data Schema or W if you need the schema from Work Schema
Your command will be like:
select <%=odiRef.getSchemaName("D")%>.GER_LOT_EXEC_ODI('Fluxo', 1, 'C') FROM DUAL
Works?
Cezar Santos
http://odiexperts.com -
To add new key figure in existing info cube (BI 7.0)
I m using BI 7.0
How can I add new Key figure in my existing info cube?
Thanks
KShi,
check the following the links
http://help.sap.com/saphelp_nw04s/helpdata/en/58/85e5414f070640e10000000a1550b0/frameset.htm
thread's regarding remodeling
Remodeling Toolbox
Remodelling option in 7.0
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=remodeling+&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue
hope this help you
happy new year 2008
regards
harikrishna N -
Error encountered while loading data into an Essbase cube from oracle DB
Hi All,
I am trying to load data into an Essbase cube from Oracle db. Essbase is installed in an 64 bit HP-UX machine and oracle database on HP -UX 11.23 B server. While performing the above I am getting the below error messages:
K/INFO - 1021013 - ODBC Layer Error: [08001] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory].
OK/INFO - 1021014 - ODBC Layer Error: Native Error code [1034] .
ERROR - 1021001 - Failed to Establish Connection With SQL Database Server. See log for more information.
Can you please help me out in identifying the issue, as why it could have occured , because of network problem or is there anything related to databse?
Regards,
PriyaThe error is related to Oracle, I would check that it is all up and running
ORA-01034: ORACLE not available
Cheers
John
http://john-goodwin.blogspot.com/ -
Release of History from Info Cube to Planning Area
Hi Experts,
I am using program /SAPAPO/RTSINPUT_CUBE to load sales history data from Info Cube to Planning area. Most of the data gets loaded but for few CVCs we get following message: -
549 combinationens of InfoCube are not contained in the BasisPlobStru
While checking up these CVCs in transaction /SAPAPO/MC62 and Planning Book I can see that these CVC exist and data is also visible.
Could anyone please help me out with the reason and what should be done to encounter this.
Thanks in Advance.
Thanks and Regards,
Chandanhi Chandan,
First of sincere apologies for not having read the query completely.
regarding your query on 549 combinationens of InfoCube are not contained in the BasisPlobStru, as you have stated that the CVCs exist in the MPOS.
But can you please check if the CVCs maintained in the MPOS are the exact CVCs that are mentioned in the messgae. For example, the message is for location product sales org Country. Can you check if the CVC exists for this combination for which the forecast is being loaded from the source? For example it is possible that data is being loaded for Loc1 Prod1 SalesOrg1 Country1, but the CVC exists for Loc1 Prod1 SalesOrg2 Country1, then such message appears.
So can you check if the exact CVCs are exisitng in the MPOS as indicated in the messages?
Rgds, Sandeep
Sorry again for misreading on your query. -
Was told not to report off transaction essbase cubes
Hello there,
we recently implemented Hyperion Planning and have 3 Essbase cubes: Planning, Capex, and workforce. We want to hook OBIEE up to the cubes for reporting. We have been told it is not best practice to report off the same cubes we're transacting in. How should we go about building reporting cubes? Is it as simple as "backing up" or copying our transactional cubes?hi,
have u seen this?
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/general_101332_essbase.htm#BABCFCCH
thanks,
Saichand.v -
Multiple source columns from Oracle DB to Hyperion Essbase cube
Hi Experts ,
We have a Source as oracle table to the target Hyperion Essbase Cube(Planning) 11.1.2 using ODI 11g.
Right now my issue is We need to map multiple columns from Oracle DB to One Dimension in Essbase (Planning).
For example -> * In Oracle table i have columns as Name,Volume,unit and item *
In Essbase the dimension called "*CatDefinition has lower level members as Name,Volume,unit and item * "
Now using ODI ,* I want to map the oracle table columns(Multiple) to the dimension(Catdefinition) ? * Please suggest me with idea to achieve multiple column mapping to the single dimension in Essbase .
Thanks in Advance !
Keny AlexDo you even need FDM? You could build a load rule in Essbase directly. If you need to map, then you would register the Essbase target adapter.
-
Business rule for Essbase cube calculations in 11.1.1.3?
Hi,
Can we use business rules to use @XREF from data transfer from one cube to other cube.Why I went for business rule is, I can put set of business rules in a Sequence and any new user can run this Sequence on demand and even we need prompt also in that.
So, I want to clarify whether I can use the business rules for Essbase calculations along with calc scripts??
Appreciate the response.
ThanksRight,
Actually, Business rules are running essbase cubes in every case.
Remember planning and BRs are adding extra layers like prompts, forms, security, processes...
Think Business rules are extended version of calc scripts with some more functionality. They are ultimately running on essbase cubes...
Regards,
Ahmet -
Doees anyone know how I can write code to import an Essbase cube into Oracle?
Hi
The problem you have is that Essbase is a cubed database so trying to access it using a database link from Oracle is going to be difficult. Does Essbase provide an ODBC connector? If it does you might be able to use the Oracle database's heterogenous services to connect. Basically you would be creating a database link to the Essbase database using ODBC.
As I day, where I see difficulties are in the look and feel of Essbase, because its not a SQL database, and in obtaining an ODBC connector.
As for scheduling an export from Essbase, you'd have to check with them on that. Most databases have such a feature so I would suspect there must be a way. Have you tried asking Hyperion about exporting and for an ODBC connector?
Best wishes
Michael -
Error : Data load from relation source (SQL Server 2005) to Essbase Cube
Hi All,
I am looking help from you. I am trying to load data from SQLServer 2005 table to Essbase Cube using IKM SQL to Hyperion Essbase (Metadata) Modules.
I am getting below error. Let me know if i am missing some things.
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 61, in ?
com.hyperion.odi.essbase.ODIEssbaseException: Invalid value specified [RULES_FILE] for Load option [null]
at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx3.f$0(<string>:61)
at org.python.pycode._pyx3.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
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.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)
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Invalid value specified [RULES_FILE] for Load option [null]
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.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)ODI Step: Prepare for Loading Step:
from java.util import HashMap
from java.lang import Boolean
from java.lang import Integer
from com.hyperion.odi.common import ODIConstants
from com.hyperion.odi.connection import HypAppConnectionFactory
# Target planning connection properties
serverName = "HCDCD-HYPDB01"
userName = "admin"
password = "<@=snpRef.getInfo("DEST_PASS") @>"
application = "BUDGET01"
database = "PLAN1"
portStr = "1423"
srvportParts = serverName.split(':',2)
srvStr = srvportParts[0]
if(len(srvportParts) > 1):
portStr = srvportParts[1]
# Put the connection properites and initialize the essbase loader
targetProps = HashMap()
targetProps.put(ODIConstants.SERVER,srvStr)
targetProps.put(ODIConstants.PORT,portStr)
targetProps.put(ODIConstants.USER,userName)
targetProps.put(ODIConstants.PASSWORD,password)
targetProps.put(ODIConstants.APPLICATION_NAME,application)
targetProps.put(ODIConstants.DATABASE_NAME,database)
targetProps.put(ODIConstants.WRITER_TYPE,ODIConstants.DATA_WRITER)
print "Initalizing the essbase wrapper and connecting"
pWriter = HypAppConnectionFactory.getAppWriter(HypAppConnectionFactory.APP_ESSBASE, targetProps);
tableName = "BUDGET01_PLAN1"
rulesFile = r"ActLd"
ruleSeparator = "Tab"
clearDatabase = "None"
calcScript = r""
maxErrors = 1
logErrors = 1
errFileName = r"E:\OraHome_ODI\Error\Budget01Plan1.err"
logEnabled = 1
logFileName = r"E:\OraHome_ODI\Error\Budget01Plan1.log"
errColDelimiter = r","
errRowDelimiter = r"\r\n"
errTextDelimiter = r"'"
logHeader = 1
commitInterval = 1000
calcOnly = 0
preMaxlScript = r""
postMaxlScript = r""
abortOnPreMaxlError = 1
# set the load options
loadOptions = HashMap()
loadOptions.put(ODIConstants.CLEAR_DATABASE, clearDatabase)
loadOptions.put(ODIConstants.CALCULATION_SCRIPT, calcScript)
loadOptions.put(ODIConstants.RULES_FILE, rulesFile)
loadOptions.put(ODIConstants.LOG_ENABLED, Boolean(logEnabled))
loadOptions.put(ODIConstants.LOG_FILE_NAME, logFileName)
loadOptions.put(ODIConstants.MAXIMUM_ERRORS_ALLOWED, Integer(maxErrors))
loadOptions.put(ODIConstants.LOG_ERRORS, Boolean(logErrors))
loadOptions.put(ODIConstants.ERROR_LOG_FILENAME, errFileName)
loadOptions.put(ODIConstants.RULE_SEPARATOR, ruleSeparator)
loadOptions.put(ODIConstants.ERR_COL_DELIMITER, errColDelimiter)
loadOptions.put(ODIConstants.ERR_ROW_DELIMITER, errRowDelimiter)
loadOptions.put(ODIConstants.ERR_TEXT_DELIMITER, errTextDelimiter)
loadOptions.put(ODIConstants.ERR_LOG_HEADER_ROW, Boolean(logHeader))
loadOptions.put(ODIConstants.COMMIT_INTERVAL, Integer(commitInterval))
loadOptions.put(ODIConstants.RUN_CALC_SCRIPT_ONLY,Boolean(calcOnly))
loadOptions.put(ODIConstants.PRE_LOAD_MAXL_SCRIPT,preMaxlScript)
loadOptions.put(ODIConstants.POST_LOAD_MAXL_SCRIPT,postMaxlScript)
loadOptions.put(ODIConstants.ABORT_ON_PRE_MAXL_ERROR,Boolean(abortOnPreMaxlError))
#call begin load
pWriter.beginLoad(loadOptions)
Execution step from opartor:
Read rows: 0
Insert/Delete/updat rows: 0
ODI Step: Load Data Into Essbase
from com.hyperion.odi.common import ODIConstants
from com.hyperion.odi.connection import HypAppConnectionFactory
from java.lang import Class
from java.lang import Boolean
from java.sql import *
from java.util import HashMap
# Get the select statement on the staging area:
sql= """select C1_ACCOUNT "Account",C3_TIMEPERIOD "TimePeriod",C4_LOBS "LOBs",C5_TREATY "Treaty",C6_SCENARIO "Scenario",C7_VERSION "Version",C8_CURRENCY "Currency",C9_YEAR "Year",C10_DEPARTMENT "Department",C11_ENTITY "Entity",C2_DIVLOC "DivLoc",C12_DATA "Data" from OdiMapping.dbo.C$_0BUDGET01_PLAN1Data where (1=1) """
srcCx = odiRef.getJDBCConnection("SRC")
stmt = srcCx.createStatement()
srcFetchSize=30
stmt.setFetchSize(srcFetchSize)
rs = stmt.executeQuery(sql)
#load the data
stats = pWriter.loadData(rs)
#close the database result set, connection
rs.close()
stmt.close()
ODI Step: Report Statistics
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 2, in ?
Essbase Writer Load Summary:
Number of rows successfully processed: 1
Number of rows rejected: 0
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.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.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Where am i doing wronge for data load in Essbase? How I will find correct information to load data into Essbase?
Maybe you are looking for
-
ITunes match wont let me play my songs
I have iTunes match, so i am able to listen to all my music, where ever i am, on any device, without it taking up disk space. That´s all fine and dandy...BUT every time i launch iTunes on my work computer (macbook pro retina, with mavericks, logged i
-
Is there a limit to the number of Apple TV's attached to an iTunes Library
I recently replaced 7 (seven) Version 1 Apple TV's with Version 3 Apple TV's and noticed that I now receive an error, "Cannot connect to the iTunes Library, ensure that you are on the same network, etc." on two of the Apple TV's. Shutting down iTunes
-
Where do I use my Apple Id to locate workshops in San Antonio, TX on how to use my Iphone 4?
-
Replication Link Analyzer Unusual Error
Just finished upgrading my Heirarchy to SCCM 2012 R2, everything is fine after migration and the environment has been stable for several weeks. One site however, is showing warnings for Replication. The replication isn't failing, its been up to date
-
Hi to everyone Can we assign a profit centre to a user Thank Kentish