Fusion Applications BI Publisher report fails with ORA-28112: failed to execute policy function when using a secured view
Last updated on MAY 16, 2016
Applies to:Oracle Fusion Application Toolkit - Version 220.127.116.11.0 and later
Oracle Fusion Global Human Resources - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
On : 22.214.171.124.0 version, Technology Management - BI & Reporting
You defined two custom security roles: TEST_DATA_SECURITY_LOCATION_DATA and TEST_DATA_SECURITY_DEPT_DATA.
Both roles are inheriting the same seeded role PER_HUMAN_RESOURCE_SPECIALIST_JOB.
The end user is assigned both custom roles in OIM.
You also created a BIP report based on a SQL Data Model that contains the secured view PER_PERSON_SECURED_LIST_V to enforce Fusion Security.
When the user runs the report, it fails with the following error. However, when one of the custom roles (either TEST_DATA_SECURITY_LOCATION_DATA or TEST_DATA_SECURITY_DEPT_DATA) is revoked for the user, he/she is able to run the report successfully.
oracle.xdo.XDOException: oracle.xdo.XDOException: oracle.xdo.XDOException: java.sql.SQLException: ORA-28112: failed to execute policy function
The issue can be reproduced at will with the following steps:
1. Create two custom roles that inherit the same seeded role PER_HUMAN_RESOURCE_SPECIALIST_JOB
2. Create a BIP report that uses the PER_PERSON_SECURED_LIST_V
3. Run the report and it will fail
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms