ORA-20001: APP-FND-02604

Hi,
I applied this :
Declare
Cursor C1 is
select d.product_code,b.responsibility_key from FND_USER_RESP_GROUPS_ALL a,fnd_responsibility b,fnd_user c,fnd_application d
where a.user_id = c.user_id
and a.responsibility_id = b.responsibility_id
and b.application_id = d.application_id
and c.user_name ='SYSADMIN'; -- user you want to copy
BEGIN
for v in c1 loop
FND_USER_PKG.AddResp('MYUSER',v.product_code, v.responsibility_key,
'STANDARD', 'DESCRIPTION', sysdate, null);
end loop;
END;
and I have this :
Input truncated to 1 characters
Declare
ERROR at line 1:
ORA-20001: APP-FND-02604:
APPLICATION_SHORT_NAME=GL, RESPONSIBILITY_KEY=GENERAL_LEDGER_SUPER_USER,
SECURITY_GROUP=STANDARD.
ORA-06512: "APPS.APP_EXCEPTION", line 70
ORA-06512: "APPS.FND_USER_PKG", line 2140
ORA-06512: line 11
Do you have any idea ? Thanks for your help.
Regards.

It copy the FND responsabilities of a user (for me system) on another user (MYUSER)
It is the package :
/Data/oracle/d03/prdaappl/fnd/11.5.0/patch/115/sql/AFSCUSRB.pls
in which :
-- AddResp (PUBLIC)
-- For a given user, attach a valid responsibility.
-- If user name or application short name or responsbility key name
-- or security group key is not valid, exception raised with error message.
-- Usage example in pl/sql
-- begin fnd_user_pkg.addresp('SCOTT', 'FND', 'APPLICATION_DEVELOPER',
-- 'STANDARD', 'DESCRIPTION', sysdate, null); end;
-- Input (Mandatory)
-- username: User Name
-- resp_app: Application Short Name
-- resp_key: Responsibility Key
-- security_group: Security Group Key
-- description: Description
-- start_date: Start Date
-- end_date: End Date
procedure AddResp(username varchar2,
resp_app varchar2,
resp_key varchar2,
security_group varchar2,
description varchar2,
start_date date,
end_date date) is
userid number := -1;
respid number := -1;
appid number := -1;
secid number := -1;
begin
begin
select user_id into userid
from fnd_user
where user_name = AddResp.username;
select application_id into appid
from fnd_application
where application_short_name = AddResp.resp_app;
select responsibility_id into respid
from fnd_responsibility
where application_id = appid
and responsibility_key = AddResp.resp_key;
select security_group_id into secid
from fnd_security_groups
where security_group_key = AddResp.security_group;
exception
when no_data_found then
fnd_message.set_token('USER_NAME', username);
fnd_message.set_name('FND', 'INVALID_RESPONSIBILITY_DATA');
fnd_message.set_token('APPS_NAME', resp_app);
fnd_message.set_token('RESP_KEY', resp_key);
fnd_message.set_token('SECURITY_GROUP', security_group);
app_exception.raise_exception;
end;
if (fnd_user_resp_groups_api.assignment_exists(
userid, respid, appid, secid)) then
fnd_user_resp_groups_api.update_assignment(
user_id => userid,
responsibility_id => respid,
responsibility_application_id => appid,
security_group_id => secid,
start_date => AddResp.start_date,
end_date => AddResp.end_date,
description => AddResp.description);
else
fnd_user_resp_groups_api.insert_assignment(
user_id => userid,
responsibility_id => respid,
responsibility_application_id => appid,
security_group_id => secid,
start_date => AddResp.start_date,
end_date => AddResp.end_date,
description => AddResp.description);
end if;
end AddResp;
Best regards.

Similar Messages

  • About Multi-ORG for EBS R12.1.1 .. Oracle error -20001 ORA-20001 APP-FND-02

    I have two questions:
    1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.
    2. Is there any step-by-step process to set up multi-org?
    I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.
    Thanks

    1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.Yes.
    2. Is there any step-by-step process to set up multi-org?https://forums.oracle.com/forums/search.jspa?threadID=&q=MultiOrg&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.Does this happen to all responsibilities?
    Please see the steps in (ORA-20001: APP-FND-02901 Errors Encountered When "Requests" Tab is Selected from PFT or EPF [ID 859072.1]) to set the profile option at the responsibility level for the responsibility you are trying to access.
    Thanks,
    Hussein

  • ORA-20001: APP-PER-06841 on API call to APPS.PER_PEOPLE_V7_PKG.UPDATE_ROW

    I make a call to the APPS.PER_PEOPLE_V7_PKG.UPDATE_ROW function and get the following error...
    'ORA-20001: APP-PER-06841: Person changes exist between the old date and the new date.'
    What is up?
    Thanks!
    Message was edited by:
    user454052

    Here the query its failing on:
    select 'Y'
    from   per_people_f p
    where p.effective_start_date > p_hire_date - 1
    and  p.effective_start_date <>  p_s_hire_date
    and  p.person_id = p_person_idI checked the package and fnd_new_messages against the message code, and thats the one that seems to be throwing it. Make sure your employee fits that criteria

  • APP-AR-11526: arp_process_adjustment.insert_adjustment exception: ORA-20001

    I am getting this error message in AR Invoice Adjustment Process
    APP-AR-11526: arp_process_adjustment.insert_adjustment exception: ORA-20001: APP-AR-96027 : Tax Accounting not defined for the tax code or tax location assigned to this invoice
    Version 12.1.1
    Please resolve ASAP

    Pl see if MOS Doc 341469.1 (Adjustment Entry: APP-AR-96027: Tax accounting not defined for the tax code or tax location assigned to this invoice) can help.
    HTH
    Srini

  • Error ORA-20001: The payment cannot be fully paid with the monetary units a

    Hi All,
    I have got the following error, when I am trying to run Pre-Payments. The error is coming for employees who are having Payment Method as "Cash".....
    Error ORA-20001: The payment cannot be fully paid with the monetary units available.
    ORA-06512: at "APPS.HR_UTILITY", line 937
    ORA-06512: at "APPS.HR_PRE_PAY", line 1454
    ORA-06512: at "APPS.HR_PRE_PAY", line 1944
    I am not sure why that error is coming.
    Can anyone tell me what needs to be done for rectifying that error.....
    Regards,
    Phani

    What is the application release?
    Please see these docs.
    ORA-20001: APP-06442 The Payment Cannot Be Fully Paid With The Monetary Units Available Processing PrePayments [ID 250010.1]
    ORA-20001: The Payment Cannot Be Fully Paid With The Monetary Units Available [ID 1226804.1]
    Pre-payments Error when Paying an Employee in Currency other that USD or CA : The Payment Cannot be Fully Paid with the Monetary Units [ID 249746.1]
    Thanks,
    Hussein

  • ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit

    Hi All,
    I have a issue major issue while running Pages from Jdeveloper. The pages are erroring out.
    I guess it has something to do with Profile Options- MO: Operating Unit.
    Its very urgent.Can anybody help.
    Below is the ERROR STACK related to the same
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):23120,-1,-1,0,oracle.jdbc.driver.OracleConnection@9aba32; REASON = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
    ; ERRNO = 20001;
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:988)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
         at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
         at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Sombit.

    Hi,
    Can you please let me know where we can set the custom property MULTIORG_ENABLED in AM?Please see (Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]) -- Search for "MULTIORG_ENABLED".
    Thanks,
    Hussein

  • APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4

    Hi Experts,
    I'm finding the below mentioned error while I'm saving assignment with Salary Basis, Location and Payroll.
    APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
    Please note that I am able to save the record if I do not any one of Salary Basis, Location. Payroll. It is basically happening on creating default tax.
    Can anyone pleas let me know if you have facing the above error and resolved?
    Guru

    Hi Guru,
    Did you check -
    Error Saving A Salary Basis - pay_us_emp_dt_tax_rules.Insert_fed_tax_row (Doc ID 302878.1)
    Cheers,
    Vignesh

  • Users getting APP-FND-01934:ora-00001 unique constraint

    users getting APP-FND-01934:ora-00001 unique constraint(ENI.ENI_OLTP_ITEM_STAR_U3) violated in package ENI_ITEMS_STAR_PKG Procedure INsERT_ITEMS_IN_STAR on Master ITEM's in 11i EBS.

    Please see these MOS Docs.
    APP-FND-01934 ORA-00001 Error Occurs When Creating Items [ID 1072935.1]
    APP-FND-01934 ORA-00001: Unique Constraint Error at Master Items [ID 465008.1]
    ORA-02291: Integrity Constraint (GMI.IC_LOTS_MST_IC_ITEM_MST_B_FK) Violated [ID 302368.1]
    Thanks,
    Hussein

  • JAEHYLEE (R12 FND) R12 Upgrade후에 ORA-20001 FND_CANT_INSERT_USER_ROLE

    Purpose
    R12 Upgrade후에 System admin에서 권한을 assign할려고 할때
    GET ORA-20001 FND_CANT_INSERT_USER_ROLE 에러가 자주 발생 합니다.
    Cause
    Upgrade to 12.0.2.
    ORA-20001 error는 이미 권한이 할당되어 있을때 발생합니다.
    The ORA-20001 error is often caused by the responsibility already being assigned.
    Solution
    아래 "Workflow Directory Services User/Role Validation"을
    parameters : 100000, Yes, Yes, No로 수행을 하시기 바랍니다.
    Reference
    Note 454988.1

    please check note( Supplier Registration Page Gets Error java.sql.SQLException: ORA-20001 )
    Note:330350.1 althogh its for 11i but the cuz seems right
    Cause
    The root cause is that FND.H changes fnd_user_resp_groups from a table to a view which return
    end_date as year 9999 instead of the value of null in the underlying data. The code in
    confirm_has_resp expects the end_date of the pos guest user resp to user guest to be null, and if
    not, trying to insert the assignment and fail (because the assignment already exists and active).
    Development provide the cause in bug 3610633
    fadi

  • AP Create Accounting - Error ORA-06512, XLA-95103, ORA-20001, ORA-20100

    *Hello all you patient Oracle Champs - I know issues like this are floating around the forum and web but I still can't seem to fine a match.*
    *> OA R12.1.3*
    *> Orcale Database Server 11.2.0.2*
    [010613_011550898][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program xla_create_acct_rpt_pvt.BeforeReport .
    ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program XLA_CREATE_ACCT_RPT_PVT.print_logfile.
    ORA-20100: Error: FND_FILE failure. Unable to create file, o0104058.tmp in the directory, /usr/tm
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    *> Note the directory path cited: +/usr/tm+*
    *> A later error:*
    Oracle error 20100: java.sql.SQLException: ORA-20100: Error: FND_FILE failure.
    Unable to create file, o0104058.tmp in the directory, /usr/tmp.
    *> Note the directory: +/usr/tmp+*
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    *> There is plenty of space in /usr, /Develop_Appl*
    *> Patch 10131305 already applied per note: 1392267.1*
    *> SLA: Enable Diagnostics set to a null value (blank)*
    *> the file o0104058.tmp does not exist in either $APPLTMP or $APPLPTMP (i.e. note 460643.1)*
    *> I confirmed that note 749491.1 was not an issue*
    *> note 261693.1 did not seem to apply*
    *> note 148262.1 did not seem to apply*
    I can provide the concurrent & FND debug output if needed.
    Thank you all*
    Zippy the P

    Zippy242 wrote:
    Hi Hussein,
    checked 1252703.1 - it doesn't appear applicable:
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    checked 760614.1 - not the case:
    no invalid XLA%
    FUN_SEQ_BATCH both package and body are valid.
    Please Advise
    thanks,
    ZipAre you running all the application/database services on one server or multiple ones?
    Thanks,
    Hussein

  • FND_USER_PKG.CreateUser - ORA-20001: Custom user name validation

    Hi,
    I created a user IDM in Oracle ERP instance (R12.1.2). I gave execute privilege on FND_USER_PKG to IDM.
    I also created synonym IDM.FND_USER_PKG for APPS.FND_USER_PKG;
    I logged in to SQLPLUS as IDM and executed the below and got an error - ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failed. Could anyone of you help me?
    The statement works fine when I run as APPS.
    SQL>begin
    2 FND_USER_PKG.CreateUser (
    3 x_user_name => 'TEST899',
    4 x_owner => NULL,
    5 x_unencrypted_password => 'oracle',
    6 x_session_number => userenv('sessionid'),
    7 x_start_date => sysdate );
    8
    9 end;
    10 /
    begin
    ERROR at line 1:
    ORA-20001: Custom user name validation in subscription to event
    oracle.fnd.user.name.vali
    date failed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.FND_USER_PKG", line 3663
    ORA-06512: at "APPS.FND_USER_PKG", line 955
    ORA-06512: at "APPS.FND_USER_PKG", line 1173
    ORA-06512: at "APPS.FND_USER_PKG", line 1292
    ORA-06512: at line 2
    Thanks
    Cherrish Vaidiyan

    Can you reproduce the issue when you create the same user from the application?
    ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failedDo you have any customization that could be related to user creation validation?
    Can you reproduce the issue if you use the code in https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • ORA -20001 : FND_CANT_INSERT_USER_ROLE

    Hi
    ORA -20001 : FND_CANT_INSERT_USER_ROLE
    I am getting this error while creating new user and assigning responsibilities through sysadmin .When I create new user with other user then sysadmin.It is working .
    Can anybody suggest how to resolve it.
    Tinku
    Edited by: Tinku on Oct 14, 2008 11:00 PM

    Hi hsawwan
    Thanks for reply."Metalink Note: 559347.1 - Error ORA-20001: FND_CANT_INSERT_USER_ROLE When Assiging A Responsibility To A User On R12 Upgraded From 11i" gives information about changed behaviour after upgrade application to R12.In my case application has not been upgraded . Cause section of Metalnk note "Note: 731851.1 - Cannot Remove Enddate On A Responsibility For A User" given that query
    CAUSE
    select subscription_rule_function from wf_active_subscriptions_v where event_name in ( 'oracle.apps.fnd.wf.ds.userRole.updated', 'oracle.apps.fnd.wf.ds.userRole.updated');
    Retruns no Values
    but
    while I run forllowing query .
    select subscription_rule_function from wf_active_subscriptions_v where event_name in ( 'oracle.apps.fnd.wf.ds.userRole.updated', 'oracle.apps.fnd.wf.ds.userRole.updated');
    I got following result.
    SUBSCRIPTION_RULE_FUNCTION
    WF_ROLE_HIERARCHY.Cascade_RF
    fnd_bes_proc.process_event
    java://oracle.apps.jtf.cache.DBEventSubscription
    WF_ROLE_HIERARCHY.Aggregate_User_Roles_RF
    wf_rule.success
    So I think my case is different from these case.Please suggest me ,How can I resolve this issue.
    Tinku

  • Unable to use flexfield lexical oracle.apps.fnd.flex.kff.segments_metadata

    EBS 11.5.10.2
    XMLP 5.6.3
    ARXAGMW.rdf
    Hello,
    I am trying to convert an Oracle Report to XML Publisher, and I am having problems getting lexicals in the Data Template to work.
    I raised an SR for this since both related threads in this forum from two years ago were unresolved. Oracle had no answers for me, and told me to ask the question here.
    So anyone who has any ideas, please chime in!
    Here is a simplified version of the data template, narrowed down to just the use of the lexicals:
    <?xml version="1.0" encoding="utf-8"?>
    <dataTemplate name="XXWLC_ARXAGMW"
                  description="samples from doco"
                  defaultPackage=""
                  dataSourceRef="ORA_EBS"
                  version="1.0">
      <properties>
        <property name="xml_tag_case"       value="upper" />
        <property name="include_parameters" value="true"  />
        <property name="debug_mode"         value="on"    />
      </properties>
      <parameters>
        <parameter name="P_ID_FLEX_NUM" dataType = "number" defaultValue="101" />
      </parameters>
      <lexicals>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="FLEX_GL_BALANCING_APROMPT"
                 comment="Comment"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_BALANCING"
                 show_parent_segments="Y"
                 metadata_type="ABOVE_PROMPT"/>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="FLEX_GL_ACCOUNT_LPROMPT"
                 comment="Comment"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_ACCOUNT"
                 show_parent_segments="Y"
                 metadata_type="LEFT_PROMPT"/>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="ACCT_BAL_LPROMPT"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_BALANCING"
                 show_parent_segments="Y"
                 metadata_type="LEFT_PROMPT" />
      </lexicals>
      <dataQuery>
        <sqlStatement name="Q_DOCO_SAMPLE">
          <![CDATA[
            SELECT
               &FLEX_GL_BALANCING_APROMPT alias_gl_balancing_aprompt
              ,&FLEX_GL_ACCOUNT_LPROMPT   alias_gl_account_lprompt
              ,&ACCT_BAL_LPROMPT          alias_acct_bal_lprompt
            FROM dual
          ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="G_DOCO_SAMPLE" dataType="varchar2" source="Q_DOCO_SAMPLE">
          <element name="sample_gl_balancing_aprompt" dataType="varchar2" value="alias_gl_balancing_aprompt" />
          <element name="sample_gl_account_lprompt"   dataType="varchar2" value="alias_gl_account_lprompt"   />
          <element name="sample_acct_bal_lprompt"     dataType="varchar2" value="alias_acct_bal_lprompt"     />
        </group>
      </dataStructure>
    </dataTemplate>The lexicals "compile" and run successfully, but they return String values that SHOULD be wrapped with quotes; but this doesn't happen, so the SQL that runs is:
    SELECT
       COMPANY alias_gl_balancing_aprompt
      ,ACCT  alias_gl_account_lprompt
      ,CO          alias_acct_bal_lprompt
    FROM dualThus, the concurrent program ends with ERROR, due to java.sql.SQLException: ORA-00904: "CO": invalid identifier
    The first two lexicals and their corresponding sql statement are samples directly from the user guide (which is full of errors). The third lexical is the one from ARXAGMW.rdf.xml that I am trying to make work.
    Edited by: user650442 on Apr 30, 2010 3:58 PM

    By the way, simply adding the quotes around the lexical names in the sql statement doesn't work. That causes the lexical references to be ignored as simple string values:
    SELECT
       '&FLEX_GL_BALANCING_APROMPT' alias_gl_balancing_aprompt
      ,'&FLEX_GL_ACCOUNT_LPROMPT'   alias_gl_account_lprompt
      ,'&ACCT_BAL_LPROMPT'          alias_acct_bal_lprompt
    FROM dualI turned on statement-level debugging via xdodebug.cfg and saw how it compiled the lexicals. By replicating the call to apps.fnd_flex_xml_publisher_apis.kff_segments_metadata that I found there, I was able to hack together a workaround for this issue.
    Please point me to a better way of doing this if possible, as I had to GRANT EXECUTE on this apps package to my custom code schema. Is there a better lexical/flexfields reference than the XML Publisher documentation?
    Here is the call I made in my before-report trigger:
    --set ACCT_BAL_LPROMPT flexfield segment metadata lexical
    begin
    apps.fnd_flex_xml_publisher_apis.kff_segments_metadata(
      'FLEX_ACCT_BAL_LPROMPT',
      'SQLGL',
      'GL#',
      101,
      'GL_BALANCING',
      'Y',
      'LEFT_PROMPT',
      c_FLEX_ACCT_BAL_LPROMPT
    end;

  • ORA-20001 FLEX-ID DOES NOT EXIST

    Hi Experts,
    Please am having this issue when running create Grade api for HCM of Oracle EBS.
    When i execute this script below to existing Business Group( Vision University 1759 or Vision Corporation 202 ) data is transferred to per_grades and per_grade_definitions tables
    But when i execute this same script pointing to a Business Group  (TEST  BG 7891) we created by ourself  it gives error code ORA-20001 FLEX-ID DOES NOT EXIST
    I have a strong feeling that creating our Business Group and setting up the Grade Flexfield has a problem, but i can 't trace the fault, am not EBS expert
    Please can you please advice where am going wrong !!
    Thanks,
    Kwesi
    SCRIPT BELOW:
    Procedure Create_Grade
    is
    l_Validate  Boolean := FALSE;
    l_Business_Group_id Number(15,2);
    l_Date_From Date;
    l_Sequence  Number(15,2);
    l_Grade_id  Number(15,2);
    l_Object_Version_Number Number(15,2);
    l_Grade_Definition_id Number(15,2);
    l_Name  Varchar2(100);
    l_OVN Number(15,2) := 1;
    i Number;
    Begin
    For Grad In (Select * from chr_Grades where OVN IN l_OVN) loop 
    Begin
    apps.hr_grade_api.Create_Grade(
    p_Validate => l_Validate,
    p_Business_Group_id =>7891,
    p_Date_From => to_Date(sysdate,'DD-MM-YYYY'),
    p_Sequence => 11,
    p_Grade_id => l_Grade_id,
    p_Object_Version_Number => l_Object_Version_Number,
    p_Grade_Definition_id => l_Grade_Definition_id,
    p_Name => l_Name,
    p_segment1 => Grad.Grade_id,
    p_segment2 => Grad.Grade_Name,
    p_segment3 => Grad.Grade_Description
    Update chr_Grades Set OVN = 2
       where Grade_id  = Grad.Grade_id;
          End;
    End loop;
    Commit;
    End Create_Grade;

    Well, i found the solution to my problem, and is just creating the segment you want to use in your flexfield without PASSING ANY VALUESET.

  • ORA-20001 Error when creating a new application

    Hi,
    I am trying to create a new application of an existing table in the database and I get the following error. The application is created using the wizard (app type Database, from scratch, Report and Form page)
    ORA-20001: Unable to create modules. ORA-20001: Create pages error. ORA-20001: Unable to create form page. ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" has same name as existing application-level item. ORA-0000: normal, successful completion
    The table I am creating the app on is defined like this:
    CREATE TABLE  "TABLE_1"
       (    "ID" NUMBER,
            "SESSION_EXTERNAL_PAPER" VARCHAR2(30),
            "OWNER_CFP_SUBMITTER1_FULL_NA" VARCHAR2(255),
            "OWNER_CFP_SUBMITTER1_COMPANY" VARCHAR2(255),
            "STATUS" VARCHAR2(30),
            "SESSION_ID" NUMBER,
            "TITLE" VARCHAR2(255),
            "ABSTRACT" VARCHAR2(4000),
            "SESSION_TYPE" VARCHAR2(30),
            "SESSION_CATEGORY" VARCHAR2(30),
            "STREAM" VARCHAR2(30),
            "PRIMARY_TRACK" VARCHAR2(255),
            "OPTIONAL_TRACK" VARCHAR2(255),
            "CROSS_STREAM_TRACK" VARCHAR2(30),
            "SUPPORTING_VIDEO" VARCHAR2(4000),
            "ATTENDEE_ROLE" VARCHAR2(255),
            "TO_RATING" VARCHAR2(30),
            "TO_COMMENTS" VARCHAR2(4000),
            "COMMENTS" VARCHAR2(4000),
            "ORACLE_PARTNERNETWORK" VARCHAR2(30),
            "IS_YOUR_OPN_MEMBERSHIP_UNDER_A" VARCHAR2(255),
            "ORACLE_PARTNER_TYPE" VARCHAR2(255),
            "OPN_MEMBERSHIP_LEVEL" VARCHAR2(30),
            "ORACLE_REGION_BASED" VARCHAR2(30),
            "ORACLE_VALIDATED_INTEGRATION" VARCHAR2(30),
            "HAS_YOUR_COMPANY_ACHIEVED_SPEC" VARCHAR2(4000),
            "PLEASE_DESCRIBE_THE_VALUE_OF_O" VARCHAR2(4000),
            "INCLUDE_CASE_STUDY" VARCHAR2(30),
            "PROVIDE_NAME_OF_THE_CUSTOMER_F" VARCHAR2(255),
            "PLEASE_PROVIDE_A_BRIEF_DESCRIP" VARCHAR2(4000),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_COMPA" VARCHAR2(255),
            "CREATED" DATE,
            "CREATED_BY" VARCHAR2(50),
            "LAST_UPDATE" DATE,
            "LAST_UPDATED_BY" VARCHAR2(50),
             CONSTRAINT "OOW_PAPER_PK" PRIMARY KEY ("ID") ENABLE
       ) ;I am using APEX version 4.0.2.00.07
    Any idea what could be wrong and what can be done to resolve the problem?
    Cheers,
    Andy

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

Maybe you are looking for

  • How to find the local Weblogic path

    If I have multiple Web sites running under WebLogic, how can I get the           real path in my Servlet for one of the sites? getWorkingPath()?           Thanks           From Tom Gerber           

  • Cannot connect to a local user in pdborcl

    Hi all, I created a local user named "dwh" in the pdborcl (a pdb)...Impossible to connect using sqlplus...(On windows 7) So .. SELECT v.name, v.open_mode, NVL(v.restricted, 'n/a') "RESTRICTED", d.status FROM v$pdbs v, dba_pdbs d WHERE v.guid = d.guid

  • The update server is not responding or internet or firewall setting are incorrect

    can anyone help me with this issue? i am trying to update elements 11, i have a new Nikon D7100 and can't download NEF (raw) files on to elements.

  • Report with e-mail

    I would like to create a report that shows the employee name and e_mail. They are both separate columns in the table (emp_name, emp_mail). How can I have the report show the emp_name with a link to the emp_email (when they click on the emp name)

  • Dynamic array to cluster creation

    Hello, Is there a way that labview recognises the array size and automatically unbundle it into that many clusters as number of elements in the array? PS. I am using labview 8.2  Labview 8.2 Learner Solved! Go to Solution.