My Oracle Support Banner

How to Suppress the "Successfully Run" Message / Close Automatically the Browser Window (Doc ID 419201.1)

Last updated on AUGUST 06, 2020

Applies to:

Oracle Reports Developer - Version 9.0.2.0 to 10.1.2.3 [Release 9i to 10gr2]
Information in this document applies to any platform.

Goal

Caution

The sample programs in this article are provided for educational purposes only and are NOT supported by Oracle Support Services.
They have been tested internally, however, and work as documented.
We do not guarantee that they will work for you, so be sure to test them in your environment before relying on them.

 

This note gives an example of how to close automatically the browser window when a report has been successfully run with a destype other than CACHE .

The Reports servlet always returns some data when a report is executed .

When DESTYPE=CACHE, these data are the output generated by Reports (It can be HTML / HTMLCSS / RTF / PDF / ...)

When DESTYPE<>CACHE or when the job is asynchronous (BACKGROUND=YES or SCHEDULE=xxx) , a message is returned about the "Oracle Reports Job Status"

This message is based on the template specified in the file rwservlet.properties with the property ERRORTEMPLATE.

ERRORTEMPLATE=RWERROR.HTM

By default, the template rwerror.htm is used.

(Even if the property name is ERRORTEMPLATE, this template is used when the job is successfull and is used too when you click on a job in the showjobs output)

It is not necessary to enter the path to the error message template when it is stored in the default template directory:

<ORACLE_HOME>\reports\templates

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.