Problem in loading data in OLAP 10.2.
I created a cube with 9 dimensions, one of the dimension has three hierarchies defined; It works fine until one day it gives me "Data for at least One of the Hierarchies for ***Dimension controdicts the Definition of such Hierarchy as Level Based"; However, I checked the data, the data actually hold the one-many relationship btw parent level and child level within those hierarchies. Even more strangely, all three hierarchies works if they were the only hierarchy in the dimension. Any clue of this error? is it some bug in oracle olap?
specifically, Do two level based hierarchies affect each other if they are in same dimension? what is exactly level based hierarchy?
Hi, Brijesh
Thank you very much for the reply. That's exactly what I thought at my first glance; however, I checked the data in each of the three hierarchies, they all hold the (one-parent to many child && one child to one parent) relationship; actually, if I remove any two of the three, the rest one will work just fine; the dimension is defined as following:
1. five levels: l1, l2, l3, l4, l5, where l1 is the surrogatekey, l5 is total;
2. Three hierarchies:
1) h1: l1-->l2-->l5, where l5 is parent of l2, and l2 is parent of l1;
2) h2: l1-->l3-->l5,
3) h3: l1-->l4-->l5
The case is that, only when both h1 and h2 exist in the dimension, it gives data controdict error. i.e: if the dimension is defined as (h1), (h2), (h3), (h1, h3) or (h2, h3) it will just work fine; data load fails only for dimension (h1, h2) or (h1, h2, h3).
It seems to me that even it's two independent hierarchy, they will actually affect each other's data consistency. Could this be a bug when oracle is creating family relationship, or inhier relationship for dimenstion? Any idea of this?
Thank you.
Marshall
Edited by: user4939641 on Jul 9, 2009 11:23 AM
Similar Messages
-
Problem in Loading data for clob column using sql ldr
Hi,
I am having problem in loading data for tables having clob column.
Could anyone help me in correcting the below script for ctrl file inorder to load the data which is in mentioned format.
Any help really appreciated.
Table Script
Create table samp
no number,
col1 clob,
col2 clob
Ctrl File
options (skip =1)
load data
infile 'c:\1.csv'
Replace into table samp
fields terminated by ","
trailing nullcols
no,
col1 Char(100000000) ,
col2 Char(100000000) enclosed by '"' and '"'
Data File(1.csv)
1,asdf,"assasadsdsdsd""sfasdfadf""sdsdsa,ssfsf"
2,sfjass,"dksadk,kd,ss""dfdfjkdjfdk""sasfjaslaljs"
Error Encountered
ORA-01461: can bind a LONG value only for insert into a LONG column
Table sampThanks in advanceI can't reproduce it on my 10.2.0.4.0. CTL file:
load data
INFILE *
Replace into table samp
fields terminated by ","
trailing nullcols
no,
col1 Char(100000000) ,
col2 Char(100000000) enclosed by '"' and '"'
BEGINDATA
1,asdf,"assasadsdsdsd""sfasdfadf""sdsdsa,ssfsf"
2,sfjass,"dksadk,kd,ss""dfdfjkdjfdk""sasfjaslaljs"Loading:
SQL> Create table samp
2 (
3 no number,
4 col1 clob,
5 col2 clob
6 );
Table created.
SQL> host sqlldr scott/tiger control=c:\temp\samp.ctl log=c:\temp\samp.log
SQL> select * from samp
2 /
NO
COL1
COL2
1
asdf
assasadsdsdsd"sfasdfadf"sdsdsa,ssfsf
2
sfjass
dksadk,kd,ss"dfdfjkdjfdk"sasfjaslaljs
NO
COL1
COL2
SQL> SY. -
Problem with loading data to Essbase
Hi All,
I have a problem with loading data into Essbase. I've prepared maxl script to load the data, calling rule file. The source table is located in RDBMS Oracle. The script works correctly, ie. generally loads data into Essbase.
But the problem lies in the fact, that after deletion of data from Essbase, when I'm trying to load it again from the source table I get the message: WARNING - 1003035 - No data values modified by load of this data file - although there is no data in Essbase... I've also tried to change the mode of loading data from 'overwrite' to 'add to existing values' (in rule file) but it does'nt help ... Any ideas what can I do?Below few lines from EPM_ORACLE_INSTANCE/diagnostics/logs/essbase/dataload_ODL.err:
[2013-09-24T12:01:40.480-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received Validate Login Session request
[2013-09-24T12:01:40.482-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received client request: Get App and Database Status (from user [admin@Native Directory])
[2013-09-24T12:01:54.488-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: MaxL: Execute (from user [admin@Native Directory])
[2013-09-24T12:01:54.492-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Received client request: MaxL: Describe (from user [admin@Native Directory])
[2013-09-24T12:01:54.492-10:01] [ESSBASE0] [MLEXEC-2] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Output columns described
[2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Define (from user [admin@Native Directory])
[2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Fetch (from user [admin@Native Directory])
[2013-09-24T12:01:54.494-10:01] [ESSBASE0] [MLEXEC-3] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Record(s) fetched
[2013-09-24T12:01:54.496-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received client request: MaxL: Fetch (from user [admin@Native Directory])
[2013-09-24T12:01:54.498-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received Validate Login Session request
[2013-09-24T12:01:54.499-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: Get Application State (from user [admin@Native Directory]) -
Problem while loading data from ODS to infoobject
Hi guys,
I am facing problem while loading data from <b>ODS to infoobject</b>.
If I load data via PSA it works fine but
if I load data without PSA its giving error as Duplicate records.
Do u have any idea why it is so.
Thanks in advance
savioHi,
when you load the data via the PSA, what did you select? Serial or Paralel?
If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
hope this helps...
Olivier. -
Facing problem while loading data into XI
Hi All,
I am facing a peculiar problem while loading data into XI when we load small amount of data say 5-10 records these records gets processed, but when we try to load a bit higher volume say 100-500 which comes out to be around 7 record s per second then the record processing gets stalled. That is it gives a message that "recorded for outbound processing".
So can any body throw some light on it and can tell us why we rare facing such problem and how can we resolve that problem.
Thanks in Advance.
Regards
rahulHi rahul,
Deregistering and Registering the Queue is a temporary solution.
The better way to this would be to Tune your Xi system as already mentioned by Vijaya as mentioned in the guide ,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7fdca26e-0601-0010-369d-b3fc87d3a2d9
Regards,
Bhavesh -
Problem in Loading Data from SQL Server 2000 to Oracle 10g
Hi All,
I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
Where Prj_Dim_Region is the name of my target table in Oracle.
The error message is:
955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(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)
I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
<%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
I have chosen to execute this code on target.
Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
But when i press OK to run it, I get this error message:
java.lang.IllegalArgumentException: Row index out of range
at javax.swing.JTable.boundRow(Unknown Source)
at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
Thank you so much in advance.
NeelHi Cezar,
Can u plz help me with this scenario?
I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
java.sql.SQLException: ORA-00942: table or view does not exist
and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
"-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
Please let me know how to make it work?
Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
Thank you for your time in advance.
Regards,
Neel -
Hello All,
I am using data source 2LIS_11_VAHDR in BI 7.0 to load data to ODS.
I am using the full upload.
When i schedule the infopackage i dont get any records.The request status is shown as running.
So i check the job in the source system.But i Saw that Job status is Released and not active.
There were some entries already present in the extraction queue.So I tried scheduling Job to move the entries from extraction queue.But this job too is showm as released and not active.
Please let me know what can be the problem.Hi,
Check in RSA3 if you are getting records then you should be able to get it to PSA and then ODS.
If not then replicate the data source activaet the transfer structure and again laod . This will help.
Regards,
Amol -
Problem in loading data to DSO
Hi,
I have a problem in loading the data to DSO through Info package. The delta request has been running for a long time, but no data has been loaded. The job details screen is showing as below.
Previously there was no issues with this chain.
Can some one guide me to solve this issue please.?
Regards
RaguHi Ragu,
The same issue has been happened for me long time back. I have solved this issue by running the Repair Full request and then Init. delta without Data Transfer.
May be this may also work for you.
Steps:
1.Delete the request by marking it as RED
2.Run Info package Repair full Request.
Once this is success,
3.Change Info package and Run Init delta without data transfer
4. If it pop ups Init Delta already exists,then delete the previous init from the source.
after the init delta is ended fine, then change your Info package to Delta as it is before.
Hope it helps.
regards
Deva -
(Class cast Exception)Problem while loading data fro database in java class
Dear all,
Please help me...to solve this
I have a database having two columns of String and Date Types.
In my java code i was trying to load the data to a UI.
I am successfull in loading the String type value.
But while loading date field value,is showing Class cast Exception.
What i am doing is Getting the values from database to a String[] array.
So my question is how to
get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
Any body please help...If any one want more clarification in question i will give......Hi,
I am using GWT to display my data in a Grid.
So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
Iteration goes up to 10 rows.After i am setting it in to a list
ie list.add(array);
Now while returning this list i am doing this
"return (String[][])list.toArray(new String[0][]);"
When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem. -
Problem with loading data using SQL LOADER
I am having following files with me when i run following command at command prompt
sqlldr scott/tiger@genuat control =c:\emp.ctl
then giving error as
SQL Loader 500: unable to open file
SQL Loader 553: file not found
emp.dat file data
1111,sneha,CLERK 7902,17-Dec-80,800,20
2222,manoj,SALESMAN,7698,20-Feb-72 ,1600,6500,30
3333,sheela,MANAGER,7839,8-Apr-81,2975,20
emp.ctl file
LOAD DATA
INFILE 'c:\emp.dat'
APPEND
INTO TABLE emp
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(EMPNO,
ENAME ,
JOB,
MGR,
HIREDATE,
SAL ,
COMM,
DEPTNO)
can anyone tell me what is problem in above file why data is not loaded in table??I don't find any problem if you invoke the SQLLDR using the below command(and if you are certain that the control file resides in the C: drive).
sqlldr scott/tiger@genuat control =c:\emp.ctl
If this doesn't work then invoke the SQLLDR from the C: prompt itself.
sqlldr scott/tiger@genuat control=emp.ctl
It would locate the control file and check whether the sqlldr completes successfully? -
Weird problem with loading data from an XML using a for loop
Hi,
I have a strange problem. I have encountered this thing many a times but still don't know the proper workaround for it.
I am trying to load swf file, a video file or an image. They can be present on a local system or on a remote server also. All the entries corresponding to the files to be loaded is made in an XML file. I traverse through the nodes of the XML using a for loop. On the complete event of loader info, example:.
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
I fill a container with the loaded data.
My problem is when I am using for loop it doesn't works properly but if i use a statement like this:
someFunc()
if(i<arr.length())
... do something...
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
private function onComplete(e:Event):void
... do something...
i++;
All files are loaded properly.
I think this can be because the for loop processes pretty fast but the content takes time to load, which ultimately leads to some wierd results.
Please let me know how can this thing be done correctly by using a for loop also.You don't want to use a for loop to load several items. The way you almost appear to have it is the proper approach... load a file and use the completion of its loading to trigger loading the next file.
-
Problem in Loading data from R/3 to ODS
Whn i load data from r3 - tables ,I could not get the data to the data target ODS.
What is the problem ? can any one help this out .Hi Lakshmanan,
Important point : It is always good to detail your issue to get a prompt response.
There could be lot of issues.
1. Find the datasource which is feeding this ODS and
Goto R/3 system -> RSA3 and check whether any records are populated, If no records are populated then there is issue with extracting the records..
2. if records are populating in the first step..on the BW Side, check the PSA table..and if you find any records in PSA then this is issue on BW Side..and there could be many issues..
May be if you can provide more information..we will of help to you...
Regards, Vj -
Problem in loading data to ODS from Flat File
Hi,
I am trying to load data from Flat Flie. i.e the records like below.
Customer Material Calday Price
100 1 20080519 20
200 2 20080520 30
I inserted the Customer in Key Fields and Material & Calday & Price in Data Fields. First records were loaded successfully to ODS. Second time I changed the first record to below
Customer Material Calday Price
100 1 20080519 40
But it is not loaded to ODS. It is giving the following error msg.
Error while inserting data records for data package 1 (see long text)
Data records already saved in the active table
Technical key: 00005069 / 00000001 / 00000001
Process 000001 returned with errors
So plz give me solution how to load data ODS.Hi,
If you haven't set the delta mode, then initialize the IP and then run a Delta load from next.
Hope this solve the issue.
Rgs,
I.R.K -
I am facing problem in loading data in ap_invoices_all in R12 through API
Hi,
When I am trying to load data in R12 through API (ap_invoices_pkg. Insert_Row), I can see my record in base table ap_invoices_all but I can't find my record from frontend application.
MAGSA AP Supervisor -> Invoices -> Entry -> Invoices.
I will be very greatful if anyone can tell me the reason why I am not able to find my record.
Thanks
RanjanaI believe the issue is related to Multi Org Access Control (MOAC) - pl see MOS Doc 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code - for a discussion.
HTH
Srini -
Hello All;
Could any one please explain this to me. I am loading data into my PSA from a datasource from ECC.for a given field where the length exeed the external length, the exeeded characters will be loaded in the next field. How to fix this ?
Regards
AnisHi,
it is the text fields you can achieve the through filed level routine.
you want total description
RESULT = SOURCE_FIELDS-TEXT_LONG+0(60). - info object 1
IF strlen( SOURCE_FIELDS-TEXT_LONG ) > 60.
RESULT = SOURCE_FIELDS-TEXT_LONG+60(60). - info object 2
ENDIF.
IF strlen( SOURCE_FIELDS-TEXT_LONG ) > 120.
RESULT = SOURCE_FIELDS-TEXT_LONG+120(60). - info object 3
ENDIF.
IF strlen( SOURCE_FIELDS-TEXT_LONG ) > xxx.
RESULT = SOURCE_FIELDS-TEXT_LONG+xxx(xx). info object - N
ENDIF.
if you write the for all info object.
Thanks,
Phani.
Maybe you are looking for
-
Anyone has a canny edge detector vi that can be opened in Labview 7.0??
Hi, Anyone has a canny edge detector vi that can be opened in Labview 7.0?? Thanks and many thanks.!
-
Lost Apps with new Device update
Hello, I have lost some apps following the download of the latest OS - Most importantly is my password safe, any suggestions as to how I can recover it? Solved! Go to Solution.
-
Maximum size of PDF file?
I'm assembling a book comprised mostly of photos - it will contain approximately one hundred 10MB photos (1 GB). I want to then convert the (Open Office / .odt) document to PDF. Is there any problem with generating a file this large? If curious about
-
Will Family base allow me to see content of text messages?
will Family base allow me to see content of text messages? can app be put on my childs phone without them knowing?
-
hi everyone. can anybody give me some hint about 1,AltCty:Condition Base Value; 2,AltCby:Alternative formula for condition base value and your practice about two funciton. thank in advance. Regards.