XML Bursting Output Report

I am new to xml publisher and bursting.
I have created a tax invoice that i can generate and print using XML Publisher.
i now need to distribute the report - i have the option to email, fax or print.
Unfortunately due to the nature of my clients infrastructure i cannot print directly to a printer so i resorted to creating a file on the linux server.
This all works fine - i get the required number of emailed reports , faxed reports and filesystem reports but the output report doesn't generate.. It reckons i have a duplicate file reference somewhere.. and therefore the concurrent manager job completets with error..
Can anyone help please..
Cheers
This is the error:
Bursting process complete..
Generating Bursting Status Report..
--Exception
duplicate entry: /Remittance_Advice20058652.pdf
java.util.zip.ZipException: duplicate entry: /Remittance_Advice20058652.pdf
This is my bursting file:
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/RCTI/G_HEADER">
<xapi:delivery>
<xapi:email id="123" server="<servername>" port="25" from="${RA_OFFICER}" reply-to ="${RA_OFFICER}">
<xapi:message id="123" to="${C_DELIVERY_DETAILS}" cc="${CC_EMAIL}" attachment="true" subject="Remmitance Advice ${C_DOC_NUMBER} ${C_DOC_DATE} ">EFT REMITTANCE ADVICE to PAYEE
Please find attached your EFT remittance advice for payments credited to your account.
</xapi:message>
</xapi:email>
<xapi:filesystem id="file" output="/oratmp/RCTI/RCTI_${C_VENDOR_NAME}_${C_DOC_NUMBER}.pdf"/>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="file">
<xapi:template type="xsl-fo" location="/oratmp/TEMPLATE_PROD.xsl" filter=".//G_HEADER[C_DELIVERY_METHOD='']" >
</xapi:template>
</xapi:document>
<xapi:document output="Remittance_Advice${C_DOC_NUMBER}" output-type="pdf" delivery="123">
<xapi:template type="xsl-fo" location="/oratmp/TEMPLATE_PROD.xsl" filter=".//G_HEADER[C_DELIVERY_METHOD!='']" >
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Edited by: Lisa from Aus on 15/09/2010 19:43

Hi Lisa,
Thanks but it didn't solve my problem - so i went back to a couple previous versions - one that just emailed and one that just created the file and they both worked fine.Have you applied the patch?
So i used the email only one and appended my filtering restriction to the end of the command and even though the reports were emailed correctly the bursting report failed to output with the duplicate entry error.
Is the syntax of my filter wrong?Sorry, cannot be of much help -- Others with similar experience may help (or you may log a SR).
Thanks,
Hussein

Similar Messages

  • XML publisher output report in excel format

    Hi
    I have created reports using XML Publisher, the default output preview format was PDF. While submitting the program, in the layout, I changed the format to EXCEL,it give me output in Excel. Now I need to send the output report as an attachment through e-mail.For this I have used a UNIX shell script to send the mail using uuencode and mailx commands.
    I have fetched the name of the report from table using the following command.
    SELECT file_name
    FROM FND_CONC_REQ_OUTPUTS
    WHERE FCR.CONCURRENT_REQUEST_ID = p_req_id;
    The name of the report is : XXBG_PO_IFACE_SO_RPT_8556321_1.EXCEL
    Following is the command to send the e-mail.
    (cat $MAIL_BODY; uuencode XXBG_PO_IFACE_SO_RPT_8556321_1.EXCEL XXBG_PO_RPT.xls) | mailx -m -s "$MAIL_SUBJECT" $mail_id
    I am receiving the mail with the attachement, but when i am trying to open the attachement it is throwing an error and nothing is displayed in the excel sheet.
    Note: When I am sending the mail,in similar way, with 'PDF' attachement it is perfectly fine and the attachement is opening correctly.
    Please help me.
    Thanks in advance,
    Madhu kumar

    Hi schavali,
    The error message is as follows
    Microsoft Office Excel cannot access the file "https://xxxxxxx/Inbox/XXBG_PO_RPT.xls.
    There are several possible reasons:
    --The file path doesnot exist.
    --The file is being used by another program.
    --The workbook you are trying to save has the same name as a currently open workbook.
    After throwing the error, it open s a balck excel sheet.
    Hi hsawwan,
    I have gone through the thread. I am able to see the report when I click the output tab on the concurrent request screen.
    But the problem is, when I am sending the output report as an excel attachment then I am facing the problem.
    There might be some problem with uuenocde or mailx command.
    Thanks
    Madhu Kumar.

  • XML Bursting program was messed up the report format and output, not sure what is causing an issue

    Hi All,
    I need burst the report based on the customer number for some customers and burst based on invoice number for some customers in the same bursting program. I have made the changes accordingly and sending email attachments as expected, but when the output sent for as an attachment for each invoice the report does not printing in full format, its completely ignore one child block. Not sure what was the issue. This is very very urgent please help me out.
    Following is my bursting code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${EXCLUDED_BILL_TO_EMAIL}" attachment="true"
               subject="Confirmation for your Invoice(s)">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the attached invoice(s).
    Regards,
    Customer Service
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_EMAIL_${CUST_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_EMAIL!='N']"/>
          </xapi:document>  
       </xapi:request>
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${EXCLUDED_BILL_TO_FAX}" attachment="true"
               subject="Confirmation for your Invoice(s)">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the invoice(s).
    Regards,
    Customer Service          
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_FAX_${CUST_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[EXCLUDED_BILL_TO_FAX!='N']"/>      
          </xapi:document>  
       </xapi:request> 
       <!-- START Sending email for each invoice in CR2197-->
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${BILL_TO_EMAIL}" attachment="true"
               subject="Confirmation for your Invoice ${INVOICE_NO}">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the attached invoice.
    Regards,
    Customer Service
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_EMAIL_${INVOICE_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_EMAIL!='N']"/>
          </xapi:document>  
       </xapi:request>
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
             <xapi:email id="123" server="${SMTP_SERVER_NAME}" port="25" from="${XX_EMAIL}" reply-to = "">
            <xapi:message id="123" to="${BILL_TO_FAX}" attachment="true"
               subject="Confirmation for your Invoice ${INVOICE_NO}">
    Dear Customer,
    Thank you for placing an order with XX cust.
    Please review the invoice.
    Regards,
    Customer Service          
            </xapi:message>
             </xapi:email>
          </xapi:delivery>     
          <xapi:document output="XX_INVOICE_FAX_${INVOICE_NO}" output-type="pdf" delivery="123">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".//G_INVOICE_HDR[BILL_TO_FAX!='N']"/>      
          </xapi:document>  
       </xapi:request>  
       <!-- END Sending email for each invoice in CR2197-->
       <xapi:request select="/XXARINVOICE/LIST_G_CUST_HDR/G_CUST_HDR/LIST_G_INVOICE_HDR/G_INVOICE_HDR">     
          <xapi:delivery>
               <xapi:filesystem output="${OUT_DIR}/INV_${SALES_ORDER}_${ORG_ID}_${INVOICE_NO}_${REQUEST_ID}_${INVOICE_DATE}.pdf">
               </xapi:filesystem>
          </xapi:delivery>     
          <xapi:document output-type="pdf">
             <xapi:template type="rtf" location="xdo://xxabc.XXARNONEDIINVOICE.en.00/?getSource=true" filter=".////XXARINVOICE[P_ATTACH='Y']"/>    
          </xapi:document>  
       </xapi:request>  
    </xapi:requestset>
    Thanks in Advance,
    Jagadish

    Initialize this:
                        String pet = "":>
    error is H:\JAVA\PetAdvice.java:88: variable pet might not have been initialized
                        return pet;Geez, the error tells you the source file and the line # at which the problem occurred, in addition to a lucid description. Why couldn't you figure it out for yourself?
    %

  • EBS: Email XML publisher output, from After Report Trigger in Data Template

    Here is what I'm trying to do:
    -- In EBS (11.5.10 CU2), I'm using XML publisher (5.6.2) data template and layout template to generate Output files (PDF, EXCEL etc)
    --In the Data Template's AfterReport Trigger, I'm using the Concurrent Request Id to locate the Output file name and trying to Email that output file.
    Problem:
    -- When the AfterReport trigger code is executed, the code is NOT seeing the output file and hence the file is NOT emailed.
    Observations/Questions:
    -- From what I observe, the Output Post Processor ( that generates the Excel / PDF files) is running AFTER the code in AfterReport trigger... and hence the AfterReport trigger is Not quite seeing / able to access the output file.
    So, the sequence of execution seems to be:
    -- Before Report Trigger
    -- Data Query (SQL statement)
    -- After Report Trigger
    -- Output Post Processor
    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    If Yes, how else can the DataTemplate access the Output file?
    If No, what could cause the AfterReport trigger to not see the output file?

    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    I believe so, as the OPP works on the output of the Report after the Report has completed execution.
    You could use the same approach as we do for bursting the report to different users. Write a Java Concurrent program based on "oracle.apps.xdo.oa.cp. XMLPReportBurst" with delivery channel Email to send the email output. You would need to add code to launch the Concurrent child request in your AfterReport Trigger:
    function AfterReport return boolean is
    jreq_id number;
    begin
    srw.message (100, 'DEBUG: AfterReport_Trigger +');
    jreq_id:= FND_REQUEST.SUBMIT_REQUEST ('XDO','XDOBURST','','',FALSE,:P_CONC_REQUEST_ID,'Y',chr(0),
    If (jreq_id=0)
    then
    srw.message (100,'Request id is zero');
    end if;

  • Bursting - OUTPUT sends one big report, instead of multiple individual ones

    Bursting - OUTPUT sends one big report, instead of multiple individual ones:
    Data File below - shows report has the proper tags for the PP_NUMBER; which should split the job into individula files to be email, instead it creates one large file and emails it to the last email account
    Please help!
    <BCG_PPINVOICE_UK_ALL>
    - <LIST_G_PP_NUMBER>
    - <G_PP_NUMBER>
    <PP_NUMBER>PP100</PP_NUMBER>
    + <LIST_G_INVOICE>
    <PP_TOTAL>-1965</PP_TOTAL>
    <AMOUNT_BEFORE_START>0</AMOUNT_BEFORE_START>
    <PP_INVOICE_CONTACT>HPA - Michael Palmer</PP_INVOICE_CONTACT>
    <ADDRESS1>Porton Down</ADDRESS1>
    <ADDRESS2 />
    <ADDRESS3 />
    <ADDRESS4 />
    <CITY>Salisbury</CITY>
    <COUNTRY>United Kingdom</COUNTRY>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    </G_PP_NUMBER>
    - <G_PP_NUMBER>
    <PP_NUMBER>PP101</PP_NUMBER>
    + <LIST_G_INVOICE>
    <PP_TOTAL>0</PP_TOTAL>
    <AMOUNT_BEFORE_START>0</AMOUNT_BEFORE_START>
    <PP_INVOICE_CONTACT>Imperial College - Prof Wells</PP_INVOICE_CONTACT>
    <ADDRESS1>Level 3</ADDRESS1>
    <ADDRESS2>Sherfield Building</ADDRESS2>
    <ADDRESS3 />
    <ADDRESS4 />
    <CITY>London</CITY>
    <COUNTRY>United Kingdom</COUNTRY>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    </G_PP_NUMBER>
    - <G_PP_NUMBER>
    <PP_NUMBER>PP102</PP_NUMBER>

    This is EBusiness - XML Publiser (Not Enterprise)
    My Control file is as follows:
    <xapi:requestset type="bursting">
    <xapi:request select="/BCG_PPINVOICE_UKB_ALL/LIST_G_PP_NUMBER/G_PP_NUMBER/PP_NUMBER">
    <xapi:delivery>
    <xapi:email id="/G_PP_NUMBER/${PP_NUMBER}" server="localhost" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="/G_PP_NUMBER/${PP_NUMBER}" to="${EMAIL_ADDRESS}" attachment="true" subject="Becmanc Coulter Genomics - Prepaid Account Balance ">Dear Prepaid Account holder Please find attached the current statement of your account. If you have any queries regarding the statement, or wish to make a top up of the account please e-mail me directly at [email protected] Kind regards UK Finance Team</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="output="PP_STATEMENT_${PP_NUMBER}"" output-type="pdf" delivery="/G_PP_NUMBER/${PP_NUMBER}">
    <xapi:template type="rtf" locale="" location="xdo://XBOL.BCG_PPINVOICE_UKB.en.US/?getSource=true"/>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Edited by: user9015277 on Sep 3, 2010 10:29 AM

  • How to get XML format output from Hyperion Financial Reporting

    Dears,
    We are using Hyperion Financial Reporting to replace FSG in fusion. I found that Hyperion FR report can be exported to html/excel/pdf format. However, I would like the report to export to xml format.It means I only need the xml data source.
    Anyone who knows how to get the xml format output from Hyperion FR, is there any avaiable API?

    I think if you export the report, you will be able to open the .des file in Notepad/Wordpad and see xml content.

  • Changing Object Names for Burst Output in Financial Reporting

    I can't quite figure out how to say this so I can't even search for the proper terms to get any pertinent results. I apologize if this has been answered recently.
    In FR Batch Scheduler, I am exporting the reports as PDF to a specified folder. I am bursting the report with a department, however, it does not like to save files with spaces. Instead, FR replaces any spaces in the Object name with a plus "+" sign. Is there a way to change this to a different delimiter in the .properties files? Not sure which one.
    Thus:
    Date is March 2nd, 2011 and Member name is "Physician Revenue"
    Object Label:
    <<Date(YYYYMMMDD)>>.<<MemberName()>>.IESUM
    PDF Output becomes
    2011Mar02.Physician+Revenue.IESUM.pdf
    Desired FileName output
    2011Mar02.Physician_Revenue.IESUM.pdf
    Thanks
    Eric

    If this is the same issue I'm having, I've been working with Tech Support - they confirmed it as a bug the other day and the patch is done but it's not ready for us to have yet. They'll let me know when it's available for public use.
    When bursting, the resulting PDFs have strange characters in the PDF name for many characters such as these that we use:
    and probably "space", I'm not looking at it right now but yes this sounds like your issue too. Stay tuned.
    -Karen
    edit: I'm on 11.1.2.1
    Edited by: ksmek on Sep 28, 2011 10:34 PM

  • Help needed in XML Bursting

    Hi,
    I am working first time on XML report bursting concept.
    I have two remit to addresses in my report xml. I nedd to burst my report at address level.
    This is my report xml:
    <ARXSGPO>
    <LIST_G_SETUP>
    <G_SETUP>
    <LIST_G_STATEMENT>
    <G_STATEMENT>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
    <LIST_G_LINE_CLUSTER>
    <G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    <LIST_G_1>
    <G_1>
    <CF_REMIT_TO_ADDRESS1>Phoenix Centre </CF_REMIT_TO_ADDRESS1>
    <CF_REMIT_TO_ADDRESS2>Millenium Way West</CF_REMIT_TO_ADDRESS2>
    <CF_REMIT_TO_ADDRESS3 />
    <CF_REMIT_TO_ADDRESS4 />
    <CF_REMIT_TO_ADDRESS5 />
    </G_STATEMENT>
    <G_STATEMENT>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
    <LIST_G_LINE_CLUSTER>
    <G_LINE_CLUSTER>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    <LIST_G_1>
    <G_1>
    <CF_REMIT_TO_ADDRESS1>Second Avenue</CF_REMIT_TO_ADDRESS1>
    <CF_REMIT_TO_ADDRESS2>Poynton Industrial Estate </CF_REMIT_TO_ADDRESS2>
    <CF_REMIT_TO_ADDRESS3 />
    <CF_REMIT_TO_ADDRESS4 />
    <CF_REMIT_TO_ADDRESS5 />
    </G_SETUP>
    </LIST_G_SETUP>
    </ARXSGPO>
    I am defining my control file like this.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="ARXSGPO/LIST_G_SETUP/G_SETUP/LIST_G_STATEMENT/G_STATEMENT/LIST_G_AMOUNT_DUE/G_AMOUNT_DUE/
    LIST_G_LINE_CLUSTERG_LINE_CLUSTER/LIST_G_1/G_1/CF_REMIT_TO_ADDRESS1">
    <xapi:delivery>
    <xapi:print id="printer1" printer="ipp://ipgpc1.us.oracle.com:631/printers/printer_p6op286a" copies="1" />
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="printer1">
    <xapi:template type="rtf" location="location="/disk3/oracle/viscomn/java/oracle/apps/fnd/cp/sample/statement.rtf" filter=".//G_1[INTERNAL_NOTES='PRINTER']" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    1) Can I use CF_REMIT_TO_ADDRESS1 in the attribute select under the request element
    2) In Database I have two printers attached for these addresses. I need to send output directly to printer. How can I differentiate details of
    printer in control file for each address?
    Please help me in this.
    Thanks in advance

    Hi,
    Thanks for your reply. when I am running my request I am getting java.lang.NullPointerException from Bursting program.
    Details of log file.
    Request ID: 6355955All
    Parameters: ReportRequestID=6355950:
    DebugFlag=YReport
    Req ID: 6355950Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request informationNode Name:ORADB02
    Preparing parameters
    null output =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355955.out
    inputfilename =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
    Data XML File:/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
    Set Bursting parameters..Temp.
    Directory:/ora_code3/db04/db04comn/temp/[010808_021907137][][STATEMENT]
    Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 ProductionStart bursting process..[010808_021907140][][STATEMENT] /ora_code3/db04/db04comn/temp/[010808_021907146][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source[010808_021907146][][STATEMENT] Inside burstingConfigParser[010808_021907150][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================--
    Exception
    null
    java.lang.NullPointerException     at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingStartElement(BurstingProcessorEngine.java:1417)     at oracle.apps.xdo.batch.BurstingProcessorEngine.startElement(BurstingProcessorEngine.java:1110)     at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
    Please help me.
    Thanks

  • XML Bursting to a printer

    Hello experts out there. Can one of you give me some guidance on how to send a pdf file to a printer via xml bursting?
    One of the requirements I have is to email an invoice if customer has an email address. If no email address is found then print it.
    This is what I have so far in the XML Bursting file. (FYI: the email part works) We are using R12.1.3
    <?xml version="1.0" encoding="UTF-8"?>
         <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
              <xapi:request select="/RAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
                   <xapi:delivery>
                        <xapi:email server="localhost" port="25" from="[email protected]" reply-to="[email protected]">
                             <xapi:message id="123" to="${XXZAK_INVOICE_EMAIL}" cc="" attachment="true" content-type="html/text" subject="Zak Designs Invoice">Please review and approve attached invoice(s) for payment.
    Thank You,
    </xapi:message>
                        </xapi:email>
                        <xapi:filesystem id="file1" output="/usr/tmp/ar_invoice_${TRX_NUMBER}_temp.pdf"/>
                        <xapi:print id="PRINT" printer="10.10.5.19" copies="1" />
                   </xapi:delivery>
              <xapi:document output="${TRX_NUMBER}_${BILL_CUST_NAME}_${TRX_DATE}.pdf" output-type="pdf" delivery="123">
                   <xapi:template type="rtf" location="xdo://AR.RAXINV_SEL.en.US/?getSource=true" filter=".//G_INVOICE[XXZAK_INVOICE_EMAIL!='NO EMAIL']" >
                   </xapi:template>               
              </xapi:document>
              <xapi:document output-type="pdf" delivery="PRINT">
                   <xapi:template type="rtf" location="xdo://AR.RAXINV_SEL.en.US/?getSource=true" filter=".//G_INVOICE[XXZAK_INVOICE_EMAIL='NO EMAIL']" >
              </xapi:template>               
              </xapi:document>
              </xapi:request>
         </xapi:requestset>
    When I run the report for printing, I get the following error message:
    [051313_112504249][][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=7239988, user-variable:cp:language=en, user-variable:cp:responsibility=50449, user-variable.OA_MEDIA=http://oracletest.zak.com:8010/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=7239988, user-variable:cp:locale=en-US, user-variable:cp:user=SYSADMIN, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=7239993, user-variable:cp:reportdescription=Invoice Print Selected Invoices, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

    Does this condition return atleast one record in output?
    .//G_INVOICE[XXZAK_INVOICE_EMAIL!='NO EMAIL']

  • The file should be in XML-BURSTING-FILE format.

    I'm gettting an error when I try to upload my xml bursting control file for my oracle report that has an rtf template defined.
    The error message says"The uploaded file MT_RAXINV.xml is invalid. The file should be in XML-BURSTING-FILE format."
    and my code is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" >
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
    <xapi:delivery>
    <xapi:email server="mailhost.microtune.com" port="25" from="[email protected]"
    reply-to ="[email protected]" >
    <! - filter=".//G_INVOICE[BILL_TO_EMAIL IS NOT NULL]"- >
    <xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="[email protected]" attachment="true"
    subject="Microtune Inc - Receivables Statement for payment due from ${BILL_CUST_NAME}">
    Please find attached Receivables Statement for payment due of ${TOTAL_AMOUNT_DUE}.
    Regards,
    The Receivables Team
    Microtune Inc
    </xapi:message>
    </xapi:email>
    <xapi:print id="printer_tune"
    printer="ipp:\\congo\sunset" filter=".//G_INVOICE[BILL_TO_EMAIL=NULL]" copies="1" />
    <xapi:filesystem output="\\astro\erp\Oracle\${TRX_NUMBER}.pdf"/>
    <! - Add an id for this delivery method i.e. printer1 - >
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="printer_tune,${TRX_NUMBER}">
    <! - Deliver to printer and email - >
    <xapi:template type="rtf" location="xdo://SQLAR.ARInvoice.en.US/"?getSource=true" filter="">
    <! - Specify template to be used for Receivables Statements- >
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Any help would be much appreciated.
    Thanks,
    Leo

    Thanks, for the update. Sorry I did not update this entry, I had actually figured that out but still my problem is that my email is sending without an attachment. I'm not getting any error and the email is sending fine but without the attachment.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
    <xapi:delivery>
    <xapi:email server="mailhost.microtune.com" port="25" from="[email protected]" reply-to ="[email protected]">
    <xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="[email protected]" attachment="true"
    subject="Microtune Inc - Receivables Statement for payment due from ${BILL_CUST_NAME}">
    Please find attached Receivables Statement for payment due of ${TOTAL_AMOUNT_DUE}.
    Regards,
    The Receivables Team
    Microtune Inc.
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Invoice_${TRX_NUMBER}" output-type="pdf" delivery="${TRX_NUMBER}">
    <xapi:template type="rtf" location="xdo://SQLAR.ZRAXINV.en.US/?getSource=true"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

  • XML Bursting program completing in error

    Hi,
    I am trying to send the output of XML Publisher report to a specific email id. I have created the following XML Bursting File:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXIDEA_HWSW_BUYERWISE/LIST_G_CIRCLE/G_CIRCLE">
    <xapi:delivery>
    <xapi:email id="emailToMgrID" server="svhj0366.ideaconnect.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="emailToMgrID" to="[email protected]" attachment="true" subject="Dear Manager : "> Please review the attached list of managers </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="xls" delivery="emailToMgrID">
    <xapi:template type="rtf" location="xdo://XXIDEA.XXIDEA_HWSW_BUYERWISE.en.US/?getSource=true" filter="">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    I have added the before report and the after report triggers in the rdf report. However, when I run the report, the XML Bursting program ends in error. The logs print:
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=89025049, user-variable:cp:language=en, user-variable:cp:responsibility=50435, user-variable.OA_MEDIA=http://oraideaapps.ideaapps.com:8050/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=89025049, user-variable:cp:locale=en-US, user-variable:cp:user=IBMAMSTEAM, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=89025952, user-variable:cp:org_id=102, user-variable:cp:reportdescription=IDEA HW SW Buyer Wise report}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:315)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Please help.
    Thanks in advance.
    Regards,
    Anoop

    Hi,
    The reason for the exception is we don't have any data in the file to zip. If you are sending xml data to the data definition check the path in select clause in bursting control file.
    Regards,
    Raavi

  • Bursting FSG Reports in R12.0.3

    Hi,
    I am trying to burst an FSG report using the integrated bursting java concurrent program. The FSG report is running fine and producing the XML publisher output as expected. I then run the java concurrent program for bursting setting the concurrent request ID of the FSG report as a parameter. I am getting the following error in the log for the bursting:
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 22-NOV-2007 10:11:22
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 3631196
    All Parameters: Dummy for Data Security=Y:ReportRequestID=3631175:DebugFlag=Y
    Report Req ID: 3631175
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:SVR-DEV185
    Preparing parameters
    null output =/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631196.out
    inputfilename =/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631175.out
    Data XML File:/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631175.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [112207_101123926][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.0.0 - Production
    Start bursting process..
    [112207_101123927][][STATEMENT] /tmp
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:territory : value=>US
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:ReportRequestID : value=>3631175
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:language : value=>en
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:responsibility : value=>55824
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>burstng-source : value=>EBS
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:DebugFlag : value=>Y
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:locale : value=>en-US
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:parent_request_id : value=>3631175
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:user : value=>SPENJ
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:application_short_name : value=>XDO
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:request_id : value=>3631196
    [112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:org_id : value=>203
    [112207_101123931][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:Dummy for Data Security : value=>Y
    [112207_101123931][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:reportdescription : value=>Program - Publish & Burst FSG Report
    [112207_101123931][][STATEMENT] Inside burstingConfigParser
    [112207_101123933][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [112207_101123993][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [112207_101124079][][EXCEPTION] java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1762)
         at java.lang.String.substring(String.java:1735)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.applyGroupBreak(BurstingProcessorEngine.java:2305)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1974)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1133)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:258)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2167)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1800)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1136)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:968)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:912)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:278)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    [112207_101124079][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:291)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:526)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:284)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    [112207_101124086][][STATEMENT] /tmp/112207_101123930 deleted successfully...
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PUBLISH -------------+
    Beginning post-processing of request 3631196 on node SVR-DEV185 at 22-NOV-2007 10:11:24.
    Post-processing of request 3631196 failed at 22-NOV-2007 10:11:24 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 22-NOV-2007 10:11:24
    +---------------------------------------------------------------------------+This is the control file I am using uploaded to a custom data definition for the FSG:
    <?xml version="1.0"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" xmlns:fsg="http://www.oracle.com/fsg/2002-03-20/" type="bursting">
         <xapi:request select="/MasterReport/fsg:RptDef">
              <xapi:delivery>
                   <xapi:email server="somesmtpserver" port="25" from="[email protected]">
                        <xapi:message id="send1" to="[email protected]" cc="[email protected]" attachment="false" content-type="html/text" subject="Test Bursting, Month End Reports = ${../fsg:RepCurPeriod}">
    ! ! Please IGNORE and DELETE this email. Bursting Example Only ! !
    ************** T E S T     E M A I L **************
    Dear ${@RptDetName}.
    Please find attached your monthly Oracle report.
    ************** T E S T     E M A I L **************
                        </xapi:message>
                   </xapi:email>
                   <xapi:filesystem id="save1" output="/tmp/test_${@RptPEVal}.pdf"/>
              </xapi:delivery>
              <xapi:document output-type="pdf" delivery="save1">
                   <xapi:template type="xsl-fo" location="xdo://SCCAPP.XX_FSG_TEST1.en.GB"/>
              </xapi:document>
    <!--          <xapi:document output-type="pdf" delivery="send1" output="Month end Reports - ${@RptPEVal}">
                   <xapi:template type="xsl-fo" location="xdo://SCCAPP.XX_FSG_TEST1.en.GB"/>
              </xapi:document>-->
         </xapi:request>
    </xapi:requestset>Please could you give me some help as to why I am getting this error.
    I look forward to hearing from you.
    Carl

    Bump.
    Does anyone have any ideas on this. Is it because of the namespace in the select attribute of the xapi:request element?
    Any help will be much appreciated and this is getting urgent now. Customer is due for go live very soon.
    Regards,
    Cj

  • XML Bursting duplicate entry Problem

    Hi,
    I have added XML bursting concept to one of my program. When I run my main program some times XML Publisher Report Bursting Program giving following error.
    duplicate entry: /Filename_14:00:41.pdf
    java.util.zip.ZipException: duplicate entry: /Filename_14:00:41.pdf
         at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:186)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:504)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:275)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Could you give me any Idea about this error?. Please help me in this.
    Thanks in advance

    Hi,
    I'm also getting this error, but my filenames are unique already. I tried with Bursting Designer, and it created the separate files.
    Any ideas?
    logfile:
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    ++---------------------------------------------------------------------------++
    Current system time is 25-NOV-2009 09:45:46
    ++---------------------------------------------------------------------------++
    XML/BI Publisher Version : 5.6.3
    Request ID: 68702228
    All Parameters: Dummy for Data Security=Y:ReportRequestID=68702207:DebugFlag=Y
    Report Req ID: 68702207
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:PRIMO2
    Preparing parameters
    null output =/opt/apps/ebs/conc/out/o68702228.out
    inputfilename =/opt/apps/ebs/conc/out/o68702207.out
    Data XML File:/opt/apps/ebs/conc/out/o68702207.out
    Set Bursting parameters..
    Temp. Directory:/opt/apps/ebs/apps/apps_st/comn/temp
    +[112509_094600328][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production+
    +[112509_094600331][][STATEMENT] setOAProperties called..+
    Bursting propertes.....
    +{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=68702207, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://primo-app.natinst.com:8000/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=68702207, user-variable:cp:locale=en-US, user-variable:cp:user=A2MESZAR, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=68702228, user-variable:cp:org_id=5935, user-variable:cp:reportdescription=NI Invoice Print Selected Invoices XML, user-variable:cp:Dummy for Data Security=Y}+
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception+
    duplicate entry: /NI_RAXINV_SEL_XML_1328363.PDF
    java.util.zip.ZipException: duplicate entry: /NI_RAXINV_SEL_XML_1328363.PDF
    +     at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175)+
    +     at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:524)+
    +     at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)+
    +     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)+
    Regards,
    Attila

  • XML Bursting and attaching PDF file to self service page

    Hi All,
    We have developed custom report and implemented XML Bursting Program(not intended to send e-mails). If the output of the concurrent program is producing 100 output files, say 100 pdf HR letters, we need to attach each letters to individual employee HR records(Manager Self service page).
    How can we implement a solutions for the above requirement.
    Thanks in Advance,
    Arun

    Hi,
    I have similar requirement to attach the report output to one entity as an FND attachment. Any examples?
    Thanks,
    Hariharan R.

  • XML Publisher: where's XML Publisher output?

    Hi,
    The XML file created by report is in FND_Concurrent_Requests.outfile_name.
    Where's the XML Publisher output?
    I want copy the file generated (PDF or EXCEL) using utl_file.fcopy because bursting fail whe template is Type=>XSL-XML.
    Do your guys have any suggestion with this case? any input is very appreciated.
    thanks in advance
    Robert

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

Maybe you are looking for

  • Errors in Tomcat  startup window

    Hi! I'm using Tomcat 4.1.24 and have been testing out a simple shopping cart application that uses 3 servlets called Selection, Weight and Checkout. (This is an appplication of mine that works fine under the JSWDK.) Before I added the files for the s

  • Snow Leopard 10.6.2 and TTF Fonts and CS4

    Hi Folks, Many posts here of folks with crashing issues in PS4 and Snow Leopard have revolved around "fonts". Did I read somewhere here that TTF fonts were possibly and issue here? Reason I ask is that I just ran Fontbook and selected "all" fonts the

  • My dock is not smooth when it hides and unhides

    I noticed that when I have many icons in the dock, it's real chunky when I move the mouse over it. Is there any fix to that? When I first installed 10.4, the dock moved really smooth- now it's not- could this be because I have too many icons?

  • How to unassign(delete assign) Organization Unit to User?

    How to <b>Unassign Organization Unit to User</b>? Is there any furnction module to do this ? <b>What are the function modules to update org unit of the user & to update the attributes of the user</b>? Update org unit means we have to delete & recreat

  • SCORM api adapter

    Hi, I am having an issue with multiple users on our network trying to access a SCORM training course from our parent company, through a web address not VPN's. The error received is "cannot communicate with the SCORM API adapter (requires java plugin)