Bursting Query

Hi,
I would like to use BI Publisher to email reports to customers using 'Bursting'. I have already defined the data source that is coming from a report based in answers (OBIEE). I am not sure how the query should be defined in the bursting properties as I am not directly querying any tables as below:
SELECT DISTINCT customer KEY,
'CUST_PDF' TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' LOCALE,
'PDF' OUTPUT_FORMAT,
'EMAIL' del_channel,
cust_email PARAMETER1,
'[email protected]' PARAMETER2,
'[email protected]' parameter3,
'Customer Arrears Update' parameter4,
'Dear'
||' '
|| cust ||chr(13)
|| 'Please find attached your arrears invoice.'
||chr(13)
|| 'Regards'
||chr(13)
|| 'Collections Team' PARAMETER5,
'true' parameter6,
'[email protected]' parameter7
FROM ?
I have already defined the data source and not sure how this query captures this. Can anyone help?
Thanks

Thanks I am trying to avoid replicating code and building extra tables to store email addresses. I am trying to build the same query as in OBIEE but only selecting the relevant fields and conditions. I have used the 'Query Builder' in bursting properties as below:
select DISTINCT Broker."Introducer Name" KEY,
'Broker_Props_Monthly' TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' LOCALE,
'EXCEL' OUTPUT_FORMAT,
'EMAIL' del_channel,
'[email protected]' PARAMETER1,
--'[email protected]' PARAMETER2,
--'[email protected]' parameter3,
'Brokers Test' parameter4,
'Dear'
||' '
|| Broker."Introducer Name"
||chr(13)
|| 'Please find attached your update.'
||chr(13)
|| 'Regards'
||chr(13)
|| 'Collections' PARAMETER5,
'true' parameter6
[email protected]' parameter7
from     "Applications".Organisation Organisation,
     "Applications".Broker Broker,
     "Applications"."Fact" "Fact"
where Organisation.Channel = 'FRM'
and ("Fact"."Proposal Date" between '01-FEB-2012' AND '29-FEB-2012' OR "Fact"."Activation" between '01-FEB-2012' AND '29-FEB-2012')
Unfortunately when running this job it fails:
oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.XDOException: java.io.IOException: prepare query failed[nQSError: 27002] Near <->: Syntax error [nQSError: 26012]
The error message isnt very clear, can anyone help with identifying where the problem lies in the query.
Thanks

Similar Messages

  • How to Pass printer details dynamically for bursting query in BI Publisher

    Hi All,
    We are splitting our invoice details by bursting option but we want to print the invoices based on printer selection of the user.
    can any one explain me how can we pass the printer details dynamically for bursting query in BI publisher.
    Thanks & Regards,
    Manohar Reddy

    Hi Saurabh,
    we can do it, ultimately u will end of changing the product code, which wont be supported :)

  • Bursting and Delivery on BIP EE

    Hello all,
    I'm using the BIP EE (standalone) version 10.1.3.4.1 (build:1145).
    I'm trying to create the 2 pdf files and upload them to the FTP directory '/inbox/'.
    the Data model query:
    select 'SUPPLIER1' supplier from dual
    union
    select 'SUPPLIER2' supplier from dual
    the Bursting query:
    SELECT SUPPLIER KEY,
    'dev_bur' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'FTP' DEL_CHANNEL,
    'ftp.my-server.com' PARAMETER1,
    'dev' PARAMETER2,
    '123' PARAMETER3,
    'inbox/' PARAMETER4,
    'tsflog_'|| SUPPLIER ||'.pdf' PARAMETER5
    FROM (select 'SUPPLIER1' supplier from dual
    union
    select 'SUPPLIER2' supplier from dual)
    I'm using the delivery and bursting from the "Schedule" button and the Run emmidiatelly option.
    Does any one have a successfully pdf file uploaded to the FTP?
    Can any one suggest me where is the problem?
    The delivery and Burst return with the following errors:
    LOG Part:
    [043010_141400782][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :ftp
    [043010_141400794][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    ERROR:
    [043010_141400795][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.batch.DeliveryHelper.getFtpDeliveryRequest(Unknown Source)
         at oracle.apps.xdo.batch.DeliveryHelper.addRequest(Unknown Source)
         at oracle.apps.xdo.batch.bursting.DocumentDelivery.addDeliveryRequest(Unknown Source)
         at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitEnterpriseDeliveryRequest(Unknown Source)
    In addition:
    I've tried to upload file using the "Send" button. The file have been successfully uploaded to the ftp. But the file is corrupted, i.e. can't be readable in the PDF reader. seems the the file was uploaded using the non-binary mode.
    Thanks in advance!
    Eldar.A.

    Hi all,
    within the delivery note specification the FTP Server name has been set the same to the IP address.
    For example:
    OLD
    FTP server name: Test
    IP: 1.1.1.1
    Port:21
    NEW
    FTP server name: 1.1.1.1
    IP: 1.1.1.1
    Port:21
    Then issue was resolved.
    Please, refer to the SR# 3-1488517361.
    with regards,
    Eldar A.

  • BI Publisher report bursting problem

    I am not able to make my report burst to separate files for ftp delivery. I am running BI Publisher version 10.1.3.4.1 (stand-alone). My data query looks like this:
    select a.agency_id, b.borr_name
    from agency_tbl a, borr_tbl b
    where a.rpt_date >= 20100101 and a.rpt_date <= 20100110
    and a.borr_id = b.borr_id
    and a.agency_id in (80013,80019)
    order by a.agency_id, b.borr_name
    My bursting/delivery query looks like this:
    select agency_id "KEY",
    'mytemplate' as TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'FTP' DEL_CHANNEL,
    'myserver' PARAMETER1,
    'myid' PARAMETER2,
    'mypwd' PARAMETER3,
    '/home1/web-docs-443/files/pdffiles' PARAMETER4,
    convert(varchar,agency_id) || '.pdf' PARAMETER5
    from agency_tbl
    where agency_id in (80013,80019)
    and rpt_date >= 20100101 and rpt_date <= 20100110
    (I have to put "KEY" in quotes because my database is sybase, and KEY is a reserved word.)
    I have verified that both queries return data (6 records each, no null agency_id keys).
    The goal is to create a file for each agency that lists their associated borrowers.
    I can view the report without problems. But when I schedule the report and enable bursting, I get the "Job was failed" email notification, and the report history shows this:
    Job Execution Information
    History ID 218
    Status Failed
    Start Processing Time 3/21/11 10:27 AM
    End Processing Time 3/21/11 10:27 AM
    Time Elapsed 1.68 sec
    System Message oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2116)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:358)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: java.lang.NullPointerException
         at com.sun.java.util.collections.Hashtable.containsKey(Hashtable.java:300)
         at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.processRow(Unknown Source)
         at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endDeliveryInfoElement(Unknown Source)
         at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endElement(Unknown Source)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1318)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)
         at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.getDeliveryChannels(Unknown Source)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.createEnterpriseReportRequest(Unknown Source)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.setDeliveryControlFile(Unknown Source)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:1916)
         ... 3 more
    Bursting Definitions
    Bursting Node /ROWSET/ROW/agency_id
    Delivery Node /ROWSET/ROW/agency_id
    Any help will be greatly appreciated. This has me stumped . . . I am out of ideas.

    What caused our bursting problem:
    We had to put the word "KEY" in quotes (in our bursting query), because KEY is a reserved word in sybase. But putting it in quotes caused a problem - the results of the bursting query did not contain a "KEY" tag.
    . . . And the solution:
    We added the connection property "GET_COLUMN_LABEL_FOR_NAME=true" to our sybase datasource definition. Many thanks to Tim Dexter, and to Paul from the sybase forums (http://newsgroupstats.info/article/forums.sybase.com/sybase.public.jconnect/2308/Column-aliases-not-working.html) c. 2007.
    And thanks again to Jorge for the helpful suggestion.
    Steve Z.

  • BI Publisher: Issue while scheduling the report/query to be executed daily

    Hi,
    We are using Oracle Business Intelligence 11.1.1.6.3 and while we schedule a report(RTF Template) we are facing issue.We use bursting query and when we select option to execute immediately it runs fine and sends notifications,it also executes when we schedule it to run Once but fails when i schedule the report to be executed DAILY .

    hii
    The query does not includes any RKF, CKF any complex calculations. as I said before also query is based on MP which is designed on a single Cube. There are no such navigational Attributes used for selection, Number of records are not more than 300 on that particular selection parameter
    there is only one info object which is creating issue & it is a master info object. If i am restricting this info object in the query & then executes the query , it gives the error msg also i put a variable for input parameter, & there I restrict the value, then also query executes with an error msg
    But if query is not restricted with  any value for that info object then query executes with in a second.
    Thanks
    neha

  • Error while running the BI Publisher using burst option

    Hi,
    I am new to BI Publisher.I have a requirement where I have to save my report to different files based on the department category.
    Going through the net,I found the followiing link which explained what I required.
    http://www.oracle.com/technology/obe/obe_bi/bipub/advance/advance.htm#t4s2
    But I am getting the following error
    Job ID 104
    Job Name Bursting2
    Job Owner administrator
    Report Name Bursting2
    Report Scope Private
    Job Schedule Run at 3/8/10 3:03 PM
    Bursting mode On
    Job Execution Information
    History ID 104
    Status Failed
    Start Processing Time 3/8/10 3:03 PM
    End Processing Time 3/8/10 3:03 PM
    Time Elapsed 906.00 millisec
    Bursting Definitions
    Bursting Node /ROWSET/ROW/DNAME
    Delivery Node /ROWSET/ROW/DNAME
    Delivery 1 :
    Delivery Key RESEARCH
    Delivery Type FILE
    Status Failed
    System Message C:\kuleena\RESEARCH.pdf (The system cannot find the path specified)
    Delivery 2 :
    Delivery Key SALES
    Delivery Type FILE
    Status Failed
    System Message C:\kuleena\SALES.pdf (The system cannot find the path specified)
    Please help me out on the same.
    Thanks and Regards,
    Kuleena

    Hi,
    Just a doubt.
    I tried running the above report from the machine where BI PUBLISHER has been installed,I was able to save reports with different names to the folder.How can I run the report from my machine?What path should I give when we do not run from the server?
    Following was my bursting query,
    select NVL(d.dname,'SALES') KEY, 'Template2' TEMPLATE, 'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE, 'PDF' OUTPUT_FORMAT, 'FILE' DEL_CHANNEL, 'C:\kuleena' PARAMETER1,
    d.dname || '.pdf' PARAMETER2
    from dept d
    Kindly reply.
    Edited by: K Tanna on Mar 11, 2010 2:12 AM

  • Bursting Scheduling Error - Urgent

    Hi,
    Can anyone help? I have scheduled a report for bursting and see the following errors in schedule history:
    Error!! Can not find the delivery details for the delivery Id :Commercial Data Ltd
    When I check the bursting query this delivery id(Commercial Data Ltd) does exist and there is an email address.
    Can anyone help understanding why this error appears, is the email address invalid?
    Also where can I locate the log file on the server containing the details of the delivery:
    Error!! Could not deliver the output for Delivery channel:EMAIL . Please check the Log for error details..
    Thanks
    Edited by: sliderrules on 07-Oct-2010 02:03

    Hi,
    Can anyone confirm if the email address needs to be valid for the bursting schedule to process successfully, I see these errors in the schedule history:
    Delivery Key ASSET LTD
    Delivery Type
    Status Failed
    System Message Error!! Can not find the delivery details for the delivery Id :ASSET LTD
    The delivery key does exist and there is an email address?

  • Report Job failed when Bursting is used in BI Publisher 11.1.1.5

    The Report Job failed when Bursting is used.
    error message:
    [INSTANCE_ID=aimedap1s.1347261753557] [OUTPUT_ID=1421][ReportProcessor]Error rendering documentoracle.xdo.servlet.scheduler.ProcessingException: [ReportProcessor]Error rendering document
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.renderReport(BurstingReportProcessor.java:455)
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.onMessage(BurstingReportProcessor.java:127)
    at oracle.xdo.enterpriseScheduler.util.CheckpointEnabl
    the reproduce steps :
    1. Create a Bursting query in the Data Model
    2. Create Report Job with the option
    "Use Bursting Definition to Determine Output & Delivery Destination" enabled
    3.Schedule the report Job
    4. run the report and found the status of it is problem, the error message above can be found.
    *Note:not all the report job failed when bursting is used, in step1 when set OUTPUT_FORMAT as PDF,HTML,RTF,PowerPoint 2007,
    the report will be run successfully,but when set other OUTPUT_FORMAT that list in the following document, the report can not run successfully.
    http://docs.oracle.com/cd/E21764_01/bi.1111/e18862/T527073T555155.htm
    Adding Bursting Definitions>>Defining the Query for the Delivery XML
    >>OUTPUT_FORMAT
    Can anyone give some advice on how to troubleshooting it?
    Looking forward for your reply
    Regards

    Hello vma.
    I happened to find the solution on 11.1.1.3. With xdo-server.jar, you can use DataProcessor class.
    For details and sample source code:
    http://blog-koichiro.blogspot.com/2011/11/bi-publisher-java-apigenerate-pdf-with.html
    * Not sure if it works on 11.1.1.5 though, I hope this gonna help you.

  • Unable to Send or Burst a Report

    Thanks to the help I recieved back in thread another thread (Master Detail Arangement Question I was able to get my data to output right but now I have a issue with it. I am unable to do anything but render and view it once the conditional is added to the inner loops for getting purchase items. The report fails and generates a nasty Java Exception that is shown in the scheduler but leaves no trace in the log files. This happens to be the only report that does this on my server and removing that loop solves the issue. The sample XML is located on the previous post and I have a copy of the completed template from that post I can email if needed.
    Exception is:
    Status          Failed
    System Message               
    oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.XDOException
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:894)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:361)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.XDOException
         at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
         at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
         at java.lang.Throwable.<init>(Throwable.java:180)
         at java.lang.Exception.<init>(Exception.java:29)
         at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:40)
         at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:44)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:96)
         at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:398)
         at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:249)
         at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:95)
         at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:340)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:888)
         ... 3 more
    Ok, that was question 1. The second question relates to setting up bursting so that I can email burst the invididual pages of the this report based on Order ID from the dataset. This is the bursting query I am trying to use. It is set to deliver by and split by Order_ID.
    select
    a.ORDER_ID KEY,
    'Invoice' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    (A Select Query that returns customer's email address)
    PARAMETER1,
    '[email protected]' PARAMETER2,
    ''PARAMETER3,
    'Invoice for Order No. ' || a.ACCOUNT_REFERENCE_ID PARAMETER4,
    GETNAME(a.ACCOUNT_ID,3) || ',' ||chr(13)|| 'Thanks for using the Store. Your Invoice for Order Number: ' || a.Order_ID || ' is attached and your account has been billed ' || TO_CHAR((a.TRANSACTION_VALUE*(-1)),'FML999G999G999G999G990D00') || ' as shown.' || CHR(13) || 'You have been assigned a pickup date of ' || COALESCE(TO_CHAR(TRACK_PICKUP_DATE, 'MM/DD/YYYY'), '(Pickup Date Not Assigned)') || '.' || CHR(13) || 'You may pickup your order at our Office on this date. Thanks for using our store.' PARAMETER5,
    'true' PARAMETER6,
    '[email protected]' PARAMETER7
    from HOUSING_BUCKS.accounts a, HOUSING_BUCKS.ORDER_TRACKING b
    WHERE a.account_transaction_type_id in ('pend','purchase')
    and
    a.account_final_trans_type = 'purchase' and a.ACCOUNT_REFERENCE_ID = b.TRACK_ORDER_ID;

    Hi Donald S Matheson,
    Are you still facing this issue?
    May i know which application or service you are using. Can be more precise and provide me the steps to check the behavior at my end.
    Regards,
    Ajlan Huda.

  • Reply-To in burst file not working?

    Hi,
    I am trying the burst through email feature. It appears like the reply-To
    parameter is not working when it is in burst query.
    When I use send without burst, it seems to be working.
    Anyone have experience with this ?
    Please let me know
    Thanks

    but do I lose "push" capabilities if I do this?
    Yes, you do. Sorry.
    The Yahoo push email ONLY works if you use the Yahoo shortcut in creating the account. And the Yahoo shortcut ONLY lets you use a @yahoo.com address.

  • PDFs are not generated from Burst

    Hi all
    I am getting this error when i schedule my report to run:
    Document generation failed
    [INSTANCE_ID=V110APLFFC006.1305547398367] [OUTPUT_ID=1035][ReportProcessor]Error rendering documentoracle.xdo.servlet.scheduler.ProcessingException: [ReportProcessor]Error rendering document
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.renderReport(BurstingReportProcessor.java:455)
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.onMessage(BurstingReportProcessor.java:127)
    at oracle.xdo.enterpriseScheduler.util.Checkpoi
    This is my bursting delivery query below (which took me a loooong time to figure out!). I am bursting to the file system on the OBIEE server. Funnily enough when i change the output format to RTF, then the bursting works perfectly, but if i change it to PDF, i get this error. I have looked and looked for a reason as to why this happens but i have no idea. I can see in the job history that the data is split correctly and i can see that it generates the documents (they are shown when i click on Republish). Please if anyone has any idea, please reply - i desperately want to get this working, and i have no idea why it doesnt work.
    I have checked the logs and it seems that everything generates correctly, and when i open the .out files produced in AdobeReader everything opens successfully and the document has the correct information. It is also not related to permissions on the folder specified in the bursting query -> if i use the runReport webservice for the same report and specify C:\Temp as the output path ( and pdf as the attributeFormat), the file is written out correctly. It seems that the problem is with writing out more than one pdf file, but why???????? Not sure if it has anything to do with the scheduler at all ( i run the report by using the RunNow option in the scheduler)?
    Thanks very much for any and all help!
    SELECT nvl("NAME",0) KEY,
    'OIC' TEMPLATE,
    'en-us' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'FILE' DEL_CHANNEL,
    'C:\Temp\' PARAMETER1,
    "NAME" PARAMETER2
    from
    (select "EXT"."NAME" as "NAME",
    "RES"."AT12" as "AT12"
    from "JM"."EXT" "EXT",
    "CN"."RES" "RES"
    where "RES"."AT12" = "EXT"."ID" )

    HI,
    Kidnly check whether Cost Center is maintained in the Work Center which is attached in the Maint. Plan
    Regards,
    Chandru.

  • Issue when Bursting to Email in BI Publisher

    We have a requirement in BI Publisher to burst a report to email and to shared folder. We are able to successfully do the same.
    But we are facing the following issues
    We need to change the name of the file sent as attachment.
    When we are bursting to email and file using one query with union we get 2 copies of the file sent as attachment in the email. But we need only a single copy.
    We need to add Bcc parameter to the email bursting query
    Please provide us with your valuable suggestions to handle these issues.

    Hi,
    Our requirement is to burst to file and email in one report that why I did a union. Please find the query below. Yes the union returns two rows. Assume that email1,email2,email3 mentioned below are repalced with some valid email addresses
    Select
    'Dummy' "KEY",
    'dummy' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'EXCEL' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    'email1' PARAMETER1,
    'email2' PARAMETER2,
    'email3' PARAMETER3,
    'SUBJECT: BI Direct Test Report' PARAMETER4,
    'BODY: Test123' PARAMETER5,
    'true' PARAMETER6,
    '[email protected]' PARAMETER7
    from sys_calendar.calendar
    where calendar_date=date
    union
    SELECT
    'Dummy' "KEY",
    'dummy1' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE ,
    'EXCEL' OUTPUT_FORMAT,
    'FILE' DEL_CHANNEL,
    'D:\' PARAMETER1,
    'test1.xls' PARAMETER2,
    'PARAMETER3',
    'PARAMETER4',
    'PARAMETER5',
    'PARAMETER6',
    'PARAMETER7'
    from sys_calendar.calendar
    where calendar_date=date

  • Null pointer exception in bursting

    Hi Experts in BIP,
    Please some one help me.....stil googling but not find exact solution....please help me to solve this issue...very urgent...please
    my data source is obiee answers and able to view the data individually
    and my temple is rtf. after combining both also i am able to view my data in required formate but when i try to burst it throws an error as follows:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2038)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:316)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: java.lang.NullPointerException
    for more info:
    here is the bursting query
    select Letter_Names.rec_code KEY
    , 'SmallDebts' TEMPLATE
    , 'RTF' TEMPLATE_FORMAT
    , 'en-US' LOCALE
    , 'RTF' OUTPUT_FORMAT
    , 'EMAIL' DEL_CHANNEL
    , '[email protected]' PARAMETER1
    , '[email protected]' PARAMETER2
    , '[email protected]' PARAMETER3
    , 'Automated' PARAMETER4
    , 'attached file' PARAMETER5
    , 'true' PARAMETER6
    , '[email protected]' PARAMETER7
    from "Telebet Debt Recovery"."Letter Names" Letter_Names
    Please help me

    I managed to avoid the spaces in the subject area name and the key column
    and also mainted the delivery by which is same as the key column in my bursting
    and also view the bursting query whether it displays the entered data is exactly sit inside the tags of xml and then exectued ....then atlast it worked excelantly....
    <ROWSET>
    <ROW>
    <KEY></KEY>
    <TEMPLATE></TEMPLATE>
    <TEMPLATE_FORMAT></TEMPLATE_FORMAT>
    <LOCALE></LOCALE>
    <OUTPUT_FORMAT></OUTPUT_FORMAT>
    <DEL_CHANNEL></DEL_CHANNEL>
    <PARAMETER1></PARAMETER1>
    <PARAMETER2></PARAMETER2>
    <PARAMETER3></PARAMETER3>
    <PARAMETER4></PARAMETER4>
    <PARAMETER5></PARAMETER5>
    <PARAMETER6></PARAMETER6>
    <PARAMETER7></PARAMETER7>
    <PARAMETER8></PARAMETER8>
    <PARAMETER9></PARAMETER9>
    <PARAMETER10></PARAMETER10>
    </ROW>
    </ROWSET>
    i followed this to avoid nullpointer exception : using this link http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T518230T518233.htm#4512015
    really thanks for the people who provieded the inputs.
    Thanks,
    Eswar.

  • Email Bursting only Sending First Delivery

    We are using the standalone version of BIP (10.1.3.3.2), and when I try to test burst a report using email delivery BIP consistently sends the first delivery, but fails on each subsequent delivery. I suspect it has to do with my bursting SQL, but it's hard to say.
    My Data source is like this:
    <DATA>
    <K2_QUERY>
    <ROW>
    <NAME>JON GOODING</NAME>
    <BRANCH>MED</BRANCH>
    <CUSTOMER>SHASTA SERVICES INC DBA THE TIMBER</CUSTOMER>
    <VISIT_DATE>2008-06-12T00:00:00.000-07:00</VISIT_DATE>
    <CONTACT>Michael Williams - Project Mgr</CONTACT>
    <PRIORITY>Medium</PRIORITY>
    <STATUS>Closed</STATUS>
    <CALL_TYPE>Visit</CALL_TYPE>
    <DETAILS>They purchase rebar form farwest. </DETAILS>
    <ISSUE_TYPE/>
    <ACTION_DATE>null</ACTION_DATE>
    <ACTION_PLAN/>
    </ROW>
    </K2_QUERY>
    </DATA>But with more records. The template groups on branch, with multiple entries per branch.
    The bursting query simply returns an email address for each branch, along with the other required parameters.
    When I execute the query, the first delivery works fine, but each other branch delivery fails. No specific message is provided. I can change the order of my data query by altering the 'order by branch' clause to descending, and another branch is the first delivery - and is sent fine. And once again all other deliveries fail.
    Any suggestions? This is my first attempt at email bursting, and I'm looking forward to writing more reports.
    Thank you, Wolf Moritz

    Hi,
    Thanks for the reply. I just figured it out. What I didn't mention was that I had two data sources, in a concatenated data model. The first query (a header date from dual) was not a repeating element in the report. It didn't seem important at the time, but it was! I just added this header date as a column in my main query and deleted the other query, and only reference it once in the report header. That did the trick.
    Thanks for the offer.
    Wolf

  • Bursting with Report's input parameters

    Hi experts,
    I am running BIP bursting feature, and this is working fine. Now, my customer is needing to enabling bursting feature by passing report´s input parameters. It is possible to set the bursting sql query to accept report´s input parameters?. If yes, how can I get that?.
    I am working with BI Publisher 10.1.3.4.1
    Regards,
    Edited by: Farid Leonardo on 20/09/2012 14:48

    Hi
    You can add parameters to the bursting query
    Please see if this helps
    http://docs.oracle.com/cd/E24001_01/bi.1111/e18862/T527073T555155.htm#T568844

Maybe you are looking for

  • Only connects to internet with one computer/ipad

    Hi, A friend of mine today asked me if I know why here airport is only allowing one computer to connect at her home at a time. If her ipad is on the network then her laptop won't connect. any advice? thanks in advance

  • MacBook Pro - what's best option for university Windows apps?

    My son is starting university and considering buying a MacBook Pro (we are a Mac family). However, his math textbooks (calculus and linear algebra) come with bundled software, or keys to downloadable software, that only runs on Windows. I haven't bee

  • Enterprise Services in ECC using SPROXY transaction

    Dear All, We were able see the Enterprise Services available in ECC 6.0 EHP 3 using the transaction SPROXY, we have even tested one proxy through this transaction. But now when we have configured ECC to connect the ESR (of PI), it is only showing Sof

  • Please help me with SQL query...

    I need some help to figure out how to do this query... Here is the data: OriginalMessageID MessageID(PK) ExecDate 1 1234 10:20 1 5FE2 10:55 1 EA33 10:50 2 4667 11:10 2 98EA 10:13 Now I need the MessageID for the latest record for each OriginalMessage

  • Icône Muse sur Mac pas beau

    Bonjour, juste une info à faire remonter aux dév. de Muse : sur OS X 10.9 les icônes peuvent être affichés à 512x512 px. Tous les icônes Adobe sont corrects sauf 1, celui de Muse qui pixelise au delà de 128x128 px. D'autres part, je cherche en vain l