Error while creating tables in schema since trigger already enabled
Hi All,
I am trying to insert newly created objects in userA,but am not able to insert "ora_dict_obj_type" type value in target table,
Please see my error and script below:
Error:
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-01858: a non-numeric character was found where a numeric was expected
ORA-06512: at line 2
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
Script:I need to insert newly created objects into this table,here Object type is important because based object type i am going to create one more trigger to grant access automatically to other users using trigger.
create table access_table
(owner_name varchar2(30),
object_name varchar2(30),
object_type varchar2(30),
created_time timestamp default current_timestamp);
create or replace
trigger access_trigger
after create on schema
begin
insert into access_table values
(ora_dict_obj_owner,
ora_dict_obj_name,
ora_dict_obj_type,
current_timestamp);
end access_trigger;
Thanks
Edited by: 983419 on Feb 9, 2013 7:20 AM
insert into access_table values
(ora_dict_obj_owner, --VARCHAR(30)
ora_dict_obj_name, --VARCHAR(30)
ora_dict_obj_type, --VARCHAR(20)
current_timestamp --"TIMESTAMP WITH TIME ZONE"
);The Oracle CURRENT_TIMESTAMP function will give you the current time with all details. It returns the current timestamp with time zone for the current session's time zone.
--example
SQL> select CURRENT_TIMESTAMP from dual;
CURRENT_TIMESTAMP
09-FEB-13 02.53.33.753000 PM 03:00You are inserting 'CURRENT_TIMESTAMP' ( TIMESTAMP WITH TIME ZONE datatype ) into the column with TIMESTAMP datatype.So what?? Can you please do some workout on what you said and post it here?
Try this:
create table access_table
(owner_name varchar2(30),
object_name varchar2(30),
object_type varchar2(30),
created_time TIMESTAMP WITH TIME ZONE default CURRENT_TIMESTAMP);
NO NEED.
Check this -
ranit@XE11GR2>> create table access_table
2 (owner_name varchar2(30),
3 object_name varchar2(30),
4 object_type varchar2(30),
5 created_time timestamp default current_timestamp);
Table created.
Elapsed: 00:00:00.07
ranit@XE11GR2>> insert into access_table(owner_name,object_name,object_type,created_time)
2 values('rr','bb','xx',current_timestamp); -- "CURRENT_TIMESTAMP with TIME ZONE inserted"
1 row created.
Elapsed: 00:00:00.00
ranit@XE11GR2>> insert into access_table(owner_name,object_name,object_type)
2 values('rr2','bb2','xx2');
1 row created.
Elapsed: 00:00:00.01
ranit@XE11GR2>> select *
2 from access_table;
OWNER_NAME OBJECT_NAME OBJECT_TYPE CREATED_TIME
rr bb xx 09-FEB-13 01.47.56.490000 PM
rr2 bb2 xx2 09-FEB-13 01.48.20.187000 PM
Elapsed: 00:00:00.01Edited by: ranit B on Feb 10, 2013 3:20 AM
-- code added
Similar Messages
-
Hello,
I have some problems with dbms_xmlschema.registerschema
My database is: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
My XSD schema is (SEPA pain.002.001.03.xsd) also available on this url: http://code.google.com/p/leontestbed/source/browse/trunk/bc2/sample/Schema/pain.002.001.03.xsd?r=241
After
begin
DOK_XML_UTIL.p_vnesi_xsd_blob(401941242); -- store a XSD on file system from blob field
dbms_xmlschema.registerschema(
schemaurl => 'http://localhost/TEST1.XSD',
schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
csid => nls_charset_id('AL32UTF8'));
commit;
end;I get:
ORA-31084: error while creating table "INIS_PROD"."Document2781_TAB" for element "Document"
ORA-02320: failure in creating storage table for nested table column "XMLDATA"."CstmrPmtStsRpt"."OrgnlPmtInfAndSts"
ORA-01792: maximum number of columns in a table or view is 1000
ORA-02310: exceeded maximum number of allowable columns in table
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 65
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 136
ORA-06512: at line 4
What I'am doing wrong or what is the reason for this error..Arrgghhh.....
begin
DOK_XML_UTIL.p_vnesi_xsd_blob(401941242);
dbms_xmlschema.registerschema(
schemaurl => 'http://localhost/TEST1.XSD',
schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
csid => nls_charset_id('AL32UTF8')
, local => true
, genTypes => false
, genTables => false);
commit;
end;sorry... -
Error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR
While loading master data for 0PLANT, its giving me following error.
"error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR"
Please help me out.
Thankssteve,
Can you give the solution you used to correct this problem?
This error occurred in BW during import.
Raj. -
Error while creating table maintenance generator
Hi,
I am getting below error while creating table maintenance generator.
Screen SAPLZtest 0002 could not be generated. In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
Reason for that error might be:
In the table I have a field with a dataelement(customized) of type Char and length 241.
But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
And the domain Iam using is same for both the tables.
Please help me to solve this.
Thanks in advance,
SravanthiHi,
you can go to transaction se51 and go your screen. active it.. you can find thesolution.
refer these links..
Error in table control
Error while creating table maintainence generator !
Thanks and Regards,
Ahamed. -
Source sys Restore "error while creating table EDISEGMENT "
Dear All,
I am Basis person and recently we have refreshed data of Test BI system from Development BI system. we normally carry out these Refresh but In this case we have also changed Hostname and SID for Test BI system.
We have done all BW refresh steps as per guide and during Restore of source system we
are getting errors during datasource activation as " error while creating table EDISEGMENT ".
we have checked RFC and Partner profiles and working fine.
We have 2 clients connected from source system to our Test BI box.strange thing is we got one source system activated without any errors and for second
source system we are getting above mentioned error.
We have reviewed notes 339957 , 493422 but our BI fuctional team is not sure whether
those apply to our OLTP system , as one source system from same OLTP system got
successfully activated and source system for other client giving this issue .
Please help us out with this problem.
we are running on BI 7.0 platform and ECC 6.0 for source.
Regards,
Rrcheck the relevant profiles in We20 t code and also in sm59 if the remote connection with autorisation is sucssessfull, connection is ok otherwise you need to check th paramters.
hope this helps
regards
santosh -
Erro: "Error while creating table 'EDISEGMENT'"
Pessoal bom dia,
quando eu vou Ativar uma Regra de Transferência retona o seguinte erro:
Error while creating table 'EDISEGMENT'
não estou conseguindo desvendar o que pode ser isto, e a regra não ativa de jeito nenhum.
Alguém já passou pelo problema?Please post this in the Portuguese Forum...
Regards
Juan -
Error: "Error while creating table 'EDISEGMENT'"
Hi,
When I activate a Transfer Rule return the following error:
Error while creating table 'EDISEGMENT'
Someone has passed the problem?Bom dia Marques,
Na SAP Note 339957 tem o síntoma descrito por você.
Solução:
In the system where the error occurs (usually the OLTP), create and run the report RS_CHECK_TS_EDISEGMENT (with SENDING and RECEIVING LOGSYS as an entry).
Entretanto esta nota foi substituida pela SAP Note 493422, com bem mais detalhes e indica um programa Z
Atenciosamente,
Fernando Da Rós
PS: Fórum em português. -
Error while creating table 'EDISEGMENT' entry for Transfer Structures
Hi Guyz...
I've been facing a few issues regarding activation of transfer structures.
I'll explain the whole process...so it makes sense to you guys.
I've initially activated the Transfer Structures in BI Content for Master Data. Later on we faced some issues in the DEV server. So we had to transport all the objects and store them locally on a temporary location. When the BI DEV sever, was up and running, we transported all the objects back to the server.
Now while moving the objects back to the sever. We had an errors in the Master Data Request (Log- Method Execution). After going into the log...this is what I found.
Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DIVISION_TEXT'
Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DISTR_CHAN_TEXT'
Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0MATL_TYPE_TEXT'
Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALESORG_TEXT'
Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALES_GRP_TEXT'
I hope, I am clear here.
Any suggestions, guys...
Thanks,
Regards,
GHi,
Please check this link:
Error while creating table EDISEGMENT entry
Hope it helps.
Thanks and Regards,
MuraliManohar. -
Error while creating table 'EDISEGMENT' entry '/BIC/CIBD0BILBLK_DL_TEXT'
Hi All,
I am getting a error"Error while creating table 'EDISEGMENT' entry", when running the program RS_Transtru ActivateAll to activate the transfer rules as we had reconnected our source system,
we are on 2004s server and on SP level 17, I understand that this issue is created as the transfer rules are using IDOC as transfer method, and I Cannot manually change the transfer method to PSA and activate as the number of transfer rules with this issue are huge in number.
Please suggest the suitable solution
Thank you in advance
krishna
Edited by: krishna dvs on Feb 17, 2009 1:24 PMHi,
Please check the note 493422. The reports listed in the note
should correct the inconsistencies and afterwards you can re-import the
request and it should then work.
Regards,
Srikanth -
Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'
Hi experts,
when I import my transport request to QA, I am getting this error
"Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'"
the performance assistance reads as below..
Message no. EA201
Diagnosis
An attempt was made to create the entry '/BIC/CIWA0TRZONE_TEXT' in table 'EDISEGMENT'. The attempt failed.
System response
The operation was canceled.
Procedure
Please check whether the relevant entry already exists
I have an entry for '/BIC/CIWA0TRZONE_TEXT' in the table 'EDISEGMENT' do need to delete it before importing the transport. How to delete this entry, I donot see the options in SE11 /SE16..
thanks in advance
D BretHi,
can you please be more precise with your enquiry?
As far as I read the note, it is quite explanatory....
What is your source system release?
You'll need to implement this prog in your source system and execute it there.
If everything works and is fine, import to program in your QA/PROD source systems and rexecute it as specified in the note...
does it answer your question
Olivier. -
Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'
When I am activating the transfer rules of 0divison_text giving me the error
Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'
Message no. EA201
Diagnosis
An attempt was made to create the entry '/BIC/CIBB0DISTR_CHAN_TEXT' in table 'EDISEGMENT'. The attempt failed.
System Response
The operation was canceled.
Procedure
Please check whether the relevant entry already exists.
I have checked the note 493422 but I did not understand it can any one help me in this
I am working on 7.o with SP SAPKW70010Hi Priya,
Delete entries for the data source in ROOSGEN, EDISEGMENT and EDSAPPL tables, both on ECC and BI sides.
Try activating the infosource again. This should solve your problem.
Sasi -
Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'
Hello,
I get the error message:
"Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'"
when trying to activate my inactive transfer structure for 0CLASS_NUM_TEXT..
Many other transfer structures work fine, but this one is really problematic.
Has anyone seen it before? What do i do to solve it?
Regards,
F CHi,
Please check the note 493422. The reports listed in the note
should correct the inconsistencies and afterwards you can re-import the
request and it should then work.
Regards,
Srikanth -
Hi,
I am getting an error while creating a table,
create table cs_temp_xml_data as select rowid RW_ID, value(d).getClobVal() xml_value FROM cs_tmp_wcl_xml_data p,table(xmlsequence(extract(p.xml_data,'/records/record'))) d ;
Here cs_tmp_wcl_xml_data contains a data of 600 mb in oracle directory
ORA-04030: out of process memory when trying to allocate 4000 bytes (qmxlu subheap,qmemNextBuf:alloc)
Can anyone help me out regarding this error?check out metalink doc: 543239.996
also bug 3436395. -
Error while creating table from csv file
I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea?I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea? -
Getting error while creating table from one database to other.
Hi,
We are getting below error while creating the table from one database to other.
SQL> create table fnd_lobs parallel compress as select * from [email protected];
create table fnd_lobs parallel compress as select * from [email protected]
ERROR at line 1:
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
Regards,
Bhatiahi
what are the apps version local and remote database???
Snapshot too old errors occur because Oracle can 't reconstruct a consistent
image of a block for the purposes of a consistent read.
I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
increase roll back segments size and select again then
the following metalink notes might be helpful
ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1
Maybe you are looking for
-
Outlook 2010 and 2013 are unable to connect but OWA (and mail routing) works fine
Hi- Not sure why but this past Sunday (just after DST adjustment) outlook clients (using 2010 and 2013) were unable to connect to an Exchange 2013 server. OWA and mail routing (internal and external) is working fine. I've even tried on multiple mac
-
Hi Experts, I have a very big report (pivot table) and the column names for that report goes off the screen while scrolling down to see the bellow reports. Now the business requirement is can we freeze the column names similar to Excel?? Is there any
-
FM for create Business partner.
hii, i have the following code to create business partner. when i execute the code and enter the required data it gets executes successfully but i cannot see the created bp or partner-group or bp role in tcode bp. <removed by moderator> Moderator mes
-
Is there Optimize Importer Function?
eg. in intellij IDEA, i write " Map hmap=new HashMap();",and there is an useless import in my file "import java.util.ArrayList". this ide can auto add"import java.util.Map;import java.util.HashMap;"to this file and delete "import java.util.ArrayList"
-
OSD: Some application cannot be installed
Some application cannot be installed during OSD, but all the application had passed the testing in software center Checked the AppDiscovery.log found that as below, what problem is it? Thanks Installed Application: Entering ExecQueryAsync for query "