Arp_process_adjustment.insert_adjustment exception: ORA-20001
Hi.
Using the api to create an adjustment to an invoice of AR , I encounter the following error. I do not get more data and not obtaining the information to solve the problem.
I would appreciate if someone had this problem , you can guide me to solve it.
greetings To You
Pl see if MOS Doc 341469.1 (Adjustment Entry: APP-AR-96027: Tax accounting not defined for the tax code or tax location assigned to this invoice) can help.
HTH
Srini
Similar Messages
-
I am getting this error message in AR Invoice Adjustment Process
APP-AR-11526: arp_process_adjustment.insert_adjustment exception: ORA-20001: APP-AR-96027 : Tax Accounting not defined for the tax code or tax location assigned to this invoice
Version 12.1.1
Please resolve ASAPPl see if MOS Doc 341469.1 (Adjustment Entry: APP-AR-96027: Tax accounting not defined for the tax code or tax location assigned to this invoice) can help.
HTH
Srini -
hello.
I hope someone can help. My script below takes record(s) from a temporary table and loads them into ORACLE Financials via several APIs but on initial testing (using 1 NEW Record) it fails with the error message:
Employee No: 00020206
ORACLE error occurred processing record.. ORA-20001: PAY_7599_SYS_SUP_DT_OUTDATE
Ive tried to google the error message but nothing - can someone either suggest what this may be or shsow me another way of getting a more precise reason for the problem?
/* Formatted on 2009/04/29 11:52 (Formatter Plus v4.8.7) */
SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
SET verify OFF
SET feedback OFF
DECLARE
-- Debugging/error handling
-- Work variables
l_employ_start_date DATE:= TO_DATE ('01-APR-1999', 'DD-MON-YYYY');
v_ora_loc_code number := 0;
p_emp_number VARCHAR2 (14);
v_rec_cnt NUMBER := 0;
insert_flag VARCHAR2 (8);
err_num NUMBER;
err_msg VARCHAR2 (150);
err_line VARCHAR2 (350);
err_seq NUMBER := 0;
l_validate BOOLEAN DEFAULT FALSE;
l_std_business_group_id NUMBER := '0';
l_default_code_comb_id NUMBER := '218048';
l_organization_id NUMBER := '0';
l_set_of_books_id NUMBER := '1';
l_job_id NUMBER := '10';
l_obj NUMBER;
l_datetrack_update_mode VARCHAR2 (30) := 'CORRECTION';
l_assignment_sequence NUMBER;
l_name_combination_warning BOOLEAN := FALSE;
l_assign_payroll_warning BOOLEAN := FALSE;
l_org_now_no_manager_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
l_spp_delete_warning BOOLEAN;
l_entries_changed_warning VARCHAR2 (30);
l_tax_district_changed_warning BOOLEAN;
l_person_id NUMBER;
l_assignment_id NUMBER;
l_assignment_id2 NUMBER; -- := '28262';
l_special_ceiling_step_id NUMBER;
l_per_effective_end_date DATE:= TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_people_group_id NUMBER;
l_group_name VARCHAR2 (30);
l_assignment_number VARCHAR2 (35);
l_effective_end_date DATE := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_date DATE := SYSDATE;
ip_p_address_id per_addresses.address_id%TYPE;
ip_p_object_version_number NUMBER;
ip_p_party_id per_addresses.party_id%TYPE;
l_per_object_version_number NUMBER;
l_asg_object_version_number NUMBER;
l_full_name VARCHAR2 (240);
l_per_comment_id NUMBER;
l_per_effective_start_date DATE;
l_concatenated_segments VARCHAR2 (240);
l_soft_coding_keyflex_id NUMBER;
l_comment_id NUMBER;
l_no_managers_warning BOOLEAN;
-- Get employee details info from work table
CURSOR get_employee_details
IS
SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
std_email_address, std_emp_status,
LPAD (std_employee_number, 8, '0') std_employee_number,
std_first_name, std_marital_status, std_middle_names,
std_nationality, std_title, std_national_identifier,
std_address_line1, std_address_line2, std_address_line3,
std_address_line4, std_post_code, std_telephone_1, std_country,
std_region, std_location_id, std_organization_id,
std_supervisor_id, std_person_id, std_position_id
FROM SU_TEMPLOYEE_DETAILS;
-- Get EXISTING employee details info from ORACLE tables
CURSOR get_existing_employee_details
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE
per.person_id = padd.person_id
-- AND paas.person_id(+) = per.person_id;
AND paas.person_id(+) = per.person_id;
-- checks employee details info from PER_ALL_PEOPLE_F table
CURSOR c_check_employee (p_emp_number VARCHAR2)
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE per.employee_number = p_emp_number
AND per.person_id = padd.person_id
AND paas.person_id(+) = per.person_id;
emp_rec c_check_employee%ROWTYPE;
-- Cursor retrieves latest Object Version Number from per_assignments_f table..
CURSOR csr_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
IS
SELECT MAX (paas.object_version_number)
FROM per_assignments_f paas, per_all_people_f per
WHERE paas.person_id = per.person_id
AND per.employee_number = paas.assignment_number
AND per.person_id = cp_person_id;
-- Cursor to get Oracle_Loc_Code from SU CHRIS vs ORACLE Locations Table into a variable..
CURSOR csr_ora_loc_code (cp_location_id IN SU_TEMPLOYEE_DETAILS.std_location_id%TYPE)
IS
SELECT sil.ORACLE_LOC_CODE
FROM SU_TEMPLOYEE_DETAILS std, SU_IEXP_LOCATIONS sil
WHERE std.STD_LOCATION_ID = sil.CHRIS_LOC_code
AND std.STD_LOCATION_ID = cp_location_id;
BEGIN
-- Process each record in the work table
FOR v_emp IN get_employee_details
LOOP
-- determine whether customer already exists
OPEN c_check_employee (v_emp.std_employee_number);
FETCH c_check_employee
INTO emp_rec;
l_assignment_id2 := emp_rec.assignment_id;
IF v_emp.std_emp_status = 'N' and c_check_employee%NOTFOUND
THEN
insert_flag := 'I';
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number);
ELSIF v_emp.std_emp_status = 'C'
THEN
-- if c_check_employee%NOTFOUND then raise no_data_found;
-- elsif l_assignment_id2 is null then
if l_assignment_id2 is null then
raise_application_error (-20010, 'Employee No: ' || v_emp.std_employee_number || ' exists but has no assignment id!');
end if;
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' already exists, making changes.. ' );
insert_flag := 'C';
-- RAISE_APPLICATION_ERROR (-20001, 'Employee No: ' || v_emp.std_employee_number || ' already exists ' );
END IF;
CLOSE c_check_employee;
-- Obtain the most recent Object Version Number..
OPEN csr_ovn (v_emp.std_person_id);
FETCH csr_ovn
INTO l_obj;
-- IF csr_ovn%NOTFOUND THEN RAISE NO_DATA_FOUND; END IF;
CLOSE csr_ovn;
-- Open Oracle Location Code cursor
OPEN csr_ora_loc_code(v_emp.std_location_id);
FETCH csr_ora_loc_code
INTO v_ora_loc_code;
CLOSE csr_ora_loc_code;
-- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
IF insert_flag = 'I'
THEN
-- -- Importing Employee Procedure --
Hr_Employee_Api.create_gb_employee
(p_validate => l_validate,
p_hire_date => l_employ_start_date,
p_business_group_id => l_std_business_group_id,
p_date_of_birth => v_emp.std_date_of_birth,
p_email_address => v_emp.std_email_address,
p_first_name => v_emp.std_first_name,
p_middle_names => v_emp.std_middle_names,
p_last_name => v_emp.std_last_name,
p_sex => v_emp.std_sex,
p_ni_number => v_emp.std_national_identifier,
p_employee_number => v_emp.std_employee_number,
p_person_id => l_person_id,
p_title => v_emp.std_title,
p_assignment_id => l_assignment_id,
p_per_object_version_number => l_per_object_version_number,
p_asg_object_version_number => l_asg_object_version_number,
p_per_effective_start_date => l_per_effective_start_date,
p_per_effective_end_date => l_per_effective_end_date,
p_full_name => l_full_name,
p_per_comment_id => l_per_comment_id,
p_assignment_sequence => l_assignment_sequence,
p_assignment_number => l_assignment_number,
p_name_combination_warning => l_name_combination_warning,
p_assign_payroll_warning => l_assign_payroll_warning
Hr_Person_Address_Api.create_person_address
(p_validate => l_validate,
-- p_effective_date => v_emp.std_hire_date,
p_effective_date => l_employ_start_date,
p_pradd_ovlapval_override => NULL,
p_validate_county => NULL,
p_person_id => l_person_id,
p_primary_flag => 'Y',
p_style => 'GB_GLB',
p_date_from => SYSDATE,
p_date_to => NULL,
p_address_type => NULL,
p_comments => NULL,
p_address_line1 => v_emp.std_address_line1,
p_address_line2 => v_emp.std_address_line2,
p_address_line3 => v_emp.std_address_line3,
p_town_or_city => v_emp.std_address_line4,
p_region_1 => NULL,
p_region_2 => NULL,
p_region_3 => NULL,
p_postal_code => v_emp.std_post_code,
p_country => v_emp.std_nationality,
p_telephone_number_1 => NULL,
p_telephone_number_2 => NULL,
p_telephone_number_3 => NULL,
p_party_id => ip_p_party_id,
p_address_id => ip_p_address_id,
p_object_version_number => l_obj
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => l_default_code_comb_id,
p_set_of_books_id => l_set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_organization_id => l_organization_id,
p_location_id => v_ora_loc_code,
p_job_id => l_job_id,
p_position_id => v_emp.std_position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => l_date,
--per_effective_start_date,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
-- Updating PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
ELSE IF insert_flag = 'C'
THEN
-- ===================================================
-- these next 6 lines is for the initial mass update of existing employee records only
-- ===================================================
/*IF emp_rec.default_code_comb_id is NULL THEN
l_default_code_comb_id = 218048;
END IF;
IF emp_rec.job_id is NULL THEN
l_job_id = 10;
END IF; */
-- =========
-- Section end
-- =========
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => emp_rec.default_code_comb_id,
p_set_of_books_id => emp_rec.set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_organization_id => emp_rec.organization_id,
p_location_id => v_ora_loc_code,
p_job_id => emp_rec.job_id,
p_position_id => emp_rec.position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => emp_rec.EFFECTIVE_START_DATE,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
DBMS_OUTPUT.PUT (CHR (10));
-- End of customer related details
END IF;
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
WHEN OTHERS
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
END;
EXIT;Many thanks
StevenIt looks like the Supervisor employee is not active for the duration of the Employee Record.
Using the correct Supervisor record should resolve the issue. -
Trying to implement a VPD policy but got the following error ORA-20001
hey good day,
I'm trying to implement a VPD policy to my application. After I have performed the below task (Label 1) in oracle 10g database. When I'm about to access my application page in ApEx 3.2.1 I got the following error
ORA-20001: get_dbms_sql_cursor error ORA-28110: policy function or package CHARLES.VPD_PREDICATE has error
any form of assistance will be greatly appreciated.
thanks in advance
Label 1
USER is "VPD_ADMIN"
SQL> create or replace context empnum_ctx using set_empnum_ctx_pkg;
Context created.
SQL> CREATE OR REPLACE PACKAGE set_empnum_ctx_pkg IS
2 PROCEDURE set_empnum;
3 END;
4 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY set_empnum_ctx_pkg IS
2 PROCEDURE set_empnum IS
3 emp_id NUMBER;
4 BEGIN
5 SELECT EMPNUM INTO emp_id FROM CHARLES.INSTRUCTOR
6 WHERE upper(username) = nvl(v('APP_USER'), USER);
7 DBMS_SESSION.SET_CONTEXT('empnum_ctx', 'empnum', emp_id);
8
9 EXCEPTION
10 WHEN NO_DATA_FOUND THEN NULL;
11 END;
12 END;
13 /
Package body created.
SQL> create or replace package vpd_policy as
2 function vpd_predicate(object_schema in varchar2 default null, object_name in varchar2 default null)
3 return varchar2;
4 end;
5 /
Package created.
SQL> create or replace package body vpd_policy as function vpd_predicate(
2 object_schema in varchar2 default null, object_name in varchar2 default null)
3 return varchar2 as
4
5 BEGIN
6 if (USER = 'ADMIN') and (v('APP_USER') is null) or
7 (USER = 'MICHAEL.GRAY') and (v('APP_USER') is NULL) then
8 return '';
9 else
10 return '(
11 exists (
12 select "INSTRUCTOR"."EMPNUM" as "EMPNUM",
13 "INSTRUCTOR"."FIRSTNAME" as "FIRSTNAME",
14 "INSTRUCTOR"."LASTNAME" as "LASTNAME",
15 "LOAD"."COURSEID" as "COURSEID",
16 "COURSE"."CREDIT" as "CREDIT",
17 "COURSE"."HPW" as "HPW",
18 "LOAD"."CAMPID" as "CAMPID",
19 "LOAD"."YR" as "YR",
20 "INSTRUCTOR"."POS" as "POS",
21 "INSTRUCTOR"."USERNAME" as "USERNAME",
22 "INSTRUCTOR"."DEPARTMENT_NAME" as "DEPARTMENT_NAME",
23 "LOAD"."SEMESTER" as "SEMESTER"
24 from "COURSE" "COURSE",
25 "INSTRUCTOR" "INSTRUCTOR",
26 "LOAD" "LOAD"
27 where "INSTRUCTOR"."EMPNUM"="LOAD"."EMPNUM"
28 and "LOAD"."COURSEID"="COURSE"."COURSEID"
29 and department_name = (
30 select department_name from departments
31 where upper (assigned_to) = nvl(v(''APP_USER''),USER) )
32 )
33
34 or upper(username) = nvl(v(''APP_USER''), USER)
35 ) ';
36
37 END IF;
38 END vpd_predicate;
39 END vpd_policy;
40 /
Package body created.
SQL> begin
2 dbms_rls.add_policy(
3 object_schema => 'charles',
4 object_name => 'load',
5 policy_name => 'Loading Policy',
6 function_schema => 'charles',
7 policy_function => 'vpd_predicate',
8 statement_types => 'select, update, insert, delete');
9 end;
10 /
PL/SQL procedure successfully completed.ORA-20001 isn't an Oracle error message it was coded into your application by a developer: Look it up.
Consider too the following:
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;so if the employee identifier is not found ... is this really what you want? If an employee isn't valid shouldn't you know it? -
Running a Disciverer report gives the following error ORA-20001
While running one of the discoverer reports under a certain responsibility i got the following error
ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'. SQLCODE = -20001 SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.SET_ORG_ACCESS_INTERNAL, N, ERRNO, -25153, N, REASON, ORA-25153: Temporary Tables Location: http://batcrmt2.btc.com.bh:8075/discoverer4i/viewer?Connect=[APPS_SECURE]batcrm1_ebst&SessionCookieName=batcrm1_ebst&eul=EUL4_US&opendbid=PDC_LISTING_BY_CHEQUE_NUMBER&FrameDisplayStyle=separate&acf=222206780&NLS_LANG=AMERICAN_AMERICA&NLS_DATE_FORMAT=DD-MON-RRRR&NLS_NUMERIC_CHARACTERS=.%2C&NLS_DATE_LANGUAGE=AMERICAN&NLS_SORT=BINARY
running reports under different responsibilities does give any errors ,
Any suggestions why ?ORA-20001 isn't an Oracle error message it was coded into your application by a developer: Look it up.
Consider too the following:
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;so if the employee identifier is not found ... is this really what you want? If an employee isn't valid shouldn't you know it? -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Error in mru internal routine: ORA-20001: Error in MRU: row= 1
Hi I have a Multi-Row Report, where you can change the status in on column
Example:
7939 Jones (Manager/Clerk/President) ....
8000 SCOTT (Manager/Clerk/President)
I used a select list for the 3rd column.
If i Try to Update this report i get:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
current checksum = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
What can i do ?
Thanks
MarcoHi I have a Multi-Row Report, where you can change the status in on column
Example:
7939 Jones (Manager/Clerk/President) ....
8000 SCOTT (Manager/Clerk/President)
I used a select list for the 3rd column.
If i Try to Update this report i get:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
current checksum = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
What can i do ?
Thanks
Marco -
Hi All,
I have a issue major issue while running Pages from Jdeveloper. The pages are erroring out.
I guess it has something to do with Profile Options- MO: Operating Unit.
Its very urgent.Can anybody help.
Below is the ERROR STACK related to the same
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):23120,-1,-1,0,oracle.jdbc.driver.OracleConnection@9aba32; REASON = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
ORA-06512: at "APPS.FND_MESSAGE", line 498
ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
ORA-06512: at "APPS.FND_GLOBAL", line 1977
ORA-06512: at "APPS.FND_GLOBAL", line 2171
ORA-06512: at "APPS.FND_GLOBAL", line 2313
ORA-06512: at "APPS.FND_GLOBAL", line 2251
ORA-06512: at line 1
; ERRNO = 20001;
at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:988)
at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
ORA-06512: at "APPS.FND_MESSAGE", line 498
ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
ORA-06512: at "APPS.FND_GLOBAL", line 1977
ORA-06512: at "APPS.FND_GLOBAL", line 2171
ORA-06512: at "APPS.FND_GLOBAL", line 2313
ORA-06512: at "APPS.FND_GLOBAL", line 2251
ORA-06512: at line 1
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
ORA-06512: at "APPS.FND_MESSAGE", line 498
ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
ORA-06512: at "APPS.FND_GLOBAL", line 1977
ORA-06512: at "APPS.FND_GLOBAL", line 2171
ORA-06512: at "APPS.FND_GLOBAL", line 2313
ORA-06512: at "APPS.FND_GLOBAL", line 2251
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
ORA-06512: at "APPS.FND_MESSAGE", line 498
ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
ORA-06512: at "APPS.FND_GLOBAL", line 1977
ORA-06512: at "APPS.FND_GLOBAL", line 2171
ORA-06512: at "APPS.FND_GLOBAL", line 2313
ORA-06512: at "APPS.FND_GLOBAL", line 2251
ORA-06512: at line 1
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
ORA-06512: at "APPS.FND_MESSAGE", line 498
ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
ORA-06512: at "APPS.FND_GLOBAL", line 1977
ORA-06512: at "APPS.FND_GLOBAL", line 2171
ORA-06512: at "APPS.FND_GLOBAL", line 2313
ORA-06512: at "APPS.FND_GLOBAL", line 2251
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Thanks,
Sombit.Hi,
Can you please let me know where we can set the custom property MULTIORG_ENABLED in AM?Please see (Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]) -- Search for "MULTIORG_ENABLED".
Thanks,
Hussein -
AP Create Accounting - Error ORA-06512, XLA-95103, ORA-20001, ORA-20100
*Hello all you patient Oracle Champs - I know issues like this are floating around the forum and web but I still can't seem to fine a match.*
*> OA R12.1.3*
*> Orcale Database Server 11.2.0.2*
[010613_011550898][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-20001: -: XLA-95103: An internal error occurred.
Please inform your system administrator or support representative that:
An internal error has occurred in the program xla_create_acct_rpt_pvt.BeforeReport .
ORA-20001: -: XLA-95103: An internal error occurred.
Please inform your system administrator or support representative that:
An internal error has occurred in the program XLA_CREATE_ACCT_RPT_PVT.print_logfile.
ORA-20100: Error: FND_FILE failure. Unable to create file, o0104058.tmp in the directory, /usr/tm
ORA-06512: at "APPS.APP_EXCEPTION", line 72
*> Note the directory path cited: +/usr/tm+*
*> A later error:*
Oracle error 20100: java.sql.SQLException: ORA-20100: Error: FND_FILE failure.
Unable to create file, o0104058.tmp in the directory, /usr/tmp.
*> Note the directory: +/usr/tmp+*
SQL> show parameter utl_file_dir
utl_file_dir
string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
$ echo $APPLTMP
/Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
*> has read/write permissions (777)*
$ echo $APPLPTMP
/usr/tmp
*> has read/write permissions (777)*
*> There is plenty of space in /usr, /Develop_Appl*
*> Patch 10131305 already applied per note: 1392267.1*
*> SLA: Enable Diagnostics set to a null value (blank)*
*> the file o0104058.tmp does not exist in either $APPLTMP or $APPLPTMP (i.e. note 460643.1)*
*> I confirmed that note 749491.1 was not an issue*
*> note 261693.1 did not seem to apply*
*> note 148262.1 did not seem to apply*
I can provide the concurrent & FND debug output if needed.
Thank you all*
Zippy the PZippy242 wrote:
Hi Hussein,
checked 1252703.1 - it doesn't appear applicable:
SQL> show parameter utl_file_dir
utl_file_dir
string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
$ echo $APPLTMP
/Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
*> has read/write permissions (777)*
$ echo $APPLPTMP
/usr/tmp
*> has read/write permissions (777)*
checked 760614.1 - not the case:
no invalid XLA%
FUN_SEQ_BATCH both package and body are valid.
Please Advise
thanks,
ZipAre you running all the application/database services on one server or multiple ones?
Thanks,
Hussein -
Procedure Problem ORA-20000 / ORA-20001
Hello,
I have problems with the following procedure - in both cases the problem seems to be in line 115 (RAISE;):
CREATE OR REPLACE PROCEDURE EFWP."P_BUILD_VOP_ENVELOPE"(
paramPlanungId LONG,
paramEnvelopeWKTPolygon VARCHAR)
AS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
-- bereits bestehende alte Daten löschen
DELETE
FROM EFWP.TEFWP_VOP_PL T0
WHERE T0.PLANUNG_ID = paramPlanungId;
-- neue Daten erstellen
INSERT
INTO EFWP.TEFWP_VOP_PL
WID_ID,
OBJEKT,
GEMOESTAT,
WIDMUNG,
STAND,
EMASST,
BESCHTXT,
BEZEICHNG,
FESTLEGUNG,
FESTLEG02,
ZAEHLER,
ANZ_FRZTWS,
ANZ_BETTEN,
ANZ_RAEUME,
FL_KUNDEN,
FL_KUNDLM,
BETRIEBTYP,
SV_EBENE,
SV_EBENENR,
SV_KENN,
BEFRISTUNG,
CREATEUSER,
CREATETIMESTAMP,
UPDATEUSER,
UPDATETIMESTAMP,
EFWP_ID,
STATUS,
PLANUNG_ID,
SHAPE,
OBJECTID
SELECT FW.WID_ID,
FW.OBJEKT,
FW.GEMOESTAT,
FW.WIDMUNG,
FW.STAND,
FW.EMASST,
FW.BESCHTXT,
FW.BEZEICHNG,
FW.FESTLEGUNG,
FW.FESTLEG02,
FW.ZAEHLER,
FW.ANZ_FRZTWS,
FW.ANZ_BETTEN,
FW.ANZ_RAEUME,
FW.FL_KUNDEN,
FW.FL_KUNDLM,
FW.BETRIEBTYP,
FW.SV_EBENE,
FW.SV_EBENENR,
FW.SV_KENN,
FW.BEFRISTUNG,
FW.CREATEUSER,
FW.CREATETIMESTAMP,
FW.UPDATEUSER,
FW.UPDATETIMESTAMP,
FW.EFWP_ID,
FW.STATUS,
paramPlanungId,
SDE.ST_DIFFERENCE (FW.SHAPE, PB.SHAPE),
DBATOOLS.F_GET_NEXT_OBJECTID('EFWP', 'TEFWP_VOP_PL')
FROM
(SELECT T0.WID_ID,
T0.OBJEKT,
T0.GEMOESTAT,
T0.WIDMUNG,
T0.STAND,
T0.EMASST,
T0.BESCHTXT,
T0.BEZEICHNG,
T0.FESTLEGUNG,
T0.FESTLEG02,
T0.ZAEHLER,
T0.ANZ_FRZTWS,
T0.ANZ_BETTEN,
T0.ANZ_RAEUME,
T0.FL_KUNDEN,
T0.FL_KUNDLM,
T0.BETRIEBTYP,
T0.SV_EBENE,
T0.SV_EBENENR,
T0.SV_KENN,
T0.BEFRISTUNG,
T0.CREATEUSER,
T0.CREATETIMESTAMP,
T0.UPDATEUSER,
T0.UPDATETIMESTAMP,
T0.EFWP_ID,
T0.STATUS,
SDE.ST_INTERSECTION(SDE.ST_POLYGON( paramEnvelopeWKTPolygon , DBATOOLS.F_GET_SRID('EFWP', 'TEFWP_PL')), T0.SHAPE) AS SHAPE
FROM EFWP.TEFWP_PL T0
WHERE T0.STATUS = '1'
AND SDE.ST_INTERSECTS(T0.SHAPE, SDE.ST_POLYGON( paramEnvelopeWKTPolygon , DBATOOLS.F_GET_SRID('EFWP', 'TEFWP_PL'))) = 1
) FW,
EFWP.TEFPBER_PL PB
WHERE PB.PLANUNG_ID = paramPlanungId ;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
-- log_error( .... );
RAISE;
/* this is crucial, you MUST re-raise the exception */
END;
The problems:
1. CALL EFWP.P_BUILD_VOP_ENVELOPE(629,'POLYGON ((84162.4 238985.685, 84162.4 239479.37, 84616.79999999999 239479.37, 84616.79999999999 238985.685, 84162.4 238985.685))'); ==>
sqldeveloper: no problems
toad:
CALL EFWP.P_BUILD_VOP_ENVELOPE(629,'POLYGON ((84162.4 238985.685, 84162.4 239479.37, 84616.79999999999 239479.37, 84616.79999999999 238985.685, 84162.4 238985.685))')
Error at line 1
ORA-29903: Fehler bei der Ausführung von Routine ODCIIndexFetch()
ORA-20001: OCI-21500: Interner Fehlercode, Argumente: [17112], [0x001DEF178], [], [], [], [], [], []
ORA-06512: in "EFWP.P_BUILD_VOP_ENVELOPE", Zeile 115
2. call efwp.p_build_vop_envelope (1006, 'POLYGON ((84890.215 238977.38, 84890.215 239301.585, 85119.685 239301.585, 85119.685 238977.38, 84890.215 238977.38))' ); ==>
sqldeveloper:
call efwp.p_build_vop_envelope (1006, 'POLYGON ((84890.215 238977.38, 84890.215 239301.585, 85119.685 239301.585, 85119.685 238977.38, 84890.215 238977.38))' )
Fehlerbericht:
SQL-Fehler: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
ORA-20000: Failed to get OCI Memory
ORA-06512: in "EFWP.P_BUILD_VOP_ENVELOPE", Zeile 115
29902. 00000 - "error in executing ODCIIndexStart() routine"
*Cause: The execution of ODCIIndexStart routine caused an error.
*Action: Examine the error messages produced by the indextype code and
take appropriate action.
Any ideas? Thanks for your help!
Roland
toad: no problems ("Method called.")The problems are likely related to using the LONG data type.
Your code defines:
paramPlanungId Long;.. and then uses it as a bind variable:
WHERE T0.PLANUNG_ID = paramPlanungId;The LONG data type dates back to Oracle 7. Since Oracle 8, Oracle has specifically recommend NOT using it. In Oracle 11g, there is no relevant reasons to use it. Even legacy issues should have been addressed through versions 8 to 10g.
As TOAD and SQL-Developer do not support LONGs as bind variables, and as you are supplying the value as a number, implicit number to long conversion is likely happening. This could be part of the issue that triggers the exception.
Simple and recommended solution - remove the LONG data type from your tables and your code. -
ORA-20001:Error fetching column value:Query must begin with SELECT or WITH
Hi all,
I have implemented an application with a master-detail form using Apex 3.1.2 and I imported that to Apex 3.2 on different server. Everything else seems to be fine except when I add detail record (clicking on Add Rows), I am getting following error.
=================
report error:
ORA-20001: Error fetching column value: ORA-20001: Query must begin with SELECT or WITH
====================
Both the databases have same version 10gR2. I didn't make any change after importing it as well. Can someone let me know what could be the issue? Thanks in advance.
SHYMay we know your first name?
Can you put the application in your workspace on apex.oracle.com so we can take a look?
Scott -
I have an application made in devlopment which is working fine and i jsut migrated it to production but when i am running one of the page in the app in production it si throwing this error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small"... this report is ment for generating report.
Now what i have done, i compared both dev and prod environment but i have not found and changes except this one. In the page of both the application in dev and prod under shared component under under template the region of breadcrum and report region is showing in different position. i dont think it a problem because of that i am facing problem.
If anybody have idea how could i recitfy the prbs i will be highly thankful to you
Regards
Adifriends i have seen where the error is coming but i am unable to trace out how to increase the size of lov which i have made.
when i am taking display as select list(named lov) it is throwing me the error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small" but if i am taking display as "popup lov(named lov)" under tablular form element under one of the column in the report, it is working properly. but not shwoing the report the way we want it to show. For that reason i want to increase the size of the love which i have made. -
Getting error ORA-20001: This person does not have preferences for the sele
*) I got user_id by following query
SELECT USER_ID, USER_NAME, FND_USER.*
from FND_USER where user_name = '205174';
*) resource_id by following query:
select * from APPS.PA_PROJECT_ASSIGNMENTS where RESOURCE_ID in (select RESOURCE_ID from APPS.PA_RESOURCES_DENORM where PERSON_ID
in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ) ;
*) person_id by following query:
select * from APPS.PA_RESOURCES_DENORM where PERSON_ID in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ;
and
Hi,
When I am running following query to submit timesheet, getting following warning msg
anonymous block completed
ORA-20001: This person does not have preferences for the selected effective date
Following is query
set serveroutput on size 1000000
DECLARE
l_tbl_messages hxc_message_table_type;
l_message fnd_new_messages.message_text%type;
i pls_integer;
l_app_blocks hxc_block_table_type := hxc_block_table_type();
l_app_attributes hxc_self_service_time_deposit.app_attributes_info;
l_time_building_block_id number;
l_new_timecard_id number;
l_new_timecard_ovn number;
l_bb_id number;
l_resource_id hxc_time_building_blocks.resource_id%TYPE := 3595; -- XPCPAY
l_start_time hxc_time_building_blocks.start_time%TYPE := fnd_date.canonical_to_date('2011/10/17 00:00:00');
l_measure hxc_time_building_blocks.measure%TYPE := 1;
l_element_type_id varchar2(80) := 'ELEMENT - 50809'; -- Jury Duty
l_comment_text hxc_time_building_blocks.comment_text%TYPE := '';
l_deposit_process hxc_deposit_processes.NAME%TYPE := 'OTL Deposit Process';
l_retrieval_process varchar2(250) := 'BEE Retrieval Process';
BEGIN
fnd_global.apps_initialize ( user_id => 3850 -- XPCPAY
, resp_id => 3595 -- Self Service Time
, resp_appl_id => 809 -- HXC
hxc_timestore_deposit.create_time_entry ( p_measure => l_measure
, p_day => l_start_time
, p_resource_id => l_resource_id
, p_resource_type => 'PERSON'
, p_comment_text => l_comment_text
, p_deposit_process => l_deposit_process
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_time_building_block_id => l_bb_id
hxc_timestore_deposit.create_attribute ( p_building_block_id => l_bb_id
, p_attribute_name => 'Dummy Element Context'
, p_attribute_value => l_element_type_id
, p_deposit_process => l_deposit_process
, p_app_attributes => l_app_attributes
hxc_timestore_deposit.execute_deposit_process ( p_validate => TRUE
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_messages => l_tbl_messages
, p_mode => 'SUBMIT'
, p_deposit_process => l_deposit_process
, p_retrieval_process => l_retrieval_process
, p_timecard_id => l_new_timecard_id
, p_timecard_ovn => l_new_timecard_ovn
-- OUTPUT MESSAGES --
DBMS_OUTPUT.put_line ('l_new_timecard_id = ' || l_new_timecard_id);
DBMS_OUTPUT.put_line ('l_new_timecard_ovn = ' || l_new_timecard_ovn);
if (l_tbl_messages.COUNT <> 0) THEN
i := l_tbl_messages.FIRST;
LOOP
EXIT WHEN (NOT l_tbl_messages.EXISTS(i));
l_message := fnd_message.get_string ( appin => l_tbl_messages(i).application_short_name
, namein => l_tbl_messages(i).message_name
DBMS_OUTPUT.put_line (l_tbl_messages(i).message_name);
DBMS_OUTPUT.put_line (l_message);
i := l_tbl_messages.NEXT(i);
END LOOP;
rollback;
else
commit;
end if;
exception
when others then
DBMS_OUTPUT.put_line(SQLERRM);
END;
/Please check the following MOS notes:
ORA-20001: This Person Does Not Have Preferences For the Selected Effective Date [ID 876324.1]
ORA-20001: This Person Does Not Have Preferences For The Selected Effective Date [ID 761470.1]
Troubleshooting Guide for HRMS API Errors - ORA-20001 and APP Errors [ID 152259.1]
''This Person Does Not Have Preferences For The Selected Effective Date'' Message [ID 287581.1]
Diagnostics - Setup - Time and labour Person - Test failed [ID 397214.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
Error Message = ORA-20001: Please make sure all system pa
Hi,
We have 2 business group one default setup business group and another one new one.
There is a common custom workflow for timesheet approval. This workflow process working without any problem with default business group (setup Business Group). But new businees group giving following error:
Error in Workflow PMSTSAPR/50112*156 ORA-20001: Please make sure all system pa
Item Type = PMSTSAPR
Item Key = 50112*156
User Key =13-OCT-01
Error Name = -20001
Error Message = ORA-20001: Please make sure all system pa
Error Stack =
XXPM_WF_TS_APPROVAL_PKG.start_sub_approval_workflow p type PMSTSAPR pkey 50112*156 item type PMSTSAPR item key 50112*156/1(PMSTSAPR, 50112*156/1)
XXPM_WF_TS_APPROVAL_PKG.Find_Approver - 8 (PMSTSAPR, 50112*156)
Wf_Engine_Util.Function_Call(XXPM_WF_TS_APPROVAL_PKG.FIND_APPROVER, PMSTSAPR, 50112*156, 173547, RUN)
Activity Id = 173547
Activity Label = TIMESHEET_APPROVAL_PROCESS:START_CHILD_PROCESS
Result Code = #EXCEPTION
Notification Id =
Assigned User =
I will appreciate, if somebody can help me .
Also this workflow process are submitting from Oracle Forms.
Regards
Satheesh KumarProblem solved,
Custom database function raised this error -
ORA-20001: Invalid parsing schema for current workspace ID
I recently upgraded Apex version from 4.0 to 4.2 successfully. Everything looks good except in one of the applications, I am running into
ORA-20001: Invalid parsing schema for current workspace ID ( see below for detailed debug info). It seems this page region code is still looking at
old apex scehma APEX_040000 instead of APEX_040200 somehow. Any ideas.
is_internal_error: true
apex_error_code: APEX.REGION.UNHANDLED_ERROR
ora_sqlcode: -20001
ora_sqlerrm: ORA-20001: Invalid parsing schema for current workspace ID
component.type: APEX_APPLICATION_PAGE_REGIONS
component.id: 21560330709310725
component.name: Calendar
error_backtrace:
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 377
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 386
ORA-06512: at "APEX_040000.WWV_RENDER_CALENDAR2", line 462
ORA-06512: at line 27
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS.WWV_DBMS_SQL", line 1064
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
OKThanks Patrick. Just wanted to make you're referring to the below code. what package I would be using instead of 'wwv_render_calendar2.show'
wwv_render_calendar2.show (
p_query => q,
p_max_rows => '5',
p_heading_bgcolor => '#CCCC99',
p_table_bgcolor => 'WHITE',
p_monday_friday_only => 'NO',
p_non_curr_month_attr => 'bgcolor="#F7F7E7"',
p_month_font_face => 'Arial',
p_month_font_size => '+1',
p_month_font_color => 'BLUE',
p_day_font_face => 'Arial',
p_day_font_size => '+1',
p_day_font_color => 'BLACK',
p_cell_font_face => 'Arial',
p_cell_font_size => '-2',
p_cell_font_color => 'BLACK',
p_page_width => '95%',
p_show_month_above_tab => 'YES',
p_min_blank_cell_height => '45',
p_calendar_day_date_fmt => 'MM/DD/YYYY',
p_cur_local_date => '');
end;
Maybe you are looking for
-
Issues between the Internet Explorer and Adobe acrobat
Hello, Every time I click on a link in Internet Explorer, it goes and opens Adobe Acrobat 6 and this displays this error message: The Adobe Acrobat/Reader That is Running can not be used to view PDF files in a Web Browser. Please exit Adobe Acrobat/R
-
SAP LSO V/s Successfactor LMS
Hey Guyz, Short question to understand the difference between these tools. In SAP LSO, there is an authoring and CMS environment attached to SAP LMS (training management, learning portal). In successfactor, there is a LMS solution (acquired from plat
-
I just recorded an interview via iMovie but don't really know how to save it. HELP!
HELP!
-
Error updating Dreamweaver CC 2014
I'm getting this error when trying to update Dreamweaver CC 2014. Have tried several times and always get the same error, any ideas?
-
Windows 7 system, updated to Firefox 6 and lost all bookmarks. Followed the Help instructions for retrieving them but can't open the JSON ile they came in, nor can Windows help me do it.