SlideShare a Scribd company logo
1 of 33
Download to read offline
Converting Oracle Reports to
        BI Publisher

     RMOUG Training Days
      February 24, 2010



       Jennifer McNeill
       Unify/CipherSoft
Agenda
Challenges of Reporting within the Enterprise
Benefits of Utilizing BI-Publisher
Step by Step Approach to Converting Oracle
Reports
Integrating Oracle Forms 10g with BI Publisher
Technical Issues
Creating the Project Plan
Best Practices
Lessons Learned
Q&A
Challenges of Reporting in an
  Enterprise Environment
High Fidelity Reports
Partner Reports
Financial Statements
Government forms
Marketing materials
Contracts
Checks, Labels
XML
EFT / EDI
Multiple destinations
Challenges of Reporting in an
  Enterprise Environment
Multiple reporting solutions
Highly-skilled engineers required to
maintain servers and report formats
◦   Costly
◦   Time consuming
◦   Complex systems
◦   Expensive maintenance
◦   Labor intensive
Benefits of BI-Publisher
Simplifies Report Maintenance
◦ Separate query, layout, and translation
Report output provided is:
◦ Flexible
◦ Reduces maintenance
◦ Business users create layouts with familiar
  desktop tools
Rapid Development
Extract Data Once, Publish Many Docs
BI Publisher Benefits - Hot-
             Pluggable
Pure Java application – Use any J2EE application server
Rich set of Java APIs for custom application development
Web Services for SOA development
Any data source: JDBC and Web services XML data sources
Standard W3C XSL-FO stylesheets
Output formats in PDF, PS, RTF, HTML…
Delivery Support for:
◦   Internet Printing Protocol, CUPS
◦   Internet Fax Protocol
◦   SMTP email protocol
◦   WebDAV, FTP, SFTP
First Conversion Steps
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
If your source reports are not in Oracle Reports XML
format, the conversion utility will do this conversion
automatically
Requires Oracle Reports Designer 9i or later on the
same machine where you will do the conversion so that
Oracle BI Publisher conversion utility can call the
rwconverter executable to get the reports into Oracle
Reports XML format
What will the Converter do?
                               Use rwconverter from
                    Data
                               Oracle Reports to go
                    Template
                               from RDF to RDF XML
                               RDF XML file will be
Oracle Reports                 converted to BIP
RDF XML               PL/SQL   objects
                               Data
                               ◦ Data Template
                               ◦ Supporting pl/sql
                               Layout
                   RTF
                               ◦ RTF template
                 Templates     Enabled for batch
                               mode processing
Running the Conversion
            Utility
Ensure the following jar files are in your
classpath:
◦   l   Collections.zip -
◦   l   xmlparserv2-904.jar -
◦   l   xdocore.jar
◦   l   aolj.jar
The conversion utility requires JDK
version 1.1.8 or later
Running the Conversion Utility
BIPBatchConversion is the utility to migrate reports from Oracle Reports to
BI Publisher.
It takes the following parameters:
l -source — (required) Source directory for Oracle Reports files. All reports
must be in the same format - either RDF or XML.
l -target — (required) Target directory to create Oracle BI Publisher report
objects. This includes the Oracle BI Publisher Report file (.xdo), the layout
template file (.rtf), the PL/SQL package, and log file.
l -oraclehome — (optional) If your reports are in Oracle Reports XML
format do not specify this parameter. If your reports are not in Oracle
Reports XML format, specify the Oracle home path where Oracle Report
Designer (9i or later version) is installed.
BIPBatchMigration assumes that rwconverter is contained in the bin
directory beneath the Oracle home path.
BIPBatchConversion requires rwconverter from Oracle Reports to convert
the report from RDF format to XML format.
l -debug — (optional) To run the utility in debug mode and write debug
statements to the log file.
Running the Conversion
         Utility
Command Line Usage:
◦ java ... BIPBatchConversion [-debug] -source
  SourceDirectory -target
◦ TargetDirectory [-oraclehome
  OracleHomePath]
Output Files Created
The conversion utility will generate the following output files
for each report:
◦ l Report definition file that includes the Data Model (for example:
  REPORT.xdo)
◦ (Note: This file is not needed for E-Business Suite users; see the
  following note under DataTemplate.) l DataTemplate (for example:
  REPORT_template.xml) (Note: this is not required for Oracle BI
  Publisher Enterprise users because the data template is embedded
  in REPORT.xdo.)
◦ l Default PL/SQL package specification (for example: REPORTS.pls)
◦ l Default PL/SQL package body (for example: REPORTB.pls)
◦ l RTF Layout Template (for example: REPORT.rtf)
◦ l Log file (for example: REPORT.log)
Running the Conversion Utility
Upload PL/SQL Package to the Database
◦ Many converted Oracle Reports will generate a
  PL/SQL package specification file and a PL/SQL
  package body file as follows:
   l <report_name>S.pls
   l <report_name>B.pls
◦ Run the PL/SQL package files against your
  Oracle Database as follows. This will create the
  PL/SQL package specification and body.
   SQL> @C:BIPublisher_reports raxinvraxinvS.pls
   SQL> @C:BIPublisher_reports raxinvraxinvB.pls
Running the Conversion Utility
Putting Converted Reports into the Oracle BI Publisher
Repository
◦ Make your reports visible in the Oracle BI Publisher repository is a
  two-step process:
     1. Copy the report folders into the repository.
     2. Refresh the repository metadata.
◦ If you have a file-based repository, copy the report folder structure
  to the file system.
Example, suppose your repository path was set to:
◦ C:oraclebixmlpXMLP
For the report in the previous example, simply copy the
report directory and all its files to the desired folder structure
in the existing report repository
Conversion Issues
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.
Running the Conversion Utility
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.
◦ 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
Standalone Reports Conversion
RDF                                            Converter extracts
            9i+ rwconverter
                                     9i+ RDF
                                               layout and data
                                     XML       information
                                               Enabled for batch
                                               mode processing
                                               Generates BIP report
  RTF                                          objects
                              RDF2RTF
Templates
                              Converter        Data
                                               ◦ Data Template
                                               ◦ Supporting pl/sql
                  PL/SQL
                                               Layout
                                               ◦ RTF template
Data                                           These can be loaded
Template
                                               to the BIP server
What will the converter not do?
Simple wire frame layout will be created, users need to
address:
◦   Sanity Check – does the template work
◦   Fonts
◦   Shading
◦   Borders
Format triggers on report objects will not be converted
from plsql to xsl-fo
◦ Observations have noted that the majority of format triggers
  are of the ‘if’ type i.e. if x=y then zzzzzz
◦ These can be very simply converted to Publisher’s XSL
  format
Integrating Oracle Forms with Bi Publisher
           Creating a client for the Web
         Services with Oracle JDeveloper
Integrating Oracle Forms with BI Publisher
     Select No Template as Application
                 Template
Integrating Oracle Forms with BI Publisher
        Use BIP_WebService as Project
                   Name




         When choosing another name pay
        attention in the document. There are
       several code pieces using this project
                         name
Integrating Oracle Forms with BI Publisher
   Select the created Project BIP_WebService.jpr in the
 Navigator and choose the Project Properties with a right
  click. Select the Compiler node and set the Source and
 Target dropdown lists to 1.4. (That’s because of the used
                    JRE of Forms 10.1.2)
Integrating Oracle Forms with BI Publisher
When working with Oracle Forms you have to replace the version of JDK
                    which is used in the project.
Select the Libraries node in the Project Properties and press the button to
                        Change the J2SE version.
Integrating Oracle Forms with Bi Publisher
  In the Edit J2SE Definition Window go to the left
          pane and select the node Project.
Integrating Oracle Forms with Bi Publisher
By pressing the button New a window Create J2SE opens where you can
                     reference the necessary J2SE
 Press the button Browse and select the file java.exe from the directory
        jdkjrebin in the Oracle Home of your Developer Suite.




    If you submit your selection with OK you will see that several jar-
   Files were added to the classpath. In the window Project Properties
            the version of J2SE should now be set to 1.4.2_14
Integrating Oracle Forms with Bi Publisher
    After saved the project, right-click the project, choose New and
   select the Item Web Services Proxy in the Category Business Tier
                             – Web Services
Integrating Oracle Forms with Bi Publisher
    Choose as your WSDL Document URL the appropriate URL of your BI Publisher
  Server:http://<machine>:<port>/<yourappname>/services/PublicReportService?wsdl
                      (Default for <yourappname> is xmlpserver)




If you run into problems when generating the WSDL from the above URL you could manually create a
                      WSDL file and use it with the second option Mapping File.
               A complete definition of the WSDL can be found in the documentation at:
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e10416/bip_webservice_101331.htm#BA
             BHEHEJ. Just copy the text in a file and add it to the content of your project.
Integrating Oracle Forms with Bi Publisher
        Accept the following two screens and than
          set your wished Package Name (here
                 bip_webservice.proxy).
Integrating Oracle Forms with Bi Publisher
  Accept again the two following screens. Check that in the Finish
  screen the method runReport is available in the service endpoint.
Integrating Oracle Forms with Bi Publisher
         Finally you’ve created the proxy stub.
Challenges of a Conversion
          Project
Limited Resources
Lack of knowledge within staff
Lack of understanding of future direction
Need to “hang on” to previous
environment
Understanding of Business Requirements
Integration with present and future
environment
Challenges of a Conversion
          Project
Utilization of new technology in the most
efficient manner
Project planning for present and future
Utilization of Testing Resources
Thank you for attending!



           Jennifer McNeill
          Unify/CipherSoft
   Office: 403.256.5699 ext 228
       Cell:   916-865-6049
       www.ciphersoftinc.com

More Related Content

What's hot

Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETL
Jonathan Levin
 
Pentaho data integration 4.0 and my sql
Pentaho data integration 4.0 and my sqlPentaho data integration 4.0 and my sql
Pentaho data integration 4.0 and my sql
AHMED ENNAJI
 
Accessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_pointAccessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_point
Yuval Birenboum
 
Oracle Data Integration Presentation
Oracle Data Integration PresentationOracle Data Integration Presentation
Oracle Data Integration Presentation
kgissandaner
 

What's hot (20)

MDM: Integrating Oracle PIM & iStore
MDM: Integrating Oracle PIM & iStoreMDM: Integrating Oracle PIM & iStore
MDM: Integrating Oracle PIM & iStore
 
Integrating Flink with Hive - Flink Forward SF 2019
Integrating Flink with Hive - Flink Forward SF 2019Integrating Flink with Hive - Flink Forward SF 2019
Integrating Flink with Hive - Flink Forward SF 2019
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETL
 
Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
 
Pentaho data integration 4.0 and my sql
Pentaho data integration 4.0 and my sqlPentaho data integration 4.0 and my sql
Pentaho data integration 4.0 and my sql
 
Sap index
Sap indexSap index
Sap index
 
SAP Documents Management and Distribution
SAP Documents Management and DistributionSAP Documents Management and Distribution
SAP Documents Management and Distribution
 
DB2 on Mainframe
DB2 on MainframeDB2 on Mainframe
DB2 on Mainframe
 
ETL
ETLETL
ETL
 
Db connect with sap bw
Db connect with sap bwDb connect with sap bw
Db connect with sap bw
 
Talend Introduction by TSI
Talend Introduction by TSITalend Introduction by TSI
Talend Introduction by TSI
 
Delta machenism with db connect
Delta machenism with db connectDelta machenism with db connect
Delta machenism with db connect
 
Accessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_pointAccessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_point
 
What a CDS-view can do for you | sitNL 2016
What a CDS-view can do for you | sitNL 2016What a CDS-view can do for you | sitNL 2016
What a CDS-view can do for you | sitNL 2016
 
OData service from ABAP CDS
OData service from ABAP CDSOData service from ABAP CDS
OData service from ABAP CDS
 
Oracle Data Integration Presentation
Oracle Data Integration PresentationOracle Data Integration Presentation
Oracle Data Integration Presentation
 
Integrating SSRS with SharePoint
Integrating SSRS with SharePointIntegrating SSRS with SharePoint
Integrating SSRS with SharePoint
 
Technical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part ITechnical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part I
 

Viewers also liked

Siebel Reporting: BI Publisher
Siebel Reporting:  BI PublisherSiebel Reporting:  BI Publisher
Siebel Reporting: BI Publisher
mseback
 

Viewers also liked (8)

P6R8.3 Using BI Publisher 11g - Create Multi-Project Status and Pivot Table R...
P6R8.3 Using BI Publisher 11g - Create Multi-Project Status and Pivot Table R...P6R8.3 Using BI Publisher 11g - Create Multi-Project Status and Pivot Table R...
P6R8.3 Using BI Publisher 11g - Create Multi-Project Status and Pivot Table R...
 
Create bar chart report for p6 r8.3 using bi publisher 11g - Oracle Primavera...
Create bar chart report for p6 r8.3 using bi publisher 11g - Oracle Primavera...Create bar chart report for p6 r8.3 using bi publisher 11g - Oracle Primavera...
Create bar chart report for p6 r8.3 using bi publisher 11g - Oracle Primavera...
 
Bi
BiBi
Bi
 
An Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards IntegrationAn Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards Integration
 
Best Implementation Practices with BI Publisher
Best Implementation Practices with BI PublisherBest Implementation Practices with BI Publisher
Best Implementation Practices with BI Publisher
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first report
 
Oracle XML Publisher / BI Publisher
Oracle XML Publisher / BI PublisherOracle XML Publisher / BI Publisher
Oracle XML Publisher / BI Publisher
 
Siebel Reporting: BI Publisher
Siebel Reporting:  BI PublisherSiebel Reporting:  BI Publisher
Siebel Reporting: BI Publisher
 

Similar to Mcneill 01

Graviton BI Publisher Presentation
Graviton BI Publisher PresentationGraviton BI Publisher Presentation
Graviton BI Publisher Presentation
gravitonconsulting
 
The many-faces-of-bi-publisher-in-oracle-ebs paper-1
The many-faces-of-bi-publisher-in-oracle-ebs paper-1The many-faces-of-bi-publisher-in-oracle-ebs paper-1
The many-faces-of-bi-publisher-in-oracle-ebs paper-1
Santosh Raj
 
Many Faces Of Bi Publisher In Oracle Ebs
Many Faces Of Bi Publisher In Oracle EbsMany Faces Of Bi Publisher In Oracle Ebs
Many Faces Of Bi Publisher In Oracle Ebs
Hossam El-Faxe
 
Creating custom reports ora app express apex listener
Creating custom reports  ora app express apex listenerCreating custom reports  ora app express apex listener
Creating custom reports ora app express apex listener
Darnette A
 
David McGraw resume 01092015
David McGraw resume 01092015David McGraw resume 01092015
David McGraw resume 01092015
David McGraw
 
Transitioning from infomaker to bi publisher ppt
Transitioning from infomaker to bi publisher pptTransitioning from infomaker to bi publisher ppt
Transitioning from infomaker to bi publisher ppt
p6academy
 

Similar to Mcneill 01 (20)

bi-publisher.pptx
bi-publisher.pptxbi-publisher.pptx
bi-publisher.pptx
 
Graviton BI Publisher Presentation
Graviton BI Publisher PresentationGraviton BI Publisher Presentation
Graviton BI Publisher Presentation
 
ebs xml.ppt
ebs xml.pptebs xml.ppt
ebs xml.ppt
 
The many-faces-of-bi-publisher-in-oracle-ebs paper-1
The many-faces-of-bi-publisher-in-oracle-ebs paper-1The many-faces-of-bi-publisher-in-oracle-ebs paper-1
The many-faces-of-bi-publisher-in-oracle-ebs paper-1
 
Oracle9i reports developer
Oracle9i reports developerOracle9i reports developer
Oracle9i reports developer
 
Blue Phoenix Idms Migration
Blue Phoenix Idms MigrationBlue Phoenix Idms Migration
Blue Phoenix Idms Migration
 
FDMEE Custom Reports
FDMEE Custom ReportsFDMEE Custom Reports
FDMEE Custom Reports
 
Oracle Cloud ERP Report and Analytics | What are Cloud ERP reporting Options ...
Oracle Cloud ERP Report and Analytics | What are Cloud ERP reporting Options ...Oracle Cloud ERP Report and Analytics | What are Cloud ERP reporting Options ...
Oracle Cloud ERP Report and Analytics | What are Cloud ERP reporting Options ...
 
SAP BOBJ Rapid Mart Overview & Implementation
SAP BOBJ Rapid Mart Overview & ImplementationSAP BOBJ Rapid Mart Overview & Implementation
SAP BOBJ Rapid Mart Overview & Implementation
 
Oracle Forms to APEX conversion tool
Oracle Forms to APEX conversion toolOracle Forms to APEX conversion tool
Oracle Forms to APEX conversion tool
 
Bi Publisher 11g: Only good news
Bi Publisher 11g: Only good newsBi Publisher 11g: Only good news
Bi Publisher 11g: Only good news
 
Advanced Reporting And Charting With Oracle Application Express 4.0
Advanced Reporting And Charting With Oracle Application Express 4.0Advanced Reporting And Charting With Oracle Application Express 4.0
Advanced Reporting And Charting With Oracle Application Express 4.0
 
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
 
Many Faces Of Bi Publisher In Oracle Ebs
Many Faces Of Bi Publisher In Oracle EbsMany Faces Of Bi Publisher In Oracle Ebs
Many Faces Of Bi Publisher In Oracle Ebs
 
OBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.pptOBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.ppt
 
Creating custom reports ora app express apex listener
Creating custom reports  ora app express apex listenerCreating custom reports  ora app express apex listener
Creating custom reports ora app express apex listener
 
WEBridge 4 SAP V1.0 (RTM) on 11/11 of 2014
WEBridge 4 SAP V1.0 (RTM) on 11/11 of 2014 WEBridge 4 SAP V1.0 (RTM) on 11/11 of 2014
WEBridge 4 SAP V1.0 (RTM) on 11/11 of 2014
 
Couch db
Couch dbCouch db
Couch db
 
David McGraw resume 01092015
David McGraw resume 01092015David McGraw resume 01092015
David McGraw resume 01092015
 
Transitioning from infomaker to bi publisher ppt
Transitioning from infomaker to bi publisher pptTransitioning from infomaker to bi publisher ppt
Transitioning from infomaker to bi publisher ppt
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Mcneill 01

  • 1. Converting Oracle Reports to BI Publisher RMOUG Training Days February 24, 2010 Jennifer McNeill Unify/CipherSoft
  • 2. Agenda Challenges of Reporting within the Enterprise Benefits of Utilizing BI-Publisher Step by Step Approach to Converting Oracle Reports Integrating Oracle Forms 10g with BI Publisher Technical Issues Creating the Project Plan Best Practices Lessons Learned Q&A
  • 3. Challenges of Reporting in an Enterprise Environment High Fidelity Reports Partner Reports Financial Statements Government forms Marketing materials Contracts Checks, Labels XML EFT / EDI Multiple destinations
  • 4. Challenges of Reporting in an Enterprise Environment Multiple reporting solutions Highly-skilled engineers required to maintain servers and report formats ◦ Costly ◦ Time consuming ◦ Complex systems ◦ Expensive maintenance ◦ Labor intensive
  • 5. Benefits of BI-Publisher Simplifies Report Maintenance ◦ Separate query, layout, and translation Report output provided is: ◦ Flexible ◦ Reduces maintenance ◦ Business users create layouts with familiar desktop tools Rapid Development Extract Data Once, Publish Many Docs
  • 6. BI Publisher Benefits - Hot- Pluggable Pure Java application – Use any J2EE application server Rich set of Java APIs for custom application development Web Services for SOA development Any data source: JDBC and Web services XML data sources Standard W3C XSL-FO stylesheets Output formats in PDF, PS, RTF, HTML… Delivery Support for: ◦ Internet Printing Protocol, CUPS ◦ Internet Fax Protocol ◦ SMTP email protocol ◦ WebDAV, FTP, SFTP
  • 7. First Conversion Steps 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 If your source reports are not in Oracle Reports XML format, the conversion utility will do this conversion automatically Requires Oracle Reports Designer 9i or later on the same machine where you will do the conversion so that Oracle BI Publisher conversion utility can call the rwconverter executable to get the reports into Oracle Reports XML format
  • 8. What will the Converter do? Use rwconverter from Data Oracle Reports to go Template from RDF to RDF XML RDF XML file will be Oracle Reports converted to BIP RDF XML PL/SQL objects Data ◦ Data Template ◦ Supporting pl/sql Layout RTF ◦ RTF template Templates Enabled for batch mode processing
  • 9. Running the Conversion Utility Ensure the following jar files are in your classpath: ◦ l Collections.zip - ◦ l xmlparserv2-904.jar - ◦ l xdocore.jar ◦ l aolj.jar The conversion utility requires JDK version 1.1.8 or later
  • 10. Running the Conversion Utility BIPBatchConversion is the utility to migrate reports from Oracle Reports to BI Publisher. It takes the following parameters: l -source — (required) Source directory for Oracle Reports files. All reports must be in the same format - either RDF or XML. l -target — (required) Target directory to create Oracle BI Publisher report objects. This includes the Oracle BI Publisher Report file (.xdo), the layout template file (.rtf), the PL/SQL package, and log file. l -oraclehome — (optional) If your reports are in Oracle Reports XML format do not specify this parameter. If your reports are not in Oracle Reports XML format, specify the Oracle home path where Oracle Report Designer (9i or later version) is installed. BIPBatchMigration assumes that rwconverter is contained in the bin directory beneath the Oracle home path. BIPBatchConversion requires rwconverter from Oracle Reports to convert the report from RDF format to XML format. l -debug — (optional) To run the utility in debug mode and write debug statements to the log file.
  • 11. Running the Conversion Utility Command Line Usage: ◦ java ... BIPBatchConversion [-debug] -source SourceDirectory -target ◦ TargetDirectory [-oraclehome OracleHomePath]
  • 12. Output Files Created The conversion utility will generate the following output files for each report: ◦ l Report definition file that includes the Data Model (for example: REPORT.xdo) ◦ (Note: This file is not needed for E-Business Suite users; see the following note under DataTemplate.) l DataTemplate (for example: REPORT_template.xml) (Note: this is not required for Oracle BI Publisher Enterprise users because the data template is embedded in REPORT.xdo.) ◦ l Default PL/SQL package specification (for example: REPORTS.pls) ◦ l Default PL/SQL package body (for example: REPORTB.pls) ◦ l RTF Layout Template (for example: REPORT.rtf) ◦ l Log file (for example: REPORT.log)
  • 13. Running the Conversion Utility Upload PL/SQL Package to the Database ◦ Many converted Oracle Reports will generate a PL/SQL package specification file and a PL/SQL package body file as follows: l <report_name>S.pls l <report_name>B.pls ◦ Run the PL/SQL package files against your Oracle Database as follows. This will create the PL/SQL package specification and body. SQL> @C:BIPublisher_reports raxinvraxinvS.pls SQL> @C:BIPublisher_reports raxinvraxinvB.pls
  • 14. Running the Conversion Utility Putting Converted Reports into the Oracle BI Publisher Repository ◦ Make your reports visible in the Oracle BI Publisher repository is a two-step process: 1. Copy the report folders into the repository. 2. Refresh the repository metadata. ◦ If you have a file-based repository, copy the report folder structure to the file system. Example, suppose your repository path was set to: ◦ C:oraclebixmlpXMLP For the report in the previous example, simply copy the report directory and all its files to the desired folder structure in the existing report repository
  • 15. Conversion Issues 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.
  • 16. Running the Conversion Utility 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. ◦ 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
  • 17. Standalone Reports Conversion RDF Converter extracts 9i+ rwconverter 9i+ RDF layout and data XML information Enabled for batch mode processing Generates BIP report RTF objects RDF2RTF Templates Converter Data ◦ Data Template ◦ Supporting pl/sql PL/SQL Layout ◦ RTF template Data These can be loaded Template to the BIP server
  • 18. What will the converter not do? Simple wire frame layout will be created, users need to address: ◦ Sanity Check – does the template work ◦ Fonts ◦ Shading ◦ Borders Format triggers on report objects will not be converted from plsql to xsl-fo ◦ Observations have noted that the majority of format triggers are of the ‘if’ type i.e. if x=y then zzzzzz ◦ These can be very simply converted to Publisher’s XSL format
  • 19. Integrating Oracle Forms with Bi Publisher Creating a client for the Web Services with Oracle JDeveloper
  • 20. Integrating Oracle Forms with BI Publisher Select No Template as Application Template
  • 21. Integrating Oracle Forms with BI Publisher Use BIP_WebService as Project Name When choosing another name pay attention in the document. There are several code pieces using this project name
  • 22. Integrating Oracle Forms with BI Publisher Select the created Project BIP_WebService.jpr in the Navigator and choose the Project Properties with a right click. Select the Compiler node and set the Source and Target dropdown lists to 1.4. (That’s because of the used JRE of Forms 10.1.2)
  • 23. Integrating Oracle Forms with BI Publisher When working with Oracle Forms you have to replace the version of JDK which is used in the project. Select the Libraries node in the Project Properties and press the button to Change the J2SE version.
  • 24. Integrating Oracle Forms with Bi Publisher In the Edit J2SE Definition Window go to the left pane and select the node Project.
  • 25. Integrating Oracle Forms with Bi Publisher By pressing the button New a window Create J2SE opens where you can reference the necessary J2SE Press the button Browse and select the file java.exe from the directory jdkjrebin in the Oracle Home of your Developer Suite. If you submit your selection with OK you will see that several jar- Files were added to the classpath. In the window Project Properties the version of J2SE should now be set to 1.4.2_14
  • 26. Integrating Oracle Forms with Bi Publisher After saved the project, right-click the project, choose New and select the Item Web Services Proxy in the Category Business Tier – Web Services
  • 27. Integrating Oracle Forms with Bi Publisher Choose as your WSDL Document URL the appropriate URL of your BI Publisher Server:http://<machine>:<port>/<yourappname>/services/PublicReportService?wsdl (Default for <yourappname> is xmlpserver) If you run into problems when generating the WSDL from the above URL you could manually create a WSDL file and use it with the second option Mapping File. A complete definition of the WSDL can be found in the documentation at: http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e10416/bip_webservice_101331.htm#BA BHEHEJ. Just copy the text in a file and add it to the content of your project.
  • 28. Integrating Oracle Forms with Bi Publisher Accept the following two screens and than set your wished Package Name (here bip_webservice.proxy).
  • 29. Integrating Oracle Forms with Bi Publisher Accept again the two following screens. Check that in the Finish screen the method runReport is available in the service endpoint.
  • 30. Integrating Oracle Forms with Bi Publisher Finally you’ve created the proxy stub.
  • 31. Challenges of a Conversion Project Limited Resources Lack of knowledge within staff Lack of understanding of future direction Need to “hang on” to previous environment Understanding of Business Requirements Integration with present and future environment
  • 32. Challenges of a Conversion Project Utilization of new technology in the most efficient manner Project planning for present and future Utilization of Testing Resources
  • 33. Thank you for attending! Jennifer McNeill Unify/CipherSoft Office: 403.256.5699 ext 228 Cell: 916-865-6049 www.ciphersoftinc.com