Vous êtes sur la page 1sur 31

XML Publisher

Oracle XML Publisher


Technology

1/
GE Healthcare /
02/04/16

Agenda
Introduction
Advantages
How does it work?
Design Time
Run Time
Additional Features
GE Custom XMLP utility
References

2/
GE Healthcare /
02/04/16

Introduction

Introduction

3/
GE Healthcare /
02/04/16

Introduction
XML Publisher is a reporting solution offered by Oracle.
XML Publisher integrates standard data formatting desktop
tools like Word, Adobe etc for report designing with XML
data as input.
Salient Features
Integrated in ERP suite.
Consistent User Interface.
Report in multiple formats.
Language and locale options.
Faster deployment.
Reduced maintenance.
Focus on business requirements.
High productivity.
Focus on data provisioning.
4/
GE Healthcare /
02/04/16

Advantages

Advantages

5/
GE Healthcare /
02/04/16

Classic Reporting Tools Issue

Data logic

Layout

XML Publisher
5.6.2
Report file

Translation
Less flexibility
High Maintenance
Cost
6/
GE Healthcare /
02/04/16

Reporting in XML Publisher

Separate data / layout /


translation
Data Logic
Layout

XML Publisher
5.6.2
XML Publisher

Translation

Report
output

More flexibility
Reduced maintenance
7/
GE Healthcare /
02/04/16

One Template Multiple Outputs


XML Data

PDF

HTML

XML Publisher

EXCEL

RTF

A single RTF template can be used to generate


multiple output formats using XML Publisher
8/
GE Healthcare /
02/04/16

How does it work?

How does it work?

9/
GE Healthcare /
02/04/16

How does it work?


Design Time

Create any program which can be setup as Concurrent


Program and can produce XML output OR Create the RDF
file (Oracle has a mechanism to covert the RDF output to
XML)

Register the Program as a Concurrent Program in Oracle


Applications with the output type as XML

Run the Concurrent Program and save the XML output on


to our desktop.

Develop a RTF Template using MS Word. (use the XML file


to preview the output)

Create a Data Definition in Oracle Applications for the


Conc. Program

Create a template definition. Register the RTF Template in


Oracle Applications against the Data Definition and Conc.
Program

Add desired Translations to the RTF template in Oracle


Applications
10 /
GE Healthcare /
02/04/16

How does it work?


Run Time

Select the XML Publisher Program in the Standard


Request Submission Window, choose the parameters.

Click on View options button-> Choose the desired


Language and Territory in the Language Settings (if
the program has multiple translations)

Choose the desired Template Name from the Options


Button

Also choose the desired Output Format for Template


(PDF, HTML, EXCEL, RTF)

Submit the Request.

Once the Request is completed, View the output from


View Output button.

If we are printing the output to specific printer, The


Printer has to be registered in Oracle Application and
it should be PASTA enabled.
11 /
GE Healthcare /
02/04/16

Design Time: Registering the Conc.


Program

12 /
GE Healthcare /
02/04/16

Design Time: Developing the RTF


Template

Download the Template Builder (Patch# for XMLP


Version 5.6.2 is 5027437) and Install on your desktop
Once it is installed the following toolbar would appear in
the MS Word

13 /
GE Healthcare /
02/04/16

Design Time: Developing the RTF


Template

Design your Report Layout in the MS Word, Use the


formatting features of your word processing application.
(This would be static data such as labels, logo, drawings
etc)
Use the XML Publisher simplified tags, for
populating the Dynamic Data (coming from the
Concurrent Program XML) in the Word file. Save the file
as RTF.
Load the XML File using the Template Builder Menu
Navigation: Data Load XML Data
Preview the Output using the Template Builder Menu
Navigation: Preview PDF

14 /
GE Healthcare /
02/04/16

Design Time: Sample XML Output File

15 /
GE Healthcare /
02/04/16

Design Time: XML Publisher simplified


tags
Place holders :
<?XML element tag name?>
eg.; <?INVOICE_NUMBER?>

Groups :
<?for-each:XML group element tag name?>
<?end for-each?>
e.g.; <?for-each:G_LINE_NUMBER?>
<?end for-each?>
Conditions:
<?if:condition?>
<?end if?>
e.g.; <?if: CF_LINE_PLUS_TAX>10 ?> Yes
<?end if?>
16 /
GE Healthcare /
02/04/16

Design Time: Sample RTF Template

17 /
GE Healthcare /
02/04/16

Design Time: Create Data Definition

18 /
GE Healthcare /
02/04/16

Design Time: View Data Definition

19 /
GE Healthcare /
02/04/16

Design Time: Create Template

20 /
GE Healthcare /
02/04/16

Design Time: View Template

21 /
GE Healthcare /
02/04/16

Run Time: Run the Report

with Parameters

22 /
GE Healthcare /
02/04/16

Run Time: Run the Report


Format

Select Template & Output

23 /
GE Healthcare /
02/04/16

Run Time: Run the Report

View Output

24 /
GE Healthcare /
02/04/16

Additional Features

Additional Features

25 /
GE Healthcare /
02/04/16

Language Translation in XML Publisher


XML Publisher Allows us to attach multiple Translation
Files to a single Template, to translate the Labels in the
template layout into multiple Languages.
More Information on how to use the Language
Translation is described in the below attached document

Language
Trans lation in XML Publis her

26 /
GE Healthcare /
02/04/16

Barcoding In XML Publisher


We can create Barcodes in XML Publisher Reports by
using the Barcode fonts.
More Information on how to do Barcoding in XML
Publisher is described in the below attached document

Barcoding in XML
Publis her

27 /
GE Healthcare /
02/04/16

Additional Features

GE Custom XMLP utility

28 /
GE Healthcare /
02/04/16

GE Custom XMLP Utility Functions


GE Healthcare has created the following Custom utility
functions to
overcome the Challenges faced while Implementing XML
Publisher
For Using XML Publisher Reports in Request Sets
Adding Start and Stop bit characters for Barcodes
Emailing the XML Publisher Output from RDF file
Adding Emailing feature to XML Publisher reports using
Request Sets
For more details on using the above features, refer the
following
attached MD70 document
Cus tom XMLP Utility
Des ign Document

29 /
GE Healthcare /
02/04/16

Additional Features

References

30 /
GE Healthcare /
02/04/16

References

Oracle XML Publisher Product Description Link


http://www.oracle.com/technology/products/applications/publishing/index.
l
Oracle XML Publisher User Guides
https://metalink.oracle.com/metalink/plsql/docs/115xdoug.pdf
https://metalink.oracle.com/metalink/plsql/docs/B13817_03.pdf
Oracle XML Publisher Technology Forum
http://forums.oracle.com/forums/forum.jspa?forumID=245

SupportCentral Folders URL for XML Publisher


http://folders.ge.com/folders/default.asp?entity_id=1317354&sid=61&sf=

31 /
GE Healthcare /
02/04/16

Vous aimerez peut-être aussi