码迷,mamicode.com
首页 > 数据库 > 详细

Oracle EBS R12.2创建客户化模块

时间:2015-01-09 17:29:24      阅读:361      评论:0      收藏:0      [点我收藏+]

标签:r12.2   客户化模块   adsplice   ebs   

以下步骤描述EBS R12.2中如何注册客户化模块,参考Oracle support

Creating a CustomApplication in Oracle E-Business Suite Release 12.2 (文档 ID 1577707.1)

 

1、下载补丁3636980,拷贝3636980\izu\admin目录下3.txt文件到/tmp目录下进行修改

如:izuprod.txt改名为cuxhdprod.txt

izuterr.txt改名为cuxhdterr.txt

 

2、修改newprods.txt内容

product=izu

base_product_top=*APPL_TOP*

oracle_schema=izu

sizing_factor=100

main_tspace=USER_DATA

index_tspace=USER_IDX

temp_tspace=TEMP

default_tspace=USER_DATA

 

以上为newprods.txt内容,修改为所要注册模块对应值,如:

product=cuxhd

base_product_top=*APPL_TOP*

oracle_schema=cuxhd

sizing_factor=100

main_tspace=APPS_TS_TX_DATA

index_tspace=APPS_TS_TX_IDX

temp_tspace=TEMP

default_tspace=APPS_TS_TX_DATA

注意:文件中izu修改为cuxhdIZU修改为CUXHD

3、修改cuxhdprod.txt文件

替换文件中izu为cuxhd,替换prodid 278为cuxhd的唯一number

 

注意:文件中izu修改为cuxhd,IZU修改为CUXHD

 

如下SQL,可检查想要设置的prodid是否被占用

select decode(count,0, ‘Selected number is Available‘, ‘Selected number already in use‘) Status,&&enter_custom_applID selected_number

 from

 (

 select count(*) as count from

 (

 select ‘x‘ from fnd_oracle_userid

 where oracle_id= &&enter_custom_applID

 union

 select ‘x‘ from fnd_application

 where application_id=&&enter_custom_applID

 )

 );

运行上述SQL,输入想要设置的prodid

 

4、修改cuxhdterr.txt文件

替换文件中izu为cuxhd,修改Oracle_Support_Diagnostic_Tools为cuxhd_custom_app

注意:文件中izu修改为cuxhd,IZU修改为CUXHD

 

5、拷贝上述三个.txt文件到$APPL_TOP/admin下

 

6、运行adsplice命令

adsplice必须在$APPL_TOP/admin下运行

运行adsplice

当遇到如下提示时,默认回车

The defaultdirectory is [/u01/VS03/apps/apps_st/appl/admin] :

 

Please enter thename of your AD Splicer control file [newprods.txt] :

 

Do you wish toregenerate your environment file [Yes] ?

 

7、确认客户化模块是否在数据库中创建

 

查看fnd_application中是否有CUXHD记录

select * fromfnd_application where application_short_name = ‘CUXHD‘;

通过application_id查看fnd_product_installations中是否有记录

select * fromfnd_product_installations where APPLICATION_ID = 5001;

查看数据库用户是否创建成功

select * fromdba_users where username = ‘CUXHD‘;

 

[appl03@vs006admin]$ sqlplus cuxhd/cuxhd

 

重新应用环境变量,确认$CUXHD_TOP

[appl03@vs006 ~]$echo $CUXHD_TOP

/u01/VS03/apps/apps_st/appl/cuxhd/12.0.0

 

[appl03@vs006 ~]$ ls$CUXHD_TOP

admin  log mesg  out  sql

 

注意:如果之前使用fnd_oracle_user_pkg.lod_row API注册过模块,因为这些注册的密码将会被加密,注册后运行adpatch、adsplice将出错。

需要使用FNDCPASS来修改密码

 

如果应用使用sharedAPPL_TOP那么,只需要在剩余节点运行autoconfig

如果应用使用的是非sharedAPPL_TOP那么,需要在剩余节点重复上述5、6、7三步操作

以下步骤依据需求操作

 

1、创建客户化对象

 

在$CUXHD_TOP中,

a)可以为form创建$CUXHD_TOP/forms/US和$CUXHD_TOP/forms/ZHS目录

b)可以为package创建$CUXHD_TOP/admin/sql目录

c)可以为report创建$CUXHD_TOP/reports/US和$CUXHD_TOP/reports/ZHS

.

.

.

 

2、将所有客户化data object权限授予APPS用户

 

SQL> grant allprivileges on myTable to apps;

 

APPS用户下创建相关同义词

SQL>createsynonym myTable for CUXHD.myTable;>

 

 

问题:

1、当下一次使用adop打补丁时,在prepare阶段,将会同步adsplice的操作到另一套FS

 

如果在同步过程失败,日志$APPL_TOP/admin/$TWO_TASK/log/adsplicelog出现

UPDATEFND_ORACLE_USERID SET READ_ONLY_FLAG = ‘A‘ WHERE ORACLE_ID

 

解决方法:应用Patch18815526:R12.AD.C,重启prepare phase

 

 

The following arecurrently known issues:

 1、If you are anupgrade customer with a custom product top in the context file but have not runadsplice, you must remove the relevant entry from the FND_OAM_CONTEXT_CUSTOMtable and then run AutoConfig on all nodes.

2、The same approach needs to be taken ifyou have any custom context variables with more than eight characters, as acustom schema abbreviation cannot exceed eight charcters.

 

 After performing either of the above steps,you should run adsplice to add/register the custom product (after applying thelatest AD-TXK RUP).

 

Oracle EBS R12.2创建客户化模块

标签:r12.2   客户化模块   adsplice   ebs   

原文地址:http://blog.csdn.net/li7080301/article/details/42555609

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!