Illegal reference to editioned object

R12.2环境中,在xxcust下compile package时,碰到如下错误,

PLS-00754:illegal reference to editioned object APPS.FND_PROFILE

当用下列语句查询时,EDITIONS_ENABLED的标记为'N'
SELECT EDITIONS_ENABLED FROM DBA_USERS
WHERE USERNAME IN ('APPS','XXCUST');

Solution: Doc ID 1929668.1

Click to add to Favorites Create And Register CUSTOM Schema On EBS 12.2 (Doc ID 1929668.1) To BottomTo Bottom

In this Document


Goal

Solution


Applies to:

Oracle Applications Technology Stack - Version 12.2 to 12.2.4 [Release 12.2]
Information in this document applies to any platform.

Goal

 How to create and register a custom / read-only schema on EBS 12.2?

Solution

A custom / read-only schema can be created in 12.2.x the same way as it has been done so far for the previous releases (11i / R12).

The only difference in 12.2 is that the custom schema should also be registered with EBS or it has to be manually enabled for editions. 

Else, ORA-38818 will be encountered.

For example:

create synonym [CUSTOM_SCHEMA].[ OBJECT_NAME] for APPS.[OBJECT_NAME]
*
ERROR at line 1:
ORA-38818: illegal reference to editioned object APPS.[ OBJECT_NAME]

 

The custom schema can be registered by the following APIs:

1. If Online Patching Enablement is not yet enabled (as suggested in ADZDPCUST.sql):

SQL> exec FND_ORACLE_USER_PKG.LOAD_ROW(' CUSTOM_SCHEMA', 'CUSTOM', 'INVALID', NULL, 'N', 'B');

 

2. If Online Patching Enablement has already been enabled:

sqlplus SYSTEM
SQL> alter session set current_schema=APPS;
SQL> exec AD_ZD_PREP.ENABLE_CUSTOM_USER('CUSTOM_SCHEMA'); 

 


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10951282/viewspace-1543317/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10951282/viewspace-1543317/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值