๐งพ Chapter 4: Creating Your First BI Publisher Report
In this chapter, you will build your first BIP report using a seeded data model available in Oracle Fusion. You’ll create a layout, define output formats, and test it.
✅ 1. Objective of the Chapter
You will:
-
Use an existing (seeded) data model
-
Create a new report
-
Design a simple RTF layout
-
View and export the report in various formats
✅ 2. Choosing a Seeded Data Model
Oracle Fusion comes with many pre-built (seeded) data models. You can use them to save time.
๐ Example Seeded Data Model:
Let’s use the Employee Directory Report data model.
Location:
Shared Folders > Human Capital Management > Payroll > Data Models > Employee Directory
✅ 3. Creating the Report Step-by-Step
๐ง Step 1: Copy the Seeded Data Model
-
Navigate to the seeded data model folder.
-
Click on the three-dot menu next to the data model.
-
Choose Copy.
-
Go to your folder (e.g.,
/Custom/HCM/Reports
) and Paste it there. -
Rename it to something like
My_Employee_Directory_DM
.
You should always copy seeded objects before using them to avoid system changes or loss during updates.
๐ Step 2: Create a New Report
-
Click New > Report from the toolbar.
-
Select Use Existing Data Model.
-
Browse and select
My_Employee_Directory_DM
. -
Click Next.
๐งฉ Step 3: Create a Simple Layout
-
Choose RTF Layout.
-
Download the Sample XML (this is your report data).
-
Open Microsoft Word with the BI Publisher Template Builder plugin installed.
-
Load the sample XML using BI Publisher > Load Sample XML.
-
Use Insert Table Wizard to auto-generate a table layout.
-
Group by Department
-
Show fields like Name, Job Title, Email, Phone Number
-
-
Save the file as
EmpDirectory.rtf
.
⬆️ Step 4: Upload the Layout
-
Back in BI Publisher, upload
EmpDirectory.rtf
as the layout. -
Name it:
Employee Directory RTF
. -
Set Output Formats: PDF, Excel, RTF.
▶️ Step 5: Run and View the Report
-
Click Open to launch the report viewer.
-
Enter any parameters if required (e.g., Department ID).
-
Click View Report.
-
Export it as PDF, Excel, or Word.
✅ 4. Understanding What You Did
Action | Purpose |
---|---|
Copied Seeded Data Model | To prevent overriding Oracle-supplied objects |
Created Report Definition | Tied Data Model + Layout |
Built RTF Layout | Designed how the data will look when rendered |
Uploaded and Tested Report | Ensured working output for business consumption |
✅ 5. Tips & Troubleshooting
-
Always use sample XML to design the layout—it saves time and shows real data
-
If layout doesn’t show data, re-check XML tags and field mappings
-
Keep the report output simple initially, add styling later
-
Use Preview inside Word Template Builder before uploading
✅ 6. Summary
You've now created your first BI Publisher report using a seeded data model. You’ve learned how to:
-
Select data
-
Design a layout
-
Configure the report
-
Export results in different formats
This sets the foundation for building more complex and customized reports.
๐น Next Steps
Previous Chapter: Chapter 3: Accessing BIP and Navigating the Interface
Next Chapter: Chapter 5: Creating Data Models from Scratch
๐ Next Chapter Preview:
Chapter 5: Creating Data Models from Scratch
-
Writing your own SQL queries
-
Adding parameters, LOVs, and data sets
-
Example: Custom report to list invoices by supplier
No comments:
Post a Comment