Invoice Validation Error ORA-06512: at "APPS.AP_APPROVAL_PKG", line 111124
All,
I am getting below error message from log file after Invoice Validation program error out, please advise.
I could not search on "ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124" search, but found other errors and able to see we are very much higher file version than the note id advised.
Please help any one for this issue.
Payables: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APPRVL module: Invoice Validation
Current system time is 01-MAR-2013 03:40:12
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
p_option='All'
p_inv_start_date='2013/02/01 00:00:00'
p_inv_end_date='2013/02/28 00:00:00'
p_trace_flag='N'
p_commit_size='1000'
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.AL32UTF8
Enter Password:
MSG-00101: Error occured in BATCH_APPROVAL()
MSG-00102: Error Code : -20001
MSG-00103: Error Message : ORA-20001:
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124
MSG-00000: When Others:User-Defined Exception
REP-1419: 'beforereport': PL/SQL program aborted.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1419: MSG-00101: Error occured in BATCH_APPROVAL()
MSG-00102: Error Code : -20001
MSG-00103: Error Message : ORA-20001:
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124
MSG-00000: When Others:User-Defined Exception
REP-1419: 'beforereport': PL/SQL program aborted.
Report Builder: Release 10.1.2.3.0 - Production on Fri Mar 1 03:40:15 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 42770000.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 01-MAR-2013 04:06:57
---------------------------------------------------------------------------
Please post the details of the application release, database version and OS.
Please also see these docs.
Invoice Validation (APPRVL) Errors Out With ORA-20001: APP-SQLAP-10000: ORA-00060 [ID 1460249.1]
R12: Invoice Validation Is Failing When Running With Parameter 'ALL' [ID 1115016.1
R12 Payables Invoice Validation Error: Unexpected error occurred during Tax Calculation. [ID 961182.1
Ap Invoice Validation Errors: P-1419: Msg-00101: Error Occured In Batch_approval [ID 1140828.1]
Invoice Validation Error : REP-1419:ERROR OCCURED IN BATCH_APPROVAL() [ID 1120213.1]
R12: Validate Invoice Errors APP-SQLAP-10000, ORA-01403 and ORA-20001 [ID 1308869.1]
Thanks,
Hussein
Similar Messages
-
Hi,
I have a variable l_body in my pl/sql code with varchar2(32767).
it displays max. 44 lines, more than 44 lines it gives buffer size error.
if I use clob data type then it gives value or numeric erro on more than 44 lines.
code is below
regards
l_clob CLOB;
l_body varchar2(32767);
BEGIN
Dbms_lob.CreateTemporary(l_clob,TRUE);
l_body := null;
l_body := '<Html>';
l_body := l_body||'<Body>';
-- l_body := l_body||'<Font Face="Verdana, Arial, Helvetica" Color="#000000">';
-- l_body := l_body||'<BR> <BR> <BR>' || l_str || '<Br>';
l_body := l_body||'<BR> ' || 'Please note that Receipt Number <B> '|| Trans_Id || ' with amount: ' || trim(to_char(total_amount,'999G999G999G999D99')) ||'</B> has been sent to you for approval. Detail is given below:' || '<Br> <BR> ';
l_body := l_body||'</Table><Br><Br>';
l_body := l_body||'<Table Border=1">';
-- l_body := l_body||'<Tr Bgcolor=rgb(0,154,61)>';
l_body := l_body||'<Tr Bgcolor=rgb(162,202,230)>';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Date';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Vendor Name';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>PO Number';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Release Number';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Line';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Item Description';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Quantity';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Unit';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>PO Unit Price';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Currency';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Amount';
l_body := l_body||'<Th><P><Font Size = 2 Face="Verdana, Arial, Helvetica"><div align=left>Code Combination';
l_body := l_body||'</Tr>';
FOR x IN C LOOP
l_body := l_body||'<Tr>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.transaction_date||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.vendor_name||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.po_number||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.release_num||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.line_num||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.item_description||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.quantity||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.unit_of_measure||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.po_unit_price||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.currency_code||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=right>'||x.amount||'</Td>';
l_body := l_body||'<Td><P><Font Size = 2><div align=left>'||x.cc||'</Td>';
l_body := l_body||'</Tr>';
END LOOP;
l_body := l_body||'</Table><Br><Br>';
l_body := l_body||'</Body>'||CHR(10);
l_body := l_body||'</Html>'||CHR(10);
dbms_lob.writeappend(l_clob,LENGTH(l_body),l_body);
RETURN L_Clob;
END Format_Notification_Msg;The maximum size allowed for l_body is 32767 which as varchar2(32767)
Even though CLOB does not have size limit, as you are storing the actual data in 'l_body', it throws the error when the 'l_body' increases 32767 characters.
Call the dbms_lob.writeappend() API in the for loop and nullify l_body after the API call, so that the 'l_body' will not go beyond the specified limit. -
When running auto reconcilication program for one of our bank statements the program is ending in error. The following is the error message in the log file:
("CE"."CE_STATEMENT_RECONCILS_ALL"."REFERENCE_TYPE")
ORA-06512: at "APPS.CE_AUTO_BANK_REC", line 495
ORA-06512: at line 1
Please let me know if any one else is encounting this issue.
Version R12.1.1Please see these docs.
Autoreconciliation:Cause: Fdpstp Failed Error: ORA-06508: PL/SQL: could not find program unit being called: "APPS.CE_AUTO_BANK_CLEAR1" [ID 761718.1]
ORA-06512: at "APPS.CE_AUTO_BANK_REC", ORA-01400 During Autoreconciliation (ARPLABRC) With Open Interface [ID 422310.1]
R12: Cash Management Bank Statement Import Process Error ORA-06512: at "APPS.CE_AUTO_BANK_REC", line 495 [ID 580044.1]
ARPLABIM Bank Statement Import fails with ORA-06512: APPS.CE_AUTO_BANK_REC [ID 118677.1]
Thanks,
Hussein -
Hi,
We have recently applied Sourcing Rollup 2 J patch in our instance. After this, when the users change their timezone, the system behaves weirdly. The Server timezone and Client timezone are set to Dubai timezone (GMT+4) at site level. If the user is using this timezone, there is no issues. But when the user changes the timezone to something else (anything > GMT+4 or anything < GMT+4), he cannot publish auctions. He is getting error like:
oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.FND_MSG_PUB", line 279
ORA-06512: at "APPS.HZ_TIMEZONE_PUB", line 877
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.FND_MSG_PUB", line 279
ORA-06512: at "APPS.HZ_TIMEZONE_PUB", line 1088
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.PON_OEX_TIMEZONE_PKG", line 41
ORA-06512: at "APPS.PON_AUCTION_PKG", line 1052
ORA-06512: at line 1
We feel like this is some issues with the system. Some times, this works, sometimes different kind of errors are seen. When user is trying to log in, another error like the following is seen:
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):-1,-1,-1,0,oracle.jdbc.driver.OracleConnection@192a848; REASON = java.sql.SQLException: ORA-20001: Oracle error -6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
has been detected in FND_GLOBAL.INITIALIZE.
ORA-06512: at "APPS.APP_EXCEPTION", line 70
ORA-06512: at "APPS.FND_GLOBAL", line 64
ORA-06512: at "APPS.FND_GLOBAL", line 1028
ORA-06512: at "APPS.FND_GLOBAL", line 541
ORA-06512: at line 1
When we bounced server, this error went away. But the first error still persists. What could be the reason for this?
Regards,
ArunI traced through the packages. Here is the result:
1. PON_AUCTION_PKG line 1052;
x_newstarttime := PON_OEX_TIMEZONE_PKG.CONVERT_TIME(p_open_bidding_date,x_oex_timezone,x_timezone);
'x_oex_timezone' is the 'Server Timezone' profile value at site level. 'x_timezone' is the user's timezone. If the user's timezone is not a valid zone (checking done in PON_OEX_TIMEZONE_PKG.VALID_ZONE procedure), this param is assigned the value of 'x_oex_timezone'.
2. The PON_OEX_TIMEZONE_PKG.CONVERT_TIME procedure calls the procedure HZ_TIMEZONE_PUB.Get_Time(), and I hope here the issue starts. The OUT parameters to this procedure are toDate, status, msg_count and msg_data. Note that here the msg_data is defined as VARCHAR2(100).
3. Within the procedure HZ_TIMEZONE_PUB.Get_Time(), the error is raised from line 877. This is a WHEN OTHERS case of this procedure. This is from the API ;
FND_MSG_PUB.Count_And_Get(
p_encoded => FND_API.G_FALSE,
p_count => x_msg_count,
p_data => x_msg_data);
4. Next error from FND_MSG_PUB is from line 279. This is within the procedure FND_MSG_PUB.Count_And_Get, when executing the following statement:
p_data := Get ( p_msg_index => G_FIRST ,
p_encoded => p_encoded );
5. The 'GET' procedure, sets the value from global table 'G_msg_tbl( G_msg_index ).encoded_message ' to the p_data variable, and here is a potential slippage. The global variable can hold a value of upto 2000 characters. But the p_data is originally defined to be of size VARCHAR2(100). I think this can cause the issue. I am not sure what is the message getting assigned to the global variable here.
Could this be the problem? Inside the code, some assignments to fnd_mesage are done. But some of those messages are not present in our database (fnd_new_messages). Any clue on this would be greatly helpful.
Thanks,
Arun -
ORA-06512: at "APPS.HR_SALARY_BASIS_API", line 353
Hi there,
I am trying to do data migration to Oracle HRMS using the above mentioned API and its erroring out. Any input on this?
Thanks
JoI made sure the validation for INPUT_VALUE_ID is working, I mean the INPUT_VALUE_ID exists in the table PAY_INPUT_VALUES_F.
I was getting the following error message:
Record Number : 1
Error Number : 20001
Error Type : Bad
Error Phase : Loading
Error Message : ORA-20001: HR_52939_INVALID_INPUT_ID:
ORA-06512: at "APPS.HR_SALARY_BASIS_API", line 353
ORA-06512: at line 5.
Data :
Vision Operations|Monthly Pay|Standard Salary Rate|Average Monthly Salary|MONTHLY|12|12|||||||||||||||||||
******************************************************************************************** -
Hi,
we are getting error message on the requisition notification form. when the user is logging into apps and opening the requisition approval notification for particular requisition the error messgae is displayed at the top of the notification acreen. though the error message is not preventing the user from approving the requisition. he is successfully able to approve the requistion. but the user doesn't want to seee this error message.
please suggest on how to hide this error message.
error message ------- ORA-06502: PL/SQL: numeric or value error ORA-06512: at "APPS.WF_NOTIFICATION", line 5361 ORA-06512; at line 5
Thanks,
SamDHi,
I wrote about this in 2008 on my blog when I hit the problem in 11.5.9 - http://www.workflowfaq.com/workflow-notification-fails-when-action-history-becomes-too-long
Have a look at the bug, patches and workaround on there and see if that helps solve your problem.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
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 -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
Hi ,
I am getting below error frequently in alert log of database.
ORA-12012: error on auto execute of job 754461
ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing
ORA-06512: at "SYS.UTL_SMTP", line 20
ORA-06512: at "SYS.UTL_SMTP", line 98
ORA-06512: at "SYS.UTL_SMTP", line 240
ORA-06512: at "APPS.EIS_UTIL_PKG", line 94
ORA-06512: at "APPS.HKD_PO_ADDON_PKG", line 110
ORA-06512: at line 1You have a job running in the database. Its job ID is 754461
It looks as if that job runs APPS.HKD_PO_ADDON_PKG
That job is attempting to send mail using UTL_SMTP and apparently passing some strange value to SMTP server for the RCPT TO: parameter. -
How to solve error : ORA-6512 at APPS.EAM_WORKORDER_PKG
In new EAM installation process, the next error occurs during the creations of new operations to WO and attachments of new activities, which have several operations.
ERROR:ORA-06502: PL/SQL :numeric or value error: character string buffer too small
ORA-06512: at ''APPS.EAM_WORKORDER_PKG'', line 1529
ORA-06512: at ''APPS.EAM_WORKORDER_PKG'', line 1966
The implementation is in 12.0.4 version.
Some one know how to solve this issue en EAM EBS.
Thanks.Thanks for your help,
I have reviewed all information sent for you. The issue finally was solve with the action plan descibed in the next :
WICDOL - Autocreate Final Assembly Orders Completing With Warning - "ORA-01400: cannot insert NULL into ("WIP"."WIP_OPERATIONS"."WSM_BONUS_QUANTITY") " [ID 734605.1]
This particular issue afects the operations creation, assigment of activities with predefined operations and state change. -
ORA-06512:at "APPS FND_CP_OPP_REQ
R12
AIX 5.2
Db 10.2.0.2
PROD
There is a standard request that is completing with normal status but the output cannot be viewed because of the below error: FYI some output work but some not what I understand it is occurring because of huge data. Suggest me.
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512:at "APPS>FND_CP_OPP_REQ",line 539
ThanksHi;
Please check:
Ora-06512: At "Apps.Fnd_cp_opp_req", Line 539 Error When Submitting A Custom Program [ID 566848.1]
Regard
Helios -
ORA-06512:at "APPS.PAY_ELEMENT_TYPES_PKG"
Ddefining element for Absence Management,
Trying to save data in Element window,but getting error-ORA-06512:at "APPS.PAY_ELEMENT_TYPES_PKG"
Please let me know where is the problem.Trying it on Development instance.Please can you ask your DBA if he/she has applied the latest hrglobal patches for your environment. Your DBA can refer to this Oracle Support article for details on how to apply:
Latest Oracle HRMS Legislative Data Patch Available (HR Global / hrglobal) [ID 145837.1] -
Was working on tutorial from the:
Oracle Database Express Edition 2 Day Plus Application Express Developer Guide
Working on the section 4: How to Control Form Layout.
Ran into a problem trying to compile the Create HT-EMP Table script.
keep getting this error for this particular segment creating the bu_ht_emp trigger:
pp. 4-2 and 4-3
CREATE OR REPLACE TRIGGER bi_ht_emp
BEFORE INSERT ON ht_emp
FOR EACH ROW
BEGIN
SELECT ht_emp_seq.nextval
INTO :new.emp_id
FROM DUAL;
:new.rec_create_date := SYSDATE;
END;
ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SYS.OWA_UTIL", line 354....etc
I've check the syntax for the entire script and it all checks out. Does anyone have a clue why this is failing?If I'm looking at the same DDL, not seeing where it would throw an owa_util error, are you running it in the apex script editor?
Just plain sqlplus doesn't like the empty line stuck in with the list of check constraints on the emp_dept column, after fixing that up (and dropping the sequence that got created on the first pass) the DDL and insert runs fine- -
ORA-06502: PL/SQL: numeric or value error ORA-06512: at "package.proc
Hi,
I'm getting the following error , when calling a procedure. Any input appreciated please
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "package.procedure ", line 513
ORA-06512: at line 26
v_counter NUMBER;
v_counter := 0; -- line number 513
FOR i in p_rec_attr.FIRST..p_rec_attr.LAST
LOOP
--IF instr(p_rec_attr(i),'=')<>0 THEN
IF v_counter = 0 THEN
soap_request := soap_request||'<doc:attributes>
<!--Zero or more repetitions:-->
<doc:CategoryAttributeVO>
<!--Optional:-->
<doc:name>'||substr(p_rec_attr(i),1,instr(p_rec_attr(i),'=')-1)||'</doc:name>
<!--Optional:-->
<doc:value>'||substr(p_rec_attr(i),instr(p_rec_attr(i),'=')+1)||'</doc:value>
</doc:CategoryAttributeVO>';
v_counter := v_counter + 1;
ELSE
IF i=p_rec_attr.last THEN
v_category_name := p_rec_attr(i);
soap_request := soap_request||'
</doc:attributes>
<!--Optional:-->
<doc:name>'||v_category_name||'</doc:name>';
v_counter := 0;
ELSE
soap_request := soap_request||'
<!--Zero or more repetitions:-->
<doc:CategoryAttributeVO>
<!--Optional:-->
<doc:name>'||substr(p_rec_attr(i),1,instr(p_rec_attr(i),'=')-1)||'</doc:name>
<!--Optional:-->
<doc:value>'||substr(p_rec_attr(i),instr(p_rec_attr(i),'=')+1)||'</doc:value>
</doc:CategoryAttributeVO>';
v_counter := v_counter + 1;
END IF;
END IF;
--ELSE
--END IF;
END LOOP;
ThanksHi
I tried this which is :
create or replace
procedure test is
v_counter NUMBER;
begin
v_counter := 0; -- line number 513
FOR i in 1..10
LOOP
--IF instr(p_rec_attr(i),'=')0 THEN
IF v_counter = 0 THEN
v_counter := v_counter + 1;
ELSE
IF i=9 THEN
v_counter := 0;
ELSE
v_counter := v_counter + 1;
END IF;
END IF;
END LOOP;
end;
Which does ot throw any error...I think it is being generated from somewhere else -
Error - ORA-06512: at "SYS.OWA_UTIL" - when trying to download files.
Hi, I have an application where I try to implement download of the attachments.
I am trying to use Denes Kubicek approach
http://apex.oracle.com/pls/otn/f?p=31517:15:4179200867819025:REMOVE_ID:NO::P15_DELETE_ID:4672033519340628563.
When I run stored procedure I get this error message.
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 356
ORA-06512: at "SYS.HTP", line 1368
ORA-06512: at "SYS.HTP", line 1443
ORA-06512: at "SYS.OWA_UTIL", line 413
ORA-06512: at "RPA.LOADATTACHMENT", line 24
ORA-06512: at line 6
The code breaks at :
OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
Does anybody have any idea why it breaks?
Thanks in advance.
Robert
Edited by: robik on 2-Feb-2011 5:58 AMActually, the error comes up when I try to execute any of these lines:
OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
-- set the size so the browser knows how much to download
HTP.p ('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
HTP.p ( 'Content-Disposition: attachment; filename="'
|| REPLACE (REPLACE (SUBSTR (v_file_name,
INSTR (v_file_name, '/') + 1
CHR (10),
NULL
CHR (13),
NULL
|| '"'
Is there any security issue?
Robert
Maybe you are looking for
-
Question I opened my computer and the whole top only shows web search, I can not find my bookmarks and I tried reloading firefox and still nothing but tab bar. Tried f10, alt, nothing! Can I reload an old firefox? There is no firefox logo at top. Whe
-
How can I copy a very large iMovie file (10.08 GB) onto a disc?
I have an imovie project of my daughters wedding and I would like to put it on a disc for her, however, it is so big ( 10.08GB) that I can't find a DVD disc big enough. I bought a 16GB USB drive thinking I could copy it to that but my iMac says that
-
How to fix the above mentioned, *"special Incoming Closed margins"*.
Valuation runs (TPM1) fails with the error below: Unfixed bus. trans. with posting date 02/23/2012 before key date (long text) Message no. TPM_TLV1028 Diagnosis The position that is to be valued contains a position-relevant business transaction Close
-
Description input variable dependent by queries
Hi gurus, I have a input variable in more queries bex (bi 7.0). I do to change description for only one query without to create an other custom variable and replace it where I need. I test in cmod with the support the second customer exit variable bu
-
No routing selection in order through parameter effectivity
Hi, I have created routing and BOM in CEWB with parameter effectivity with change number. But while creating order in co08 with sale order no; i am getting the error message as no routing found. The sale order no we are mentioning as parameter effect