Duplicate item 'ARCMGTAP/10052' could not be created

Hi
Am getting error while am saving the record acutally i implemented a new submit button progamtically and now it is giving error when i click that button and i have extended the controller and i have created one more submit button with SaveContinue ( means to be Save and Continue) but i am getting wrong .
so plz help me am giving u the error am getting and i will give u the code which i wrote.
Thankq
oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20002: 3122: Duplicate item 'ARCMGTAP/10052' could not be created.
ORA-06512: at "APPS.WF_ENGINE", line 4154
ORA-06512: at "APPS.AR_CMGT_WF_ENGINE", line 919
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)
and in extended controller i wrote a new submit button for that the code is here
process request()
OAPageButtonBarBean oapagebuttonbarbean = (OAPageButtonBarBean)oawebBean;
OAViewObject oaviewobject = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oaviewobject.setMaxFetchSize(0);
OASubmitButtonBean oasb= (OASubmitButtonBean)oapageContext.getWebBeanFactory().createWebBean(oapageContext,"BUTTON_SUBMIT");
oasb.setID("SaveContinue");
oasb.setUINodeName("SaveContinue");
oasb.setEvent("SaveContinue");
oasb.setText("Save&Continue");
oasb.setLabel("Save&Continue");
oawebBean.addIndexedChild(oasb);
oracle.jbo.Row row = oaviewobject.first();
if(row != null)
String s1 = row.getAttribute("Status") != null ? row.getAttribute("Status").toString() : "-99";
if(s1.equals("SaveContinue"))
OAWebBean oawebbean4 = oapagebuttonbarbean.findIndexedChildRecursive("FndSaveContinueButtonSubmit");
oawebbean4.setRendered(false);
Processformrequest()
String s1 = oapageContext.getParameter("_FORM_SUBMIT_BUTTON");
String s2 = oapageContext.getParameter("SaveContinue");
if(oapageContext.getParameter("SaveContinue")!=null)
OAViewObject oaviewobject1 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oaviewobject1.first().setAttribute("Status", "SAVE");
} else
if(s2 == null && s1.equals("YesButton") && !oapageContext.getRootRegionCode().equals("ARCMBANKREFERENCEPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMGUARANTORPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMOTHERDATADETAILSPAGE") && !oapageContext.getRootRegionCode().equals("ARCMTRADEREFERENCEPAGELAYOUT"))
oapageContext.getRootRegionCode().equals("ARCMCOLLATERALDATADETAILSPAGE");
if(s1.equals("SaveContinue") || s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
oapageContext.getApplicationModule(oawebBean).invokeMethod("saveApplication");
OAViewObject oaviewobject2 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oracle.jbo.Row row = oaviewobject2.first();
String s5 = null;
if(row != null)
s5 = row.getAttribute("ApplicationNumber").toString();
String s6 = "OA.jsp?akRegionCode=ARCMCUSTSEARCHPAGE&akRegionApplicationId=222&OASF=ARCMAPPCUSTSEARCH&OAHP=ARCMMENUAPPLICATION";
MessageToken amessagetoken[] = new MessageToken[1];
amessagetoken[0] = new MessageToken("APPL_NUMBER", s5);
if(s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
OAException oaexception = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_DESC", amessagetoken);
OAException oaexception2 = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_INSTR");
OADialogPage oadialogpage1 = new OADialogPage((byte)3, oaexception, oaexception2, s6, null);
oadialogpage1.setReuseMenu(false);
writeDiagnostics(oapageContext, this, "Before +++++++++++++");
oapageContext.redirectToDialogPage(oadialogpage1);
} else
OAException oaexception1 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_DESC", amessagetoken);
OAException oaexception3 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_INSTR");
OADialogPage oadialogpage2 = new OADialogPage((byte)3, oaexception1, oaexception3, s6, null);
oadialogpage2.setReuseMenu(false);
oapageContext.redirectToDialogPage(oadialogpage2);
//url of the page // here the code i s for return back to the same page after saving the details
String url ="/oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAGE";
//retain am parameter
String amMode ="true";
//Computing page_url
String page = url + "&retainAM=" + amMode + "&fndOAJSPinEmbeddedMode=y" + "&";
//Computing final url
String destURL =
OAWebBeanConstants.APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP +
"?" + OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page;
}

Hi,
I'm not sure but it seems that it is trying to invoke WF for item key which already exists.
Regards,
Reetesh Sharma

Similar Messages

  • PO could not be creating using the Enjoy-BAPI

    Hi expersts.
    I have a problem with BAPI function module BAPI_PO_CREATE1. When program will generate orders for several suppliers for one supplier "PO could not be creating using the Enjoy-BAPI" and "Purchase order item 00010 still contains faulty schedule lines" and
    "Source not included in list despite source list requirement"  messages occur. Order won't be generated.
    When I am generating order only for that supplier, everything is fine. They are generated and no messages are displayed.
    Could anyone help me ?
    Thanks, regards.
    Dan.

    Hi expersts.
    I have a problem with BAPI function module BAPI_PO_CREATE1. When program will generate orders for several suppliers for one supplier "PO could not be creating using the Enjoy-BAPI" and "Purchase order item 00010 still contains faulty schedule lines" and
    "Source not included in list despite source list requirement"  messages occur. Order won't be generated.
    When I am generating order only for that supplier, everything is fine. They are generated and no messages are displayed.
    Could anyone help me ?
    Thanks, regards.
    Dan.

  • PO could not be created

    Hi All,
    PO could not be created, document contains no items, message id 06,#10, error in external tax system: no mapping could be located for input function. Message id is FS, message #861.
    Please help.
    Thanks in Advance.

    Hi
    Please refer the following link which explaining all the statuses of WBS elements and also statuses which are required by you
    http://help.sap.com/erp2005_ehp_02/helpdata/en/ee/41f82246ee11d189470000e829fbbd/frameset.htm
    Regards
    Ramakrishna

  • Time Machine - The backup disk image.. .could not be created (error 60)

    Using an external 2 TB disk for Time Machine for iMac and MacBook Pro, both running 10.8.2. One month ago, upgraded MacBook from 10.5 to 10.8. Three weeks later, Macbook backups started failing. Ran TechTool on backup disk, found much corruption, reformatted it. iMac has always backed up to this disk just fine, but MacBook backups keep failing. LONG "Preparing to Backup" time, then suddenly "The disk you inserted was not readable by this computer - Initialize, Ignore or  Retry" followed immediately by "The backup disk image "Volumes/Backup2TB-1/MacBookPro.sparsebundle" could not be created (error 60). When I check the TMP file on the backup disk, it's gotten to about 17.9 Mb before quitting.
    What could be getting in the way?
    Thanks.

    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the page that opens.
    Select the System keychain in the list of keychains in the sidebar of the window. If you don't see the list, click the down-arrow icon below the sidebar. Then select Passwords in the Category list at lower left. Click the Kind heading in the list of keychain items to arrange it by Kind. Locate the AirPort Disk Password with the name of your Time Capsule. Double-click the item and check the box marked Show Password in the inspector window that opens. You'll be prompted for the administrator login password. Make a note of the AirPort password, then close the inspector window and delete the item. Also delete all other AirPort DIsk Password items for that same Time Capsule, which may have had a different name in the past. Quit Keychain Access and try to back up again.

  • Purchased a new Macbook Pro 13". I used migration assistant to transfer. I can't backup to time capsule.  I am getting on error The backup disk image "/Volumes/Herb's Time Capsul/Herb MacBook Pro.sparsebundle" could not be created (error 17).  Help

    Purchased a new Macbook Pro 13". I used migration assistant to transfer. I can't backup to time capsule.  I am getting on error "The backup disk image “/Volumes/Herb's Time Capsul/Herb MacBook Pro.sparsebundle” could not be created (error 17).  Help!

    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the page that opens.
    Select the System keychain in the list of keychains in the sidebar of the window. If you don't see the list, click the down-arrow icon below the sidebar.
    Then select Passwords in the Category list at lower left. Click the Kind heading in the list of keychain items to arrange it by Kind.
    Locate the AirPort Disk Password with the name of your Time Capsule. Double-click the item and check the box marked Show Password in the inspector window that opens. You'll be prompted for the administrator login password. Make a note of the AirPort password, then close the inspector window and delete the item.
    Also delete any other AirPort DIsk Password items for that same Time Capsule, which may have had a different name in the past.
    Quit Keychain Access and try again to back up.

  • The backup disk image "/Volumes/Jeffrey Brown's Time Capsul-1/Main.sparsebundle" could not be created (error 17).

    The backup disk image "/Volumes/Jeffrey Brown's Time Capsule-1/Main.Sparsebundle" could not be created (error 17). How can I fix it?

    Try just rebooting the TC.. or a reboot of the network..
    Turn everything off and restart in correct order.. modem.. TC.. clients. 2min gap.
    Try C9 in pondini for that error.
    http://pondini.org/TM/C9.html
    I generally make a nuisance of myself here by suggesting Apple names are more curse than help. Apple automatic naming conventions are causing havoc.. change everything to SMB compatible names.. ie windows networking which is the base common denominator of networking.. ie if it works with SMB it works on any OS.
    Short.. less than 20 characters. 10 is usually plenty. Why type more than you need to?
    No spaces.. spaces have to be removed even in apple names..
    Pure alphanumeric.. some characters cause issues.. again the apostrophe is a nasty item to all other OS.
    The -1 is stupid Mountain Lion.
    eg Jeffrey Brown's Time Capsule-1
    Change to JBTC

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • I am having issues with Time Machine. Error message "The backup disk image could not be created.

    Error message "The backup disk image could not be created." I have tried everything I have found online in the community from TM full reset  to changing my computers name. Anything else I can try? I am using a Seagate external HD with a connection through my router. I spent an hour on the phone with seagate and everything is ok on the HD end.
    TM sees it and it is mounted but cannot go any further. HELP?!!!!
    Thanks
    -A

    How should it be connected? It has a usb port and ethernet. The USB on the ExHD looks like the port on the back of my computer, so I would need one wth the same ends? Do they make those?
    I can usually fix most my comp problems myself, but this new ExHD has stumped me.
    Thanks for your help.
    -A

  • I'm having trouble backing up my second macbook to a new time capsule.   continue to get an error message -- "Time  Machine Error.  The backup disk image could not be created."   Is there something I need to change in my time capsule or time machine?

    I just set up a new time capsule.  it worked fine on my first macbook.  But now I cannot backup my second macbook.   Getting "Time Machine Error"  "The backup disk image could not be created."  Do I need to change settings on my time capsule to allow the second computer, or do I need to change something on the computer to allow time machine to work right?

    Try #C9 in Pondini's Time Machine Troublshooting
    http://pondini.org/TM/Troubleshooting.html

  • Training & Event Management Course type ** could not be created Message no. LSO033

    Dear Gurus;
    I'm trying to record a Business Event Group through S_AHR_61011889 - Business Event Group , then a Business Event Type through S_AHR_61011888 - Business Event Type.
    Actually when I'm recording the data of the Business Event Type then I save i get a message stating
    Course type **** could not be created
    Message no. LSO033
    to be able to save the event type I have just to record its name and the capacity then after saving I have to select change "F6" and record each data infotype separately, something which is not logical for the users.
    Even when they make change and record the remaining Infotypes like the description then they select display what they've recorded doesn't come
    Does anyone know how can I fix this?
    Thanks in advance.
    Best Regards;
    Lobna

    Dear,
    Looks like has issue in authorization access, verify and fix it.
    Regards,
    TG

  • Is there a way to fix 'Sent mailbox could not be created?'

    I have OS 10.8.5 and am using Mail as the mail program, since November. I have not had this problem before.  I have four accounts in mail, iCloud, Gmail, Roadrunner and Earthlink.  The main one i use is Gmail.  Today i noticed that there was an exclaimation point next to my Gmail Sent mailbox.  i opened the mailbox and it showed only one sent message that i sent earlier today.  There should have been a few months of mail in the mail box, maybe 30 to 50 messages.  i clicked on the exclaimation point and the message said: 
    The Sent mailbox could not be created on the mail server.  The local "Sent Messages (Gmail) mailbox was created instead. Mail has changed your account's Mailbox Behaviors preferences to use the local "Sent Messages (Gmail)" mailbox.
    i don't know what this even means.  My other account mailboxes have their mail in them, only the Gmail mailnbox is not created (although it does have that one message in it).  There wasn't anything different i did that would change any preferences that i know of.  I see the Gmail Sent messages mailbox at the bottom of the mailbox list and the missing messages are there, but instead of listing the name of the recipient under a To: column, instead there is a From: column, and my name is all that is listed. There is no To: column.  I need to know who the messages were sent to if i need to search for one later. i want the recipient to be idendified in the header, as it is in my other Sent mailboxes.
    There is one thing that happened right before this occurred.  I got a brand new Time Capsule and replaced my very old Airport Extreme with it. I didn't change anything. i just replaced the old base station with the new one, keeping all settings, network names and passwords the same, i just switched the hardware. 
    After setting up the Time Capsule, when i checked my email, i found this problem with my Gmail mailbox missing.
    I found this problem raised in a few other postss on these discussion forums, but there was little or no discussion on the threads. None of them mentioned a new Time Capsule. i'm hoping someone who reads this can say what might have caused this and where the mail box is, and how to get it back. 

    Glenn--thanks for the reply.  I think i tried your first suggestion---i highlighted the Gmail account Sent mailbox and went to the Mailbox menu, went to 'Use this mailbox for,' but all of the four options were grayed out (Sent, Junk, Trash, Drafts). i tried highlighting (or selecting) other mailboxes in the column on the left, including the ones on the server and the ones 'on this mac.'  No matter which one i selected, the options were grayed out. Do you know why they would be grayed out?  Am i not understanding what to do, or is there some other reason?  i'm in Classic mode, in case that matters as to what's in the left column. 
    I have not yet tried disabling the Gmail account. i was going to, but when i went to Preferences > Accounts > Gmail, i saw and remembered that i had changed one of the settings not long ago, a week or so--where it says "Use only this server" under Outgoing Mail Server (SMTP) i had unchecked 'use only this server,' since none of the other accounts had that checked.   So i rechecked it and am wondering if that would protect against what happened. 
    I feel nervous about disabling the account and removing it from Mail and wanted to ask you, will everything come back when i re-enable it? 
    Thanks

  • COREid Federation Error: A local user session could not be created for the

    Hi,
    I installed two instances of COREid Federation in my machine. Also installed SiteMinder and LDAP. Source Domain of COREid (8101) uses LDAP as IdMBridge and Destination Domain (9101) uses SiteMinder as IdMBridge. I am trying to access the resource protected by the SiteMinder from the source domain using the URL which is constructed using the pattern given in the PDF:
    http://mymachine.domain.com:8101/shareid/saml/ObSAMLTransferService?DOMAIN=DestinationDomain&method=POST&TARGET=http://mymachine.domain.com:8887/Source/Source.html
    Assertions are generated and I can see the assertion in the Source domain and transferred to the Destination Domain.
    I get the following error in the Destination Domain Shareid Log file:
    ERROR - [http10113-Processor3] - RECEIVER: ERROR: A local user session could not be created for the assertion
    Please help me to solve this issue?
    Note: The Web agent runs on the web server instance 8887.
    SiteMinder is able to protect the resource when accessed.

    Typically that error occurs when the destinations access management system can't find the user based on the SAML attribute. Check to make sure that the attribute that you are matching on matches exactly.

  • RFC destination BW could not be created in the source system R3073

    I'm creating a source system for our BW (version 7.0) dev client.I'm linking it to our R/3 4.7 QA client. From RSA1 I select create source system, I enter the system information and in the next screen I'm prompted to log on as system administrator. I'm in QA now and the system automatically crated the RFC connection. I test the connection and it runs ok. I log on to the BW client from QA and it logs on just fine. When I exit the screen I get the following message:
    RFC destination BW could not be created in the source system message number R3073
    Why is this happening? The connection tests just fine.
    I'm using RFCREMOTE user in BW and ALEREMOTE in QA with the same password
    Any ideas?
    thanks

    Hi,
    I cannot tell you surely the settings for SCC4 now (I can't connect to my sys).
    Nevertheless, create your R3QA RFCDEST manually in your BWDEV with SM59.
    Create your BWDEV RFCDEST manually in your BWQA .
    Perform test and authorization test within SM59 from both sys.
    When creating the source system in BW the system will detect the RFC and ask you if you want to use it; accept an proceed the the rest of the procedure.
    hope this helps...
    Olivier.

  • SHAREid - A local user session could not be created for the assertion

    Problem: We have a client trying to federate to our environment using POST profile but we are getting the following error, "RECEIVER: ERROR: A local user session could not be created for the assertion".
    I verified that the user exist in the directory and I am able to execute a test successfully as that user.
    Thanks.

    There is a requirement that the client needs to send an attribute called "traveler" in the assertion. We found out that the problem occurs only when client sends a attribute in the assertion. When the assertion does not include the attribute, there is no issue. Not sure why that is the case as we have other clients sending the same attribute in the assertion.
    Here is the AttributeStatement.
    <saml:AttributeStatement xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><saml:Subject><saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">XXXXXX</saml:NameIdentifier></saml:Subject><saml:Attribute AttributeName="XXXID" AttributeNamespace="http://schemas.xmlsoap.org/claims"><saml:AttributeValue>XXXXX</saml:AttributeValue></saml:Attribute></saml:AttributeStatement>
    It does not have <saml:SubjectConfirmation> and <ConfirmationMethod> element. Can that be a problem?
    Thanks,
    Vinay
    Edited by: user504421 on Jul 9, 2009 2:17 PM

  • ORA-20100: AppDomain could not be created for the specified security level

    We recently updated our development environment to Visual Studio 2010. We have previously deployed (with success) .Net stored procedures from Visual Studio 2005 to our Oracle 10gR2 database. I am currently trying to configure a local instance (called local) of Oracle 10gR2 database to test deployment of .Net stored procedures to Oracle 10gR2 via Visual studio 2010 and ODT version 11.2.0.1.2. I have built the demo from the ode developer guide and gotten as far as deploying it but executing the stored procedures from VS 2010 or SQL*Plus produces the following error...
    ORA-20100: AppDomain could not be created for the specified security level
    ORA-06512: at "SYS.DBMS_CLR", line 152
    ORA-06512: at "SCOTT.GETDEPTNO", line 7
    Here is what I have done.
    (Server)
    1. Installed oracle 10gR2 with ODE.Net
    2. Installed Oracle 10gR2 patch set 22
    3. Installed ODE upgrade from Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21
    (Client)
    4. Installed Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21 (In new client home).
    5. Installed patch set 22 on 10g client home.
    6. Installed Oracle 11g Release 2 ODAC 11.2.0.1.2 with Oracle Developer Tools for Visual Studio(in new 11g client home, only for VS 2010)
    I have made some minor changes (GAC) etc. per the following threads...
    ODE.NET 11.1.0.7.20 on 10g Database?!
    Re: Error: System.TypeInitializationException
    The database appears to be fully functional via TOAD - SQL plus etc. I can't find much on this error but it appears Oracle needs some permissions to launch an ASP.Net application that it does not have. Any help would be GREATLY appreciated, don't hesitate to ask for additional details.

    The KB article is almost what we have apart from theitalic underlined
    part
    Consider the following scenario:
    You use a domain administrator account to log on to a computer that is running Windows 7 or Windows Server 2008 R2.
    You use the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in to connect to a domain controller.
    You open the Properties dialog box of a user account.
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    You set the Remote Desktop Services Home Folderattribute to the shared folder path.
    NoteThis attribute is located on the
    Remote Desktop Services Profiletab.
    You click Apply or OK.
    In this scenario, you receive the following error message:
    The home folder could not be created because: The network name cannot be found.
    Note If you click Apply or OK again, no error message is returned. However, the setting is not saved.
    I think the important bit is
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    We manually create the shares on our NAS and then just want to enter the path in the profile tab, I suppose the question is how to we stop it trying to create the shares ?

Maybe you are looking for

  • One Transaction code for many reports

    Dear all, I have some new requirement in Profitability Analysis for each new country a new currency and operating concern is to be define. and for each of this it is necessary to create a transaction code respectively  per new operating concernThis w

  • Reimburse travel expense employee by check

    Hi, In our current client, the client wants to pay the employee the check for travel expenses and accounts. As a process what is supposed to happen after the employee is paid by check. 1) Do we need to run the posting programs to post this informatio

  • GNS3 on MACBOOK Pro

    Hi Guys! I want to buy MBP for my CCIE Lab practice. Please suggest me a model which one is better to buy? Please share your experiences. Thanks a lot.

  • QTVR Movies won't play properly in iWeb

    QuickTime VR panoramic movies won't play properly. Doesn't seem to matter what kind of iWeb page I use. The movies respond normally when opened with QuickTime Player. The seem to fail only when placed into iWeb. First, there are no VR controls visibl

  • Using PXI Star line for Sample CLK with 6551.

    Using PXI Star line for Sample CLK with 6551. Im trying to clock 5 6551s in a PXI-1006 chassis and a5404 in slot 2.   I have configured the 6551s to use the start line as the sample clock but I still get the error Possible reason(s): Driver Status: