In R12 standard Auto Invoice Import program is erroring out
Hi All,
The standard Auto Invoice Import concurrent porgram is erroring out when i run for the source as 'SUM_DIF', in the log messages its showing the following error:
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
LINK_TO_LINE_ID =
SELECT INTERFACE_LINE_ID
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b5
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
AND EXISTS
SELECT 'x'
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b7
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
len = 1289
Current system time is 18-SEP-2008 21:35:19
APP-AR-11526: ORA-01427: single-row subquery returns more than one row
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = !
APP-AR-11526: 5069629/ar/src/autoinv/raamil.lpc 1342
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
LINK_TO_LINE_ID =
SELECT INTERFACE_LINE_ID
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b5
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
AND EXISTS
SELECT 'x'
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b7
AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
Error calling raamil()
Error calling raapft()
Thanks,
Ramakrishna.
Edited by: user605279 on Sep 18, 2008 11:59 PM
Ramakrishna
Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
Thanks
Nagamohan
Similar Messages
-
Error in AR - Auto Invoice Import Program
Hi,
Please help me out for AR - Auto Invoice Import Program.
When i am running Auto Invoice Import Program in UAT instance then its getting completed but with error and error is not reflecting in RA_INTERFACE_ERRORS_ALL table.
Initially when i ran Interface Program in CRP instance then the program was successfull, but in UAT instance it is giving error,
The Log is as follows, Its a big log but to get an idea please find the few starting lines of the same.
Regards,
Sitesh
org parameter (raamai) = ~91~
raassc()+ Current system time is 02-APR-2012 01:42:57
org parameter (raassc) character = ~91~
org parameter (raassc) numeric = ~91~
raassc()- Current system time is 02-APR-2012 01:42:57
raagsp()+ Current system time is 02-APR-2012 01:42:57
raagsp()- Current system time is 02-APR-2012 01:42:57
raaini()+ Current system time is 02-APR-2012 01:42:57
raaapx()+ Current system time is 02-APR-2012 01:42:57
raaapx()- Current system time is 02-APR-2012 01:42:57
raagbo()+ Current system time is 02-APR-2012 01:42:57
Dumping data fetched from RA_BATCH_SOURCES
batch_source_id = 1141
batch_source_name = Export Entry
auto_trx_numbering_flag = N
copy_doc_number_flag = N
cust_trx_type_rule = I
sold_customer_rule = R
bill_customer_rule = R
bill_address_rule = R
bill_contact_rule = N
ship_customer_rule = R
ship_address_rule = R
ship_contact_rule = N
memo_reason_rule = R
term_rule = I
invoicing_rule_rule = R
accounting_rule_rule = R
unit_of_measure_rule = R
agreement_rule = R
inventory_item_rule = R
fob_point_rule = S
ship_via_rule = S
invalid_lines_rule = R
salesperson_rule = I
sales_credit_type_rule = I
accounting_flexfield_rule = R
invalid_tax_rate_rule = R
rev_acc_allocation_rule = P
gl_date_period_rule = R
create_clearing_flag = N
derive_date_flag = Y
sales_credit_rule = P
sales_territory_rule = R
receipt_method_rule = R
customer_bank_account_rule = R
related_document_rule = R
memo_line_rule = R
allow_sales_credit_flag = Y
receipt_handling_option = N
allow_duplicate_trx_num_flag = N
raagbo()- Current system time is 02-APR-2012 01:42:57
raaggi()+ Current system time is 02-APR-2012 01:42:57
raagixpfx = 0
raagixtpf = 0
raagixddf = 1
raagixacf = 0
raagixagd = 0
raagixatn = 0
raagixadn = 0
raagixcte = 0
raagixdfd =
raagixctc = 1683960112
raagixrmx = T
raagixfdx = 02-APR-12
raagixbix =
raagixbsi = 1141
raagixbnx = Export Entry
raagixoix = 91
raagixrix = 3584119
raagixpix = 20428
raagixpai = 222
raagixuix = 1458
raagixunx = EMS
raagixanx = AR
raagixlul = 2968171
raagixasc = 1
raagixrho = N
raagixrsf = 0
raagixcbf = 0
raagixuax = 1
raagixsnf = 0
raagixtao = 1
raagixptf = 1
raagixstf = 0
raagixrfi = 0
raagixtac = 0
raagixcai = 50388
raagixsbi = 2022
raagixcpr = 2
raagixmau =
raagixmlx = 3
raagixmbx = 99999999
raagixafp = Account
raagixifp = Item
raagixtfp = Sub-branch
Argbdf = 1
Argddo = -9999
raaggi()- Current system time is 02-APR-2012 01:42:57
raaseb()+ Current system time is 02-APR-2012 01:42:57
raaseb()- Current system time is 02-APR-2012 01:42:57
arcdsu()+ Current system time is 02-APR-2012 01:42:57
arcdsu() error level: 3 array size: 99999999 insert array size: 99999999
arcdsu() Use Invoice Accounting For Credit Memo: Y
arcdsu()- Current system time is 02-APR-2012 01:42:57
raaini()- Current system time is 02-APR-2012 01:42:57
raapft()+ Current system time is 02-APR-2012 01:42:57
raagtr()+ Current system time is 02-APR-2012 01:42:57
crb->raaucrpn = RAXTRX
crb->raaucrcr = 3584119
crb->raaucrnt = 0
crb->raaucrml = 3
raagtr()- Current system time is 02-APR-2012 01:42:57
raamil()+ Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raacrf()+ Current system time is 02-APR-2012 01:42:57
raacrf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
raaasf()+ Current system time is 02-APR-2012 01:42:57
raaasf()- Current system time is 02-APR-2012 01:42:57
UPDATE RA_INTERFACE_LINES
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
ORG_ID = NVL(ORG_ID, :b5),
TRX_DATE = TRUNC(TRX_DATE),
GL_DATE = TRUNC(GL_DATE),
ORIGINAL_GL_DATE = TRUNC(GL_DATE),
CONVERSION_DATE = TRUNC(CONVERSION_DATE),
PURCHASE_ORDER_DATE = TRUNC(PURCHASE_ORDER_DATE),
RULE_START_DATE = TRUNC(RULE_START_DATE),
RULE_END_DATE = TRUNC(RULE_END_DATE),
SALES_ORDER_DATE = TRUNC(SALES_ORDER_DATE),
SHIP_DATE_ACTUAL = TRUNC(SHIP_DATE_ACTUAL),
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID, RA_CUSTOMER_TRX_LINES_S.NEXTVAL)
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (3584119))
AND BATCH_SOURCE_NAME = 'Export Entry'
AND TRX_NUMBER = 'E512000002' AND LINK_TO_LINE_ATTRIBUTE1 IS NULL
AND LINK_TO_LINE_ATTRIBUTE2 IS NULL
AND LINK_TO_LINE_ATTRIBUTE3 IS NULL
AND LINK_TO_LINE_ATTRIBUTE4 IS NULL
AND LINK_TO_LINE_ATTRIBUTE5 IS NULL
AND LINK_TO_LINE_ATTRIBUTE6 IS NULL
AND LINK_TO_LINE_ATTRIBUTE7 IS NULL
AND LINK_TO_LINE_ATTRIBUTE8 IS NULL
AND LINK_TO_LINE_ATTRIBUTE9 IS NULL
AND LINK_TO_LINE_ATTRIBUTE10 IS NULL
AND LINK_TO_LINE_ATTRIBUTE11 IS NULL
AND LINK_TO_LINE_ATTRIBUTE12 IS NULL
AND LINK_TO_LINE_ATTRIBUTE13 IS NULL
AND LINK_TO_LINE_ATTRIBUTE14 IS NULL
AND LINK_TO_LINE_ATTRIBUTE15 IS NULLHi Pk,
in log file i found the below:
arcdsu() error level: 3 array size: 99999999 insert array size: 99999999
and
raaafs()+ Current system time is 02-APR-2012 01-42-57
Failed to allocate memory for memptr
Error calling raaafs()
Error calling raaffc()
Error calling raaaui()
is it related to memory size????????
let me know
Regards,
SItesh -
Auto Invoice Import Program not processing records
Hi,
I wrote a procedure at back end to submit the auto invoice import program. I find concurrent program being submitted but none of the records are processed.
Please find the code given below for reference.
APPS Version : 11.5.10.2
fnd_global.apps_initialize(2709,50325,222);
l_request:= FND_REQUEST.SUBMIT_REQUEST
(application => 'AR',
program => 'RAXTRX',
description => 'Auto',
start_time => NULL,-- To start immediately
sub_request => FALSE,
argument1 => 'MAIN',
argument2 => 'T',
argument3 => '24',--batch_source_id
argument4 => 'AR Batch Source', --batch_source_name
argument5 => to_char(SYSDATE,'YYYY/MM/DD HH:MM:SS'), -- should be in format -- RR-MON-DD
argument6 => '',
argument7 => '',
argument8 => '',
argument9 => '',
argument10 => '',
argument11 => '',
argument12 => '',
argument13 => '',
argument14 => '',
argument15 => '',
argument16 => '',
argument17 => '',
argument18 => '',
argument19 => '',
argument20 => '',
argument21 => '',
argument22 => '',
argument23 => '',
argument24 => '',
argument25 => '',
argument26 => 'Y',
argument27 => 'Y',
argument28 => '',
argument29 => 155, -- org_id
argument30 => chr(0) -- end with chr(0)as end of parameters
COMMIT;
- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -Pl post the log of the concurrent request. Pl see if MOS Doc 1089172.1 (Troubleshooting Autoinvoice Import - Execution Report Errors (Request Status = Completed)) can help
HTH
Srini -
Auto Invoice Import Program is not grouping by Transaction Type
Hi All,
The Auto Invoice Master program which inturn spwans Auto invoice Import program is not grouping by Transaction type. It is printing for each transaction individually.
What could be the reason for this to happen?
Please let me know.
Thanks,
PrathimaDear,
You must define "Auto-Invoice Grouping Rules". Define Group by column of the interface table where u are moving transaction type.
Hope it will helps u
Regards -
Supplier Site Contacts Open Interface Import Program is erroring out.
Hi,
We are on 12.0.4 on solaris 10.
Tomorrow is go-live in one of our client, When we doing data migration. Uploaded the data into Interface table. From there we are running this standard program to push th edata into standard table.
Its erroring out saying:
================
Enter Password:
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: unable to extend temp segment by 128 in tablespace TEMP2
==> SELECT INT.org_id C_Rejected_Org_Id,
===============
I have added 2 GB of Tempfile to the tablespace even though it is erroring in the same. And it is taking too much time to give error.
We are tried with only one record also it is taking 1 hr to give the error.
Please help me out in resolving the same.
Many thanks in Advance..
Supplier Site Contacts Open Interface ImportI believe you hit Bug# 6624764, so you may need to apply (Patch 6624764 - SUPPLIER REPORT ERROS WITH ENTER PASSWORD: REP-0069: INTERNAL ERROR REP-57054).
Please log a SR to confirm this with Oracle Support.
Note: 565898.1 - Oracle Financials Software Updates, Release Update Pack 5
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=565898.1 -
TAX code error in ar Auto Invoice Import
Hi All,
I am getting error in Auto Invoice Import program
Unable to find a default tax code for this transaction.
==========================================
BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
Page: 1 of 4
Request Id: 936978
Batch Source: HANSENS
Transaction Flexfield:
Transaction Type:
Bill To Customer Number: to
Bill To Customer Name: to
GL Date: to
Ship Date: to
Transaction Number: to
Sales Order Number: to
Transaction Date: to
Ship To Cust Number: to
Ship To Cust Name: to
Interface Lines:
Selected: 2
Successfully Processed: 0
Rejected: 2
Interface Salesreps:
Selected: 0
Successfully Processed: 0
Rejected: 0
Interface Distributions:
Selected: 0
Successfully Processed: 0
Rejected: 0
Transactions Created:
BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
Page: 2 of 4
Request Id: 936978
Grand Totals:
Number of Number of Number of Number of
Class Transactions Lines Sales Credits Distributions Invoice Amount
0.00
BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
Page: 3 of 4
Request Id: 936978
BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
Page: 4 of 4
Request Id: 936978
Summary of Receipts Processed :
Taiwan AutoInvoice Validation Report Date: 22-JUL-2009 12:33
Page: 1 of 3
Auto Invoice Request Id 936978
Batch Source: HANSENS
Transaction Flexfield: HANSENS: BT5830000575.1
Type Bill to Customer Name Item Description Currency Amount
Invoice Merrill xx Pierce, xxr & Smith Inc Audio TWD 167.00
Errors: 1) Unable to find a default tax code for this transaction.
Transaction Flexfield: HANSENS: BT5830000575.2
Type Bill to Customer Name Item Description Currency Amount
Invoice Merrill xx Pierce, xx & Smith Inc VAT TWD 8.00
Errors: 1) Unable to find a default tax code for this transaction.
Summary of Transactions Rejected:
Currency Number of Number of Number of
Code Lines Sales Credits Distributions Invoice Currency Amount
TWD 2 0 0 175.00
Summary of Transactions with Errors:
Currency Number of Number of Number of
Code Lines Sales Credits Distributions Invoice Currency Amount
TWD 2 0 0 175.00
BT Taiwan AutoInvoice Validation Report Date: 22-JUL-2009 12:33
Page: 2 of 3
Auto Invoice Request Id 936978
Batch Source: HANSENS
BT Taiwan AutoInvoice Exception Report Date: 22-JUL-2009 12:33
Page: 3 of 3
Auto Invoice Request Id 936978
Batch Source: HANSENS
==========================================
I have checked in Memo Lines all exists.
Please suggest.
Thanks in advance,
Ajit
Edited by: Ajit Raut on Jul 21, 2009 7:39 PMHi Ajit
Please Check if TAX is enabled in Transaction Type.
regards
raghu -
Auto-Invoice Concurrent program running very slow
Hi,
EBS 11i
Help please.......
Our 2 users are running Auto-Invoice Concurrent programs and it made our 4-cpu (quad core) server spike to all 100%
We have just bounced back the Oracle Apps but still it getting very slow. Is there a way to tune the auto-invoice program?
This problem did not happen before only lately :(. Is it because our data is growing bigger?
Thanks a lot
Ms IndayThanks hussein/helios .....I am panicking now :(
I want to cancell all the queued Autoinvoice Master Program that are submitted so I can trace if they are the ones causing the problem. The Autoinvoice Master Program is calling a child program Autoinvoice Import Program. I also cancelled these child programs. but now I can not cancel the Master Program. Its "Phase" is Running but its status is "Paused". When I cancel it I got error >
Request 2259845 can no longer be cancelled. The Concurrent Manager process
that was running this request has exited abnormally. The ICM will mark this request as complered with error.How can I delete this RUNNING-PAUSED Autoinvice Master Program?
How do I clean up these aborted processes?
Thanks a lot -
Hi All,
I have problem in exceuting the Auto Invoice Master Program, which is taking long time to complete. Can any help me why is this taking too much time.
we are using 12.0.6
thnxsHello.
To trace the program, login as System Administrator, navigate to Concurrent/Programs/Define and query the program name. Check the Enable Trace checkbox.
The trace file will be placed on the $ORACLE_HOME directory/admin/udump. Run the tkprof on the trc file and see which code is taking too long.
Octavio -
XML Report Publisher program is erroring out
Hi All,
I've customized the AR Customer Statements.
I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
I've added the below code in After Report trigger.
=======================================
FUNCTION AfterReport
RETURN BOOLEAN
IS
BEGIN
Below code added for Customer Statement Case Study
DECLARE
l_req_id NUMBER := 0;
L_XML_LAYOUT BOOLEAN := TRUE;
BEGIN
L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
IF L_XML_LAYOUT THEN
srw.message(20001, 'Template is picked ');
srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
'XDOREPPB',
NULL,
NULL,
FALSE,
:p_conc_request_id,
222, -- Receivables
'ARXSGPO', -- Statement Generate
'en-US', -- English
'N',
'RTF',
'PDF');
IF l_req_id > 0 THEN
COMMIT;
ELSE
srw.message(20004, 'Failed to submit request');
END IF;
ELSE -- Not L_XML_LAYOUT
srw.message(20005, 'Template is not picked ');
END IF;
END;
--------------------Code Ends----------------------------
SRW.USER_EXIT('FND SRWEXIT');
RETURN (TRUE);
END;
==============================================
After Printing the Statements through Print Documents-->Statements
Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
But the XML Report Publisher Program is erroring out with below error.
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOREPPB module: XML Report Publisher
Current system time is 03-SEP-2012 17:42:18
Oracle XML Publisher 5.6.3
java.lang.NumberFormatException: For input string: "ARXSGPO"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
------------- 1) PUBLISH -------------
Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
Finished executing request completion options.
Concurrent request completed
Current system time is 03-SEP-2012 17:42:22
Please help out with a solution.
Thanks,
Tech Dfor r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
follow works for me
SQL> set serveroutput on
SQL>
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'N', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888651
successfully submitted.
PL/SQL procedure successfully completed
SQL> 'Y' for "Dummy for Data Security" also works for me
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'Y', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888652
successfully submitted.
PL/SQL procedure successfully completed
SQL> -
Program is erroring out in production system due to transport being missed
hey,
we are having a issue where program is erroring out in production which works perfectly fine in dev. we are guessing because of transport is being missed to move to production.
what is the best solution.
is there way in SAP where we can overwrite a whole program with a current program in dev using a transport so that program will contain latest code. how to create such transport. i created using write a transport entry option in se80 where i recreated a workbench request transport which errored out as welll. what are other options.
thanksRamakrishna
Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
Thanks
Nagamohan -
AR Credit Memo's not picked by Auto Invoice
Hi gurus,
I am facing an issue in loading the CM's through Auto Invoice. when we submit the Auto Invoice Master Program, it is populating the Interface_line_id, but it's not populating request_id, so eventually the Auto Invoice Import program is not picking those records with request_id as null.
Please advice me, how to process the CM's.
Thanks
SrinivasHi Ivruksh,
Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
Thanks in advance.
Regards
Srinivas -
AR Autoinvoice errored out.. unable to import Invoice from OM to AR Module
Hi Gurus,
After Order shipped, Closed, ran the Autoinvoice Master Program completed with Status: Normal, sub-seqentally system generated Autoinvoice Import Program, completed with status: Normal.
Lines are appearing in AR->Control->Auto invoice->Interface Lines
with error message as "All enabled segments of Transaction Flexfield must have a value" Invalid Value: "100032.Local Sales-MAGABASS.8010.AB200901.0.1266.0.BOL-50000.0.101.0.2.0.0."
As per Metalink note rectified the error in DFF Setup->financials->Flexifields->Descriptive->Segements Selected Receivables - Titel - Line transaction flexified, selected other segments as Non Mandatory.
After doing above step also, if I run Auto invoice import program, lines are not transferring to Invoice in AR.
Kindly advise solution for this problem.
Regards
AKHi,
Could you please send me the Note Id .
Regards,
Raju. -
Hey,i am getting this error while running the Auto Invoice Import
"Please correct the revenue account assignment"
Note found in metalink was not helpful.
Please let me know your inputsHi,
Check if your Revenue, Receivable and Tax have an account in Setup --> Transactions --> Transaction Type
If u using Transaction type.
Else to avoid this, you can explicitly insert data for accounts in the table RA_INTERFACE_DISTRIBUTIONS_ALL, by this, the import program will not check the accounts in Transaction Type setup but will use those CCIDs you inserted for REC, REV and TAX.
Hope this helps,
vik -
Issue in Payables invoice import prorgam
HI All,
I have run the Payables invoice import prorgam. result is completed normal. now the problem here is invoices data is not populated in Base table. when i check ap_rejections_table, it does not contain any records. can some one guide me how to slove this issue.
Thanks.HI,
i have submited the invoice import program from procedure as below.
Fnd_Request.submit_request(
application => 'SQLAP'
, program => 'APXIIMPT'
, description => 'Invoice import'
, sub_request => p_sub_request
, argument1 => p_argument1
, argument2 => p_argument2
, argument3 => p_argument3
, argument4 => p_argument4
, argument5 => p_argument5
, argument6 => p_argument6
, argument7 => p_argument7
, argument8 => p_argument8
, argument9 => p_argument9
, argument10 => p_argument10);
It is executed like completed with Error. where as invoices are created in base table.
please find the below errors in log file.
REP-0004: Warning: Unable to open user preference file.
MSG-0000: 2 invoice(s) were created during the process run
MSG-0000: 2 invoice(s) were fetched during the process run
MSG-0000: summarize flagN
REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred
ORA-01403: no data found
REP-0069: Internal error
REP-57054: In-process job terminated: Terminated with error:
REP-1401: MSG-00000: 2 invoice(s) were created during the process run
MSG-0000: summarize flagN
REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred
ORA-01403: no data found
please guide me to solve this issue.
Thanks.
Edited by: user627525 on Oct 9, 2009 4:33 AM -
Import Endeca View Graph Error Out ( for SSL enable Endeca Server)
Hi All
I have almost 6+ views in my data domain , and I am trying to Import the View definition ( as we need to Reset the data domain) , But my Import view graphs Error out with below Error
ERROR [WatchDog_0] - Component [Prepare View Stream:PREPARE_VIEW_STREAM] finished with status ERROR.
Message: Transform failed!
Interpreter runtime exception in function substring on line 7 column 19
String index out of range: -1
ERROR [WatchDog_0] - Error details:
org.jetel.exception.JetelRuntimeException: Component [Prepare View Stream:PREPARE_VIEW_STREAM] finished with status ERROR
Any help to resolve this error will be great
thanks
SrHi Patrick
Thanks for update . You are right , this issue is related to Index of arry rather than SSL . Now I have another issue and in case you have any solution do share .
As workaround , I just replace
validatedSemanticEntity with semanticEntity
and listEntitiesResponse with putEntities ,in the file generated by my Export view Graph .
I have created another New graph with 2 compoenets
1.Read File - that will read my modified file
2. Web Service Client - input to this Web Service Client is Read file compoment (#1) and in this Web Service Client I am calling {http://www.endeca.com/endeca-server/sconfig/3}SConfig#SConfigPort#putEntities.
On execution graph is not throwing any Error , but I still not able to see my views. Expectation are , one execution this graph will created custom views .
Do I need to Reboot the Endeca Server ?.
whole idea is to Import view definition and Export those into another domain .
Regards
Sr
Maybe you are looking for
-
Error when consuming Web Service in SAP R/3 ECC 6.0
Hi to everyone. I have created an asynchronous Web Service in SAP R3, which I want to use in SAP PI later. When I test the Web Service using WS Navigator or XMLSpy the following error occurs: SOAP Runtime Protocol: ABAP Runtime exception: 1F09B73915F
-
HT5035 How can I find out how much is left on my iTunes gift card?
I put a $50 iTunes gift card on my sons IPAD 2. How can I check from time to time how much of a balance he has?
-
I have a Tiger Server that hosts portable home directories for my Leopard Clients. I cannot get a portable home directory to sync with my Snow Leopard client. Is this possible?
-
[solved] ntfs-3g: Invalid or incomplete multibyte or wide character
Hi all, i've a problem with an ntfs partition and (i think) locales. #nickinicki-laptop koko # touch /mnt/vista/ò touch: cannot touch `/mnt/vista/ò': Invalid or incomplete multibyte or wide character nickinicki-laptop koko # grep -v \# /etc/locale.ge
-
Error 103:103, can not open/download/view pdf files online
when i try to view/download/open any pdf document online following error window shows, please help what to do Adobe PDF Document There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (103:103) OK