Function not available to this responsibility After Creating and Registering a New Form

转自:http://blog.sina.com.cn/s/blog_3e3be35e0100oiap.html

在注册Customized Form和其相关Function, Application后可能遇到此问题:
ERROR
"Function not available to this responsibility. ChangeResponsibilities or contact your System
Administrator".
 
STEPS
The issue can be reproduced at will with the followingsteps:
 
1. Register custom application.
2. Register custom form under this application.
3. Add it to the menu
4. Add the new product_top variable to the .env file.
5. Bounce the forms server.
6. Place the .fmx file in PROD_TOP/forms/US.
7. Log in to Oracle applications and try opening the form.
8. Encounter the above error.
 
相关主题及解决方式:
[Metalink Doc ID 305792.1]11i

Cause
The custom application under which this custom form isregistered, was not registered properly within applications.
The CUSTOM_TOP was not being recognized.  If this custom formis placed under FND_TOP, the form can be accessed without anyerrors.
Solution
Make sure the your custom application is definedin:
1.$APPL_TOP/admin/applcust.txt and$APPL_TOP/admin/topfile.txt
2.Add the custom_top to$APPL_TOP/custom_$CONTEXT_NAME. env  (R12中文件为custom<CONTEXT_NAME>.env)
3.Ifnecessary edit your xml file (from APPL_TOP/admin) and make surethat the variable <oa_env_file type="custom"oa_var="s_custom_file" points to the custom environment file
4.Run autoconfig.

[Metalink Doc ID553014.1] R12
Cause
Theissue is caused by the following setup:
Missing entry for CUSTOM_TOP under default.env file
Ideally in such cases,CUSTOM_TOP should be defined underdefault.env in $INST_TOP/ora/10.1.2/forms/server directory to haveyour custom form work with R12.
Solution
To implement the solution, pleaseexecute the following steps:
1. Login to server with APPLMGR manager user access.
2. Go to $INST_TOP/ora/10.1.2/forms/server directory.(sample:/u01/oracle/VIS/inst/apps/VIS_focus/ora/10.1.2/forms/server/)
3. Ensure that your CUSTOM_TOP's are registered in the default.env file
Example
------
APPL_TOP=/home/applmgr/PROD/apps/apps_st/appl
CUSTOM_TOP=/home/applmgr/PROD/apps/apps_st/custom
------
R12系统中,我只对上面红色着重的部分进行了设置(R12对于11i的也需要考虑的)就已经可以解决问题了,具体还要看实际系统灵活解决。

你可能感兴趣的:(function,manager,File,application,login,Forms)