Table Definition
Hi,
I have created a table with attribute Delivery Class = C. I thought this would make that all new entries in the table would be inserted in a tranport request when created. However, the system does not ask for a TR when I save new entries. What am i missing?.
Rgds,
Jose
Hi,
To transport entries in table please check than in your table maintenance generator in Recording routine,
select radio button for :Standard recording routine.
if u want to move entries manually :
go to SM30
select required entries
go in table view-Transport (menu bar)
here it will ask for transport request.
Please mark suitable points if this helps.
Regs,
AGS.
Similar Messages
-
Exporting and importing just table definitions
Hi,
I have this production database that has a huge amount of data in it. I was asked to set up a test database based on the exact same schema as the live database. When I tried to do an export (from live) and import (to test), with the parameters rows=N and compress=y, the target (test database) data file will still grow enormously, presumably because of the huge number of extents already allocated to the table in the live database. My test database of course, has a limited hard-disk space.
Is there a way to export and import the table definitions without having the target database experiencing a huge growth in the size of the tablespace?
Thanks,
Chris.If an export with compress=n is still creating initial extents that a too large, you can still build with the import file but it will take a little work.
run imp with indexfile=somefile.sql
when imp is finished, edit somefile.sql by:
1. remove all the REM statements.
2. remove all the storage clauses (tables and indexes)
Make sure your tablespaces have a small (say 1k) default initial extent.
run imp again with rows=n
All your tables and indexes will be created with the default tablespace initial extent. -
How to count number of Relational Table definitions?
Hi,
How can I get the number of tables existing in a particular container? some thing similar to 'select count(1) from tab'. Thanks,No, you don't have to be the repository owner or SYS (very bad idea to log in as SYS to do anything except things that ONLY SYS can do, like upgrade the database). You can be any user that has been granted access to the repository via the repository administration utility. With one caveat:
Before you execute any queries on the CI views, you really ought to activate a workarea with jr_context.set_workarea (workarea_name). This will be GLOBAL_SHARED_WORKAREA if you do not use version control. You must be authorized for the workarea, and will only be able to count table definitions that are in the current workarea. -
Hii ..
need help on this ..
This what I am doing ..
I am using a DATAEXPORT function to export level0 data from my essbase 11.1.2.2 to Microsoft SQL 2008 tables.
So what I did first I exported the level0 data to a flat file using DATAEXPORT and the created the SQL columns by the same in that order only in my SQL table.
When I run it fails with this error:
ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021014)
ODBC Layer Error: Native Error code [213]
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Error(1012085)
Unable to export data to SQL table [dataexp]. Check the Essbase server log and the system console to determine the cause of the problem.
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021002)
SQL Connection is Freed
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Warning(1080014)
Transaction [ 0x1c50001( 0x51ee7d66.0x80342 ) ] aborted due to status [1012085].
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1012579)
Total Calc Elapsed Time for [test.csc] : [1.44] seconds
=============================================================
I did a simple test on my Sample.basic application then ..
loaded the calc data to it and then used the below script to export to a flat file
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET DATAEXPORTOPTIONS
DataExportLevel "Level0";
DataExportOverwriteFile ON;
DataExportColFormat OFF;
DataExportDimHeader OFF;
FIX(
"Jan",
"Sales",
"Actual"
/*DATAEXPORT "File" "," "/home/hypadmin/samtest.txt";*/
DATAEXPORT "DSN" "Abhitest" "sample" "sa" "welcome1";
ENDFIX
out put as below:
"Sales"
"100-30","California"
"Jan","Actual",145
Now In sql I created only 3 columns with name Jan/Sales/Actual and when I run this script again with comments removed .. I get the same error as what I have got in my first test case with other application ..
but when I create the columns with same name as what its in export
Sales/100-30/Califirnia/Jan/Actual
It created the new rows successfully ..
So with this I think the error which I am getting with my other application might be because of the same column issue .. but then I have created all the columns by looking at the export file only as I did in sample ..
Any idea would be helpful ..
Thanks
Abhishek
IFirst make sure you add
DataExportRelationalFile ON;
to your set commands it is missing
I alwats like to also add
DataExportColHeader dimensionName;
so I am sure what dimension is getting put into the columns.
Then count the number of dimensions in your outline (exclude attribute dimensions). You need at least that many columns in your table -1 + the number of members you will be returning as columns in the export
Taking your example Sample basic has 5 dimensions
Measures
Years
Scenario
Product
Market
Since you did not specify a dataexportcolheader it took the dense dimension Scenario as the columns. Your fix statement is limiting that to one member. Doing the math
5 -1 + 1 = 5 columns in your table which is what you found works. Suppose you fixed on bothe Actual and budget in scenario then you would need 6 columns 5 -1 +2 -
Troubles creating table definition in new repositiory
hi there,
we installed a designer 6i repositiory on a linux 8.1.7.2 ee server database, all worked fine. installation of the same repositiory version under on a windows 2000 pro system with a 8.1.7.4 ee server database works fine, too. but when trying to create objects in the windows repos we keep getting errors concerning non existing repository objects. example: attempting to create a relational table definition fail with the following stack trace:
Message
RME-02105: Oracle error occurred...
ORA-06550: line 2, column 11:
PLS-00201: identifier 'CIOTABLE_DEFINITION.DATA' must be declared
ORA-06550: line 2, column 11:
PL/SQL: Item ignored
ORA-06550: line 9, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 9, column 3:
PL/SQL: Statement ignored
ORA-06550: line 10, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 10, column 3:
PL/SQL: Statement ignored
ORA-06550: line 11, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 11, column 3:
PL/SQL: Statement ignored
ORA-06550: line 12, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 12, column 3:
PL/SQL: Statement ignored
ORA-06550: line 13, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 13, column 3:
PL/SQL: Statement ignored
ORA-06550: line 14, col
Message
RME-02124: Failed to execute SQL statement: declare
pl1_el0 CIOTABLE_DEFINITION.data;
utility varchar2(3);
curr_el integer;
begin
savepoint rm_dispatch;
rmmes.clear;
curr_el := 0;
pl1_el0.i.INDEX_ONLY_FLAG := true;
pl1_el0.v.INDEX_ONLY_FLAG := :p2_el0;
pl1_el0.i.COLUMN_PREFIX := true;
pl1_el0.v.COLUMN_PREFIX := :p3_el0;
pl1_el0.i.TYPES := true;
pl1_el0.v.TYPES := :p4_el0;
pl1_el0.i.IRID := true;
pl1_el0.v.IRID := :p5_el0;
pl1_el0.i.IVID := true;
pl1_el0.v.IVID := :p6_el0;
pl1_el0.i.NUMBER_OF_TIMES_MODIFIED := true;
pl1_el0.v.NUMBER_OF_TIMES_MODIFIED := :p7_el0;
pl1_el0.i.ALIAS := true;
pl1_el0.v.ALIAS := :p8_el0;
pl1_el0.i.ID := true;
pl1_el0.v.ID := :p9_el0;
pl1_el0.i.NAME := true;
pl1_el0.v.NAME := :p10_el0;
pl1_el0.i.JOURNAL_LOCATION := true;
pl1_el0.v.JOURNAL_LOCATION := :p11_el0;
pl1_el0.i.DISPLAY_TITLE := true;
pl1_el0.v.DISPLAY_TITLE := :p12_el0;
CIOTABLE_DEFINITION.INS(:p1_el0,pl1_el0);
:errcnt := 0;
exception when others then
rmmes.get_error_state(utility,:excode);
rmmes.get_product(utility,:exprod);
:exutil := utility;
:errcnt := rmmes.getsize;
:sqlcod := SQLCODE;
:sqlmsg := SQLERRM;
:currel := curr_el;
rollback to savepoint rm_dispatch;
end;
Message
RME-00222: Failed to dispatch operation to Repository
any help appreciated,
greetings,
friedrich.Hi,
Actually the errors thrown here are not exactly non-existing database objects.These are Table and API definitions of the repository which are used when you create Database objects.
You can try by checking if there are any invalid objects in the repository(Compile them first if there are any)and can give it a shot after running a full reconcile of the repository.
If still the problem persists, can you give the details about which Designer Version you are using.
Thanks
Vishal Jain -
UPPER() in external table definition
Hi,
Is it possible to apply the UPPER() function to character columns within an external table definition using the ORACLE_LOADER driver?
I've tried myself and have looked through the documentation, and it seems like this is not possible ... just wanted to double-check before moving forward with a different solution.
Thanks.
- k r
Message was edited by:
kenny r.I've never seen an example of doing it nor do I see anywhere in the syntax that lends itself to such manipulation.
Consider creating a view. -
Substr in external table definition
Hi Guys,
I have an external table where I am loading a txt file. The issue being, in the txt file I have a column with a variable length. This column houses the application/website link that is not of a fixed length. My external table field width is 100, but the txt file value is more than that. Now, I want to only insert this field for the 100 characters.
I tried using substr as shown in the example below, but it fails. Any idea what could be the alternative or if I am doing it right?
Here's my external table properties (access parameters) and I am trying to use 'substr' on field4
records delimited BY NEWLINE
badfile BAD_DIR:'email_events%a_%p.bad'
LOGFILE LOG_DIR:'email_events%a_%p.log'
fields terminated by '\t'
missing field values are null
event_type,
cm_timestamp,
issue_id,
cm_uid,
field1,
field2,
field3,
field4 "substr(:field4,1,100)",
field5,
field6,
field7,
field8,
field9,
field10,
field11,
field12,
field13,
field14
)Just set your external table definition to query the full thing and then when you come to insert that data to a real table from the external table you can apply the substr in that query.
-
Not allow changes to table definition
Hi all,
I need not to allow any changes to a specific custom table definition. I'm looking for something similar to the "lock editor" in se38 applied to SE11. Can anybody help me ?
Thanks in advance,
GianlucaHello Gianluca,
When you have created the table and the required entries have been made ..change the data browser/table maintainance view attribute in the 'Delivery and maintenace tab 'to either 'Display/Maintenance allowed with restrictions' or 'Display or maintenace not allowed' according to the requirement.
hope this will resolve your issue.
Regards,
bhumika -
Error running Table Definition (cktci) Repository Report in Designer 10G
Hi
There seems to be some internal limitation when running the Table Definition Repository Report (cktci).
We have over a thousand tables defined in Designer and if I try to run the report for all tables it falls over with the reports.log saying
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-271504897: Error executing CA utility.
REP-3335: Unhandled Internal CA Error.
caxml 2
REP-0002: Unable to retrieve a string from the Report Builder message file.
REP-271504897:
Not very useful information.
If the report is run using a smaller subset of tables. For example if I use a parameter of A% for the table name then it works OK.
I have been able to create reports up to about 600 pages but after that it falls over. So if I try to run the report with a parameter like S% it will fall over.
Just wondering if anyone else has come across this issue and found a fix.
There is the obvious workaround of running the report for smaller subsets of data but we would like it to be able to run for all tables if possible.
Any feedback appreciated.
Regards,
AdrianSorry for the slow reply. I've been trying a number of different things to get this to work.
I reinstalled Developer as suggested but we don't have a patched version so there were no additional patches to apply. I re-ran the installer anyway to see if it would update anything.
I couldn't find any reference to Developer patches that might fix this issue in metalink.
I also tried messing with the JVM options to give it more memory etc but that didn't help.
After using the Designer diagnostics trace I got the arguments it uses to run the same report from the command line.
This resulted in the same issue. So at least it was consistent from Designer as well as the command line.
This suggests it is a reports issue rather than Designer.
Running the reports trace didn't provide any extra information. Found a bug that suggested changing any formula columns to not return NULL.
Tried updating the report to fix that too but no joy.
I will post here if I discover the solution. -
LTRIM in an External Table Definition.
Hi,
We're using Oracle 11.2.
Seeing as there's little documentation on the Web about non-general External Table definitions, I want to put this question out there.
How do I put an Ltrim function into an External table definition?Thanks,
That's one way would be to use a view on an external table definition but I know there's way to so it in the definition of the external table.
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
CLAIM_NUMBER CHAR,
PATIENT_ZIP_CODE CHAR NULLIF "PATIENT_ZIP_CODE"= '!', -
Duplicate variable 'altova:table' definition
I have a little class that I wrote to apply a XSLT file to a XML using Oracle XML Parser.
Here is the code:
XSLProcessor processor = new XSLProcessor();
String sInputXSL = "d:/xsl.xsl";
String sInputXML = "d:/xml.xml";
File fXSL = new File(sInputXSL);
URI uri = fXSL.toURI();
URL url = uri.toURL();
XSLStylesheet stylesheet = processor.newXSLStylesheet(url); (*)
When I execute it, I get the following error on the line (*)
XML-22050: (Error) Duplicate variable 'altova:table' definition.
XML-22050: (Error) Duplicate variable 'altova:table' definition.
XML-22050: (Error) Duplicate variable 'altova:table' definition.
oracle.xml.xslt.XSLException: XML-22050: (Error) Duplicate variable 'altova:table' definition.
at oracle.xml.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1848)
The XSL file is a XSL file that was generated by Altova Stylevision.
I opened the XSL to watch is content and there is in dead several declarations of altova:table variable:
<xsl:variable name="altova:table">:
The XSLT is valid because when I execute the transformation with java.xml.Transformer class it works.
What can I do to solve the problem?Please don't cross-post your questions.
-
Why there are differences in error table definitions?
Why there are differences in error table definitions?
We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
I created a error table using DBMS_ERRLOG.CREATE_ERROR_LOG in databse.
Here is the layout.
=========
ORA_ERR_NUMBER$
ORA_ERR_MESG$
ORA_ERR_ROWID$
ORA_ERR_OPTYP$
ORA_ERR_TAG$
PROJECT_ID
DESCRIPTION
PROJECT_TYPE
CREATION_DATE
===========
I imported the table metadata into OWB. As I used the table in mapping using table operator, I am not able to see ERR group in table object of mapping.
How do we bring manually created error table metadata into OWB? Is it feasible?
I specified data rule/shadow table for imported table using object editor. I deployed the table via CC.
Here is the layout from deployed ERROR table from DB
+++++++++++++
ORA_ERR_NUMBER$
ORA_ERR_MESG$
ORA_ERR_ROWID$
ORA_ERR_OPTYP$
ORA_ERR_TAG$
ERR$$$_AUDIT_RUN_ID
ERR$$$_AUDIT_DETAIL_ID
ERR$$$_ERROR_ID
ERR$$$_ERROR_REASON
ERR$$$_SEVERITY
ERR$$$_OPERATOR_NAME
ERR$$$_ERROR_OBJECT_NAME
PROJECT_ID
DESCRIPTION
PROJECT_TYPE
CREATION_DATE
++++++++++++
Why there are differences in error table definitions?
As I used the table in mapping using table operator, I am not able to see ORA_ERR_NUMBER$ , ORA_ERR_MESG$ , ORA_ERR_ROWID$ , ORA_ERR_OPTYP$ , ORA_ERR_TAG$ in ERR group in table object of mapping.
Are there any additional steps/process?
Any idea ?
Thanks in advance.
RIThere are columns for data rule errors (logical errors) and DML errors (physical errors), I think you probably have data rules on the table..?
To process DML errors you will have to add the error table into a map you may have to reverse engineer it). The error group behavior is only available for processing errors from tables with data rules. Ensure your table operator is synchronized with your design table.
http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$184
Cheers
David -
ODI - Create a Target Table Definition from a source definition
Hi - Is there a way to create a target flat file definition from an oracle table definition? I have some oracle tables and I want to create flat files from them but don't want to have to re-type the file definition because it is nearly exactly the same as ora table (100+ columns). The ora tables are already reversed.
Thanks!
DanWell I spoke too soon. It seems to not like my alias?
7000 : null : java.sql.SQLException: Invalid COL ALIAS "DISTRICT ID" for column "LOCAL"
java.sql.SQLException: Invalid COL ALIAS "DISTRICT ID" for column "LOCAL"
Is this because there are spaces in the column names (in the ora column names and the file... since the file is a copy of the table)??
insert into ESC_DISTRICT
DISTRICT KEY,
DISTRICT CODE,
LOCAL DISTRICT ID,
DISTRICT NAME,
DISTRICT STATE ABBREVIATION,
DISTRICT STATE NAME,
STATE DISTRICT ID,
ORGANIZATION TYPE CODE,
values
:DISTRICT_KEY,
:DISTRICT_CODE,
:LOCAL_DISTRICT_ID,
:DISTRICT_NAME,
:DISTRICT_STATE_ABBREVIATION,
:DISTRICT_STATE_NAME,
:STATE_DISTRICT_ID,
thanks! -
Upload table definition to file
Hi
Is it possible to upload the table definition (not contents) in SAP to a file or preferably a XML structure?
Regards
DeepaDeepa,
use fm DP_GET_FIELDS_FROM_TABLE to get the fields from a table and add them to internal table and use GUI_DOWNLOAD
to download into a file
Thanks
Bala Duvvuri -
Hai all,
I am getting an error in table definition. I am not able to locate it.Pls help me with that.
Thanks in advance,
NeelaHi all,
Thank u my problem has ben resolved.The answers were useful..
Regards,
Neela -
REP: 14967: Table definition for ID 739336 is invalid (Original failure Un
I am receiving this error:
05:48:39.60 Err : REP: 14967: SERIALIZACIONDSN:receiver.c(7850): TT16078: Table definition for ID 739336 is invalid (Original failure Unknown )
05:48:39.60 Err : REP: 14967: SERIALIZACIONDSN:receiver.c(5439): TT16187: Transaction 1237856612/3580628684; Error: transient 0, permanent 1
I have checked the table definition ID on sys.tables table. I found this table owns to an oracle cache group called "FED_CENLACES".
I have tried to set the cache group at paused state, and after to set it on again, but error remains. I have stopped cache group agent, and restart it again, but It does not work.
Do you think I must recreate cache group ?
Could this error cause timesten stopped in any time ?
Let me tell you that the application es very important to stay working almost from 8:00 am to 3:00 pm.
I hope you could help me.
Regards.I attach the cache group definition:
create readonly cache group SERIALIZA.FED_CENLACES_CG
autorefresh
mode full
interval 60000 milliseconds
/* state on */
from
SERIALIZA.FED_CENLACES (
ID_ENLACE NUMBER(5) NOT NULL,
ID_SERVICIO NUMBER(5) NOT NULL,
ID_EMPRESA NUMBER(6) NOT NULL,
DESCRIPCION VARCHAR2(100 BYTE) INLINE NOT NULL,
IP VARCHAR2(20 BYTE) INLINE NOT NULL,
FECHA_CREACION DATE NOT NULL,
CREADO_POR VARCHAR2(30 BYTE) INLINE NOT NULL,
PUERTO NUMBER(5) NOT NULL,
SISTEMA VARCHAR2(30 BYTE) INLINE NOT NULL,
TIPO VARCHAR2(20 BYTE) INLINE NOT NULL,
ESTATUS VARCHAR2(1 BYTE) INLINE NOT NULL,
PROTOCOLO VARCHAR2(8 BYTE) INLINE NOT NULL,
JMS_DESTINO VARCHAR2(50 BYTE) INLINE NOT NULL,
JMS_FUENTE VARCHAR2(50 BYTE) INLINE NOT NULL,
TABLA_MAPEO VARCHAR2(25 BYTE) INLINE NOT NULL,
FECHA_MODIFICACION DATE,
MODIFICADO_POR VARCHAR2(30 BYTE) INLINE,
RETARDO NUMBER,
ENVIO_REPUESTAS_TODOS NUMBER(1),
primary key (ID_ENLACE));
Let me tell you, I have replied DSN to a different machine, and replica is not sending any error message.
create replication SERIALIZA.SERIALREP
element E datastore
master SERIALIZACIONDSN on "CLUSTER1"
transmit nondurable
subscriber SERIALIZACIONDSN on "CLUSTER2"
exclude table
SERIALIZA.CRECIMIENTO,
SERIALIZA.FED_TMENSAJES_SETRIB_INPUT2,
SERIALIZA.FED_TRSEC001_COPY,
SERIALIZA.FED_TRSEC001_INPUT2,
SERIALIZA.PASO,
SERIALIZA.PASO_XY,
SERIALIZA.RESPALDO_001,
SERIALIZA.RESPALDO_SB_IN,
SERIALIZA.RESPALD_001_I,
SERIALIZA.SETRIB_PASO,
SERIALIZA.FED_TMENSAJES_SETRIB_2,
SERIALIZA.FED_TMENSAJES_SETRIBPLUS_2,
SERIALIZA.FED_TMENSAJES_SIVA_2,
SERIALIZA.FED_TMENSAJES_SETRIBPLUS_UNO,
SERIALIZA.TSEC198
exclude cache group
SERIALIZA.COM_TEMISIONES_CG,
SERIALIZA.FED_CENLACES_CG,
SERIALIZA.COM_CEMPRESAS_CG,
SERIALIZA.COM_CMODULOS_CG,
SERIALIZA.FED_TRECXENLS_CG,
SERIALIZA.COM_CDEFORMATOS_CG,
SERIALIZA.FED_CFORMATOS_CG
exclude sequence
SERIALIZA.SEQ_FEDTRSEC001
Regards.
Maybe you are looking for
-
All, I am on 9.3.1. Couple of questions on prompts. Is it possible to define a prompt once and use in several reports (like Global RunTimrPrompts in Businessrules)? From the choice list, Can I limit users the select only one member (member instead of
-
Confused by the behavior on importing simple tagged text
I have a tagged text file with the following content beween the dashed lines. (the lines are not part of the file). Both IText and BText are predefined paragraph sytles. <ASCII-WIN> Price <ParaStyle:IText>AA<cPosition:Superscript>aa<cPosition:> - <Pa
-
Hi, I am a newbie using ADF 11g. I am trying to create a Search page which takes 2 parameters. 1st Parameter is the Country LOV 2nd Parameter is the City LOV which is dependant on the 1st Parameter I have done the below steps but no with no positive
-
Hi, I have just gone to start up my macbook & it just flashes a ?file, Prohibited & Apple Symbol continuosly on the gray screen. I have the original discs and I use Time Machine to back up. What should I do. How do I reinstall do I just insert the di
-
Microsoft Designer Bluetooth Mouse is not detected in 10.10.3
Microsoft Designer Bluetooth Mouse is not getting detected as a bluetooth mouse on OSX 10.10.3. During pairing, it just shows up as a bluetoth device and after some time, there is a popup that no mouse is connected. Also, when you try to add the mous