Problem
Administrator is trying to run the staging table script. Therefore, administrator launches Oracle SQL Plus, and runs a script similar to the following:
declare xx number; begin — Call the function xx := schemaname.usp_triggerimportbatchjobs(‘IMP’,’#ST_EXTDIM1′,’1′,»,’ADM’,1,to_date(’01-NOV-2007′)); end;
However, Oracle SQL Plus retuns an error.
Symptom
declare
*
ERROR at line 1:
ORA-20001: -1060
ORA-05512: at «schemaname.usp_triggerimportbatchjobs», line 217
ORA-06512: at line 5
Cause
The column ‘BATCH_ID’ inside table ‘XSTAGEDIM1’ incorrectly already has its Batch ID filled in.
- In other words, the entry is not blank (which it expects it to be).
Diagnosing The Problem
Oracle error code ‘ORA-20001’ means that there is an application-specific error code to come.
- TIP: For more details on this, see separate IBM Technote #1347672.
In this case, the relating Controller-specific code/meaning is:
- -1060 = No rows were updated in staging table, possibly wrong importid was sent in
Resolving The Problem
Delete the entries inside BATCH_ID and re-run.
Steps:
NOTE: Before proceeding, backup the Controller database (e.g. use EXP to create a DMP file) as a precaution
- Launch «Oracle Enterprise Manager Console» (Standalone)
- Locate and open Controller database
- Locate and open Controller schema (user) — for example «ControllerLive»
- Locate table ‘XSTAGEDIM1’
- Right-click on ‘XSTAGEDIM1’ and choose ‘View/Edit Contents’
- Notice that there is a column called ‘BATCH_ID’. If the rows beneath this column name are filled in (for example with ’35’) then it means that a BATCH_ID number has already been assigned.
- Delete the numbers inside this column
- Test by re-running the script.
Related Information
[{«Product»:{«code»:»SS9S6B»,»label»:»IBM Cognos Controller»},»Business Unit»:{«code»:»BU059″,»label»:»IBM Software w/o TPS»},»Component»:»Controller»,»Platform»:[{«code»:»PF033″,»label»:»Windows»}],»Version»:»8.3″,»Edition»:»»,»Line of Business»:{«code»:»LOB10″,»label»:»Data and AI»}}]
Historical Number
1039666
July 16, 2019
MSSQL
During the 12c database creation process , you can see ORA-20001 error in the alert log file when the “SYS.ORA $ AT_OS_OPT_SY_ <NN>” auto job runs. To fix the error, it is necessary to drop the job and recreate it. Errors will be as follows.
|
ORA—12012: error on auto execute of job «SYS».«ORA$AT_OS_OPT_SY_72» ORA—20001: Statistics Advisor: Invalid task name for the current user ORA—06512: at «SYS.DBMS_STATS», line 47207 ORA—06512: at «SYS.DBMS_STATS_ADVISOR», line 882 ORA—06512: at «SYS.DBMS_STATS_INTERNAL», line 20059 ORA—06512: at «SYS.DBMS_STATS_INTERNAL», line 22201 ORA—06512: at «SYS.DBMS_STATS», line 47197 |
First of all, it is necessary to ensure that the tasks are created correctly with the following command.
|
SQL> EXEC dbms_stats.init_package(); PL/SQL procedure successfully completed. |
Afterwards, it is necessary to identify the owner of the job with the following query.
|
SQL> select name, ctime, how_created,OWNER_NAME from sys.wri$_adv_tasks where name in (‘AUTO_STATS_ADVISOR_TASK’,‘INDIVIDUAL_STATS_ADVISOR_TASK’); |
If you see an output like the one below, you should connect with SYS. If the job owner is a different user, you should connect with that user.
|
NAME CTIME HOW_CREATED —————————————————— ————————— ——————————————— OWNER_NAME ———————————————————————————————————————————————————————————— AUTO_STATS_ADVISOR_TASK 13—OCT—18 CMD SYS INDIVIDUAL_STATS_ADVISOR_TASK 13—OCT—18 CMD SYS |
In this case, you should connect with sys via sqlplus and drop and recreate the tasks correctly.
Drop operations can be done as follows.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
SQL> DECLARE v_tname VARCHAR2(32767); BEGIN v_tname := ‘AUTO_STATS_ADVISOR_TASK’; DBMS_STATS.DROP_ADVISOR_TASK(v_tname); END; / PL/SQL procedure successfully completed. SQL> DECLARE v_tname VARCHAR2(32767); BEGIN v_tname := ‘INDIVIDUAL_STATS_ADVISOR_TASK’; DBMS_STATS.DROP_ADVISOR_TASK(v_tname); END; / PL/SQL procedure successfully completed. |
It should then be re-created as follows.
|
SQL> EXEC DBMS_STATS.INIT_PACKAGE(); PL/SQL procedure successfully completed. |
Then there will be no errors in the alert.log file.

I’m trying to create a library system (school work) using oracle 10g but i got stuck in creating the simple APEX report and form, the error message says:
ORA-20001: Unable to create modules. ORA-20001: Create pages error.
ORA-20001: Unable to create form page. ORA-20001: Error page=8
item=»P8_BRANCHID» id=»» ORA-20001: Error page=8 item=»P8_BRANCHID»
id=»» has same name as existing application-level item. ORA-0000:
normal, successful completionUnable to create application.
This is my schema, in case I did something wrong:
create table publisher(
PublisherName varchar2(30) not null,
Address varchar2(30) not null,
Phone number(20),
constraint publisher_pk primary key (PublisherName)
);
create table book(
BookId number(4) not null,
Title varchar2(50) not null,
PublisherName varchar2(30) not null,
constraint book_pk primary key (BookId),
constraint book_fk foreign key (PublisherName)
references publisher (PublisherName)
);
create table bookauthors(
BookId number(4) not null,
AuthorName varchar2(30) not null,
constraint bookauthors_pk primary key (BookId,AuthorName),
constraint bookauthors_fk foreign key (BookId) references book (BookId)
);
create table librarybranch(
BranchId number(4) not null,
BranchName varchar2(30) not null,
Address varchar2(30) not null,
constraint librarybranch_pk primary key (BranchId)
);
create table borrower(
CardNo number(4) not null,
BName varchar2(30) not null,
Address varchar2(30) not null,
Phone number(20) not null,
constraint borrower_pk primary key (CardNo)
);
create table bookcopies(
BookId number(4) not null,
BranchId number(4) not null,
No_Of_Copies number(4) not null,
constraint bookcopies_pk primary key (BookId,BranchId),
constraint bookcopies_fk foreign key (BookId) references book (BookId),
constraint bookcopies2_fk foreign key (BranchId) references librarybranch (BranchId)
);
create table bookloans(
BookId number(4) not null,
BranchId number(4) not null,
CardNo number(4) not null,
DateOut date,
DueDate date,
constraint bookloans_pk primary key (BookId,BranchId,CardNo),
constraint bookloans_fk foreign key (BookId) references book (BookId),
constraint bookloans2_fk foreign key (BranchId) references librarybranch (BranchId),
constraint bookloans3_fk foreign key (CardNo) references borrower (CardNo)
);
Thanks.
While 12.2 database is being started by srvctl, the alert log shows following messages,
Unable to obtain current patch information due to error: 20001, ORA-20001: Latest xml inventory is not loaded into table
ORA-06512: at «SYS.DBMS_QOPATCH», line 777
ORA-06512: at «SYS.DBMS_QOPATCH», line 864
ORA-06512: at «SYS.DBMS_QOPATCH», line 2222
ORA-06512: at «SYS.DBMS_QOPATCH», line 740
ORA-06512: at «SYS.DBMS_QOPATCH», line 2247
===========================================================
Dumping current patch information
===========================================================
Unable to obtain current patch information due to error: 20001
===========================================================
DBMS_QOPATCH is introduced by 12.1 database as a cool new feature ‘Queryable OPatch’. It is implemented with a PL/SQL package (DBMS_QOPATCH) and a set of tables and directories. In order to understand what the errors really are, let’s do some details research,
system@orcl> select * from dba_directories where directory_name like ‘OPATCH%’;
OWNER DIRECTORY_NAME DIRECTORY_PATH ORIGIN_CON_ID
——- ——————— ————————————————— ————-
SYS OPATCH_INST_DIR /u01/app/oracle/product/12.2.0/dbhome_1/OPatch 0
SYS OPATCH_SCRIPT_DIR /u01/app/oracle/product/12.2.0/dbhome_1/QOpatch 0
SYS OPATCH_LOG_DIR /u01/app/oracle/product/12.2.0/dbhome_1/rdbms/log 0
system@orcl> exit
[oracle@host01]$ ls -lrt /u01/app/oracle/product/12.2.0/dbhome_1/rdbms/log
-rw-r—— 1 oracle osasm 120 Feb 9 17:07 qopatch.log
-rw-r—r— 1 oracle osasm 144227 Feb 10 17:32 qopatch_log.log
[oracle@host01]$
It should be a good guess to start from looking into the log file qopatch_log.log which modification time is very close to the time when errors was reported in alert log,
LOG file opened at 02/10/18 17:32:22
KUP-05007: Warning: Intra source concurrency disabled because the preprocessor option is being used.
Field Definitions for table OPATCH_XML_INV
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Reject rows with all null fields
Fields in Data Source:
XML_INVENTORY CHAR (100000000)
Terminated by «UIJSVTBOEIZBEFFQBL»
Trim whitespace same as SQL Loader
KUP-04095: preprocessor command /u01/app/oracle/product/12.2.0/dbhome_1/QOpatch/qopiprep.bat encountered error
«/u01/app/oracle/product/12.2.0/dbhome_1/QOpatch/qopiprep.bat[55]: /u01/app/oracle/product/12.2.0/dbhome_1/rdbms/log/stout_orcl.txt: cannot create [Permission de«
The database starting got ORA-20001 while accessing external table OPATCH_XML_INV which has
preprocessor command ‘$ORACLE_HOME/QOpatch/qopiprep.bat’. The table definition is,
system@orcl> select owner,table_name from dba_external_tables where table_name=’OPATCH_XML_INV’;
OWNER TABLE_NAME
———- ———————
SYS OPATCH_XML_INV
system@orcl> select dbms_metadata.get_ddl(‘TABLE’,’OPATCH_XML_INV‘,’SYS‘) from dual;
DBMS_METADATA.GET_DDL(‘TABLE’,’OPATCH_XML_INV’,’SYS’)
———————————————————————————
CREATE TABLE «SYS».»OPATCH_XML_INV» SHARING=METADATA
( «XML_INVENTORY» CLOB
)
ORGANIZATION EXTERNAL
( TYPE ORACLE_LOADER
DEFAULT DIRECTORY «OPATCH_SCRIPT_DIR»
ACCESS PARAMETERS
( RECORDS DELIMITED BY NEWLINE CHARACTERSET UTF8
DISABLE_DIRECTORY_LINK_CHECK
READSIZE 8388608
preprocessor opatch_script_dir:’qopiprep.bat’
BADFILE opatch_script_dir:’qopatch_bad.bad’
LOGFILE opatch_log_dir:’qopatch_log.log’
FIELDS TERMINATED BY ‘UIJSVTBOEIZBEFFQBL’
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
(
xml_inventory CHAR(100000000)
)
)
LOCATION
( «OPATCH_SCRIPT_DIR»:’qopiprep.bat’
)
)
REJECT LIMIT UNLIMITED
system@orcl>
File ‘qopatch_log.log’ is defined as log file of the external table, and will be generated by external table utility while table ‘OPATCH_XML_INV’ is accessed.
According to the table’s definition, PREPROCESSOR-specified command (script file) ‘qopiprep.bat’ will convert ‘raw’ data to records of the table before the table is accessible. That’s why execution error of script ‘qopiprep.bat’ is found in log ‘qopatch_log.log’. The log shows file ‘stout_orcl.txt’ cannot be created while line 55 of the script is being executed, the script code looks as following,
54 rm -rf $ORABASE/rdbms/log/xml_file_$DBSID.xml
55 $ORACLE_HOME/OPatch/opatch lsinventory -xml $ORABASE/rdbms/log/xml_file_$DBSID.xml
-retry 0 -invPtrLoc $ORACLE_HOME/oraInst.loc >> $ORABASE/rdbms/log/stout_$DBSID.txt
56 cat $ORABASE/rdbms/log/xml_file_$DBSID.xml | sed ‘s/^ *//’ | tr ‘n’ ‘ ‘
57 echo «UIJSVTBOEIZBEFFQBL»
58 rm $ORABASE/rdbms/log/xml_file_$DBSID.xml
59 rm $ORABASE/rdbms/log/stout_$DBSID.txt
Check the log directory $ORABASE/rdbms/log (here $ORABASE is same as $ORACLE_HOME) permission,
[oracle@host01]$ ls -ld $ORACLE_HOME/rdbms/log
drwxr-xr-x 3 oracle oinstall 14 Feb 10 18:36 /u01/app/oracle/product/12.2.0/dbhome_1/rdbms/log
[oracle@host01]$ id -a
uid=504(oracle) gid=512(oinstall) groups=512(oinstall),513(dba),515(asmdba),519(osasm),520(osdba)
[oracle@host01]$ ls -ld $ORACLE_HOME
drwxr-xr-x 77 oracle oinstall 81 Feb 10 19:22 /u01/app/oracle/product/12.2.0/dbhome_1
The database home owner ‘oracle’ is also the owner of the log directory, and both ‘sqlplus’ and’srvctl’ are executed by ‘oracle’ to start database, all read/write privilges should be inherited from user ‘oracle’ who has full control on the log directory. However, it is only true for sqlplus but not for srvctl.
IS srvctl accessing the external table as user other than oracle? Try to prove it by adding touch command to the script,
54 rm -rf $ORABASE/rdbms/log/xml_file_$DBSID.xml
55 touch /tmp/stout_$DBSID.test
56 $ORACLE_HOME/OPatch/opatch lsinventory -xml $ORABASE/rdbms/log/xml_file_$DBSID.xml -retry 0 -invPtrLoc $ORACLE_HOME/oraInst.loc >> $ORABASE/rdbms/log/stout_$DBSID.txt
57 cat $ORABASE/rdbms/log/xml_file_$DBSID.xml | sed ‘s/^ *//’ | tr ‘n’ ‘ ‘
58 echo «UIJSVTBOEIZBEFFQBL»
Try to start database with sqlplus and srvctl respectively,
[oracle@host01]$ . oraenv
ORACLE_SID = [orcl] ? orcl
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@host01]$ ls -l /tmp/stout*.test
/tmp/stout*.test: No such file or directory
[oracle@host01]$ sqlplus / as sysdba
<<message truncated>>
SQL> startup
ORACLE instance started.
<<message truncated>>
Database opened.
SQL> exit
[oracle@host01]$ ls -l /tmp/stout*.test
-rw-r—r— 1 oracle oinstall 0 Feb 10 20:10 /tmp/stout_orcl.test
[oracle@host01]$
[oracle@host01]$ rm /tmp/stout_orcl.test
rm: remove /tmp/stout_orcl.test (yes/no)? yes
[oracle@host01]$ srvctl stop database -db orcl
[oracle@host01]$ srvctl start database -db orcl
[oracle@host01]$ ls -l /tmp/stout*.test
-rw-r—r— 1 grid oinstall 0 Feb 10 20:13 /tmp/stout_orcl.test
See, the external table (running script qopiprep.bat) is accessed as grid while srvctl is run, but oracle while sqlplus. Here, grid is the owner of standalone Grid Infrastructure (Oracle Restart) home. What if the external table is accessed directely from sqlplus?
[oracle@host01]$ ls -l /tmp/stout*.test
/tmp/stout*.test: No such file or directory
[oracle@host01]$
[oracle@host01]$ sqlplus system/oracle
<<message truncated>>
SQL> select count(*) from SYS.OPATCH_XML_INV;
COUNT(*)
———-
1
SQL> exit
[oracle@host01]$ ls -l /tmp/stout*.test
-rw-r—r— 1 oracle oinstall 0 Feb 10 20:39 /tmp/stout_orcl.test
[oracle@host01]$ rm /tmp/stout_orcl.test
rm: remove /tmp/stout_orcl.test (yes/no)? yes
[oracle@host01]$ sqlplus system/oracle@host01/orcl
<<message truncated>>
SQL> select count(*) from SYS.OPATCH_XML_INV;
select count(*) from SYS.OPATCH_XML_INV
*
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-29400: data cartridge error
KUP-04095: preprocessor command
/u01/app/oracle/product/12.2.0/dbhome_1/QOpatch/qopiprep.bat encountered error
«/u01/app/oracle/product/12.2.0/dbhome_1/QOpatch/qopiprep.bat[56]:
/u01/app/oracle/product/12.2.0/dbhome_1/rdbms/log/stout_orcl.txt: cannot create
[Permission de»
SQL> exit
[oracle@host01]$
[oracle@host01]$ ls -l /tmp/stout*.test
-rw-r—r— 1 grid oinstall 0 Feb 10 20:41 /tmp/stout_orcl.test
Apparently, it succeeded when logged onto database locally (bypass listener), and failed while remotely (going through listener. And the listener is running out of Oracle Restart home whose owner
is grid,
[oracle@host01]$ ps -ef | grep tnslsnr
grid 1887 1 0 Jan 11 ? 19:54 /u01/app/12.2.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit
oracle 64664 36089 0 20:56:12 pts/3 0:00 grep tnslsnr
Although it, sometimes, made sense in previous version (10g? 11g?), it does not happen in 12.1. Therefore, it should be treated as bug :(.
As a temporary workaround, write permission can be granted to group of the log directory as grid is member of oinstall,
[oracle@magnum]$ id -a grid
uid=506(grid) gid=512(oinstall) groups=512(oinstall),514(asmadmin),515(asmdba),516(asmoper),519(osasm),520(osdba),513(dba)
[oracle@host01]$ cd $ORACLE_HOME/rdbms
[oracle@host01]$ ls -ld log
drwxr-xr-x 3 oracle oinstall 16 Feb 10 20:39 log
[oracle@host01]$ chmod g+w log
[oracle@host01]$ ls -ld log
drwxrwxr-x 3 oracle oinstall 16 Feb 10 20:39 log
cause: Due to invalid constraints on sys schema,dbms utility couldnot recompile with dependent objects
SQL> select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
181
SQL> exec dbms_utility.compile_schema('SYS');
BEGIN dbms_utility.compile_schema('SYS'); END;
*
ERROR at line 1:
ORA-20001: Cannot recompile SYS objects
ORA-06512: at "SYS.DBMS_UTILITY", line 387
ORA-06512: at line 1
Workaround: utlrp script can be used to validate the objects!!
SQL> @?/rdbms/admin/utlrp
TIMESTAMP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN 2020-12-18 14:24:13
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
PL/SQL procedure successfully completed.
TIMESTAMP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END 2020-12-18 14:24:32
DOC> The following query reports the number of objects that have compiled
DOC> with errors.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
-------------------
0
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERRORS DURING RECOMPILATION
---------------------------
0
Function created.
PL/SQL procedure successfully completed.
Function dropped.
...(14:24:56) Starting validate_apex for APEX_190200
...(14:24:57) Checking missing sys privileges
...(14:24:57) Re-generating APEX_190200.wwv_flow_db_version
... wwv_flow_db_version is up to date
...(14:24:57) Key object existence check
...(14:24:58) Setting DBMS Registry for APEX to valid
...(14:24:58) Exiting validate_apex
PL/SQL procedure successfully completed.
Desire and obsessive to learn !
Generic technology enthusiast who have dynamic experience in database and other technologies. I have persistence to learn any niche skills faster.
Served multiple DBA roles in fortune 500 companies to proactively prevent unexpected failure events.
Inclined to take risks,face challenging situations and embrace fear!
***I would like to share my thoughts and ideas to this world !***
View all posts by kishan
Содержание
- Payroll Reconciliation Summary, Errors: ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context TAX_UNIT_ID to be set (Doc ID 2208930.1)
- Applies to:
- Symptoms
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
- ORA-20001, ORA-06512 Error When Reconsider Application for an Employee Applicant who has a Future Dated Termination (Doc ID 1315340.1)
- Applies to:
- Symptoms
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
- ORA-20001 Seen When Running Datapatch due to Incorrect Dpload.sql Script (Doc ID 2468073.1)
- Applies to:
- Symptoms
- Changes
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
- Error «ORA-20001: FLEX-CONTEXT NOT FOUND: N, VALUE, , N, DFF, PER_ADDRESSES» using Create Person Address API (Doc ID 2524368.1)
- Applies to:
- Symptoms
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
- ORA-20001, ORA-1446 Happens When Try to Select ROWID Using UNION ALLгЂЂ (Doc ID 2323557.1)
- Applies to:
- Cause
- To view full details, sign in with your My Oracle Support account.
- Don’t have a My Oracle Support account? Click to get started!
Payroll Reconciliation Summary, Errors: ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context TAX_UNIT_ID to be set (Doc ID 2208930.1)
Last updated on OCTOBER 01, 2020
Applies to:
Symptoms
On Production: 12.1.3 version, Australian Payroll
When attempting to Run Payroll Reconciliation Summary , the following error occurs.
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
1. Login to XX Payroll Manager and navigate to View > Submit Request
2. Submit the Payroll Rec Summary Report
3. Navigate to view > assignment process results and an error occurs
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us |
|
|
| Legal Notices | Terms of Use
Источник
ORA-20001, ORA-06512 Error When Reconsider Application for an Employee Applicant who has a Future Dated Termination (Doc ID 1315340.1)
Last updated on DECEMBER 09, 2022
Applies to:
Symptoms
When attempting to reverse terminate an application for an employee applicant who has a future dated termination, the following error occurs:
Exception Details.
oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20001:
ORA-06512: at «APPS.HR_ASSIGNMENT_API», line 607
ORA-06512: at line 1
at
oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAExce
ption.java:996)
at
oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at
oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
at
oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAAppli
cationModuleImpl.java:761)
## Detail 0 ##
java.sql.SQLException: ORA-20001:
ORA-06512: at «APPS.HR_ASSIGNMENT_API», line 607
ORA-06512: at line 1
STEPS
————————
The issue can be reproduced at will with the following steps:
1. Login to the application and select US HRMS Manager responsibility.
2. Query for an employee and terminate on a future date (for example, terminate1 year after the system date).
3. Launch the employee site visitor page and login as the above employee as mentioned in step 2.
4. Search for a job and apply for that job.
5. Login as the recruiter of the above vacancy in which the employee applicant has applied.
6. Navigate to the vacancy tab and search for the above vacancy.
7. Navigate to the View Applicants for the vacancy page.
8. Click on the employee applicant name and navigate to the Candidate Profile — Applications tab.
9. Change the status of the Application to «Terminate Application.»
10. Save the record.
11. After the employee applicant is successfully terminated, recruiter tries to reconsider the application. Navigate to the vacancy View Applicants page, check the Rejected Applicants checkbox and click on GO button. This will return the above employee applicant who has been terminated.
12. Select the applicant record and click on Reconsider Application button.
Go through the steps and while submitting the transaction, the application shows an error message.
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us |
|
|
| Legal Notices | Terms of Use
Источник
ORA-20001 Seen When Running Datapatch due to Incorrect Dpload.sql Script (Doc ID 2468073.1)
Last updated on SEPTEMBER 04, 2022
Applies to:
Symptoms
When applying or rolling back a patch that contains a faulty version of dpload.sql, various unexpected results or errors may occur, especially in a CDB environment.
The ORA-20001 error is one possibility but there might be other manifestations, not all of which can be predicted.
There are cases when a Database Bundle Patch or PSU has a correct dpload.sql in the apply path, but in the rollback files, it has an incorrect dpload.sql script which contains the improper connect statement:
utl_file.put_line(h, ‘connect sys/
The following error is reported when running datapatch because the improper version of the dpload file is getting called when the patch is applied or rolled back:
Changes
Three cases are identified where datapatch fails to run:
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us |
|
|
| Legal Notices | Terms of Use
Источник
Error «ORA-20001: FLEX-CONTEXT NOT FOUND: N, VALUE, , N, DFF, PER_ADDRESSES» using Create Person Address API (Doc ID 2524368.1)
Last updated on DECEMBER 03, 2019
Applies to:
Symptoms
When trying to create address using the API «hr_person_address_api.create_person_address» , following error appears
The issue can be reproduced at will with the following steps:
1. Log in to SQL Developer
2. Try to execute the API «hr_person_address_api.create_person_address» and got the above error message
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us |
|
|
| Legal Notices | Terms of Use
Источник
ORA-20001, ORA-1446 Happens When Try to Select ROWID Using UNION ALLгЂЂ (Doc ID 2323557.1)
Last updated on FEBRUARY 03, 2022
Applies to:
When executed, the following error occurred.
ORA-20001: get_dbms_sql_cursor error ORA-1446: cannot select ROWID from, or
sample, a view with DISTINCT, GROUP BY, etc.
Steps to Reproduce with a SAMPLE table
From the application:
1. Create page
2. Select the report and press the Next button
3. Select interactive report and press next button
4. Leave the default value and press the Next button
5. Leave the default value (do not use tab), press the next button
6. In the input column of the SQL SELECT statement, write the SELECT statement as described previously, and press the next button.
e.g using table TABLE_A
SELECT ROWID, FROM WHERE = ’10’
UNION ALL
SELECT ROWID, FROM WHERE = ’30’
7. When running above page, the error occurs:
ORA-20001: get_dbms_sql_cursor error ORA-1446: cannot select ROWID from, or
sample, a view with DISTINCT, GROUP BY, etc.
Cause
To view full details, sign in with your My Oracle Support account.
Don’t have a My Oracle Support account? Click to get started!
In this Document
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. пїЅ Oracle | Contact and Chat | Support | Communities | Connect with us |
|
|
| Legal Notices | Terms of Use
Источник