0% found this document useful (0 votes)
2K views6 pages

XML Bursting Steps

The document describes the steps to configure and use XML bursting in Oracle XML Publisher to send emails with report attachments. Key steps include: 1. Creating a data model, parameter, and templates in the report. 2. Configuring before and after report triggers to initialize apps environment and submit the XML Publisher bursting program. 3. Saving the report and moving it to the custom directory. 4. Creating a concurrent program and attaching it to a request group. 5. Creating a bursting file that defines email recipients, attachments from templates, and submitting the concurrent program. 6. On program execution, emails will be sent to recipients with report attachments.

Uploaded by

Dhinakaran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views6 pages

XML Bursting Steps

The document describes the steps to configure and use XML bursting in Oracle XML Publisher to send emails with report attachments. Key steps include: 1. Creating a data model, parameter, and templates in the report. 2. Configuring before and after report triggers to initialize apps environment and submit the XML Publisher bursting program. 3. Saving the report and moving it to the custom directory. 4. Creating a concurrent program and attaching it to a request group. 5. Creating a bursting file that defines email recipients, attachments from templates, and submitting the concurrent program. 6. On program execution, emails will be sent to recipients with report attachments.

Uploaded by

Dhinakaran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

XML BURSTING STEPS:

1) Create a table
CREATE TABLE xx_managers ( manager_no INTEGER
, manager_name VARCHAR2(200)
, manager_email VARCHAR2(100) ) ;
SELECT *
FROM xx_managers;

2) Create Data Model in Report

3) Create parameter P_CONC_REQUEST_ID

4) Initialize Apps Environment in BeforeReport and AfterReport trigger.


Before Report Trigger:

After Report Trigger:

Fnd_request.submit_request is called from After Report Trigger to submit the Standard Program (XML Publisher Report Bursting Program)
which is used for sending mails by accessing Busting Control File.

5) Save the Report with .rdf(XXAC_BURSTING_TEST.rdf) and move it to custom_top.

XXAC_BURSTING_TE
ST.zip

6) Create Executable
7) Create Concurrent Program.

8) Attach Concurrent Program to Request Group

9) Run the Concurrent Program and save the XML tags with .xml extension.

XXAC_BURSTING_TE XXAC_BURSTING_TE
ST_XML.txt ST.zip

10) Create Data Definition

11) Create the Busting File and save it with .xml only

XXAC_BURSTING_PR XXAC_BURSTING_PR
G.txt G_TEST.zip

The .rtf Path mentioned in the bursting file should be registered in the temporary Directory of XML Publisher. For the Registered path:
/u02/oracle/IGDEV/apps/apps_st/appl/xbol/12.0.0/datafile

12) Move the .rtf to the above mentioned path as shown below.

XXAC_BURSTING_TE
ST.rtf

13) Upload the Bursting File in the Bursting Control File section of Data Definition

14) Create Template and upload dummy .rtf to it.


15) Submit the Report Concurrent Program.

16) Mails will be forwarded to the respective person mail ids.

XXAC_BURSTING_TE
ST_2.pdf

XXAC_BURSTING_TE
ST_6.pdf

17) As we are submitting the program XML Publisher Report Bursting Program through Fnd_request.submit_request in After Report Trigger,
XML Publisher Report Bursting Program is submitted by taking the report Request_Id as Parameter.

If we dont submit/Call the Program in After Report Trigger then User has to manually submit the XML Publisher Report Bursting Program by passing the
Request_Id of the Report.
Mails will be forwarded to the respective person mail ids.

LDTS FOR THE ABOVE REPORT:

XML_Bursting_ldts.zi
p

XML TEMPLATE

FNDLOAD apps/touchmenot 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct XXACS_KPI_CLINSERV_TP.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=XBOL


DATA_SOURCE_CODE=XXACS_KPI_CLINSERV

-----------------------------------------------------END of XML BURSTING-----------------------------------------------------------

Standard Program Executable & Conc Prgm (XML Publisher Report Bursting Program):

Different Scenarios in sending mail using XML BURSTING File: Above attached bursting File is used for sending mail only for single recipient.

1) Sending mail to Multiple Recipients:


<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/XXAC_BURSTING_TEST/LIST_G_MANAGER_NO/G_MANAGER_NO">
<xapi:delivery>
<xapi:email id="emailToMgrID" server="localhost" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="emailToMgrID" to="[email protected], [email protected], [email protected]" attachment="true" subject="Dear Manager : [email protected]"> Please review
the attached list of managers </xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="emailToMgrID">
<xapi:template type="rtf" location="/u02/oracle/IGDEV/apps/apps_st/appl/xbol/12.0.0/datafile/XXAC_BURSTING_TEST.rtf">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>

2) Sending Mail using Multiple Templates to Multiple Recipients:

- <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">


- <xapi:request select="/XXXX_EMPLOYEES/LIST_G_EMPNO/G_EMPNO">
- <xapi:delivery>
- <xapi:email id="emailToMgrID" server="localhost" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="emailToMgrID" to="[email protected]; [email protected]" attachment="true" subject="Employee Information">Dear ${ENAME}, Please find your salary details as an
attachment. Regards, Manvesh</xapi:message>
</xapi:email>
</xapi:delivery>
- <xapi:document output-type="pdf" delivery="emailToMgrID">
<xapi:template type="rtf" location="/u02/oracle/IGDEV/apps/apps_st/appl/xconv/12.0.0/temp/XXXX_EMPLOYEES1.rtf" />
</xapi:document>
</xapi:request>
- <xapi:request select="/XXXX_EMPLOYEES/LIST_G_1/G_1">
- <xapi:delivery>
- <xapi:email id="emailToMgrID" server="localhost" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="emailToMgrID" to="[email protected]" attachment="true" subject="Department Summary for ${DEPTNO1}">Please review the attached Department Summary for department $
{DEPTNO1} </xapi:message>
</xapi:email>
</xapi:delivery>
- <xapi:document output-type="pdf" delivery="emailToMgrID">
<xapi:template type="rtf" location="/u02/oracle/IGDEV/apps/apps_st/appl/xconv/12.0.0/temp/XXXX_MANAGERS.rtf" />
</xapi:document>
</xapi:request>
</xapi:requestset>

You might also like