Executing mo_global.set_policy_context from Custom User Fails with Error "ORA-00942" and "ORA-06512"
(Doc ID 2983009.1)
Last updated on FEBRUARY 01, 2025
Applies to:
Oracle E-Business Suite Technology Stack - Version 12.2.10 and laterInformation in this document applies to any platform.
Symptoms
While executing apps.mo_global.set_policy_context from a custom database user other than apps schema, it failed with the below error for the first time.
But it completes successfully when executed for second time.
The below error occurs on the console/terminal:
declare
begin
apps.mo_global.set_policy_context('S',81);
end;
2 3 4 5
6 /
declare
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "APPS.FND_CORE_LOG", line 45
ORA-06512: at "APPS.FND_GLOBAL", line 152
ORA-06512: at "APPS.FND_GLOBAL", line 2033
ORA-06512: at "APPS.FND_GLOBAL", line 2761
ORA-06512: at "APPS.MO_GLOBAL", line 1179
ORA-06512: at line 3
begin
apps.mo_global.set_policy_context('S',81);
end;
2 3 4 5
6 /
declare
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "APPS.FND_CORE_LOG", line 45
ORA-06512: at "APPS.FND_GLOBAL", line 152
ORA-06512: at "APPS.FND_GLOBAL", line 2033
ORA-06512: at "APPS.FND_GLOBAL", line 2761
ORA-06512: at "APPS.MO_GLOBAL", line 1179
ORA-06512: at line 3
STEPS
--------
1. Create a custom database user.
2. Execute the below as custom user:
begin
apps.mo_global.set_policy_context('S',81);
end;
Changes
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 |
References |