TABLE, PACKAGE, USER가 DROP되지 않을 때의 조치 방법(ORA-1000)

제품 : ORACLE SERVER
작성날짜 : 2004-11-09
TABLE, PACKAGE, USER가 DROP되지 않을 때의 조치 방법(ORA-1000)
============================================================
다음 자료는 dropping an object (table, package, users) 시에
ora-1000 또는 internal error 가 발생하며 drop 되지 않을 때의 조치
방법입니다.
internal 자료로서 엔지니어가 직접 알려주는 것이 좋다고 remark 되어 있는
자료입니다.
요약>
drop package 시에 ora-1000 은 다음 자료 처럼 drop 하려는 object 와
dependency 는 남아있지만 invalid object(no interdependant objects
즉, children which are also parents) 가 존재할 때 발생합니다.
따라서, drop 하려는 object 의 dependency 를 조회하여 invalid object
와의 dependency 를 dependency$ 에서 지워줍니다.
주의!>
다음 작업을 수행 도중 dependency$ 의 row 를 삭제하기 전에는 반드시 cold
backup 을 해 주십시오.
<table, package, user 를 drop 할 때 Ora-1000(ORA-604) 이 발생하는 문제 조치
방법 >
Object 를 drop 할 때 ORA-1000 과 같은 에러가 발생하여, open_cursors
를 1000 이상으로 늘여도 계속 에러가 발생할 때는 다음과 같이 원인을
찾아 제거 합니다.
1. drop 하려는 object 의 parent dependency 를 찾는다.
svrmgr> connect internal;
select lpad(' ',2*(level-1))||p_obj#,d_obj#
from sys.dependency$
where p_obj#=(select a.obj# from sys.obj$ a, sys.user$ b
where a.owner#=b.user#
and a.name='PROCEDURE1' and b.name='SCOTT')
connect by prior d_obj#=p_obj#;
2. drop 하려는 object 의 child dependency 를 찾는다.
select lpad(' ',2*(level-1))||p_obj#,d_obj#
from dependency$
where d_obj#=(select a.obj# from obj$ a, user$ b
where a.owner#=b.user#
and a.name='PROCEDURE1' and b.name='SCOTT')
connect by prior p_obj#=d_obj#;
3. 위에서 조회된 모든 object 가 dba_objects 에 존재하지 않거나 status 가
invalid 인 것을 찾는다.
select * from dba_objects where object_id=xxx;
4. 1 의 조회 결과와 2 의 조회 결과에 의해 동시에 발견된 object id 가
있는지 확인한다.
5. 위의 3 의 조회 결과 object 가 존재하지 않거나 invalid 인 것 ,
4 의 결과 동시에 발견된 object id 가 있다면 cold backup 을 먼저 받아둔다
6. valid 한 backup 이 있다면, sys user 로 접속하여 이들 row 를 다음과 같이
delete 한다.
다음을 먼저 select 한 다음, valid 한 backup 이 있는지 확인한 다음
delete 해야 한다.
즉, 두개의 object 가 서로를 의존하고 있는 것이므로, 두개의 row 를 삭제한다.
다른 row 가 delete 되지 않도록 먼저 query 해 본다.
예) procedure (contact) -> package (dbwww) 그리고 package (dbwww) ->
procedure (contact) 인 경우
1)select * from dependency$
where d_obj#=(select object_id from dba_objects
where owner='....'
and object_type='PROCEDURE'
and object_name='CONTACT')
and p_obj#=(select object_id from dba_objects
where owner='....'
and object_type='PACKAGE;
and object_name='DBWWW')
and d_owner#=(select user_id from dba_users
where username='...');
2)select * from dependency$
where d_obj#=(select object_id from dba_objects
where owner='....'
and object_type='PACKAGE'
and object_name='DBWWW')
and p_obj#=(select object_id from dba_objects
where owner='....'
and object_type='PROCEDURE';
and object_name='CONTACT')
and d_owner#=(select user_id from dba_users
where username='...');
3) alter system flush shared_pool;
4) delete from dependency$
where 위의 1),2) 같음;

Similar Messages

  • Drop Table, User, Drop * ORA-00604: error occurred at recursive SQL level 1

    Greetingss,
    Installed 11.2.0.1 several months ago and upgraded to 11.2.0.2 a month ago without issues. However prior to upgrade I was able to drop schema objects. Since upgrade I do not recall specifically dropping any objects. However, now trying to drop a few objects and discovered all drops attempted are failing, i.e. tables, packages, users, function, views, directories, etc. Create or Replace and Alter all appear to still work.
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    5 rows selected.
    SQL> connect sys as sysdba
    Connected.
    SQL> create user drop_test identified by drop_test account unlock;
    User created.
    SQL> alter user drop_test default tablespace users;
    User altered.
    SQL> grant connect, resource, dba to drop_test;
    Grant succeeded.
    SQL> connect drop_test/drop_test
    Connected.
    SQL> create table a (a number);
    Table created.
    SQL> create view av as select * from a;
    View created.
    SQL> create function ac return number as
    2 result number;
    3 begin
    4 select count (*) into result from a;
    5 return result;
    6 end;
    7 /
    Function created.
    SQL> insert into a values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select ac from dual;
    AC
    1
    1 row selected.
    SQL> select * from av;
    Enter
    A
    1
    1 row selected.
    SQL> drop function ac;
    drop function ac
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop view av;
    drop view av
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop table a;
    drop table a
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> connect sys as sysdba
    Connected.
    SQL> drop function drop_test.ac;
    drop function drop_test.ac
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop view drop_test.av;
    drop view drop_test.av
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop table drop_test.a;
    drop table drop_test.a
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop user drop_test;
    drop user drop_test
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> drop user drop_test cascade;
    drop user drop_test cascade
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06550: line 3, column 83:
    PLS-00302: component 'DBMS_XDBZ' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    SQL> get /x92
    1 select owner, object_name, object_type, status
    2 from dba_objects
    3* where object_name = 'DBMS_XDBZ'
    SQL> /
    OWNER OBJECT_NAME OBJECT_TYPE STATUS
    PUBLIC DBMS_XDBZ SYNONYM VALID
    XDB DBMS_XDBZ PACKAGE VALID
    XDB DBMS_XDBZ PACKAGE BODY VALID
    3 rows selected.
    SQL> @invalid
    no rows selected
    SQL> l
    1 select
    2 owner c1,
    3 object_type c3,
    4 object_name c2
    5 from
    6 dba_objects
    7 where
    8 status != 'VALID'
    9 order by
    10 owner,
    11 object_type
    12*
    Advanced appreciation for any assistence provided.
    best Regards

    Greetings,
    Yes I do use XDB and Application Express. I can also create and delete resources in XDB repository without issue.
    SQL> select schema_url from dba_xml_schemas;
    Enter
    SCHEMA_URL
    http://xmlns.oracle.com/xdb/acl.xsd
    http://xmlns.oracle.com/xdb/dav.xsd
    http://xmlns.oracle.com/xdb/XDBResConfig.xsd
    http://xmlns.oracle.com/xdb/XDBStandard.xsd
    http://xmlns.oracle.com/xdb/log/xdblog.xsd
    http://xmlns.oracle.com/xdb/log/ftplog.xsd
    http://xmlns.oracle.com/xdb/log/httplog.xsd
    http://www.w3.org/2001/xml.xsd
    http://xmlns.oracle.com/xdb/xmltr.xsd
    http://xmlns.oracle.com/xdb/XDBFolderListing.xsd
    http://www.w3.org/1999/xlink.xsd
    http://www.w3.org/1999/csx.xlink.xsd
    http://www.w3.org/2001/XInclude.xsd
    http://www.w3.org/2001/csx.XInclude.xsd
    http://xmlns.oracle.com/xdb/stats.xsd
    http://xmlns.oracle.com/xs/roleset.xsd
    http://xmlns.oracle.com/xs/securityclass.xsd
    http://xmlns.oracle.com/rlmgr/rclsprop.xsd
    http://xmlns.oracle.com/rlmgr/rulecond.xsd
    http://xmlns.oracle.com/ord/meta/dicomImage
    http://xmlns.oracle.com/xdb/xdbconfig.xsd
    http://xmlns.oracle.com/streams/schemas/lcr/streamslcr.xsd
    http://xmlns.oracle.com/xs/dataSecurity.xsd
    http://xmlns.oracle.com/xs/aclids.xsd
    http://xmlns.oracle.com/xs/principal.xsd
    http://xmlns.oracle.com/xdb/XDBSchema.xsd
    http://xmlns.oracle.com/xdb/XDBResource.xsd
    http://www.w3.org/2001/csx.xml.xsd
    http://xmlns.oracle.com/xdb/csx.xmltr.xsd
    http://xmlns.oracle.com/ord/dicom/datatype_1_0
    http://xmlns.oracle.com/ord/dicom/orddicom_1_0
    http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
    http://xmlns.oracle.com/ord/meta/iptc
    http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
    http://xmlns.oracle.com/ord/meta/xmp
    http://xmlns.oracle.com/ord/dicom/anonymity_1_0
    http://xmlns.oracle.com/ord/dicom/constraint_1_0
    http://xmlns.oracle.com/ord/dicom/metadata_1_0
    http://xmlns.oracle.com/ord/dicom/mapping_1_0
    http://xmlns.oracle.com/ord/dicom/preference_1_0
    http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
    http://xmlns.oracle.com/ord/meta/exif
    http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
    http://xmlns.oracle.com/ord/meta/ordimage
    http://www.opengis.net/gml/geometry.xsd
    http://www.opengis.net/gml/feature.xsd
    demo_customer_t.xsd
    http://xmlns.oracle.com/spatial/georaster/georaster.xsd
    http://localhost:8080/source/schemas/poSource/xsd/purchaseOrder.xsd
    http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
    http://xmlns.oracle.com/ord/dicom/attributeTag_1_0
    http://xmlns.oracle.com/ord/dicom/manifest_1_0
    http://www.w3.org/1999/xlink/xlinks.xsd
    53 rows selected.
    SQL>
    I will have to review the notes provided via the links. I hope that there is a solution available that is in alternative to re-installing XDB.
    Best Regards
    Edited by: RealDitto on Aug 24, 2011 10:40 AM

  • Temp Tables space problem with ORA-01114 and  ORA-27072:

    RDBMS :Oracle:9.2.0
    OS: Linux AS3
    Storage: SAND arrray (RAID 5)
    Problem on exeuting dml statement
    SQL> select * from myview ;
    select * from myview
    ERROR at line 1:
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    With Regards
    Joy

    Hello joy,
    So, still looking for solution. I suggest you a sloution and it works well only if as you mentioned (in your previous post) that file causing error is temp file. So, get rid of this better you create new temporary table space and drop old one and then delete the old files manually.
    But this will work only for Temp Tablespace not for normal tablespaces and datafiles. Prepare new temporary tablespace at different location from the previous one, try to make it on different disk beacuse it may be due to corruption of physical medium too.
    Try this. If it works... you are through... otherwise i have no other options...
    Please update.....

  • Ora-1000 max openCursor exceeded

    Hi,
    i have a question about the ora-1000.
    My prog is a "C"-coded Programm. Which is connected to the
    database. After few days the Ora-message ora-1000 will be shown
    in the tracefile.
    The Parameter Max open Cursor is meanwhile set 1000.
    Knows anyone the Problem with 8.1.7 DB.
    We have also the online-backup and the Journaling set on.
    I tried to generate the same fault with a test prog but it was
    not possible with test- Tables. I had the same effect only with
    the Production Tables.
    bestv regards

    Make sure that u close all the cursors that u open in the
    program. Most of the time that is the biggest culprit.
    Ketan.

  • Using PreparedStatement and the Oracle Error ORA-1000

    Hi,
    I have a question about PreparedStatement objects that is not so simple to explain for me. What I would like to know is: if I use a PreparedStatement following traditional and generic steps:
    1- PreparedStatement pStmt = Connection.prepareStatement(sQuery);
    2- pStmt.setXXX(i,j);
    n - pStmt.setXXX(i,j);
    n+1 - ResultSet rs = pStmt.executeQuery();
    n+2 - while(rs.next()){ ... retrive ResultSet data  ... }
    n+3 - rs.close()
    n+4 - back to point number 2
    and at the end (as you can see in the point numbered n+4), instead of closing the PreparedStatement pStmt using the close() method, I reuse the PreparedStatement pStmt comeing back to the point numebr 2 and setting again all its parameters with new values ... then ... what heppens in the Oracle database ? Has been the cursor (so the mamory area), associated to my PreparedStatement object pStmt, duplicated or is it the same ?
    I know that Java allows you to do this kind of operations with PreparedStatement, and I know that in tha Java Documentation is explained to follow this strategy to optimize the execution time because in this way the same PreparedStatement is precompiled and prepared only once. But if I do a for loop following the steps explained before, after many iterations I have the error "ORA-1000: maximum open cursors exceeded". This error is the reason of my question. Does this error means that it's mandatory to close a PreparedStatement always, otherwise if you reuse it without closing it then the corresponding database cursor will be duplicated ? If it is so, then I think this is a contradiction with official java documentation ...
    I'm using Oracle8i (version 8.1.7) and Oracle JDBC Thin Driver (Windows NT) for use with JDK 1.2.x. Moreover, in my database istance the parameter "maximum open cursor" is equal to 800 ...
    Thank you very much for suggestions :-)

    There is no need to close a prepared statement or its resultset for every iteration.
    After the first iteration in a loop, all subsequent executions of it will close the previous resultset. By adding close() method, you are making one extra costly call to the DB for no reason.
    Following is the sample code.I know what you are saying. In fact at the beginning I wrote my code in the same way of your sample (see the code of my first post at the begin of this page).
    But doing so, after thousand iterations of the loop, I had "Oracle Error ORA-1000 : maximun open cursor exeeded" even if in my database istance the parameter "maximum open cursor" is equal to 8000.
    At this moment in my code, for each iteration, I close the PreparedStatement and in this way I don't have anymore the error :-((
    So it seems that only in theory we can reuse a preparedStatement without closing it. In fact if we see the oracle system table "$open_cursor" (as Konrad Pietzka suggest me) we can find that, for each interation,
    at our line code "rs = pstmt.executeQuery();" correspond a new cursor in the database: this means that for each method "pstmt.executeQuery()" the database open a new cursor and do not use the previous one as it should.
    I posted a question two months ago to search if someone had the same problem (it seems that Konrad Pietzka had the same situation) and was able to explain me what is the cause.
    The only reason I found by myself for this problem, is that probably the Oracle JDBC Thin Driver for Windows NT/2000 has some bugs... but I'm not sure ...
    Thank you very much for you time !!
    bye :-))
    Fidalma

  • How to find tables which has more than 1000 Partitions

    Hi All,
    Is there any other way to find out the tables which has more than 1000 Partitions ?
    Apart from SAP report RSDD_MSSQL_CUBEANALYZE. Because this report is not working for me as job getting cancel again and again with ABAP dump DBIF_DSQL2_SQL.I already check SAP Note 1309838, but itu2019s not applicable for us because we are on highest support package level SAP_BW 701 SP06.
    Thanks,
    Harshal

    If you are running SQL Server as your database platform run this query:
    select o.object_id,o.name,p.Partition_count from sys.objects o
    inner join
    (select object_id,count(distinct partition_number) as Partition_count
    from sys.partitions
    group by object_id)
    p
    on o.object_id = p.object_id
    where o.type = 'U'
    order by p.Partition_count desc

  • What Tables or Views for ORA- errors?

    What are those tables or views where you can lookup for the ORA- errors which has a description or meaning?
    Thanks,
    Warren

    Of course, you can always use the SQLERRM function, as well:
    SQL> begin
      2    for i in 1..100 loop
      3      dbms_output.put_line(SQLERRM(i * -1));
      4    end loop;
      5  end;
      6  /
    ORA-00001: unique constraint (.) violated
    ORA-00002: Message 2 not found;  product=RDBMS; facility=ORA
    ORA-00003: Message 3 not found;  product=RDBMS; facility=ORA
    ORA-00004: Message 4 not found;  product=RDBMS; facility=ORA
    ORA-00005: Message 5 not found;  product=RDBMS; facility=ORA
    ORA-00006: Message 6 not found;  product=RDBMS; facility=ORA
    ORA-00007: Message 7 not found;  product=RDBMS; facility=ORA
    ORA-00008: Message 8 not found;  product=RDBMS; facility=ORA
    ORA-00009: Message 9 not found;  product=RDBMS; facility=ORA
    ORA-00010: Message 10 not found;  product=RDBMS; facility=ORA
    ORA-00011: Message 11 not found;  product=RDBMS; facility=ORA
    ORA-00012: Message 12 not found;  product=RDBMS; facility=ORA
    ORA-00013: Message 13 not found;  product=RDBMS; facility=ORA
    ORA-00014: Message 14 not found;  product=RDBMS; facility=ORA
    ORA-00015: Message 15 not found;  product=RDBMS; facility=ORA
    ORA-00016: Message 16 not found;  product=RDBMS; facility=ORA
    ORA-00017: session requested to set trace event
    ORA-00018: maximum number of sessions exceeded
    ORA-00019: maximum number of session licenses exceeded
    ORA-00020: maximum number of processes () exceeded
    ORA-00021: session attached to some other process; cannot switch session
    ORA-00022: invalid session ID; access denied
    ORA-00023: session references process private memory; cannot detach session
    ORA-00024: logins from more than one process not allowed in single-process mode
    ORA-00025: failed to allocate
    ORA-00026: missing or invalid session ID
    ORA-00027: cannot kill current session
    ORA-00028: your session has been killed
    ORA-00029: session is not a user session
    ORA-00030: User session ID does not exist.
    ORA-00031: session marked for kill
    ORA-00032: invalid session migration password
    ORA-00033: current session has empty migration password
    ORA-00034: cannot  in current PL/SQL session
    ORA-00035: LICENSE_MAX_USERS cannot be less than current number of users
    ORA-00036: maximum number of recursive SQL levels () exceeded
    ORA-00037: cannot switch to a session belonging to a different server group
    ORA-00038: Cannot create session: server group belongs to another user
    ORA-00039: Message 39 not found;  product=RDBMS; facility=ORA
    ORA-00040: Message 40 not found;  product=RDBMS; facility=ORA
    ORA-00041: Message 41 not found;  product=RDBMS; facility=ORA
    ORA-00042: Message 42 not found;  product=RDBMS; facility=ORA
    ORA-00043: Message 43 not found;  product=RDBMS; facility=ORA
    ORA-00044: Message 44 not found;  product=RDBMS; facility=ORA
    ORA-00045: Message 45 not found;  product=RDBMS; facility=ORA
    ORA-00046: Message 46 not found;  product=RDBMS; facility=ORA
    ORA-00047: Message 47 not found;  product=RDBMS; facility=ORA
    ORA-00048: Message 48 not found;  product=RDBMS; facility=ORA
    ORA-00049: Message 49 not found;  product=RDBMS; facility=ORA
    ORA-00050: operating system error occurred while obtaining an enqueue
    ORA-00051: timeout occurred while waiting for a resource
    ORA-00052: maximum number of enqueue resources () exceeded
    ORA-00053: maximum number of enqueues exceeded
    ORA-00054: resource busy and acquire with NOWAIT specified
    ORA-00055: maximum number of DML locks exceeded
    ORA-00056: DDL lock on object '.' is already held in an incompatible mode
    ORA-00057: maximum number of temporary table locks exceeded
    ORA-00058: DB_BLOCK_SIZE must be  to mount this database (not )
    ORA-00059: maximum number of DB_FILES exceeded
    ORA-00060: deadlock detected while waiting for resource
    ORA-00061: another instance has a different DML_LOCKS setting
    ORA-00062: DML full-table lock cannot be acquired; DML_LOCKS is 0
    ORA-00063: maximum number of LOG_FILES exceeded
    ORA-00064: object is too large to allocate on this O/S (,)
    ORA-00065: initialization of FIXED_DATE failed
    ORA-00066: LOG_FILES is  but needs to be  to be compatible
    ORA-00067: invalid value  for parameter ; must be at least
    ORA-00068: invalid value  for parameter , must be between  and
    ORA-00069: cannot acquire lock -- table locks disabled for
    ORA-00070: command  is not valid
    ORA-00071: process number must be between 1 and
    ORA-00072: process "" is not active
    ORA-00073: command  takes between  and  argument(s)
    ORA-00074: no process has been specified
    ORA-00075: process "" not found in this instance
    ORA-00076: dump  not found
    ORA-00077: dump  is not valid
    ORA-00078: cannot dump variables by name
    ORA-00079: variable  not found
    ORA-00080: invalid global area specified by level
    ORA-00081: address range [, ) is not readable
    ORA-00082: memory size of  is not in valid set of [1], [2], [4]
    ORA-00083: warning: possibly corrupt SGA mapped
    ORA-00084: global area must be PGA, SGA, or UGA
    ORA-00085: current call does not exist
    ORA-00086: user call does not exist
    ORA-00087: command cannot be executed on remote instance
    ORA-00088: command cannot be executed by shared server
    ORA-00089: invalid instance number in ORADEBUG command
    ORA-00090: failed to allocate memory for cluster database ORADEBUG command
    ORA-00091: LARGE_POOL_SIZE must be at least
    ORA-00092: LARGE_POOL_SIZE must be greater than LARGE_POOL_MIN_ALLOC
    ORA-00093:  must be between  and
    ORA-00094:  requires an integer value
    ORA-00095: Message 95 not found;  product=RDBMS; facility=ORA
    ORA-00096: invalid value  for parameter , must be from among
    ORA-00097: use of Oracle SQL feature not in SQL92  Level
    ORA-00098: Message 98 not found;  product=RDBMS; facility=ORA
    ORA-00099: timed out while waiting for resource, potential PDML deadlock
    ORA-00100: no data found
    PL/SQL procedure successfully completed

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • In which table deleted user information is stored

    Hi all,
    I have made one user ZTEST in sap through SU01. Its details has been stored in USR01 .
    When i deleted this user than the details of this user has been deleted from the tables USR01.
    After deletion on which table deleted user information is stored.
    Any BAPI is available which sgives the deleted table list .
    Thanks & regards

    Hi
    You can get current database status using the following BAPIs-
    BAPI_USER_EXISTENCE_CHECK
    BAPI_USER_GETLIST
    BAPI_USER_GET_DETAIL
    Also check the report RPUAUD00 in which you can find out new infotype creation/modification etc.
    Regards

  • Table for User Parameter IDs

    Hi All,
    Does anyone know the Table for User Parameter IDs?
    Thanks in Advance

    Hi Duke,
    USR01                          User master record (runtime data)
    USR02                          Logon data
    USR03                          User address data
    USR04                          User master authorizations
    USR05                          User Master Parameter ID      
    Regards,
    Ashok

  • ORA-1000 OCCI C++ urgent

    Hello
    I have a problem
    I have an Environemnt in which I execute x times a stored PL/SQL procedure
    Environment *env = Environment::createEnvironment();
              Connection *conn = env->createConnection(uzytkownik->zwroc_login(),uzytkownik->zwroc_haslo());
    for (int x=0,x<10000;x++)
    Statement *stmt = conn->createStatement();
              stmt->setSQL("begin execute_my_procedure;end;");
              stmt->executeQuery();
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    I have an error ORA-1000
    what to do??
    when I in for loop create an environment , call my procedure and terminate environment everything works fine, but it's not effective becauese every time I connet to database and disconenct
    please help
    Marcin
    [email protected]

    In the loop, you need to terminate the statement and free the cursor on the server. Please add inside in the loop :-
    conn->terminateStatement(stmt);
    Ofcourse, if you are planning to execute the same SQL repeatedly, you can just execute the already created Statement and not create/prepare a new Statement.
    Thanks,

  • In which table deleted user list is stored

    Hi all,
    I have made one user ZTEST in sap through SU01. Its details has been stored in USR01 .
    When i deleted this user than the details of this user has been deleted from the tables USR01.
    After deletion on which table deleted user information is stored.
    Any BAPI is available which sgives the deleted table list .
    Thanks & regards

    Hi Lolo,
    There is no table available in SAP to view the deleted user information. But you can connect to SQL & see the deleted user information.
    I think the command " SQL>show recyclebin;" will show you the deleted user information.
    Regards,
    Mahesh Gattu

  • Invalid table name "USERS" specified at position 21

    hi i'm getting this error when i try to execute sql statement like this:
    * @jc:sql statement="SELECT username FROM users WHERE username = {user}"
    public String checkLogin(String user) throws SQLException;
    and using it:
    try {
    String answer = shop.checkLogin(message1);
    } catch(SQLException ex) {
    ex.printStackTrace();
    the full exception is here:
    java.sql.SQLException: Invalid table name "USERS" specified at position 21.
    at com.pointbase.net.netJDBCPrimitives.handleResponse(Ljava.io.DataInput
    Stream;)V(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Ljava.io
    .DataInputStream;)I(Unknown Source)
    at com.pointbase.net.netJDBCConnection.prepareStatement(Ljava.lang.Strin
    g;)Ljava.sql.PreparedStatement;(Unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ZLjava.lang
    .String;II)Ljava.sql.Statement;(ConnectionEnv.java:1190)
    at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ZLjava
    .lang.String;II)Ljava.lang.Object;(ConnectionEnv.java:932)
    at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ZLjava
    .lang.String;)Ljava.lang.Object;(ConnectionEnv.java:920)
    at weblogic.jdbc.wrapper.Connection.prepareStatement(Ljava.lang.String;)
    Ljava.sql.PreparedStatement;(Connection.java:359)
    at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(Ljava.lang.Strin
    g;)Ljava.sql.PreparedStatement;(JTSConnection.java:544)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getStatement_v2(
    Ljava.lang.reflect.Method;[Ljava.lang.Object;ZLjava.lang.String;)Ljava.sql.Prepa
    redStatement;(DatabaseControlImpl.jcs:1676)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.invoke(Ljava.lan
    g.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(DatabaseControlImpl.jcs:
    2567)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Obje
    ct;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:377)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object
    ;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.O
    bject;)Ljava.lang.Object;(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.
    java:396)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Inv
    ocable.java:248)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.ru
    ntime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(J
    csContainer.java:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.w
    lw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResu
    lt;(BaseContainerBean.java:224)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(Lcom.bea.wlw.r
    untime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(
    SLSBContainerBean.java:103)
    at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;
    (StatelessContainer_ly05hg_ELOImpl.java:45)
    at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(Ljava.lang.O
    bject;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispa
    tcher.InvokeResult;(GenericStatelessSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(B
    aseDispatcherBean.java:153)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDi
    spatcherBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDi
    spatcherBean.java:168)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Lco
    m.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Respon
    se;(SyncDispatcher_k1mrl8_EOImpl.java:46)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Lcom.be
    a.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request
    ;)Lcom.bea.wlw.runtime.core.request.Response;(Dispatcher.java:161)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Ljava.lang.Object;(ServiceHandleImpl.java:436
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(Lcom.bea.wlw
    .runtime.core.request.ExecRequest;)Ljava.lang.Object;(WlwProxyImpl.java:326)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(Ljava.lang.Ob
    ject;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwProxyIm
    pl.java:315)
    at $Proxy16.sprawdzLogin(Ljava.lang.String;)Ljava.lang.String;(Unknown S
    ource)
    at shop.ShopController.Login(Lshop.ShopController$LoginForm;)Lcom.bea.wl
    w.netui.pageflow.Forward;(ShopController.jpf:111)
    at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.
    lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.l
    ang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
    Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    can someone tell me why is this happening, i'm getting this error even though mysql server is shut down
    thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Is the users table is in pointbase db or sql server, in the exception it looks like it is looking up in pointbase db for users table. check you connection @jc:connection data-source-jndi-name of your database control.

  • Table contain user name and tcode

    Dear Experts,
    Can you tell me which Table contained user name and tcode field?
    Thanks and Best regards,
    wilson

    You need to be even more carefull with parameter transactions.
    If SU24 is not maintained for them, PFCG will pull the proposals from the core transaction (via which the parameters are used in the skip screen feature...). If the core transaction has authority proposals for S_TCODE, then you will get those tcodes and their proposals as well.
    A carefull choice of menu objects (not only limited to Tcodes), taking heed of SU24 defaults and tuning it to meet your needs is the key. But it requires organizational discipline and good training, otherwise rather dont use it for anything other than important objects which you want to control manually only, even if your business roles are a mess.
    You can also restrict the authorizations of the security admins for example (as unpopular as that may sound... to segregate authorization concept development (SU24 etc), role building development (PFCG etc) and user administration (SU01 etc). Object S_USER_TCD also has a field called TCD...
    There are also other objects (as Dipanjan has pointed out) which have TCD as a field of an object which is not S_TCODE. In addition to I_TCODE, Q_TCODE, P_TCODE, see also S_IDOCMONI for example.
    To be honest I have given up on trying to find them all
    The easiest solution is to use the menu and maintain SU24 when the transaction is configured or the application is developed and tested. That is what SAP does as well in SU22. It is more work upfront, but more sustainable in the long run.
    If your users (and auditors) only see the menu (and use the SUIM --> Executable transactions) options, then you can get away with it in the short or even medium term. Latest when someone else need to maintain the roles they will hate it...
    My 2 cents,
    Julius

  • Tables containing user details.

    Hi,
    Which table can I use to view all the users available on the SAP system and their details e.g. Username, user's contact details and etc.
    Regards,
    Thandi

    plz check the table:USR03.
    Also,you get the Mail-ID in table ADDSMTP
    plz chk this link:
    Table for user details.

Maybe you are looking for

  • PROBLEM with nokia X3

    Hi, I hav a nokia x3 mobile, if i do restore all,one of the number in my call list is not getting deleted. I don't know y? If v do restore all,everything should be deleted,but in my mobile, one of the number is not getting deleted,even if I try to de

  • Get IDoc-number from flat IDoc using dynamic configuration

    Dear experts In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF: DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants

  • Firefox download does not start, even after multiple reloads.

    On a Windows 7 laptop (HP) that's a year and a half old, Firefox refuses to download, despite multiple refreshes of the website. This CAN'T be the only time this has ever happened in the whole history of the internet. I know, I was there when mozilla

  • How do i trim an audio file on iphone 5 with 8.0.2

    how do i trim an audio file on iphone 5 with 8.0.2

  • Recent software updates causes blue screen

    I installed Leopard last week and it's been working just fine. Last night the software update application upadted 5 apps - iTunes, Quicktime, Keychain, and a couple others I can't remember. Since the update I havn't been able to login and use my syst