My Oracle Support Banner

Inconsistent REP-1247 Error when Roles Enabled from Oracle Reports Trigger (Doc ID 1315139.1)

Last updated on APRIL 25, 2023

Applies to:

Oracle Reports Developer - Version 10.1.2.3 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

You have a database role that must be enabled before running a report from Oracle Reports. You create the code to enable the role in the Before Parameter Form trigger of the report. The code may look like:

You try putting the SET ROLE code in all the triggers (Before Parameter Form, After Parameter Form, Before Report, etc.), but the inconsistency still occurs.

Why does the role get enabled sometimes but not always?

Changes

 Use database role enabling in the Before Parameter Form trigger of the report.

Cause

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
Symptoms
Changes
Cause
Solution


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