This blog is primarily intended for the beginners of Oracle Apps.Here, I would like to share some of my design and development work with Oracle Applications community.Feel Free to share your tips , tricks and scripts.Please contact me for "Oracle Apps Technical Trainings".
How to convert Oracle
reports to XML Publisher Report.
1> During the conversion process, the source reports must
eventually be in Oracle Reports XML format. Oracle Reports XML format is
supported in Oracle Reports 9i and above.
Openthe .rdf file
and convert it into report xml file
The process of conversion is given with screenshots:-
c> Source : Browse the .rdf file to be converted. and
click on OK.
·Default PL/SQL package body (for example: pfoa181pB.pls)
·RTF Layout Template (for example: pfoa181p.rtf)
·Log file (for example: pfoa181p.log)
Most converted reports will run exactly as expected without further
modification. More complex reports may require some additional modification to
work as desired. Following are some common issues with converted reports.
Data Template and PL/SQL Files
Occasionally when converting a more complex Oracle Reports report, the Data
Template or PL/SQL may contain minor errors and require manual correction.
The conversion utility will move all formula columns to the select clause of
the SQL query in the data model. In most cases this will not cause a problem.
However, if any of the arguments to the formula is a summary column, this will
not work because the summary column will not be calculated at the time the
query is executed.
To correct this problem you will need to remove this formula from the select
clause and implement the formula as XSL in your layout template. Most of these
formulas are used either for simple addition or summation or currency
conversion, formatting, and rounding.
RTF Layout Template File
The majority of Oracle Reports reports use simple 'if' formatting logic that
is automatically converted to equivalent XSL-FO and inserted into form fields
in the RTF layout template. However, there is no support for PL/SQL in RTF
layout templates. The conversion utility does not convert any PL/SQL format
trigger logic present in the report. Instead the conversion utility writes all
the format trigger code to a log file. You will need to implement any
corresponding PL/SQL logic as XSL code.
To aid in this process, the resulting RTF template will contain form fields
that hold the format trigger names that are called; these fields will be
highlighted in red. You can then refer to the log to find the actual PL/SQL
code used in the original Oracle Report. You will need to rewrite these PL/SQL
triggers as XSL-FO.
Stores the XML Publisher Administration configuration
properties that are accessible from the OA Framework interface.
XDO_CONFIG_PROPERTIES_TL
Translation table for XDO_CONFIG_PROPERTIES_B.
XDO_CONFIG_VALUES
Stores the values assigned to the property in
Administration Configuration Data
XDO_CURRENCY_FORMATS
Stores the format masks for various currencies. A collection
of these formats forms a currency format set.
XDO_CURRENCY_FORMAT_SETS_B
Stores the Currency Format Sets
XDO_CURRENCY_FORMAT_SETS_TL
Stores the Currency Format Sets
XDO_DS_DEFINITIONS_B
Stores data source definition represented by XML Schema
Definition (XSD). Each data source has one or more elements, and these
information are stored in XDO_DS_ELEMENTS_B
XDO_DS_DEFINITIONS_TL
Translation table for XDO_DS_DEFINITIONS_B
XDO_FONT_MAPPINGS
Stores the mappings from a base font to a target
Truetype or Type 1 font. A collection of these mappings forms a font mapping
set
XDO_FONT_MAPPING_SETS_B
Stores the header information for a font mapping set,
which is a collection of font mappings
XDO_FONT_MAPPING_SETS_TL
Translation table for XDO_FONT_MAPPING_SETS_B
XDO_LOBS
Stores Template(RTF File), XML File, XML Schema File,
locale(langauge and territory) sensitive binary and text files. It is mainly
used for storing language layout templates.
XDO_TEMPLATES_B
Stores template information. Each template has a
corresponding data source definition stored in the XDO_DS_DEFINITIONS_B. Each
translation of a certain template, not each template, has a corresponding
physical template file. The physical template file information are stored in
the XDO_TEMPLATE_FILES.
XDO_TEMPLATES_TL
Translatable table for XDO_TEMPLATES_B
XDO_TEMPLATE_FIELDS
Stores information of the fields of template file. Each
field belongs to one of physical template files
XDO_TRANS_UNITS
Stores the header information regarding each segment of
translatable text in layout templates
XDO_TRANS_UNIT_PROPS
Stores any untranslatable values embedded within a
segment of text. These values will be merged back into the text translations
XDO_TRANS_UNIT_VALUES
Stores any untranslatable values embedded within a
segment of text. These values will be merged back into the text translations