此责任无可用函数(The Function Is Not Available Under The Responsibility)

 

 


When attempting to navigate to a function which has been newly added to a menu the following error occurs:

ERROR
The <Function Name> Function Is Not Available Under The <Responsibility Name> Responsibility

 

STEPS
The issue can be reproduced at will with the following steps:
1. Query menu: <Menu Name>,
2. Add function: <Function Name> and Save.
3. Verify that the menu compilation request (FNDSCMPI module: Compile Security) completed successfully.
4. Log into e-Business Suite and try to navigate to function: <Function Name>.
5. The error occurs.

 

This issue is caused by launching the menu item before the Compile Security has completed. When a function is added to a menu , a concurrent program ‘Compile Security’ is submitted which loads the data in Fnd_Compiled_Menu_Functions table. Whenever a function is accessed, security code checks Fnd_Compiled_Menu_Functions table to determine whether that function is accessible under the given security context or not. So if this function is accessed before the ‘Compile Security’ program is finished, the function cache gets loaded with stale data and the reported error message is thrown.

So after modifying the 2 menu definitions associated with ‘System Administrator’ and ‘Application Developer’ make sure that 2 concurrent requests submitted for the above 2 modifications completed normally and then try to access the functions.

Further once this error occurs, it will be cached which means that even after the menu item has been flagged as available, it the error will be returned from the cache.

 

— Solution —–
– To implement the solution, please execute the following steps::
1) Manually run the ‘Compile Security’ concurrent program, set the parameter to YES.
2) Shut down Middle Tier (Apache)
3) Delete the contents of $OA_HTML/_pages directory (11.5.10 only).
4) Restart Middle tier
5) Test the menu item

 

 

 

公司DBA说之前遇过同样的情况,不是上边的原因,而是由于$CUX_TOP没设置引起的,解决方法:

1.打开$CONTEXT_FILE(即/ebs12/VIS/inst/apps/VIS_erp/appl/admin/VIS_erp.xml)
 找到GL_TOP子句,在它后面加上
<CUX_TOP oa_var="s_cuxtop" oa_type="PROD_TOP" oa_enabled="FALSE">/ebs12/VIS/apps/apps_st/appl/cux/12.0.0</CUX_TOP>


2.到$ADMIN_SCRIPTS_HOME(即apache脚本运行目录:/ebs12/VIS/inst/apps/VIS_erp/admin/scripts),重新配置
adautocfg.sh apps/apps

 

之后就OK了!!!

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值