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 D

for 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>

Similar Messages

  • XML Report with EXCEL output errors out intermittently

    Hi Gurus,
    We have a custom XML report running for a particular user for whom it is failing intermittently.
    The program does not return any error in log file.
    I also checked the OPP log file but coud not find any issues / errors.
    But Standard manager log file has the below error when the request fails :
    Process monitor session started : 14-SEP-2012 10:25:30*
    Found running request 2823013 attached to dead manager process.*
    Setting request status to completed.*
    fdugpi has recovered SRW driver value*
    Found dead process: spid=(3076), cpid=(236068), ORA pid=(65), manager=(0/0)*
    Starting STANDARD Concurrent Manager               : 14-SEP-2012 10:25:31*
    Process monitor session ended : 14-SEP-2012 10:25:31*
    Please help me out to figure out what is the issue here. Also the standard manager process has died and got restarted.
    We are on 12.1.3 application version with 11gR1 database
    Regards,
    Ram

    You can use BI publisher for your requirement -
    Create a Concurrent program which is based on the executable 'XDODTEXE'
    The Short_Name of the concurrent program should be the same as the data_definition short_name from Xml Publisher responsibility.
    You can go through the link provided by Alex for creating the UI Template and the data template.
    Cheers,
    VB

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • XML Report Publisher - Blank Report Request Parameter

    Hi
    I have a custom template and custom data definition in Purchasing application. I ran PO Output For Communication and it generated the PDF. Now I want to do Bursting.
    So, I assigned XML Report Publisher and XML Bursting (both out-of-box programs) to Purchasing responsibility. But when I try to run them, I don't see any values in Request ID LOV.
    Please suggest what am I missing in there.
    Thanks,
    NewBie

    user11061081 wrote:
    Hi
    I have a custom template and custom data definition in Purchasing application. I ran PO Output For Communication and it generated the PDF. Now I want to do Bursting.
    So, I assigned XML Report Publisher and XML Bursting (both out-of-box programs) to Purchasing responsibility. But when I try to run them, I don't see any values in Request ID LOV.
    Please suggest what am I missing in there.
    Thanks,
    NewBiePlease confirm that you have added those concurrent programs to the correct Request Group which is attached to the same responsibility.
    From (System Administrator responsibility > Security > Responsibility > Define) query the responsibility name and get the Request Group. Then from (System Administrator responsibility > Security > Responsibility > Request), query the Request Group and add those concurrent programs.
    Thanks,
    Hussein

  • Overide XML Report Publisher renaming?

    Anyone know if it is possible to prevent the XML Report Publisher report from renaming the concurrent request on completion. This makes it very difficult for users to understand what requests are, especially when they are automatically submitted from other concurrent programs.
    For example in EBS 11.5.10+ I have a dunning letter custom where the standard "Dunning Letter Print from Dunning Letter Generate" process submits the bursting program and 2 instances of XML Report Publisher, one for the printed dunning letters and one for the summary report. We could live with the bursting report name but both the XML Report Publisher instances complete with the same name! How is the user supposed to know what is what?
    Cheers,
    Dave

    Glad someone else thinks so!
    I can see the reason behind what it does and it's fine for manually submitted "XML Report Publisher" requests but when you get to submitting it from another concurrent program the renaming is a pain, especially if you are submitting multiple reports from the same request (e.g. detail and summary reports). Users just don't know what they are supposed to be looking at!
    Hopefully Tim will pick it up but I suspect it will have to be a future fix rather than something we can change right now. Roll on a new release for EBS!
    Cheers,
    Dave

  • 'XML Report Publisher' not producing Excel output

    when i run a report from SRS window, selecting output format as EXCEL, output comes out great in EXCEL format(no problem here)
    but when I run ‘XML Report Publisher’ and select the Request ID of the above report and give EXCEL as output format, output is coming in HTML.???
    If I select PDF – comes out properly as PDF
    If I select HTML – comes out properly as HTML
    If I select RTF – comes out properly as RTF
    But only If I select EXCEL – comes out properly as HTML
    Does any one know what is this???
    I badly need the EXCEL output from ‘XML Report Publisher’ because I have developed a template for a seeded process,
    XML Report Publisher is the only way to get the output for these kind of Spawned reports.
    Help will be highly appreciated!!!
    Thanks
    ss

    ANY Updates on this?????
    did any of you run into similar stitutation??
    or
    can any of you try this and see if it is acting the same?

  • Org.xml.sax.SAXParseException with XML Report Publish

    Anyone see the following error in XML Report Publisher? This happened after I ran Employee W2 XML Interface and ran XML Report Publisher for the output of the PDF output.
    --XDOException
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:570)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:684)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Caused by: org.xml.sax.SAXParseException: <Line 268, Column 6>: XML-20109: (Fatal Error) PI with the name 'xml' can occur only in the beginning of the document.
         at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:305)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    Thanks.

    We are going to user Employee W-2 PDF.

  • 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.
    thanks

    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

  • XML report publisher doesnt open in Excel directly but opens in Browser

    I have run a seeded FSG report with XML as output option and then ran XML report publisher to this request with Output as EXCEL but When I click the View Output button the output opens in Browser. I want it to open in EXCEL.
    How to do this?
    Thanks

    Hi
    A quick Google
    Open Control Panel
    Open Folder Options
    Click File Types
    Locate "XLS Microsoft Excel Worksheet" -- Tip: Quickly scroll to items beginning with 'X' by pressing the 'X' key on the keyboard.
    Click the Advanced button.
    Highlight the default action (often Open), which is bold.
    Check the box that says "Confirm open after download" and if "Browse in the same window" is checked, uncheck it.
    Click Ok.
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Oracle report 'XML Report Publisher' error 2 step process

    We're getting error 'Invalid UTF8 encoding' when running the above report. This is a second step of the two step process when creating XML output in Oracle Apps. The first step is report 'PO Output for Communication'. This one error out with the following warning:
    Beginning post-processing of request 4487540 on node TYBU093047 at 07-OCT-2008 12:49:17.
    Post-processing of request 4487540 failed at 07-OCT-2008 12:49:17 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Any information on this is greatly appreciated.
    Edited by: user1733606 on Oct 7, 2008 11:27 AM

    review this
    http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html

  • 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 Import

    I 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

  • XML gate way send document erroring out

    Hi,
    We are using the "CLN_SHOW_SHIPMENT_OAG72_OUT.xgm" to map the ASN 856 XML gateway map.
    But this is getting error out in the Show shipment workflow (send document process).
    Error Name ECX_SENDDIRECT_ERROR_EMBD
    Error Message 6013: Error while processing XML document in SENDDIRECT mode : 'ORA-20100: Error occurred while parsing: Element SHOW_SHIPMENT_005 not complete, expected elements '[DATAAREA]'.'. For further details, see the log corresponding to FND-Logging AFLOG MODULE Name: 'ecx.plsql.trig.CLN.SHOWSHIPO.65899.3.35793.log'.
    Error Stack ECX_STANDARD.sendDirectCover(CLN, SHOWSHIPO) ECX_STANDARD.Send(SHOWSHIP, 65899.3, 538854, RUN) Wf_Engine_Util.Function_Call(ECX_STANDARD.SEND, SHOWSHIP, 65899.3, 538854, RUN)
    I have done the transaction setup , trading partner setup and reuired ECX profile options.
    Below are the steps i am following.
    To generate an ASN for one shipment of goods:
    1. Log on to the Oracle Order Management application.
    2. Create a sales order in Order Management either manually or electronically
    through Order Process.
    3. Book the sales order.
    4. Navigate to Release Sales Order window.
    5. Enter the sales order number in Order Number.
    6. Click Execute Now to release this sales order.
    7. Navigate to the Shipping Transaction window.
    8. Click Search Delivery.
    9. Enter the delivery name in From Delivery Name.
    10. Click Find.
    11. Ship confirm the delivery.
    ◗◗ To extract ASN for a delivery number in case of first ASN failure:
    1. Navigate to the Supply Chain Trading Connector responsibility in Oracle
    E-Business Suite.
    2. Navigate to Requests and select Run.
    3. Verify if Single Request is selected. Click Ok.
    4. Select CLN:Send XML Show Shipment Document for Request Name.
    5. Enter Delivery Number.
    6. Click Submit to submit the request.
    7. Search for Ship Notice collaboration in the Collaboration History by entering
    Delivery Number for Document Number.
    The go to workflow administrator > transaction monitor > item type %SHIP% then > go.
    After this I could see that the workflow is erroring out at send document process.
    Please let me know the what is issue , this could help me a lot.
    Regards,
    Yudhistar

    Hi,
    any tips, hints, sample code or other pointersWell, maybe some java, here's your question:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:38012348052
    will refer you to
    http://asktom.oracle.com/pls/asktom/f?p=100:11:478714880659465::::P11_QUESTION_ID:952229840241
    in the end.

  • 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

  • Error in  Concurrent Program Details Report - XML Publisher program

    hi,
    i m executing a Concurrent Program Details Report - XML Publisher program and i m getting following errors
    Error:
    Beginning post-processing of request 4365650 on node APPS1 at 01-DEC-2010 08:04:00.
    Post-processing of request 4365650 failed at 01-DEC-2010 08:04:04 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Can u specify where exactly the problem is the OPP log file shows:
    11/25/10 5:08:20 AM] [main] Starting GSF service with concurrent process id = 1272712.
    [11/25/10 5:08:20 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/25/10 5:08:20 AM] [Thread-18] Service thread starting up.
    [11/25/10 5:08:20 AM] [Thread-19] Service thread starting up.
    [11/25/10 1:00:02 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/26/10 12:01:08 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/26/10 1:00:33 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/27/10 12:01:48 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/27/10 1:01:11 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/28/10 12:00:18 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/28/10 1:01:39 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/29/10 12:00:48 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/29/10 1:00:20 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/30/10 12:01:51 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/30/10 1:01:00 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [12/1/10 12:00:20 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [12/1/10 8:04:02 AM] [OPPServiceThread1] Post-processing request 4365650.
    [12/1/10 8:04:03 AM] [1272712:RT4365650] Executing post-processing actions for request 4365650.
    [12/1/10 8:04:03 AM] [1272712:RT4365650] Starting XML Publisher post-processing action.
    [12/1/10 8:04:03 AM] [1272712:RT4365650]
    Template code: FNDCPPGD_XML
    Template app: FND
    Language: en
    Territory: US
    Output type: PDF
    [12/1/10 8:04:04 AM] [UNEXPECTED] [1272712:RT4365650] java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA,DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ))
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:402)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:235)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:1159)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3430)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)
    [12/1/10 8:04:04 AM] [1272712:RT4365650] Completed post-processing actions for request 4365650.
    [GC 6798K->4234K(9108K), 0.0020110 secs]
    [GC 6858K->4321K(9108K), 0.0399700 secs]
    [GC 6945K->4256K(9108K), 0.0021440 secs]
    [GC 6880K->4272K(9108K), 0.0021000 secs]
    [GC 6896K->4232K(9108K), 0.0020110 secs]
    [GC 6856K->4316K(9108K), 0.0020590 secs]
    [GC 6940K->4408K(9108K), 0.0597480 secs]
    [GC 7032K->4495K(9108K), 0.0034290 secs]
    [GC 7119K->4581K(9108K), 0.0031930 secs]
    [GC 7205K->4667K(9108K), 0.0027380 secs]
    [GC 7291K->4753K(9108K), 0.0028380 secs]
    [GC 7377K->4840K(9108K), 0.0030960 secs]
    [GC 7464K->4926K(9108K), 0.0026830 secs]
    [GC 7550K->5011K(9108K), 0.7886420 secs]
    [GC 7635K->5099K(9108K), 0.0029910 secs]
    [GC 7723K->5183K(9108K), 0.0650420 secs]
    [GC 7807K->5287K(9108K), 0.0137250 secs]
    [GC 7911K->5375K(9108K), 0.0028940 secs]
    [GC 7999K->5461K(9108K), 0.0121010 secs]
    [GC 8085K->5544K(9108K), 0.0025770 secs]
    [GC 8168K->5634K(9108K), 0.0035770 secs]
    [GC 8258K->5723K(9108K), 0.0134410 secs]
    [GC 8347K->5810K(9108K), 0.0028090 secs]
    [GC 8434K->5891K(9108K), 0.0029380 secs]
    [GC 8515K->5981K(9108K), 0.0029140 secs]
    [GC 8605K->6069K(9108K), 0.0027600 secs]
    [GC 8693K->6154K(9108K), 0.1243500 secs]
    [GC 8778K->6241K(9108K), 0.0039650 secs]
    [GC 8865K->6326K(9108K), 0.0028650 secs]
    [GC 8950K->6413K(9236K), 0.0039710 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
    6413K->5352K(9236K), 1.1909030 secs]
    [GC 8936K->5472K(12956K), 0.0023870 secs]
    [GC 9056K->5591K(12956K), 0.0033830 secs]
    [GC 9175K->5729K(12956K), 0.0042040 secs]
    [GC 9313K->5849K(12956K), 0.0034840 secs]
    [GC 9433K->5961K(12956K), 0.0100990 secs]
    [GC 9545K->6086K(12956K), 0.0030080 secs]
    [GC 9670K->6201K(12956K), 0.0031240 secs]
    [GC 9785K->6319K(12956K), 0.0032300 secs]
    [GC 9903K->6440K(12956K), 0.0034340 secs]
    [GC 10024K->6559K(12956K), 0.0034880 secs]
    [GC 10143K->6672K(12956K), 0.0035840 secs]
    [GC 10256K->6798K(12956K), 0.0057700 secs]
    [GC 10382K->6910K(12956K), 0.0060400 secs]
    [GC 10494K->7033K(12956K), 0.0100290 secs]
    [GC 10617K->7155K(12956K), 0.0071060 secs]
    [GC 10739K->6968K(12956K), 0.0096190 secs]
    [GC 10551K->7022K(12956K), 0.0018430 secs]
    [GC 10606K->7024K(12956K), 0.0019950 secs]
    [GC 10608K->7020K(12956K), 0.0019460 secs]
    [GC 10604K->7024K(12956K), 0.0021440 secs]
    [GC 10607K->7011K(12956K), 0.0018930 secs]
    [GC 10595K->7048K(12956K), 0.0027050 secs]
    [GC 10632K->7174K(12956K), 0.0028100 secs]
    [GC 10758K->7059K(12956K), 0.0015890 secs]
    [GC 10643K->7070K(12956K), 0.0032490 secs]
    [GC 10654K->7192K(12956K), 0.0332620 secs]
    [GC 10776K->7313K(12956K), 0.0035480 secs]
    [GC 10897K->7437K(12956K), 0.0042360 secs]
    [GC 11021K->7555K(12956K), 0.0158540 secs]
    [GC 11139K->7679K(12956K), 0.0036930 secs]
    [GC 11263K->7800K(12956K), 0.0035670 secs]
    [GC 11384K->7919K(12956K), 0.0036300 secs]
    [GC 11503K->8043K(12956K), 0.0039190 secs]
    [GC 11627K->8164K(12956K), 0.0036210 secs]
    [GC 11748K->8284K(12956K), 0.0034810 secs]
    [GC 11868K->8405K(12956K), 0.0224470 secs]
    [GC 11989K->8538K(12956K), 0.1723720 secs]
    [GC 12122K->8661K(12956K), 0.0036210 secs]
    [GC 12245K->8782K(12956K), 0.0101020 secs]
    [GC 12366K->8903K(12956K), 0.0036410 secs]
    [GC 12487K->9031K(12956K), 0.0037570 secs]
    [GC 12615K->9152K(12956K), 0.1185410 secs]
    [GC 12736K->9273K(13084K), 0.0037680 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor16]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
    9273K->6003K(13084K), 0.2840530 secs]
    [GC 10163K->6154K(14616K), 0.0024850 secs]
    [GC 10314K->6296K(14616K), 0.1144950 secs]
    [GC 10456K->6436K(14616K), 0.0194160 secs]
    [GC 10596K->6261K(14616K), 0.0069170 secs]
    [GC 10421K->6264K(14616K), 0.0014630 secs]
    [GC 10424K->6344K(14616K), 0.0027370 secs]
    [GC 10504K->6481K(14616K), 0.0034770 secs]
    [GC 10641K->6620K(14616K), 0.0282380 secs]
    [GC 10780K->6758K(14616K), 0.0027550 secs]
    [GC 10918K->6901K(14616K), 0.0026610 secs]
    [GC 11061K->7042K(14616K), 0.0033920 secs]
    [GC 11202K->7183K(14616K), 0.1176190 secs]
    [GC 11343K->7328K(14616K), 0.0026570 secs]
    [GC 11488K->7468K(14616K), 0.0037760 secs]
    [GC 11628K->7602K(14616K), 0.0030830 secs]
    [GC 11762K->7747K(14616K), 0.0037920 secs]
    [GC 11907K->7880K(14616K), 0.0039450 secs]
    [GC 12040K->8029K(14616K), 0.0037420 secs]
    [GC 12189K->8168K(14616K), 0.0059800 secs]
    [GC 12328K->8308K(14616K), 0.0040210 secs]
    [GC 12468K->8447K(14616K), 0.0141800 secs]
    [GC 12607K->8588K(14616K), 0.0040530 secs]
    [GC 12748K->8731K(14616K), 0.0927280 secs]
    [GC 12891K->8869K(14616K), 0.0039840 secs]
    [GC 13029K->8761K(14616K), 0.0167970 secs]
    [GC 12921K->8655K(14616K), 0.0013430 secs]
    [GC 12815K->8692K(14616K), 0.0027280 secs]
    [GC 12852K->8697K(14616K), 0.0022180 secs]
    [GC 12857K->8698K(14616K), 0.0018800 secs]
    [GC 12858K->8844K(14616K), 0.0030390 secs]
    [GC 13004K->8703K(14616K), 0.0020500 secs]
    [GC 12863K->8775K(14616K), 0.0022840 secs]
    [GC 12935K->8762K(14616K), 0.0021550 secs]
    [GC 12922K->8897K(14616K), 0.0029530 secs]
    [GC 13057K->9028K(14616K), 0.0321850 secs]
    [GC 13188K->9175K(14616K), 0.0037260 secs]
    [GC 13335K->9307K(14616K), 0.0197840 secs]
    [GC 13467K->9436K(14616K), 0.0037780 secs]
    [GC 13596K->9565K(14616K), 0.0254750 secs]
    [GC 13725K->9691K(14616K), 0.0032600 secs]
    [GC 13851K->9828K(14616K), 0.0034450 secs]
    [GC 13988K->9966K(14616K), 0.0038190 secs]
    [GC 14126K->10107K(14616K), 0.0039240 secs]
    [GC 14267K->10247K(14616K), 0.1258140 secs]
    [GC 14407K->10387K(14744K), 0.0040400 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
    10387K->5407K(14744K), 1.3601020 secs]
    [GC 9567K->5549K(14616K), 0.0024490 secs]
    [GC 9709K->5695K(14616K), 0.0159350 secs]

    Pl post details of OS, database and EBS versions. The error is here
    >
    [12/1/10 8:04:04 AM] [UNEXPECTED] [1272712:RT4365650] java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA ...
    >
    Pl see if the solution in MOS Doc 367456.1 (Why Does the 'Concurrent Program Details Report - XML Publisher' Fail with 'No corresponding LOB dat) is applicable. Other possibly relevant MOS Docs are
    XML Report Preview : Java.Sql.Sqlexception: No Corresponding Lob Data Found          (Doc ID 418374.1)
    Getting ''No Corresponding Lob Data Found'' Error From XDOREPPB 'XML Report Publisher'          (Doc ID 399349.1)
    Publish Fsg Report fails with "java.sql.SQLException: No corresponding LOB data found"          (Doc ID 420528.1)
    The Canadian RL1 Electronic Interface is Ending in Error: 'java.sql.SQLException: No corresponding L          (Doc ID 1068986.1)
    AR Customer Balance Statement Letter /Statements Output is in XMLand not in PDF          (Doc ID 975501.1)
    "An error encountered either due to invalid Template details or due to null Data Input Stream" While          (Doc ID 1068524.1)
    XML Publisher Invoice Print Report Has No Output Generated          (Doc ID 427314.1)
    HTH
    Srini

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

Maybe you are looking for

  • How do I install a wireless printer on my iMac. No available printer shows up.

    How do I Install sprinter on my iMac?  No available printer shows up when I go to the Printer and Scanner icon.

  • Bootcamp

    So I just received my macbook pro today and wanted to install windows 7. Im pretty sure how to use bootcamp, but my question is how do I install the drivers on the windows portion? My macbook did not come with any Lion install cd's.

  • Two different 0CALDAY from 2 different dates

    Hi all, In my infocube, I've 4 different date fields : 0CRM_ACFR_K (Actual Start Date) 0CRM_ACTO_K (Actual End Date) 0CRM_PLFR_K (Planned Start date) 0CRM_PLTO_K (Planned End date) In a BEx query, my customer wants to use selection screen for both pl

  • Cannot save a Numbers document

    I  get a message when I try to save a Numbers file: "Coundn't auto-save document.  How do I fix this?

  • JDI deploy error

    Hi. We are going to install JDI and download JDI files from SAPNET. (SP10) When we deploy using SDM, we got error. Error is in SAP_DEVINF and here is detail log. How can we fix it ? deploy error log Starting Deployment of tc/SL/CMS/PCS Aborted: devel