Student Guide • Volume D17075GC10 Production 1.0 June 2004 D39520 THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only Oracle Reports Developer 10g: Build Reports Technical Contributors and Reviewers Cem Ayberkin Christian Bauwens Alena Bugarova Kathryn Cunningham Laurent Dereac Mark Fleming Warren Lord Marcelo Manzano Darren McBurney Paul Narth Daphne Nougier Miyuki Ohsato Ligia Jasmin Robayo Jim Safcik Rie Saitoh Navneet Singh Sarah Spicer Martijn van der Bruggen Vanessa Wang Philipp Weckerle Ted Witiuk Copyright © 2004, Oracle All rights reserved This documentation contains proprietary information of Oracle Corporation It is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright law Reverse engineering of the software is prohibited If this documentation is delivered to a U.S Government Agency of the Department of Defense, then it is delivered with Restricted Rights and the following legend is applicable: Restricted Rights Legend Use, duplication or disclosure by the Government is subject to restrictions for commercial computer software and shall be deemed to be Restricted Rights software under Federal law, as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013, Rights in Technical Data and Computer Software (October 1988) This material or any portion of it may not be copied in any form or by any means without the express prior written permission of Oracle Corporation Any other copying is a violation of copyright law and may result in civil and/or criminal penalties If this documentation is delivered to a U.S Government Agency not within the Department of Defense, then it is delivered with “Restricted Rights,” as defined in FAR 52.227-14, Rights in Data-General, including Alternate III (June 1987) The information in this document is subject to change without notice If you find any problems in the documentation, please report them in writing to Education Products, Oracle Corporation, 500 Oracle Parkway, Box SB-6, Redwood Shores, CA 94065 Oracle Corporation does not warrant that this document is error-free All references to Oracle and Oracle products are trademarks or registered trademarks of Oracle Corporation All other products or company names are used for identification purposes only, and may be trademarks of their respective owners Publisher Sujatha Nagendra THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only Authors Ellen Gravina Smitha Keshav Preface I Introduction Course Objectives I-2 Course Content I-3 Introduction to Oracle Reports Developer Objectives 1-2 Business Intelligence 1-3 Enterprise Reporting 1-5 Web Publishing 1-9 Paper Publishing 1-10 Oracle Reports Developer 1-11 Benefits 1-12 Oracle 10g Products 1-13 Oracle Database 10g 1-14 Oracle Developer Suite 10g 1-15 Oracle Application Server 10g 1-18 Oracle Reports Developer 1-20 OracleAS Reports Services 1-22 OracleAS Reports Services Architecture for the Web 1-23 Summary 1-25 Designing and Running Reports Objectives 2-2 Understanding User Requirements 2-3 Designing Reports 2-5 Tabular 2-7 Master-Detail 2-8 Master with Two Details 2-9 Matrix 2-10 Retrieving and Sharing Data 2-11 Running a Report 2-13 Previewing Reports 2-15 Print Preview 2-16 Supported File Types 2-19 Summary 2-21 Practice Overview 2-22 Working in Oracle Reports Developer Objectives 3-2 Reports Developer Executables 3-3 Invoking Reports Builder 3-5 Reports Builder Modules 3-6 Report Data and Layout 3-7 Reports Builder Components 3-8 Main Menu Structure 3-10 Wizards 3-12 Report Editor 3-13 PL/SQL Development Environment: Syntax Palette 3-15 iii THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only Contents Creating a Paper Report Objectives 4-2 Report Module Components 4-3 Building a Paper Report 4-4 Invoking the Report Wizard 4-5 Choosing the Layout Type 4-6 Creating a Tabular Report 4-7 Selecting the Data Source Type 4-9 Using Query Builder 4-10 Building a Query 4-11 Query Builder Functions 4-12 Selecting Displayed Fields 4-14 Totals and Labels 4-15 Selecting a Report Template 4-16 Viewing the Paper Report Output 4-17 Saving the Report Definition 4-18 Reentering the Wizard 4-19 Creating a New Report 4-21 Creating Break Reports 4-22 Break Report Labels 4-23 Creating Mailing Labels and Letters 4-24 Creating a Matrix Report 4-26 Previewing a Paper Report in a Browser 4-28 Summary 4-30 Practice Overview 4-31 Enhancing a Basic Paper Report Objectives 5-2 What Is the Paper Design? 5-3 The Paper Design Window 5-4 Modifying a Report 5-5 Aligning Columns 5-6 Setting a Format Mask 5-7 Manipulating Objects 5-9 iv THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only Object Navigator 3-16 Report-Level Objects 3-17 Data Model Objects 3-18 Paper Layout Objects 3-19 Paper Parameter Form Objects 3-20 Object Interrelationship 3-21 Customizing Your Oracle Reports Developer Session 3-22 Saving Preferences 3-23 Oracle Reports Environment Variables 3-24 Using the Online Help System 3-26 Summary 3-28 Practice Overview 3-29 Managing Report Templates Objectives 6-2 Using Report Templates 6-3 Modifying a Template 6-4 Customizing the Template Margin 6-6 Customizing the Template Body 6-7 Adding Web Links to a Template for Report HTML Output 6-8 Predefining Your Own Templates 6-10 Adding a Template Preview Image 6-12 Summary 6-13 Practice Overview 6-14 Creating a Web Report Objectives 7-2 What Is JSP Technology? 7-3 JSP Advantages 7-4 Simple JSP Example 7-6 Building a Web Report 7-7 Using the Report Wizard 7-8 Report Editor: Web Source View 7-9 JSP Tags 7-11 Web Source Example 7-13 Generating Output 7-15 Image Format Support 7-17 Summary 7-19 Practice Overview 7-20 Enhancing Reports Using the Data Model: Queries and Groups Objectives 8-2 The Data Model Objects 8-3 Modifying Properties of a Query 8-5 More Properties 8-8 Applying Changes 8-10 Changing the Group Structure 8-12 Group Hierarchy 8-14 Ordering Data in a Group 8-16 Query Modifications 8-18 Filtering Data in a Group 8-20 v THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only Modifying Visual Attributes 5-10 Applying Conditional Formatting 5-12 Inserting Page Numbers, Dates, and Times 5-14 Customizing Dates 5-16 Summary 5-17 Practice Overview 5-18 X XML Extensible Markup Language: A metalanguage using SGML to define and structure data Reports Builder supports XML output to enable Web publishing as well as electronic data exchange with third-party applications You can also use XML to build report definitions that can be merged with other report definitions at run time or can be run separately Oracle Reports Developer 10g: Build Reports Glossary-9 THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED Oracle University Internal and TransAmerica Training Management Inc Partner use only asks you for information to help you create your initial report · Data Wizard: Helps you quickly define or modify a query for a multiquery data models · Graph Wizard: Adds a variety of charts and graphs, including true 3dimensional graphs Implemented in Reports Builder with the Oracle BI graph bean · Report Block Wizard: Enables you to add data to a static HTML page Oracle University Internal and TransAmerica Training Management Inc Partner use only THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED ... 10 g Products 1- 13 Oracle Database 10 g 1- 14 Oracle Developer Suite 10 g 1- 15 Oracle Application Server 10 g 1- 18 Oracle Reports Developer 1- 20 OracleAS Reports Services 1- 22 OracleAS Reports Services... Introduction to Oracle Reports Developer Objectives 1- 2 Business Intelligence 1- 3 Enterprise Reporting 1- 5 Web Publishing 1- 9 Paper Publishing 1- 10 Oracle Reports Developer 1- 11 Benefits 1- 12 Oracle 10 g. .. 2 -11 Running a Report 2 -13 Previewing Reports 2 -15 Print Preview 2 -16 Supported File Types 2 -19 Summary 2- 21 Practice Overview 2-22 Working in Oracle Reports Developer Objectives 3-2 Reports Developer