Utilizing XML Publisher Report Bursting Program user-variables

When running the XML Publisher Report Bursting Program against a bursting control file, I see the following in the log:
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=4413342, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://hostname:8000/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=4413342, user-variable:cp:locale=en-US, user-variable:cp:user=USER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=4413368, user-variable:cp:org_id=204, user-variable:cp:reportdescription=Report Name, user-variable:cp:Dummy for Data Security=Y}
I would like to reference one or more of these in
1. My bursting control file
2. My template (to be output in final PDF).
I cannot seem to get this to work in my bursting control file by referencing:
${cp:user} (note that it just returns the word 'null' here instead of the value)
nor can I get it to work in my RTF template by referencing:
<?xdoxslt:get_variable($_XDOCTX, ‘cp:user’)?>
Should this work, or I am missing something?
Thanks

Thanks Ike, it likely would. The thing I keep coming back to is an example in the BIP Developer's Guide that suggests you can set a property and have it made available:
DocumentProcessor dp = new DocumentProcessor (cfgFile, xmlFile, dir);
Properties prop= new Properties();
prop.put("user-variable:ADMIN_EMAIL","[email protected]");
dp.setConfig(prop);
dp.process()
Seems to me that the work going on behind the scenes here (based on log statements alone) suggest the same sort of integration.. but I suppose not.
Thanks

Similar Messages

  • XML Publisher Report Bursting Program (XDOBURSTREP) is failing after ATG7

    Hello
    After upgrading ATG RUP7, we have issue related to the XML Bursting Program.
    XML Publisher Report Bursting Program (XDOBURSTREP Short Name) is failing with error when there is no output is generated by the Oracle Report, this was working fine before the ATG RUP7.
    Oracle XML Publisher Template Builder for Word
    Version 5.6 Build 45
    Oracle RDBMS : 10.2.0.4.0
    Oracle Applications : 11.5.10.2
    Concurrent Program: XML Publisher Report Bursting Program
    Concurrent Short Name:XDOBURSTREP
    Executable: XDOBURSTRPT
    The following is the log file of Bursting
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 22-OCT-2010 08:41:09
    0.932: [GC 0.932: [DefNew: 1792K->191K(1984K), 0.0190521 secs] 1792K->243K(6080K), 0.0193017 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    1.637: [GC 1.638: [DefNew: 1983K->45K(1984K), 0.0279269 secs] 2035K->283K(6080K), 0.0281136 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
    2.369: [GC 2.369: [DefNew: 1837K->192K(1984K), 0.0249747 secs] 2075K->597K(6080K), 0.0251559 secs] [Times: user=0.02 sys=0.00, real=0.03 secs]
    3.186: [GC 3.186: [DefNew: 1984K->130K(1984K), 0.0208499 secs] 2389K->713K(6080K), 0.0210453 secs] [Times: user=0.02 sys=0.01, real=0.02 secs]
    3.938: [GC 3.939: [DefNew: 1922K->114K(1984K), 0.0219872 secs] 2505K->825K(6080K), 0.0221742 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    4.781: [GC 4.781: [DefNew: 1906K->192K(1984K), 0.0271288 secs] 2617K->1258K(6080K), 0.0273437 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
    4.931: [GC 4.931: [DefNew: 1983K->192K(1984K), 0.0114155 secs] 3049K->1575K(6080K), 0.0116308 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    4.978: [GC 4.978: [DefNew: 1974K->1K(1984K), 0.0032511 secs] 3357K->1415K(6080K), 0.0034360 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    5.001: [GC 5.001: [DefNew: 1790K->34K(1984K), 0.0020751 secs] 3204K->1448K(6080K), 0.0022582 secs] [Times: user=0.01 sys=0.01, real=0.00 secs]
    5.023: [GC 5.023: [DefNew: 1814K->68K(1984K), 0.0021542 secs] 3228K->1481K(6080K), 0.0023365 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    5.273: [GC 5.273: [DefNew: 1860K->119K(1984K), 0.0055906 secs] 3273K->1533K(6080K), 0.0057779 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    5.451: [GC 5.451: [DefNew: 1911K->58K(1984K), 0.0059780 secs] 3325K->1587K(6080K), 0.0061632 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    5.653: [GC 5.653: [DefNew: 1850K->103K(1984K), 0.0034036 secs] 3379K->1632K(6080K), 0.0035865 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    5.813: [GC 5.813: [DefNew: 1895K->86K(1984K), 0.0053900 secs] 3424K->1667K(6080K), 0.0055748 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    5.932: [GC 5.932: [DefNew: 1878K->124K(1984K), 0.0035633 secs] 3459K->1705K(6080K), 0.0037447 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    6.057: [GC 6.057: [DefNew: 1916K->147K(1984K), 0.0043476 secs] 3497K->1760K(6080K), 0.0045299 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    6.214: [GC 6.214: [DefNew: 1939K->192K(1984K), 0.0120992 secs] 3552K->2141K(6080K), 0.0122907 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    XML/BI Publisher Version : 5.6.3
    Updating request description
    Retrieving XML request information
    Preparing parameters
    7.104: [GC 7.104: [DefNew: 1982K->192K(1984K), 0.0200714 secs] 3932K->2346K(6080K), 0.0202692 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    Set Bursting parameters..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=16649488, user-variable:cp:language=en, user-variable:cp:responsibility=23202, user-variable.OA_MEDIA=http://d1at2.atco.ca:8010/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=16649488, user-variable:cp:locale=en-US, user-variable:cp:user=URU4.ASHAFI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=16649506, user-variable:cp:org_id=43, user-variable:cp:reportdescription=XXPAY Database Audit Series Change Register}
    Start bursting process..
    7.845: [GC 7.845: [DefNew: 1984K->158K(1984K), 0.0181146 secs] 4138K->2495K(6080K), 0.0183025 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    7.885: [GC 7.885: [DefNew: 231K->14K(1984K), 0.0055622 secs]7.891: [Tenured[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    : 2486K->2073K(4096K), 0.2881229 secs] 2568K->2073K(6080K), 0.2940010 secs] [Times: user=0.29 sys=0.02, real=0.29 secs]
    8.682: [GC 8.682: [DefNew: 1787K->170K(1984K), 0.0120166 secs] 5861K->4243K(6080K), 0.0122079 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
    9.163: [GC 9.163: [DefNew: 1524K->74K(1984K), 0.0086781 secs]9.171: [Tenured: 4237K->2299K(4352K), 0.2773675 secs] 5597K->2299K(6336K), 0.2863681 secs] [Times: user=0.28 sys=0.00, real=0.29 secs]
    9.472: [GC 9.473: [DefNew: 90K->17K(1984K), 0.0025361 secs]9.475: [Tenured: 4299K->2311K(6104K), 0.2718601 secs] 4390K->2311K(8088K), 0.2747072 secs] [Times: user=0.28 sys=0.00, real=0.27 secs]
    9.822: [GC 9.822: [DefNew: 585K->42K(1984K), 0.0027399 secs]9.825: [Tenured: 4311K->2085K(6104K), 0.3354828 secs] 4897K->2085K(8088K), 0.3385340 secs] [Times: user=0.34 sys=0.00, real=0.34 secs]
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    /oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
    java.io.FileNotFoundException: /oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Heap
    def new generation total 1984K, used 194K [0xb1000000, 0xb1220000, 0xb4780000)
    eden space 1792K, 10% used [0xb1000000, 0xb1030a98, 0xb11c0000)
    from space 192K, 0% used [0xb11c0000, 0xb11c0000, 0xb11f0000)
    to space 192K, 0% used [0xb11f0000, 0xb11f0000, 0xb1220000)
    tenured generation total 6104K, used 4085K [0xb4780000, 0xb4d76000, 0xd0400000)
    the space 6104K, 66% used [0xb4780000, 0xb4b7d490, 0xb4b7d600, 0xb4d76000)
    compacting perm gen total 12288K, used 7424K [0xd0400000, 0xd1000000, 0xd8400000)
    the space 12288K, 60% used [0xd0400000, 0xd0b402a8, 0xd0b40400, 0xd1000000)
    ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
    rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-OCT-2010 08:41:20
    Any Help Appreciated
    Thanks

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Publisher Report Bursting Program ends in error

    We have a report that generates the XML output (ACH notification)
    In the after report we have a call to the Bursting program.
    The ACH notification completes with the correct output but the bursting ends in error showing
    Set Bursting parameters..
    Temp. Directory:/tmp
    [101211_072452383][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [101211_072452385][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=28081235, user-variable:cp:language=en, user-variable:cp:responsibility=50274, user-variable.OA_MEDIA=http://xxx/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=28081235, user-variable:cp:locale=en-US, user-variable:cp:user=xxx, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=28081236, user-variable:cp:org_id=83, user-variable:cp:reportdescription=xxx ACH Payment Nofitication}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
    java.io.FileNotFoundException: /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:523)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    The temp directory variable in the XML Publisher is /tmp which has all the permissions.
    The control file calls the delivery method (email 123 in the example) and uses the following template
    <xapi:document key="" output-type="pdf" delivery="123">
    <xapi:template type="rtf"
    location="XDO://XBOL.ACHPAYNOTIF.en.US/?getSource=true" filter=""/>
    </xapi:document>
    This template is defined for English language and Territory United States.
    I covered everything I could find here and in metalink and still cannot make it work.
    Any ideas?

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Publisher Report Bursting Program Randomly failing

    Hi,
    In our environment "XML Publisher Report Bursting Program" fails randomly and failures are very very few and random, and can not be reproduced.
    The error message is
    +++++++++++++++++++++++++++++++++++++++++++
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 16-APR-2013 14:00:42
    Exception in thread "main" java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:42)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine
    Program exited with status 1
    Executing request completion options...
    ++++++++++++++++++++++++++++++++++++++++++++++
    Had been trying to find out any pattern, but no fix time or particular parent request.
    Only common point in failure with above error are below columns in fnd_concurrent_request
    Description - blank
    LFILE_SIZE - 1476
    & interim_status_code - Blank
    Any suggestions will be helpful

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • FO processing for XML Publisher Report Bursting Program

    Hello,
    I am facing the following problem: if i try to burst a report using XML Publisher Report Bursting Program special characters like (ş,ţ,ă, etc.) in the resulting PDF look strange. I have tried running the report without bursting it and the characters appear just fine (after i've set the FO Processing Font Mapping). My guess is that XML Publisher Report Bursting Program is not using the right font mapping. Have you faced this problem before? Do you have any idea how to set the right font mapping for XML Publisher Report Bursting Program.
    Thank you.

    So the answer was to make sure the location in the bursting file (location="xdo://schema.template_code.en.US) exactly matches the language/country setting in the uploaded Definition. Then make sure the fonts have been added to the xdo.cfg file matching what your Font Mappings are:
    <font family="Cambria" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIA.TTC" />
    </font>
    <font family="Cambria" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />

  • XML Publisher Report Bursting Program

    is there a simple test to ensure this is working ?
    I have tried creating and running with a burst control file, but it errors.
    I want to ensure that everything works before I go back to square 1

    thanks, but same problem
    concurrent manager log shows
    Updating request description
    Retrieving XML request information
    Preparing parameters
    Set Bursting parameters..
    Start bursting process..
    --Exception
    null
    java.lang.NullPointerException
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:915)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:269)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Output post processor shows
    8/21/09 12:36:37 PM] [7984683:RT1491287] XML Publisher post-processing action complete.
    [8/21/09 12:36:37 PM] [7984683:RT1491287] Completed post-processing actions for request 1491287.
    [8/21/09 12:38:01 PM] [OPPServiceThread0] Post-processing request 1491288.
    [8/21/09 12:38:01 PM] [7984683:RT1491288] Executing post-processing actions for request 1491288.
    [8/21/09 12:38:01 PM] [7984683:RT1491288] Starting XML Publisher post-processing action.
    [8/21/09 12:38:01 PM] [7984683:RT1491288]
    Template code: BURST_STATUS_REPORT
    Template app: XDO
    Language: en
    Territory: US
    Output type: PDF
    [8/21/09 12:38:02 PM] [UNEXPECTED] [7984683:RT1491288] 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:585)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         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:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:319)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more
    [8/21/09 12:38:02 PM] [7984683:RT1491288] Completed post-processing actions for request 1491288.

  • XML Publisher Report Bursting

    I have created report using XML Publisher Report Bursting. The output-type of the report is pdf..
    <xapi:document output="${PROJECT_APPROVER}" output-type="pdf" delivery="123">
    But if I change the format to xls it's showing error and the report is not getting created.
    <xapi:document output="${PROJECT_APPROVER}" output-type="xls" delivery="123">
    Can any one help me how to get the report in excel format?
    The error in log file is below:
    [121212_045029867][][EXCEPTION] java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:394)
         at oracle.apps.xdo.oa.cp.CPUtil.setProperty(CPUtil.java:67)
         at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:45)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    XML/BI Publisher Version : 5.6.3
    Updating request description
    Retrieving XML request information
    Preparing parameters
    Set Bursting parameters..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=75676032, user-variable:cp:language=en, user-variable:cp:responsibility=50597, user-variable.OA_MEDIA=http://erplive.rssoftware.com:8002/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=75676032, user-variable:cp:locale=en-US, user-variable:cp:user=3094, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=75680212, user-variable:cp:reportdescription=RS Test Report Bursting, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..

    900300 wrote:
    There is no question related to pl/sql. I want to know that where do i need to make any change in bursting control file to get the report in excel format?This forum is for SQL and PL/SQL questions. Please post your question in a forum appropriate for it.

  • How Can I apply a RTF Function on a variable in RTF Template in XML Publisher Report

    Hi Everyone,
    I am developing a RTF Template of XML Publisher Report, I have a variable lv_counter which I can declare using below syntax
    <?xdoxslt: set_variable($_XDOCTX, 'lv_counter',0)?>
    I can access this variable in the template as <?xdoxslt: get_variable($_XDOCTX,'lv_counter')?>
    My need is to print the variable in words in the RTF Template. I am using <?xdofx: to_check_number(xdoxslt: get_variable($_XDOCTX,'lv_counter'))?>
    But this is not working. any help will be appreciated thanks in advance
    The XML Publisher Desktop version which I am using is 10.1.3.3.0
    Please let me know where I can post this question, if this is not the appropriate discussion forum.
    Thanks in Advance.

    Hi,
    Can you elaborate your requirement little bit clear with some example like what is your expected output.
    And you can post you BI related question in the BI publisher forum
    https://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/bi_publisher/content?filterID=contentstatus[published]~objecttype~objecttype[thread]
    Regards
    Sri

  • Custom XML Publisher Reports in EBS 11.5.10.2 Fails Randomly

    Hi Experts,
    I have a Custom XML PUblisher Report Concurrent Program in EBS 11.5.10.2.
    The Report fails randomly with a Warning. I get the following error,
    [11/21/08 12:17:21 PM] [UNEXPECTED] [915997:RT3085490] java.io.FileNotFoundException: /u01/PROD/prodcomn/admin/out/PROD_irl-dub-finmdt-01/o3085490.out (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    As you can the OPP fails to find the o3085490.out file in the $APPLCSF/$APPLOUT directory and actually the file is not there in the unix box on that location.
    If the same report is submitted again it Works fine, But not at all times.. some of them fails with the above error message.
    Any pointers to solve this one.
    Regards

    Hi,
    We are on Multi-node set up with two middle-tiers with a load balancing option Yes.
    The XML Publisher Version is 5.6.0. Is it required to move to 5.6.3 ?
    Please find a detailed explaination of the issue.
    Issue
    XML Publisher Reports Fails Randomly in Production
    Detailed Explaination
    XML Publisher Reports submitted in Production completes with Warning. You can say 1 out of 4 requests submitted in a sequence will fail.
    The Log message of the COncurent Program is something like this,
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 3091786 on node IRL-DUB-FINMDT-01 at 23-NOV-2008 15:36:58.
    Post-processing of request 3091786 failed at 23-NOV-2008 15:36:58 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Checking the Output Post Processor Log gives the following message
    [11/23/08 6:25:01 PM] [UNEXPECTED] [925353:RT3092523] java.io.FileNotFoundException: /u01/PROD/prodcomn/admin/out/PROD_irl-dub-finmdt-01/o3092523.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Its evident from the message the output file for the request is not generated.
    Some Findings to pass on to Version 1
    1. Report in not picked up for execution in this case as even the first statement is not executed and there is no oracle session and os process asscociated with it.
    I enabled trace and the trace was generated only for the successful ones and it was never generated for the ones completed with warning.
    2. The below query gives no values for the failed concurrent request, where as all successful ones have valid values.
    SELECT oracle_process_id,oracle_session_id,os_process_id
    FROM fnd_concurrent_requests
    WHERE request_id = 3091786
    Regards

  • Copy Concurrent Program - XML Publisher Report

    I am running a xml publisher report and it is working fine when i submit directly, but when i use copy function to copy a concurrent program the template is not defaulted and program completes without an error, but when i try to view the output i am getting "Unable to find the published output for this request" error.

    Hi user;
    Please check this and this
    Hope it helps
    Regard
    Helios

  • VO Extension Error in modifying the query of XML Publisher Report Template

    Hi Friends,
    I have one requirement related to calling XML Publisher Reports Template from OAF Page.
    When clicking on the submit button the XML Publisher template is calling and displaying the data.
    Our requirement is to display some more columns in the XML Publisher Template and display the data.
    As according to OAF stndards,whenever we need to add new columns for display or SELECT purpose,
    we will do the VO Extension. So we modified the query by adding the new additional colums in the standard VO.
    I am able to retrieve the data from the SQL DEVELOPER. But when doing the VO Extension process and
    calling the template from the OAF page its throwing the following error.Please suggest me some alternatives
    to fix the issue.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT
    DECODE(ASO_QUOTES.RESOURCE_ID, null, sales.name, sales1.name) sales_rep_name,
    aso_quotes.quote_name,
    aso_quotes.contract_id,
    aso_quotes.quote_number||decode(aso_quotes.quote_version,NULL,'',' - ') || aso_quotes.quote_version quote_name_version,
    to_char(aso_quotes.quote_expiration_date, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) quote_expiration_date,
    TO_NUMBER(TO_CHAR(aso_quotes.quote_expiration_date,'J')) - TO_NUMBER(TO_CHAR(Sysdate,'J')) duration,
    I_HEADER_CONTACT_PARTY.PARTY_NAME sold_to_contact_name,
    I_CUST_PARTIES.party_name customer_name,
    I_PHONE.PHONE_AREA_CODE || DECODE(I_PHONE.PHONE_AREA_CODE , NULL, '',' ' ) || I_PHONE.PHONE_NUMBER full_phone_number,
    I_INVOICE_REL_PARTY.PARTY_NAME invoice_to_contact_name,
    I_ACCTS_INV_PARTY.PARTY_NAME invoice_to_cust_party_name,
    I_INVOICE_LOCATIONS.ADDRESS1 invoice_to_address1,
    I_INVOICE_LOCATIONS.ADDRESS2 invoice_to_address2,
    I_INVOICE_LOCATIONS.ADDRESS3 invoice_to_address3,
    I_INVOICE_LOCATIONS.ADDRESS4 invoice_to_address4,
    decode(I_INVOICE_LOCATIONS.city, null,'',I_INVOICE_LOCATIONS.city || decode(I_INVOICE_LOCATIONS.county,null,'',',' || I_INVOICE_LOCATIONS.county)) invoice_to_city,
    I_INVOICE_LOCATIONS.state || decode(I_INVOICE_LOCATIONS.postal_code, null,'',' '||
    I_INVOICE_LOCATIONS.postal_code || decode(I_INVOICE_LOCATIONS.province,null,'',',' ||I_INVOICE_LOCATIONS.province )) invoice_to_county,
    I_INVOICE_LOCATIONS.country invoice_to_country,
    aso_quotes.currency_code Currency_Code,
    (select distinct ppf.email_address
    from per_people_f ppf,
    JTF_RS_SALESREPS jrs
    where jrs.resource_id = aso_quotes.resource_id
    and jrs.PERSON_ID = ppf.person_id
    and ppf.person_type_id = 3
    ) Sales_Rep_Email,
    aso_quotes.quote_header_id, oav.name||decode(oav.agreement_num,NULL,'',',')||oav.agreement_num||decode(oav.agreement_num,NULL,'',',')||oav.revision Agreement_name,
    oav.name||oav.agreement_num||oav.revision Agreement_check,
    to_char(oav.revision_date, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) revision_date,
    (select payment_term_name
    FROM
    aso_payments_v
    WHERE
    quote_line_id is null and
    quote_header_id = aso_quotes.quote_header_id) payment_terms,
    to_char(sysdate, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) curr_date,
    aso_quotes.total_list_price total_list_price,
    aso_quotes.total_adjusted_amount total_adjusted_amount,
    (aso_quotes.total_list_price + aso_quotes.total_adjusted_amount) total_net_price,
    aso_quotes.total_shipping_charge charges_total,
    aso_quotes.total_tax taxes_total,
    aso_quotes.total_quote_price total_quote_price,
    (select cust_po_number
    FROM
    aso_payments
    WHERE
    quote_line_id is null and
    quote_header_id = aso_quotes.quote_header_id ) cust_po_number,
    (select fct.name
    from fnd_currencies_tl fct
    where aso_quotes.currency_code = fct.currency_code
    and fct.language = userenv('lang')) Currency_Name,
    (select fcurr.symbol
    from fnd_currencies fcurr
    where aso_quotes.currency_code = fcurr.currency_code) Currency_Symbol,
    (Select meaning
    From oe_lookups
    Where lookup_type = 'FREIGHT_TERMS'
    And lookup_code = (select aship.freight_terms_code
    from aso_shipments aship
    where aship.quote_header_id = aso_quotes.quote_header_id
    and aship.quote_line_id is null)) Freight_Terms,
    (Select fl.meaning
    From fnd_lookup_values fl
    where fl.lookup_type = 'SHIP_METHOD'
    And fl.lookup_code = (select aship.ship_method_code
    from aso_shipments aship
    where aship.quote_header_id = aso_quotes.quote_header_id
    and aship.quote_line_id is null)
    And fl.language = userenv('LANG')) shipping_method ,
    aso_quotes.org_id ,
    aso_quotes.quote_number ,
    aso_quotes.Quote_version VersionNumber,
    I_ACCTS.ACCOUNT_NUMBER CustomerNumber,
    oav.agreement_num Agreement_Number,
    :action action,
    aso_quotes.minisite_id minisite_id,
    (select imt.msite_name from ibe_msites_tl imt where imt.msite_id = aso_quotes.minisite_id
    and imt.language = userenv('LANG')) msite_name,
    (select asl.meaning from oe_lookups asl, aso_shipments ash
    where asl.lookup_type = 'SHIPMENT_PRIORITY'
    and asl.lookup_code = ash.shipment_priority_code
    and ash.quote_header_id = aso_quotes.quote_header_id) shipment_priority_name
    ,(select OE_SYS_PARAMETERS.VALUE('INSTALLMENT_OPTIONS',aso_quotes.org_id) from dual) enable_pay_now
    from
    hz_CONTACT_POINTS I_PHONE ,
    HZ_RELATIONSHIPS I_HEADER_CONTACT_REL,
    HZ_PARTIES I_HEADER_CONTACT_PARTY,
    ASO_QUOTE_HEADERS ASO_QUOTES,
    HZ_RELATIONSHIPS I_INVOICE_REL,
    HZ_PARTIES I_INVOICE_REL_PARTY,
    HZ_PARTY_sites I_INVOICE_PARTY_SITES,
    HZ_LOCATIONS I_INVOICE_LOCATIONS,
    HZ_PARTIES I_CUST_PARTIES,
    HZ_CUST_ACCOUNTS I_ACCTS,
    HZ_CUST_ACCOUNTS I_ACCTS_INV,
    HZ_PARTIES I_ACCTS_INV_PARTY,
    JTF_RS_SALESREPS_MO_V SALES,
    JTF_RS_SALESREPS_MO_V SALES1,
    FND_TERRITORIES_VL I_TERRITORIES,
    oe_agreements_vl oav
    where
    ASO_QUOTES.PARTY_ID = I_HEADER_CONTACT_REL.PARTY_ID(+)
    AND I_HEADER_CONTACT_REL.SUBJECT_ID = I_HEADER_CONTACT_PARTY.PARTY_ID(+)
    AND I_HEADER_CONTACT_REL.SUBJECT_TYPE(+) = 'PERSON'
    AND I_HEADER_CONTACT_REL.SUBJECT_TABLE_NAME(+) = 'HZ_PARTIES'
    and i_header_contact_rel.object_id(+) = aso_quotes.cust_party_id
    AND ASO_QUOTES .INVOICE_TO_PARTY_SITE_ID = I_INVOICE_PARTY_SITES.PARTY_SITE_ID (+)
    AND I_INVOICE_PARTY_SITES.LOCATION_ID = I_INVOICE_LOCATIONS.LOCATION_ID(+)
    AND I_INVOICE_LOCATIONS.country = I_TERRITORIES.territory_code(+)
    AND ASO_QUOTES.INVOICE_TO_PARTY_ID = I_INVOICE_REL.PARTY_ID(+)
    AND I_INVOICE_REL.SUBJECT_ID = I_INVOICE_REL_PARTY.PARTY_ID(+)
    AND I_INVOICE_REL.SUBJECT_TYPE(+) = 'PERSON'
    AND I_INVOICE_REL.SUBJECT_TABLE_NAME(+) = 'HZ_PARTIES'
    AND i_invoice_rel.object_id (+) = aso_quotes.invoice_to_cust_party_id
    AND ASO_QUOTES.ORG_ID = SALES.ORG_ID(+)
    AND ASO_QUOTES.EMPLOYEE_PERSON_ID = SALES.PERSON_ID (+)
    AND ASO_QUOTES.ORG_ID = SALES1.ORG_ID (+)
    AND ASO_QUOTES.RESOURCE_ID = SALES1.RESOURCE_ID (+)
    AND ASO_QUOTES.CUST_ACCOUNT_ID =I_ACCTS.CUST_ACCOUNT_ID(+)
    AND ASO_QUOTES.CUST_PARTY_ID = I_CUST_PARTIES.PARTY_ID
    AND ASO_QUOTES.INVOICE_TO_CUST_ACCOUNT_ID = I_ACCTS_INV.CUST_ACCOUNT_ID(+)
    AND ASO_QUOTES.INVOICE_TO_CUST_PARTY_ID = I_ACCTS_INV_PARTY.PARTY_ID(+)
    AND aso_quotes.phone_id = i_phone.contact_point_Id(+)
    AND oav.agreement_id(+) = aso_quotes.contract_id
    AND aso_quotes.quote_header_id = 666584
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11915)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at oracle.apps.aso.print.server.PrintQuoteAMImpl.queryQuote(PrintQuoteAMImpl.java:447)
         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.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11915)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at oracle.apps.aso.print.server.PrintQuoteAMImpl.queryQuote(PrintQuoteAMImpl.java:447)
         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.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

    "java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL"
    Try the suggestions in this? https://kr.forums.oracle.com/forums/thread.jspa?messageID=10253362
    Check the bindign styles and bind variables..

  • XML Publisher Report Output from OAF Page

    Hi,
    I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
    Please see the below code.
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
    String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
    System.out.println("s1 = " + s1);
    String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
    System.out.println("s2 = " + s2);
    String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
    CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
    System.out.println("s3 = " + s3);
    if(requestId != 0)
    try
    Number number = new Number(requestId);
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, number.intValue());
    callablestatement.setString(3, s2);
    callablestatement.setString(4, s1);
    callablestatement.execute();
    String s4 = callablestatement.getString(1);
    System.out.println("Before S4 if statement");
    if(s4 == null || s4.equals(""))
    // throw new RuntimeException();
    System.out.println("URL is null");
    System.out.println(" print ouput url - " + s4 );
    // throw OAException.wrapperException(exception);
    oadbtransactionimpl.putValue("OutputURL", s4);
    System.out.println(" print ouput url - " + s4 );
    }

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • Xml Publisher Report Without RDF

    Hi experts,
    I need to customize the seeded XML publisher report.Till now i developed XML publisher reports by developing rdf only. But here i didn't see any rdf for it..
    without rdf how we can create the xml publisher report. I need to insert a field in this report where i need to insert this field.
    where i found the SQL query for this report.Please help me
    Thanks
    Ashok

    Thank u,
    Here I need to customize the Sales Order XSL Template which is a seeded template in Order Management.
    and it will execute when user select the actions button-> print and prview .so there is no concurrent program for this.they did the setups for this.
    I didn't find any datetemplate for this in data defination window.here I need to change this one as
    1.     Update the Report Header to read “Dispatch Note” instead of “ORDERING DOCUMENT”.
    2.     Inclusion of logo for each police authority (Open Issue).
    3.     Modification to include *“United Kingdom” instead of U.S.* in the free text portion of the PRODUCT section. “United Kingdom” value will be derived from the country specified for the selected organization and not hardcoded.
    4.     Footer to include shipment date instead of Sales Order Creation date and the document should be available to print only after Ship Confirm.
    5.     Updating the Layout template in the Transaction Type setup, so that it points to the modified layout template.
    6.     The modified Dispatch Note document will be included in the Ship Confirm document set and this document set will be included in the respective Ship Confirm rules. This Ship Confirm Rule will be attached in the Shipping parameters tabs for both the organisations. This step would enable the Dispatch Note to be printed automatically after successful completion Ship Confirm process.
    I have *.XSD file and .XSL file * .. I don't find any data template in datadefination window to see the SQL query.
    I thought now i have to change the *.XSD AND .XSL FILES* is it right? Is there any other solution for this ..
    Thanks
    Ashok
    Edited by: 886640 on Oct 11, 2011 6:41 AM
    Edited by: 886640 on Oct 11, 2011 10:00 PM
    Edited by: 886640 on Oct 11, 2011 11:07 PM

  • XML Publisher Report getting errored out

    Hi,
    I have created a basci XML Publisher report.
    When I run the report I am getting the following error in concurrent program log.
    XDO Data Engine ver 1.0
    Resp: 51553
    Org ID : 996
    Request ID: 5040983
    All Parameters: p_po_number=11
    Data Template Code: TDD1
    Data Template Application Short Name: PO
    Debug Flag: Y
    {p_po_number=11}
    Calling XDO Data Engine...
    [072706_012532569][][STATEMENT] oracle.jdbc.driver.OracleBlobInputStream@1b5340c
    [072706_012533015][][STATEMENT] Template parsing started...
    [072706_012533766][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:327)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:251)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:642)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:169)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:259)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    [072706_012533766][][STATEMENT] Template parsing completed...
    [072706_012533766][][STATEMENT] Setting Data Template
    [072706_012533766][][STATEMENT] Setting JDBC Connection
    [072706_012533766][][STATEMENT] Setting Parameters
    [072706_012533767][][STATEMENT] Setting Parameters
    [072706_012533826][][STATEMENT] Process Data ...
    [072706_012533870][][STATEMENT] Writing Data ...
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:398)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:357)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:342)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:288)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:312)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:307)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:207)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:272)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    The steps I followed to create the report are
    1. I have created a concurrent program with executable as XDODTEXE.
    2. Created a Data Template
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <dataTemplate name="DATA" version="1.0">
    <parameters>
    <parameter name="p_po_number" dataType="varchar2"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="ROW">
    <![CDATA[select pha.segment1, pra.release_num,pra.org_id
    from
    po_headers_all  pha,
    po_releases_all pra
    where
    pha.po_header_id=pra.po_header_id and
    pha.segment1=:p_po_number]]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    3. I have created a data definition with concurrent program short name as code and uploading data template.
    4.I have created a rtf template and registered against the data definition.
    When I run the concurrent program, its failing with the above mentioned error, I am not able to debug out of it.
    Could somebody please help me?
    Thanks in Advance,
    Thiru

    Hi,
    I don't see any issue with data template. it works fine for me .
    Make sure the CP program shortname and Application name are the same as data definiton code and application name.
    As per the error It seems the JCP could not get the data template from repository and its passing null.
    What xdo version you are using ?

  • 11i EBS XML Publisher Report with Multiple Data Source

    I need to create XML Publisher report in 11i EBS pulling data from another 10.7 EBS Instance as well as 11i EBS in single report.
    I am not allowed to create extract or use db links.
    My problem is how to create Data Source Connection using Java Concurrent Program.
    The approach I am trying is
    1. create Java concurrent program to establish connection to 10.7 instance.
    2. Will write the SQL queries in Data Tempalete with 2 Data Source 1 for 11i EBS and 2 for 10.7 EBS
    3. Template will show the data from both query in 1 report..
    Is there any other way to proceed using datasource API...
    thanks

    option1:
    The query should be same @ detail level, only the template has to be different for summary and details.
    @runtime, user can choose to see the detail/summary
    Disadvantage, if the data is huge,
    advantage , only one report.
    option2:
    create two separate reports summary and details
    and create diff data and diff layout and keep it as different report
    Advantage, query will perform based on the user run report, summary/detail, so that you can write efficient query.
    Dis advantage , two reports query/template to be maintained.

Maybe you are looking for