Oracle XML Publisher
Oracle XML Publisher
XML Publisher
Concept
The main feature of XML Publisher is that it separates the
Data Source from the presentation/Layout.
Data Logic
Layout
XML Publisher
Translation
Report
output
Oracle
Applications
Other XML
Data Sources
XML
XML Publisher
Example Outputs
Formats
Government Forms
Complex Layouts
Government Forms
High fidelity
Fixed formats
Example:
Customs Form
SF52
W-2
1099
Government Forms
Canada Customs Invoice
Partner Reports
Requirements
High fidelity
(company logos)
Exact Layout
Tables
Example:
Purchase Order
Commercial Invoice
Bill of Lading
Partner Reports
Report customization
Vs
XML Publisher
F
D
P
F
T
R
Flexibility
Lesser complexity
Reduced Maintenance
Less labor intensive
Lesser Costs
Process Overview
Set up the XML Publisher responsibility
Set the E-Business Suite report to generate XML output.
Register the E-Business Suite report as a Data Definition
with XML Publisher.
Design the template and Register the template in the
Template Manager.
Run the Standard program to obtain the XML data file.
Run the XML Report Publisher request to merge the data
with the template.
XML Template
Navigation:
XML Publisher Administrator-> Template -> Create Template
Report Development
Develop or use an existing report for generating XML
Sample XML
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.11.3
-->
<T00404464>
<LIST_G_SALES_ORGN>
<G_SALES_ORGN>
<SALES_ORGN>TET</SALES_ORGN>
<LIST_G_ORDER_DETAILS>
<G_ORDER_DETAILS>
<SORT_ORDER_VALUE>200009</SORT_O
RDER_VALUE>
<ORGN>TET-200009</ORGN>
<BOL_NO>12004</BOL_NO>
<WHSE>T1</WHSE>
<SORT_DT>28-FEB-08</SORT_DT>
<RQST_SHIPDT>28-FEB2008</RQST_SHIPDT>
<CUSTOMER_NAME>CONTECH
ATLANTA</CUSTOMER_NAME>
<CT_ST_ZP>CONYERS, GA</CT_ST_ZP>
<ITEM_NO>BX150060</ITEM_NO>
<QTY>25</QTY>
<SHIPPING_UOM>RL</SHIPPING_UOM>
<SHIP_METHOD_CODE></SHIP_METHOD_CODE>
<STATUS>Awaiting Allocation</STATUS>
<LINE_ID>1982</LINE_ID>
<SHIPPER_CODE></SHIPPER_CODE>
<PO>TEST ORDER#5</PO>
</G_ORDER_DETAILS>
</LIST_G_ORDER_DETAILS>
</G_SALES_ORGN>
</LIST_G_SALES_ORGN>
</T00404464>
Closing
<?xml version="1.0"?>
<ITEM_NO>BX150060</ITEM_NO>
Tag
Tag
<!-- Generated by Oracle Reports version 6.0.8.11.3
<QTY>25</QTY>
-->
<SHIPPING_UOM>RL</SHIPPING_UOM>
Root Tag
<T00404464>
<LIST_G_SALES_ORGN>
<SHIP_METHOD_CODE></SHIP_METHOD_CODE>
First Group
<G_SALES_ORGN>
<STATUS>Awaiting Allocation</STATUS>
<SALES_ORGN>TET</SALES_ORGN>
<LINE_ID>1982</LINE_ID>
<LIST_G_ORDER_DETAILS>
Second Group <SHIPPER_CODE></SHIPPER_CODE>
<G_ORDER_DETAILS>
<PO>TEST ORDER#5</PO>
<SORT_ORDER_VALUE>200009</SORT_O
RDER_VALUE>
<ORGN>TET-200009</ORGN>
<BOL_NO>12004</BOL_NO>
<WHSE>T1</WHSE>
<SORT_DT>28-FEB-08</SORT_DT>
<RQST_SHIPDT>28-FEB2008</RQST_SHIPDT>
<CUSTOMER_NAME>CONTECH
ATLANTA</CUSTOMER_NAME>
<CT_ST_ZP>CONYERS, GA</CT_ST_ZP>
</G_ORDER_DETAILS>
</LIST_G_ORDER_DETAILS>
</G_SALES_ORGN>
</LIST_G_SALES_ORGN>
</T00404464>
Examples:
<?xdofx:rpad(FIRST_NAME||LAST_NAME),30,'x')?>
<?xdofx:decode('xxx','bbb','ccc','xxx','ddd')?>
<?xdofx:Instr('abcabcabc','a',2)?>
<?xdofx:upper(char)?>
Template Builder
The Template Builder is an extension to Microsoft
Word that simplifies the development of RTF
templates
Functions:
Data Definition
Template Definition
Thank You