53
1

Convert to Bi Publisher 11g 1611815

Embed Size (px)

DESCRIPTION

How to Migrate to BI Publisher

Citation preview

Page 1: Convert to Bi Publisher 11g 1611815

1

Page 2: Convert to Bi Publisher 11g 1611815

<Insert Picture Here>

Convert Oracle Reports, Crystal and Actuate

to Oracle BI Publisher

Page 3: Convert to Bi Publisher 11g 1611815

3

<Insert Picture Here>

Agenda

• Why convert to BI Publisher?

• Conversion Plan

• Convert Oracle Reports

• Convert Crystal Reports

• Convert Actuate

Page 4: Convert to Bi Publisher 11g 1611815

4

• Separate data logic, layout & translation benefits

– greater flexibility and reuse

– fewer reports are easier to maintain

– optimize data extraction and document generation process

Report

output

Data Logic

Layout

Translation

BI Publisher

Why Convert to BI Publisher? Simplified Report Maintenance

Page 5: Convert to Bi Publisher 11g 1611815

5

Gallup

Results

• 30 Publisher reports (85% reduction)

• 3 months w/ one f/t report developer

Challenge

• 200+ Crystal Reports

• Duplicate reports

• Hard to use & manage

Better Managed

Page 6: Convert to Bi Publisher 11g 1611815

6

Why Convert to BI Publisher ? Faster Development

• User creates layout with desktop tools

• IT builds data model

Report Outputs

XML

Report Templates

Multiple Data Sources

Page 7: Convert to Bi Publisher 11g 1611815

7

MasterCard Worldwide

Result

• 3 days and 1 person to implement POs

• 12x faster w/ 1 person

Challenge

• 90 days and 3 people (incl. 3rd party vendor) to implement POs

• 50 Operating Units

Faster, Easier Development

Page 8: Convert to Bi Publisher 11g 1611815

8

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 9: Convert to Bi Publisher 11g 1611815

9

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 10: Convert to Bi Publisher 11g 1611815

10

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 11: Convert to Bi Publisher 11g 1611815

11

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 12: Convert to Bi Publisher 11g 1611815

12

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 13: Convert to Bi Publisher 11g 1611815

13

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 14: Convert to Bi Publisher 11g 1611815

14

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 15: Convert to Bi Publisher 11g 1611815

15

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 16: Convert to Bi Publisher 11g 1611815

16

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 17: Convert to Bi Publisher 11g 1611815

17

Government Forms

Invoices

Operational Reports

Correspondence

Financial Statements

Checks

Purchase Orders

Interactive Reports

EFT & EDI

Shipping Labels

Why Convert to BI Publisher ? Single Solution for All Documents

Page 18: Convert to Bi Publisher 11g 1611815

18

<Insert Picture Here>

Agenda

• Why convert to BI Publisher?

• Conversion Plan

• Convert Oracle Reports

• Convert Crystal Reports

• Convert Actuate

Page 19: Convert to Bi Publisher 11g 1611815

19

Conversion Plan

• Analyze reports

– Categorize reports by Data

– Categorize reports by Complexity

– Evaluate the report size

– Reduce number of reports

• Create Data Model to handle Data design

• Create RTF Template to handle Layout design

• Convert data handling functions into database functions

• Convert layout formatting functions into XSL/java functions

Page 20: Convert to Bi Publisher 11g 1611815

20

<Insert Picture Here>

Agenda

• Why convert to BI Publisher?

• Conversion Plan

• Convert Oracle Reports

• Convert Crystal Reports

• Convert Actuate

Page 21: Convert to Bi Publisher 11g 1611815

21

• Oracle Reports 9i – 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. However, this requires Oracle Reports Designer 9i or

later on the same machine where you will do the conversion.

• Setting classpath – collections.jar

– xmlparserv2-904.jar or xmlparserv2.jar

– xdocore.jar

– aolj.jar

– Versioninfo.jar

• JDK 1.5 or higher

Convert Oracle Reports Prerequisites

Page 22: Convert to Bi Publisher 11g 1611815

22

Steps • Configure data source in BI

Publisher Server

• Run the Conversion Assistant with option to upload report to BI Publisher Server

• Compile the PL/SQL package manually into Database

• View Report

• Check Log file for any unhandled features

Oracle

Report

RDF

files

RDF XML

Oracle

Report To

BI Publisher

Conversion

Assistant

RTF

Template rwconverter

Log files

Report Reports 9i

Data Model

Oracle Home

.xdm

Target Directory BI Publisher Server

Database

Report

Upload to Catalog

.xdmz

Report

.xdo

.xdoz

.PLS files

log plsql

Compile

RTF

Template Report

Data Model

.xdm

.xdo

Convert Oracle Reports Conversion Steps

Page 23: Convert to Bi Publisher 11g 1611815

23

1

2

3

4

Convert Oracle Reports Conversion Assistant

Page 24: Convert to Bi Publisher 11g 1611815

24

<Insert Picture Here>

Agenda

• Why convert to BI Publisher?

• Conversion Plan

• Convert Oracle Reports

• Convert Crystal Reports

• Convert Actuate

Page 25: Convert to Bi Publisher 11g 1611815

25

Convert Crystal Reports Conversion Steps

Data Connection

Parameters

Functions &

Formulae

Data Source

Data Model

Parameters

Functions &

Formulae

XML Data SQL,

Data Template

Data definition

SQL, Function,

Stored Procedure

+

1

2

3

4

Blank or Crystal

RTF output

RTF

Template

Template Builder 5

Connection and Data Model Conversion Layout Conversion

Crystal Reports BI Publisher

Page 26: Convert to Bi Publisher 11g 1611815

26

Convert Crystal Reports Handling Sub Reports

Report

Sub Report

Unlinked Sub Report

Linked Sub Report

On Demand Sub Report

Data Model with Concatenated Data Sets

Data Model with Data Sets linked by Group or Element

Link

Data Model

Data Model

Sub Template

Sub Report with Parent – Child Relationship

Sub Report displaying layout conditionally or

based on Parameter

Use Hyperlink in RTF

Crystal Reports with Sub Reports BI Publisher

Page 27: Convert to Bi Publisher 11g 1611815

27

Convert Crystal Reports Step-by-step conversion of a sample Crystal report

Crystal Report at a glance • Banded Report

• Group by Department and Manager

• Subtotal Salary by group

• Data does not break across page

Page 28: Convert to Bi Publisher 11g 1611815

28

Sample Report Conversion Convert Connection and Data Model

Convert Connection

Page 29: Convert to Bi Publisher 11g 1611815

29

Sample Report Conversion Convert Connection and Data Model

Convert Connection

Page 30: Convert to Bi Publisher 11g 1611815

30

Sample Report Conversion Convert Connection and Data Model

Convert Crystal SQL to BI Publisher Data Model

Page 31: Convert to Bi Publisher 11g 1611815

31

Sample Report Conversion Convert Connection and Data Model

Convert Crystal SQL to BI Publisher Data Model

Page 32: Convert to Bi Publisher 11g 1611815

32

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

Page 33: Convert to Bi Publisher 11g 1611815

33

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

Page 34: Convert to Bi Publisher 11g 1611815

34

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

Page 35: Convert to Bi Publisher 11g 1611815

35

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

Page 36: Convert to Bi Publisher 11g 1611815

36

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

Page 37: Convert to Bi Publisher 11g 1611815

37

Sample Report Conversion Convert Connection and Data Model

Convert Parameters

SELECT "Employee"."ManagerID", "Department"."Name" as DepartmentName, "Employee"."EmployeeID", "Contact"."FirstName", "Contact"."LastName","Employee"."Title", "Employee"."Hiredate", "EmployeePayHistory"."Rate", "Contact_1"."FirstName" MgrFirstName, "Contact_1"."LastName" MgrLastName

FROM ((("AdventureWorks"."HumanResources"."EmployeePayHistory" "EmployeePayHistory" INNER JOIN (("AdventureWorks"."HumanResources"."Department" "Department" INNER JOIN "AdventureWorks"."HumanResources"."EmployeeDepartmentHistory" "EmployeeDepartmentHistory" ON "Department"."DepartmentID"="EmployeeDepartmentHistory"."DepartmentID") INNER JOIN "AdventureWorks"."HumanResources"."Employee" "Employee" ON "EmployeeDepartmentHistory"."EmployeeID"="Employee"."EmployeeID") ON "EmployeePayHistory"."EmployeeID"="Employee"."EmployeeID") INNER JOIN "AdventureWorks"."Person"."Contact" "Contact" ON "Employee"."ContactID"="Contact"."ContactID") INNER JOIN "AdventureWorks"."HumanResources"."Employee" "Employee_1" ON "Employee"."ManagerID"="Employee_1"."EmployeeID") INNER JOIN "AdventureWorks"."Person"."Contact" "Contact_1" ON "Employee_1"."ContactID"="Contact_1"."ContactID"

where "EmployeePayHistory"."ModifiedDate" = (select max("EmployeePayHistory"."ModifiedDate") from "EmployeePayHistory" where "EmployeePayHistory"."EmployeeID"="Employee"."EmployeeID")

and "Department"."Name" = isNull(:Department,"Department"."Name")

ORDER BY "Department"."Name", "Employee"."ManagerID", "Employee"."EmployeeID"

Page 38: Convert to Bi Publisher 11g 1611815

38

Sample Report Conversion Convert Connection and Data Model

Convert formulas

Page 39: Convert to Bi Publisher 11g 1611815

39

Sample Report Conversion Convert Connection and Data Model

Convert formulas

CREATE FUNCTION f_AnnualSalary

( @Val1 float, @Val2 varchar(50))

RETURNS float

AS

BEGIN

declare @sal float

if datepart(yyyy,@Val2) < 2000

(select @sal= @Val1 * 8 * 300 + @Val1 * 20)

else

if datepart(yyyy,@Val2) >= 2000 and datepart(yyyy,@Val2) < 2005

(select @sal=@Val1 * 8 * 300 + @Val1 * 15)

else

(select @sal=@Val1 * 8 * 300 + @Val1 * 10)

RETURN (@sal)

END

Page 40: Convert to Bi Publisher 11g 1611815

40

Sample Report Conversion Convert Connection and Data Model

Convert formulas

CREATE FUNCTION f_AnnualSalary

( @Val1 float, @Val2 varchar(50))

RETURNS float

AS

BEGIN

declare @sal float

if datepart(yyyy,@Val2) < 2000

(select @sal= @Val1 * 8 * 300 + @Val1 * 20)

else

if datepart(yyyy,@Val2) >= 2000 and datepart(yyyy,@Val2) < 2005

(select @sal=@Val1 * 8 * 300 + @Val1 * 15)

else

(select @sal=@Val1 * 8 * 300 + @Val1 * 10)

RETURN (@sal)

END

SELECT "Employee"."ManagerID", "Department"."Name" as DepartmentName, "Employee"."EmployeeID",

"Contact"."FirstName" + ' ' + "Contact"."LastName" EmpName,

"Employee"."Title", "Employee"."Hiredate" as EmpHireDate, "EmployeePayHistory"."Rate" Rate,

"Contact_1"."FirstName" + ' ' + "Contact_1"."LastName" Manager, "AdventureWorks"."dbo".f_annualsalary("EmployeePayHistory"."Rate", "Employee"."Hiredate") as AnnualSalary

FROM ((("AdventureWorks"."HumanResources"."EmployeePayHistory" "EmployeePayHistory" INNER JOIN (("AdventureWorks"."HumanResources"."Department" "Department" INNER JOIN "AdventureWorks"."HumanResources"."EmployeeDepartmentHistory" "EmployeeDepartmentHistory" ON "Department"."DepartmentID"="EmployeeDepartmentHistory"."DepartmentID") INNER JOIN "AdventureWorks"."HumanResources"."Employee" "Employee" ON "EmployeeDepartmentHistory"."EmployeeID"="Employee"."EmployeeID") ON "EmployeePayHistory"."EmployeeID"="Employee"."EmployeeID") INNER JOIN "AdventureWorks"."Person"."Contact" "Contact" ON "Employee"."ContactID"="Contact"."ContactID") INNER JOIN "AdventureWorks"."HumanResources"."Employee" "Employee_1" ON "Employee"."ManagerID"="Employee_1"."EmployeeID") INNER JOIN "AdventureWorks"."Person"."Contact" "Contact_1" ON "Employee_1"."ContactID"="Contact_1"."ContactID"

where "EmployeePayHistory"."ModifiedDate" = (select max("EmployeePayHistory"."ModifiedDate") from "EmployeePayHistory" where "EmployeePayHistory"."EmployeeID"="Employee"."EmployeeID") and "Department"."Name" = IsNull(:department, "Department"."Name")

ORDER BY "Department"."Name", "Employee"."ManagerID", "Employee"."EmployeeID"

Page 41: Convert to Bi Publisher 11g 1611815

41

Sample Report Conversion Convert Layout

Page 42: Convert to Bi Publisher 11g 1611815

42

Sample Report Conversion Convert Layout

Add Group Total for AnnualSalary

Page 43: Convert to Bi Publisher 11g 1611815

43

Sample Report Conversion Convert Layout

Add Group Total for AnnualSalary

1

2 3

Use Microsoft Word Native feature “Allow row to break across pages” to handle “Keep Group Together” feature of Crystal Report

Page 44: Convert to Bi Publisher 11g 1611815

44

Sample Report Conversion Convert Layout

Add Group Total for AnnualSalary

1

2 3

Use Microsoft Word Native feature “Allow row to break across pages” to handle “Keep Group Together” feature of Crystal Report

Use Microsoft Word Native formatting features to match table column width, height, shade, font etc.

Use Microsoft Word Header and Footer for Report Page Headers and Footers

Page 45: Convert to Bi Publisher 11g 1611815

45

Sample Report Conversion Side by side comparison

BI Publisher Report Output Crystal Report Output

Page 46: Convert to Bi Publisher 11g 1611815

46

<Insert Picture Here>

Agenda

• Why convert to BI Publisher?

• Conversion Plan

• Convert Oracle Reports

• Convert Crystal Reports

• Convert Actuate

Page 47: Convert to Bi Publisher 11g 1611815

47

IO Creator Tool

Layout Conversion

Siebel Tools Objects

Layout Conversion

Tool

Views

Business Objects

Reports Sub Reports

View Reports

Fields

Integration Object

Integration

Components

Integration Fields

Actuate Design

File (ROD)

Actuate Output

File (BAS)

Data Conversion

RTF Template XML Data

Convert Actuate Report

Actuate Report Conversion Assistant

Page 48: Convert to Bi Publisher 11g 1611815

48

Stay Connected with BI Publisher

http://www.youtube.com/bipublisher

http://twitter.com/oracleEPMBI

http://www.linkedin.com/groups?mostPopular=&gid=49643

http://www.facebook.com/OracleEPMBI?v=wall

Page 49: Convert to Bi Publisher 11g 1611815

49

<Insert Picture Here>

Appendix

• “Converting Reports from Oracle Reports to Oracle BI Publisher” - Report Designer’ s Guide - http://www.oracle.com/technology/products/xml-publisher

• Siebel Reports 8.1.1 Bookshelf -http://download.oracle.com/docs/cd/E14004_01/books/Reports/ReportsTOC.html

• Actuate Conversion Assistant Download - https://metalink3.oracle.com/od/faces/index.jspx patch # 8288024

• “Converting reports from Business Objects Crystal Reports to Oracle BI Publisher” http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf

• “Reports6i to BIP GUI Conversion Utilities” – Ike Wiggins’ Blog http://bipublisher.blogspot.com/2009/05/bi-publisher-reports6i-to-bip.html

Page 50: Convert to Bi Publisher 11g 1611815

50

More Information

search.oracle.com

or

http://www.oracle.com/technology/products/xml-publisher

BI Publisher

Page 51: Convert to Bi Publisher 11g 1611815

51

Page 52: Convert to Bi Publisher 11g 1611815

52

The preceding is intended to outline our general product

direction. It is intended for information purposes only, and

may not be incorporated into any contract. It is not a

commitment to deliver any material, code, or functionality,

and should not be relied upon in making purchasing

decisions.

The development, release, and timing of any features or

functionality described for Oracle’s products remains at the

sole discretion of Oracle.

Page 53: Convert to Bi Publisher 11g 1611815

53