Reports Guide To Changed Functionality
Reports Guide To Changed Functionality
Reports Guide To Changed Functionality
INTRODUCTION
Successful businesses know that presenting their data in a timely and meaningful way
provides a powerful advantage over the competition. To that end, businesses continue
to need ever more powerful tools for producing high quality reports from the mass of
disparate data sources kept in every major corporation today.
Oracle Reports has maintained its position as a premier enterprise reporting tool by
keeping pace with rapid shifts in technology. As rapidly as technology has shifted,
Oracle Reports has moved from character-based, to graphical-based, to client/server,
and now to multi-tier Web-based development and deployment.
Oracle6i Reports was the last version of Oracle Reports to support both a character-
mode and a client/server GUI reports viewer. With Oracle9i Reports, users moved to a
Java 2 Enterprise Edition (J2EE) Web-based multi-tier environment. Oracle Reports
10g (9.0.4) and Oracle Reports 10g Release 2 (10.1.2) have improved the performance
and scalability of Reports in the Web-based environment, and have also provided a host
of new features.
It is recommended that Oracle6i Reports customers migrate to Oracle Reports 10g
Release 2 (10.1.2) as soon as possible, and that Oracle9i Reports customers start
planning their migration to Oracle Reports 10g Release 2 (10.1.2). Refer to Metalink for
the latest information on the desupport dates for Oracle6i Reports and Oracle9i
Reports.
2
OBJECTIVE AND SCOPE
The objective of this white paper is to provide one-stop information about the
availability of features from earlier releases (6i, 9i, and 10g (9.0.4)) in Oracle Reports 10g
Release 2 (10.1.2). In other words, this white paper is for you if you describe yourself as
follows:
SECTIONS
This white paper is divided into the following sections:
• Deprecated Functionality
• Obsolete Functionality
• Changed Behavior and Naming
• Resources
Here is a glossary of the terms used:
Obsolete functionality: Obsolete functionality is no longer available in Oracle Reports
10g Release 2 (10.1.2). By continuing to remove obsolete functionality and replacing it
with new technology, Oracle Reports ensures that our customers always have the latest
functionality they need for successful e-Business development and deployment.
Deprecated functionality: Deprecated functionality is at a point where it no longer
contributes significantly to the usefulness of the product. As a result, it is no longer
documented and its use is discouraged, as it will be made obsolete in a subsequent release
of Oracle Reports. The deprecation phase is provided so that customers can gradually
migrate to new functionality, before the deprecated functionality is made obsolete.
3
Deprecated Functionality
5
Action Required
Instead of using the browser-based wizard, develop reports in Reports Builder, and
deploy them in Oracle Portal.
USER EXITS
A user exit is a call to an external function executed within Oracle Reports. User exits
provide a way to pass control (and possibly arguments) from Oracle Reports to another
Oracle product or 3GL program, and then return control (and possibly arguments) back
to Oracle Reports. However, user exits require you to re-make the executables to link in
all the user exits. This makes troubleshooting and upgrades to new releases of the
product difficult.
In Oracle Reports 10g Release 2 (10.1.2), you can call Java methods using the
ORA_JAVA package and the Java Importer. This reduces the need to have user exits in
a report and allows for a more open and portable deployment. You may also use the
ORA_FFI package, which provides a foreign function interface for invoking C
functions in a dynamic library. With the availability of these new built-ins, the use of
user exits is deprecated in Oracle Reports 10g Release 2 (10.1.2), though makefiles will
still be supplied to permit you to continue to work with existing user exits.
6
Action Required
If you are using user exits, switch to using either the ORA_JAVA package or the Java
Importer utility. Refer to Oracle Reports online Help for more information on how to use
the Java Importer.
Refer to Table 1 to replace deprecated SRW user exit built-in procedures with new
functionality.
Table 1: Deprecated user exit built-in procedures
SELECTED EXECUTABLES
In Oracle6i Reports, rwcgi60 was the Reports Web CGI (Common Gateway
Interface) executable that provided a connection between a Web Server and the Reports
Server, allowing you to run reports dynamically from your Web browser.
Oracle Reports 10g Release 2 (10.1.2) provides you with two executables that perform
the same function as rwcgi60: rwcgi.exe (on Win32) and rwcgi (on UNIX).
However, all of these CGI executables are deprecated. Instead, use standard Java 2
Enterprise Edition (J2EE) methods of making a Web connection: use either a servlet
URL or a JSP URL.
Action Required
If you are using any of the CGI executables, use either a servlet or a JSP URL instead.
Refer to Oracle Application Server Reports Services Publishing Reports to the Web for more
information on how to submit requests to the Reports Server.
REPORTS_CGINODIAG
7
Environment Variable Action required
REPORTS_COOKIE_EXPIRE This environment variable specifies the lifetime
of a cookie within a given Reports Server
session. This cookie is set by rwservlet so
that users need to authenticate only once per
session. In Oracle Reports 10g Release 2
(10.1.2), by default the security mechanism is
handled by Oracle Single Sign-On, and there is
no need for rwservlet to set a cookie. As a
result, this environment variable is not needed.
REPORTS_DB_AUTH REPORTS_DB_AUTH specifies the HTML
REPORTS_SYS_AUTH template used to show the database
authentication page to the user.
REPORTS_SYS_AUTH specifies the HTML
template used to show the Reports Server
authentication page. In Oracle Reports 10g
Release 2 (10.1.2), Oracle Single Sign-On shows
its own authentication page. As a result, these
environment variables are not needed.
REPORTS_ENCRYPTION_KEY This environment variable specifies the
encryption key used to encrypt the user name
and password. This was needed in Oracle6i
Reports because the username and password
were stored in the Reports Server configuration
file. Since Oracle9i Reports and Oracle Reports
10g store the username and password in Oracle
Internet Directory (OID), this environment
variable is no longer needed.
REPORTS_SERVER This environment variable specifies the default
Reports Server for Web Cartridge or Web CGI
requests. In Oracle Reports 10g Release 2
(10.1.2), you should specify the default server
(in-process server) name in the
rwservlet.properties file.
REPORTS_SSLPORT This environment variable specifies the port
number when using SSL while using CGI. Since
CGI is deprecated in Oracle Reports 10g Release
2 (10.1.2), this environment variable is no longer
needed. When using servlet or JSP URL over
SSL, the Oracle HTTP Server’s SSL port is used.
So you need to configure the SSL port in Oracle
HTTP Server. See Oracle HTTP Server
Administrator's Guide for more information.
8
For example, using SRW.SET_ATTR, your code might look like this:
If :sal > 2000 then
srw.attr.mask := srw.face_attr +
srw.sz_attr +
srw.weight_attr +
srw.style_attr +
srw.gcolor_attr;
srw.attr.face := ‘times’;
srw.attr.sz := 18;
srw.attr.weight := srw.bold_weight;
srw.attr.style := srw.underline_style;
srw.attr.gcolor := ‘blue’;
srw.set_attr (0, srw.attr);
end if;
RETURN (TRUE);
You can change your code to perform the same function as above by using the new
built-in procedures, as follows:
If :sal > 2000 then
srw.set_font_face(‘times’)
srw.set_font_size(18)
srw.set_font_weight(srw.bold_weight)
srw.set_font_style(srw.underline_style)
srw.set_text_color(‘blue’)
end if;
RETURN (TRUE);
Action Required
Refer to Table 3 to replace deprecated SRW.SET_ATTR functionality and attributes
with new SRW built-in procedures in the PL/SQL code in your report.
Table 3: Deprecated SRW.SET_ATTR functionality
9
Deprecated Attribute affected Action Required
SRW.SET_ATTR
functionality
srw.befpage_escape_a srw.attr.befpage_e Use
ttr scape srw.set_before_page_html
srw.befreport_escape srw.attr.befreport Use
_attr _escape srw.set_before_report_htm
l
srw.bfcolor_attr srw.attr.bfcolor Use
srw.set_background_fill_c
olor
srw.bookmark_attr srw.attr.bookmark Use srw.set_bookmark
srw.borderwidth_attr srw.attr.borderwid Use srw.set_border_width
th
srw.borderpatt_attr srw.attr.borderpat Use
t srw.set_border_pattern
srw.face_attr srw.attr.face Use srw.set_font_face
srw.fbcolor_attr srw.attr.fbcolor Use
srw.set_foreground_border
_color
srw.ffcolor_attr srw. attr.ffcolor Use
srw.set_foreground_fill_c
olor
srw.fillpatt_attr srw.attr.fillpatt Use srw.set_fill_pattern
srw.formatmask_attr srw.attr.formatmas Use srw.set_format_mask
k
srw.gcolor_attr srw.attr.gcolor Use srw.set_text_color
srw.gspacing_attr srw.attr.gspacing Use
srw.set_custom_spacing or
srw.set_spacing
srw.hjust_attr srw.attr.hjust Use srw.set_justification
srw.hyperlink_attr srw.attr.hyperlink Use srw.set_hyperlink
srw.linktag_attr srw.attr.linktag Use srw.set_linktag
srw.printer_intray_a srw.attr.printer_i Use srw.set_printer_tray
ttr ntray
srw.plain_style srw.attr.plain_sty Use
le srw.set_font_style(srw.pl
ain_style)
srw.italic_style srw.attr.italic_st Use
yle srw.set_font_style(srw.it
alic_style)
srw.oblique_style srw.attr.oblique_s No longer applicable
tyle
srw.underline_style srw.attr.underline Use
_style srw.set_font_style(srw.un
derline_style)
srw.outline_style srw.attr.outline_s No longer applicable
tyle
srw.shadow_style srw.attr.shadow_st No longer applicable
yle
10
Deprecated Attribute affected Action Required
SRW.SET_ATTR
functionality
srw.inverted_style srw.attr.inverted_ No longer applicable
style
srw.overstrike_style srw.attr.overstrik No longer applicable
e_style
srw.blink_style srw.attr.blink_sty No longer applicable
le
srw.sz_attr srw.attr.sz Use
srw.set_font_size(size)
srw.plain_texta srw.attr.plain_tex Use
ta srw.set_charmode_text(srw
.plain_texta)
srw.reverse_texta srw.attr.reverse_t Remove srw.set_attr built-
exta in
srw.bold_texta srw.attr.bold_text Use
a srw.set_charmode_text(srw
.bold_texta)
srw.reversebold_text srw.attr.reversebo No longer applicable
a ld_texta
srw.underline_texta srw.attr.underline Use
_texta srw.set_charmode_text(srw
.underline_texta)
srw.underlinereverse srw.attr.underline No longer applicable
_texta reverse_texta
srw.underlinebold_te srw.attr.underline No longer applicable
xta bold_texta
srw.reverseboldunder srw.attr. No longer applicable
line_texta reverseboldunderli
ne_texta
srw.ultralight_weigh srw.attr.ultraligh No longer applicable
t t_weight
srw.extralight_weigh srw.attr.extraligh No longer applicable
t t_weight
srw.light_weight srw.attr.light_wei No longer applicable
ght
srw.demilight_weight srw.attr.demilight No longer applicable
_weight
srw.medium_weight srw.attr.medium_we Use
ight srw.set_font_weight(srw.m
edium_weight)
srw.demibold_weight srw.attr.demibold_ No longer applicable
weight
srw.bold_weight srw.attr.bold_weig Use
ht srw.set_font_weight(srw.b
old_weight)
srw.extrabold_weight srw.attr.extrabold No longer applicable
_weight
11
FORMATTING-RELATED SRW BUILT-IN PARAMETERS
The formatting-related SRW built-in parameters that were applicable only to client-
server environments (for example, SRW.BLINK_STYLE) are deprecated in Oracle
Reports 10g Release 2 (10.1.2). Since they are not applicable to a Web environment,
there is no replacement for such built-in parameters.
Action Required
Refer to Table 4 to remove formatting-related SRW built-in parameters from the
PL/SQL code in your report.
Table 4: Deprecated formatting-related SRW built-in parameters
12
Table 5: Deprecated tracing-related SRW built-in procedures
Since the above SRW built-in procedures are deprecated, the following tracing-related
SRW parameters used to specify the trace options are also deprecated:
srw.trace_all srw.trace_app srw.trace_brk srw.trace_dst
srw.trace_err srw.trace_pls srw.trace_prf srw.trace_sql
13
Obsolete Functionality
14
Action Required
Instead of running the Reports Server as a Windows service, configure and run the
Reports Server through OPMN. Refer to Oracle Application Server Reports Services Publishing
Reports to the Web for more information.
15
to the white paper Oracle Application Server 10g - Integrating Oracle Reports in Oracle Forms
Services available on the Oracle Technology Network (OTN).
ORACLE GRAPHICS
In releases prior to Oracle9i Reports, Oracle Graphics was used to create charts in
reports. Oracle Graphics and its OGD image format are no longer supported. Reports
built with previous versions of Oracle Reports containing Oracle Graphics charts will
continue to run in Oracle Reports 10g Release 2 (10.1.2) if the Oracle Graphics 6i
runtime is installed on the same machine in a separate ORACLE_HOME. However, this
is not a supported configuration, and Oracle will not fix bugs that result from this
configuration.
Instead, use the Graph Wizard, which offers a much wider selection of graph types, as
well as more control over the look and feel of the graph from within Reports Builder.
It is strongly recommended that all Oracle Graphics objects be re-created using the
Graph Wizard. Due to inherent differences in the underlying technology, there is no
migration path or conversion mechanism available to convert Oracle Graphics charts to
the Graph Wizard format.
Action Required
Re-create all Oracle Graphics 6i objects using the Graph Wizard. For more information
on using the Graph Wizard, refer to the Oracle Reports online Help and the Graphing FAQ
available on the Oracle Technology Network (OTN).
SELECTED EXECUTABLES
Executables that were applicable to only client-server environments have been rendered
obsolete beginning with Oracle9i Reports. In addition, some executables have been
replaced with new executables that provide more comprehensive functionality.
Action Required
Refer to Table 6 to replace the use of obsolete executables with new functionality.
Table 6: Obsolete executables
16
Obsolete Executable Description Action Required
(UNIX) submit requests to the Reports the Web.
Server via the Web. Since the
same functionality is available
via J2EE-standard Servlet and
JSP URLs, the cartridge is no
longer needed.
obe60.exe (Win32) Query Builder. The Query Use Query Builder from
Builder is available from within within the Reports Builder.
Reports Builder. Since it is no
longer available as a standalone
tool, this executable is not
needed.
gorun60.exe (Win32) Oracle Graphics Runtime Oracle Graphics is no
and g60runm (UNIX) longer available since
Oracle9i Reports. Use the
gobld60.exe (Win32) Oracle Graphics Builder
Graph Wizard in Reports
and g60desm (UNIX)
Builder.
gobat60.exe (Win32) Oracle Graphics Batch
and g60batm (UNIX)
17
PROFILE - Name of file that Use TRACEOPTS=TRACE_PRF to write the
stores performance statistics. performance statistics in the trace file. See the Oracle
Reports Online Help for complete list of options.
ERRFILE - Name of file that Use TRACEOPTS=TRACE_ERR to write the error
stores error messages. messages in the trace file. See the Oracle Reports Online
Help for complete list of options.
LOGFILE - Name of file that Use a third party application to capture screen print.
stores status and error output.
KEYIN - Name of a Obsolete function with removal of client/server and
keystroke file that executes at character mode GUI.
runtime.
KEYOUT - Name of a Obsolete function with removal of client/server and
keystroke file that records at character mode GUI.
runtime.
UPGRADE_PLSQL - In Oracle Reports 10g Release 2 (10.1.2), rwconverter
Whether rwconverter should no longer converts the PL/SQL code in the report to
upgrade the PL/SQL code in the latest version. You need to manually change the
the report to the latest version PL/SQL code in your reports to make sure that it
required by Oracle Reports compiles with the latest version required by Oracle
Developer. Reports Developer.
18
MISCELLANEOUS ITEMS
Since Oracle9i Reports, some functionality that is not applicable to the Web
environment or has been replaced by newer functionality is no longer available.
Action required
Refer to Table 9 to replace the use of miscellaneous obsolete functionality with new
functionality.
Table 9: Other obsolete functionalities
19
Obsolete Executable Description and Action Required
Functionality affected
Report on reports rwbuilder.exe Two report definition files provided with
stored in database Oracle Reports, srwdoclb.rdf and
srwdocpb.rdf, could be run against
RDFs stored in the database to produce
information on the stored reports’ metadata.
Since it is no longer possible to store reports
in the database, this functionality is not
needed.
MAPI e-mail rwserver.exe Use the Internet-standard SMTP (Simple
protocol Mail Transfer Protocol) to send emails.
Oracle drawing rwbuilder.exe These image formats were associated with
format (*.odf) and Oracle Graphics. Since Oracle Graphics is
Oracle6i Graphics no longer supported, files with *.odf and
image format (*.ogd) *.ogd extensions are not supported.
ActiveX control (or rwsxa60.ocx Since Oracle Reports has moved to the
OCX) interface to rwsxu60.ocx industry-standard J2EE technology, the
Reports ActiveX control (or OCX) interface to the
Reports Server is no longer supported. You
should communicate with Reports Server via
standard mechanisms like a URL (servlet or
JSP), and Web services. Refer to Oracle
Application Server Reports Services Publishing
Reports to the Web for more information on
how to submit requests to the Reports
Server.
Web Wizard rwbuilder.exe The Web Wizard is no longer available in
Reports Builder. Instead, use the Insert
Bookmarks dialog box. For more
information, refer to the Oracle Reports online
Help.
20
Changed Behavior and Naming
With improvements in functionality offered by Oracle Reports with every new release, it
is necessary that the names of some of the properties, executables, and interfaces
change in keeping with new and enhanced functionality. For example, since the
Parameter Form is applicable only to the paper layout, and not to the Web layout, the
previously named “Parameter Form view” in Reports Builder is now called “Paper
Parameter Form view”.
This section lists changes to:
• Behavior
o Changed behavior of command line keyword BACKGROUND
o Changed behavior of command line keyword BATCH
• Naming
o Executable names
o Environment variable names
o Reports Builder user interface names
Note that since you simply need to start using the new names in Oracle Reports 10g
Release 2 (10.1.2), there is no Action Required description under those sub-sections
that explain name changes.
21
Table 10: Changed behavior of command line keyword BACKGROUND
22
Executable affected Batch=Yes Batch=No
Rwcgi Same behavior as rwservlet. Note that rwcgi is
available only for backward compatibility, and should be
replaced by rwservlet.
rwserver Reports Server dialog is not Default. Reports Server
displayed. dialog is displayed.
rwbuilder Not applicable. Not applicable.
rwconverter Suppresses the Convert Default. The Convert dialog
dialog box in order to box is displayed.
convert reports/libraries
without user intervention.
EXECUTABLE NAMES
Refer to Table 12 for executable name changes from releases prior to Oracle9i Reports.
Note that xx refers to the release number (for example, rwbldxx refers to rwbld60
in Oracle6i Reports).
Table 12: Executable name changes
23
REPORTS BUILDER USER INTERFACE NAMES
The Report Editor in Reports Builder comprises the following views:
• Data Model view
• Paper Layout view (previously Layout Model view)
• Paper Design view (previously Live Previewer view)
• Paper Parameter Form view (previously Parameter Form view)
• Web Source view
Other user interface name changes in Reports Builder are:
• Previewer (previously named Runtime Previewer), displayed by choosing File
> Print Preview.
• Property Inspector (previously named Property Palette).
24
Resources
ORACLE UNIVERSITY
Check with your local Oracle University representative on the availability of the new
Instructor Led Training (ILT) course, Oracle Reports Developer 10g: Move to the Web. Also
visit the Oracle University Web site for more information about this course and other
Oracle University offerings.
25
A Guide to Changed Functionality Between Oracle Reports 6i and 10g
August 2005
Author: Navneet Singh
Contributing Authors: Philipp Weckerle, Stewart Wilson, Rajesh Ramachandran, Rohit Marwaha, Ingrid Snedecor, Frank Rovitto, Ellen Gravina
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com