You are on page 1of 9

www.oracleapps4u.blogspot.

com

Sending Report Output via Email using Bursting File in XML Publisher

Sending Report output via e-mail using Bursting file in XML Publisher

Send email using bursting program via XML Publisher Oracle XML Publisher sends the report output generated via email to the respective person using bursting file. The report partial output or full output can be sent to the respective person(s). This document covers the setup steps and the operational steps that should be followed to send the report output via email to the respective person(s) using XML publisher. This document can be used by any individual / team supporting or implementing the Oracle E-Business suite and wants to use the functionality of sending report output using XML publisher.

Sending Report output via e-mail using Bursting file in XML Publisher

CONTENTS
INTRODUCTION.......................................................................................................................... 6 SETUP STEPS .............................................................................................................................. 7 1. DATA DEFINITION 7 2. TEMPLATE FILE 8 3. CREATE BURSTING FILE 8 4. REGISTERING THE BUSING FILE IN XML PUBLISHER 9 Register Busting File in XML Publisher 9 Submitting bursting file from after report Trigger of Report Builder 10 ADVANTAGES ........................................................................................................................... 11 CONCLUSION............................................................................................................................ 12 ACKNOWLEDGEMENTS .............................................................................................................. 13 REFERENCES ............................................................................................................................ 14

Sending Report output via e-mail using Bursting file in XML Publisher

Introduction This functionality is used for sending the report output generated to the concerned person for his review. One can have the option to send the partial output or full output of the report to the concerned. For an example, in Oracle Purchasing we have PO Print Report which can be used to print new or selected Purchase order. Organizations usually schedule this program on a daily basis to print new purchase orders. If we want to integrate this Oracle Report to XML/BI Publisher to create eye candy layouts and email the PO automatically to the suppliers, the common issue we face is :How to split the XML file created by report? This is because report will create a single XML file consisting of the all the PO selected and if we apply the template on this XML file, it will create a single PDF file consisting of all the POs, and we definitely dont want purchase orders sent to a supplier which is not related to him .If we have to send PO to individual supplier there has to be a way to parse the XML file generated from the PO Print Report. After parsing the XML file we can break the XML into smaller chunks based on the PO Number and then email the PO to respective Suppliers. What is a bursting file? Its an XML file which tells bursting engine:

a) b)

How to split the XML File created? How to deliver the Documents?

Sending Report output via e-mail using Bursting file in XML Publisher

Setup Steps 1. Data Definition Create the Data Definition and Template the normal way, where the Short name of the data definition is same as the short name of concurrent program to which you are integrating XML Publisher .While creating Data Definition Upload you bursting XML File.

Sending Report output via e-mail using Bursting file in XML Publisher

2. Template File Create the Template and Upload your Template file at XML Publisher Responsibility Templates.

3. Create Bursting File The format of a bursting file is: <?xml version="1.0" encoding="UTF-8"?> <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" listener=""> <xapi:request select="/POR00002/LIST_G_PO_HEADER/G_PO_HEADER"> <xapi:delivery> <xapi:email server="mail.etn.com" port="25" from="${CF_USER_EMAIL_ADDRESS}" reply-to="${CF_USER_EMAIL_ADDRESS}" > <xapi:message id="1" to="${CF_SUPPLIER_ADDRESS}" cc="varun.dixit@tcs.com" attachment="true" subject="Purchase Order Number ${PO_NUM}"> Please review the attached PO ${PO_NUM}</xapi:message> </xapi:email> </xapi:delivery> <xapi:document key="1111111" output="PO_${PO_NUM}_${CP_CONC_REQ}" output-type="pdf" delivery="1"> <xapi:template type="rtf" location="xdo://EPO.POR00002XML.en.US/?getSource=true"> </xapi:template> </xapi:document>

Sending Report output via e-mail using Bursting file in XML Publisher

</xapi:request> </xapi:requestset> 4. Registering the Busing file in XML Publisher

This section shows the setup steps for registering the bursting file in the data definition of the XML publisher. After creating the bursting file open XML Publisher Responsibility -7 Query for data definition Register Busting File in XML Publisher

-7 Go to Bursting Control File (Press Add file) -7. Select and upload the bursting file from browser and press apply.

Sending Report output via e-mail using Bursting file in XML Publisher

Submitting bursting file from after report Trigger of Report Builder The following coding has to be used for calling bursting file in after report trigger of the report builder

Sending Report Output via e-mail using Bursting file in XML Publisher

Advantages of XML Publisher bursting feature: a. No Additional Coding, just need to create XML bursting File. b. Process of Creating XML data Definition and Template remains As Is. Conclusion This document explains the setup steps and operational steps required to use the bursting file for sending the report output to the concerned person.

You might also like