UDT - This Entry already exists

Hi,
When trying to add a new record in a UDT, the system shows the error "This entry already exists in the following table..."
We tried deleting the last record and then add it again...and it did'nt work, now we are missing more records to add.
The key values (code and name) started in 00, we were trying to add the 60th.
We use SB1 8.82 PL 10
Any suggestions?
Thanks in advance.
Regards.

Hi,
Thanks for your reply,
According to the thread http://scn.sap.com/thread/1849194 not only the Code and Name are key values in an UDT.
Our UDT has repeated values in every column but Code and Name, and it wasn't an issue before. How may I know what other Column could I assume as a Key Value? Here is the image of its customization:
Please advice.
Regards.

Similar Messages

  • This entry already exist when adding an alert

    Hi,
    I still have this error every time I send an alert to a group of recipient.
    It seems that for some reason,  some users receiving messages that aren't loging in for some times I have this error poping up when sending alerts :
    "This entry already exists in the following table (ODBC - 2035)"
    What do I have to know about sending alerts ?
    Here's the code used to send alert.
    SAPbobsCOM.CompanyService oCmpSrv = null;
    MessagesService oMessageService = null;
    SAPbobsCOM.Message oMessage = null;
    MessageDataColumns pMessageDataColumns = null;
    MessageDataColumn pMessageDataColumn = null;
    MessageDataLines oLines = null;
    MessageDataLine oLine = null;
    RecipientCollection oRecipientCollection = null;
    try
        oCmpSrv = oCompany.GetCompanyService();
        oMessageService = ((SAPbobsCOM.MessagesService)(oCmpSrv.GetBusinessService(ServiceTypes.MessagesService)));
        oMessage = ((SAPbobsCOM.Message)(oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage)));
        oMessage.Subject = Subject;
        oMessage.Text = Body;
        oRecipientCollection = oMessage.RecipientCollection;
        foreach (string RecipientName in Recipients)
            oRecipientCollection.Add();
            oRecipientCollection.Item(oRecipientCollection.Count - 1).SendInternal = BoYesNoEnum.tYES;
            oRecipientCollection.Item(oRecipientCollection.Count - 1).UserCode = GetUserCode(RecipientName, oCompany);
        // Don't add a document link if we pass -1 as parameter.
        if (ObjectType != -1)
            // get columns data
            pMessageDataColumns = oMessage.MessageDataColumns;
            // get column
            pMessageDataColumn = pMessageDataColumns.Add();
            // set column name
            pMessageDataColumn.ColumnName = ColumnName;
            // set link to a real object in the application
            pMessageDataColumn.Link = (ObjectType != -1 ? BoYesNoEnum.tYES : BoYesNoEnum.tNO);
            // get lines
            oLines = pMessageDataColumn.MessageDataLines;
            // add new line
            oLine = oLines.Add();
            // set the line value
            oLine.Value = ObjectKey;
            // set the link to BusinessPartner (the object type for Bp is 2)
            oLine.Object = ObjectType.ToString();
            // set the Bp code
            oLine.ObjectKey = ObjectKey;
        // send the message
        oMessageService.SendMessage(oMessage);
        return "";
    catch (Exception ex)
        return ex.Message;
    if I send message only to the current user there's no problem.  but since the recipient list have 3 users, the 2 other users are rarely opening SAP
    It can be the way I'm filling the recipients but I'm not sure.

    Hi,
    It's in C# but enjoy this :
    /// <summary>
                    /// Send an alert to a recipient
                    /// </summary>
                    /// <param name="RecipientName">The name of the recipient</param>
                    /// <param name="Subject">The subject of the message</param>
                    /// <param name="Body">The message</param>
                    /// <param name="ColumnName">The name of the column shown on for the document sent</param>
                    /// <param name="ObjectType">The object type : for instence (int)BoObjectTypes.oOrders</param>
                    /// <param name="ObjectKey">The DocEntry of the document to be linked to this alert</param>
                    private static string _SendAlert(string Subject, string Body, string ColumnName, int ObjectType, string ObjectKey, SAPbobsCOM.Company oCompany, System.Collections.Generic.List<string> Recipients)
                        SAPbobsCOM.CompanyService oCmpSrv = null;
                        MessagesService oMessageService = null;
                        SAPbobsCOM.Message oMessage = null;
                        MessageDataColumns pMessageDataColumns = null;
                        MessageDataColumn pMessageDataColumn = null;
                        MessageDataLines oLines = null;
                        MessageDataLine oLine = null;
                        RecipientCollection oRecipientCollection = null;
                        Recipient oRecipient = null;
                        try
                            oCmpSrv = oCompany.GetCompanyService();
                            oMessageService = ((SAPbobsCOM.MessagesService)(oCmpSrv.GetBusinessService(ServiceTypes.MessagesService)));
                            oMessage = ((SAPbobsCOM.Message)(oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage)));
                            oMessage.Subject = Subject;
                            oMessage.Text = Body;
                            oRecipientCollection = oMessage.RecipientCollection;
                            foreach (string UserCode in Recipients)
                                oRecipient = oRecipientCollection.Add();
                                oRecipient.SendInternal = BoYesNoEnum.tYES;
                                oRecipient.UserCode = UserCode;
                            // Don't add a document link if we pass -1 as parameter.
                            if (ObjectType != -1)
                                // get columns data
                                pMessageDataColumns = oMessage.MessageDataColumns;
                                // get column
                                pMessageDataColumn = pMessageDataColumns.Add();
                                // set column name
                                pMessageDataColumn.ColumnName = ColumnName;
                                // set link to a real object in the application
                                pMessageDataColumn.Link = (ObjectType != -1 ? BoYesNoEnum.tYES : BoYesNoEnum.tNO);
                                // get lines
                                oLines = pMessageDataColumn.MessageDataLines;
                                // add new line
                                oLine = oLines.Add();
                                // set the line value
                                oLine.Value = ObjectKey;
                                // set the link to BusinessPartner (the object type for Bp is 2)
                                oLine.Object = ObjectType.ToString();
                                // set the Bp code
                                oLine.ObjectKey = ObjectKey;
                            // send the message
                            oMessageService.SendMessage(oMessage);
                            return "";
                        catch (Exception ex)
                            return ex.Message;
    And make sure tou send only ONE recipient in the collection like {Recepient ONE} because sending more then one wasn't working for me and I never knew why !
    WHY WHEN EDITING THIS MESSAGE EVERYTHING IS FINE BUT WHEN LOOKING AT IT ALL THE SPACES ARE GONE ?
    Edited by: Marc Roussel on Aug 26, 2009 12:19 PM

  • This Entry Already Exists in the Table (UDO1)

    Hello All,
    I have created a Document Type Form with one Document and one Document Rows Table .
    Their is no Manage Series option checked in the Registration as it is without any series.
    Now the entries were going smoothly untill the record no. 116 then after that the user tries to add the document no. 117
    system is showing an error message " This Entry Already Exists in the Table ( UDO1) " and the data is not getting added.
    I have checked the Header & Line Tables both tables conatins data upto 116 record.
    But still is not getting saved.
    Their is no Series feature in this form (No Manage Series ) the numbering the going as per SAP .
    Please suggest how to solve this problem  without hampering the already entered data.
    Thanks & Regards,
    Amit

    Hello Amit,
    Sometimes the restore document numbering function from help makes miracles....
    By the Way, please check your UDO tables and look for keys, docentries, etc,
    Regards
    János

  • This entry already exists in the following tables  'G/L Accounts' (OACT) (ODBC -2035)  [Message 131-183]

    Hi expert,
    In chart of account one G/L currency i want to change local currency to all currency but system is showing this massage
    This entry already exists in the following tables  'G/L Accounts' (OACT) (ODBC -2035)  [Message 131-183]
    what is the reason and how to change please advise.
    Regards
    Mukesh Singh

    Hi,
    You may check this thread:
    Re: This entry already exists in the following tables -Message
    Also check SAP Note Number: 1054713 to see if it applies to you. It might be a bug too.
    Thanks,
    Gordon

  • This entry already exists in the following tables JDT1

    I try to create any document which creates a Journal Entry (Invoice, Credit Memo, Stock transfer, etc ) and SBO2007 SP 01 PL 09 and these error occurs and these error message occurs:
    This entry already exists in the following tables "(JDT1) -(ODBC - 2035)
    Any idea what should I do ?
    I use a select in both OJDT and JDT1 and see the TransID 21755 is used in three records in JDT1 and none in OJDT. Need help

    This is typical error if the header table mismatch with child table.  You have to log a message as Julie suggested or any partners who has got green light to run script.
    Thanks,
    Gordon

  • "This entry already exists in the following tables DLN1"

    Hi there,
    We create a Delivery from Sales Order using the Copy To option with a batch managed item. When we try to add the document, the error message appears:
    This entry already exists in the following tables '' (DLN1) (ODBC -2035)
    I think it is something to do with the chosen batches but I'm not sure about it. Did someone already have the same issue before?
    Thanks and regards,
    Nat

    Hi,
    I would suggest to escalate this issue to SAP support.
    Our client has experienced similar issue but they want to update item master data. They duplicated existing one and then delete last 3 digits of the original item code and then update it, the error message appears but it refers to AIT1 table and ODBC 2035.
    There is a note relate to it but it is just a query and the result must be sent to SAP support.
    However, have you tried to use copy from ? I mean you open the DO, put the customer code and then copy from the SO ? Will the error appear ?
    Rgds,

  • This entry already exists in the following tables

    Hi Friends,
    While making inventory transfer, the following error is coming. Please let me know why..?
    [Inventory Transfer - Rows - Warehouse Code][line: 1] , 'This entry already exists in the following tables  '' (ILM1) (ODBC -2035)'  [Message 131-183]
    Note:   Items are batch item. Some case we are changing batch number for particular items.
    Regards,
    Silambu

    HI naga,
    Sorry for the late reply, The problem is I updated the batch number wrongly into few items.Then I restored old batch and I suggested to update attribut2. Now it is working fine.
    Thanks & Regards,
    silambu

  • This entry already exists in the following tables OCRD

    I'm trying to create a Business Partner Master Data in SBO2007 SP 01 PL 05 and I got the following error: 
    This entry already exists in the following tables 'User-Defined Object' OUDO) -(ODBC - 2035) also this error:
    This entry already exists in the following tables 'Business Partner' (OCRD) -(ODBC - 2035)
    Any idea what should I do ?
    I  try the restore function, run a RSP task, comment the code in the Transaction Notification and the problem continue and I need to create new Busines Partner Master Data in the database.  
    Any comment will be useful.
    Thanks.
    Regards,
    Gabriela.

    Hi,
    If you are trying to create a Business Partner code where the code is same as another added in the database already as a G\L Account, then the error also occurs.
    If the issue is not fixed by running the task, it is a database corruption for which further investigation from support is necessary.
    Please log a support ticket to get the issue investigated.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • This entry already exists in the following tables (ODBC -2035)

    Dear All,
              I'm trying to add the AR Invoice from the excel file.  I got error "This entry already exists in the following tables (ODBC -2035)". I have of course checked that the record does not already exist. I try again to add the AR Invoice, at this time, i can add successfully. Some times this works fine. I'm using the SAP 2007B PL13.
              Please help me to solve. Give me the suggeston.
    Thanks and regards,
    Lei Nandar Myint

    Dear,
           I try to add the AR Invoice using DI API.
    Thanks and regards,
    Lei Nandar Myint

  • This entry already exists in the following tables  '' (ADO4) (ODBC -2035)

    Dear All,
    When user try to update UDF in ar invoice,It's showing error message
    This entry already exists in the following tables  '' (ADO4) (ODBC -2035)
    UDF get updated in all other ar invoice,error occurs in very few cases.
    Jeyakanthan

    Hi,
    I believe this is a bug,kindly mention the cluster and version.
    Also refer these note:[1359365|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;;note_numm=0001359365],[1254435|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;;note_numm=0001254435] might be helpful.
    I request you to raise a support ticket in SAP support portal inorder to clarify whether its a bug.

  • This Entry already exists in the following tables Department(OUDP)

    Hi All,
    When i am trying to add new department in Employee Master Data I am facing the following error.
    "This Entry already exists in the following tables Departments(OUDP)(ODBC -2005)[Message 131-183]"
    I am not able to add new department.
    as i checked in backend table there is no such data is available.
    Please suggest how to resolve the same.
    Regards,
    Vikram
    Edited by: Challa Vikram Reddy on Dec 2, 2008 9:01 AM

    Hi,
    The issue seems to be a DB specific issue which needs to be investigated by the SAP Support. Please log a message at the Service Market Place to get the issue analysed.
    Regards,
    Jitin
    SAP Business One Product Support

  • This entry already exists in the following tables -Message

    Hi,
    Im getting a [RDN1.WhsCode][line:3], 'This entry already exists in the following tables(ODBC-2035)'
    This message is presented frequently in returns and credit memos. Our company uses batch numbers for our items. When the item is returned, is returned to a different warehouse from it was originally delivered, so we change the warehosue in the return form and credit memo form. So we need to click the "create" button in the batch selection window, because there are no batch numbers to be selected.
    Any Ideas as how to solve the problem?
    Thank you.

    Hi,
    This entry already exists in the following tables Message is always related to duplicated record creation or application error.  For you case, I think it is better to return to original warehouse first and do inventory transfer to the actual return location in the second step.
    Thanks,
    Gordon

  • "This entry already exists in the following table"

    Hello Friends
    I use SAP 2005 B PL05.In my UDO screens when i try to update an existing record in matrix, i get the error message
    This entry already exists in the following tables: "Tablename"
    But i'm not restricting anything  through code in the Update mode.What could be the reason for this?
    Thanks
    Ram

    Raghu,
    Have a look at this thread. might help you.
    restore numbering files
    BTW, is your linenum column in matrix bound to Linenum in the table?
    regards,
    Binita

  • "This entry already exists in the following table 'Vat Transactions' (OTAX)

    Hi Experts,
    I have  some trouble adding new invoices into SAP. Copying from the Sales order to an AR Invoice the following error occurs
    Firstly, I get a system message "The Customer ref. no of this type already exists" on processing it follows with a status error when copying the order to AR Invoice
    "This entry already exists in the following table 'Vat Transactions' (OTAX) [Message 131-183]"
    "Exclusive code already exists '1486759'"
    any ideas to resolve this
    SBO 8.8 SP00 PL11.
    Regards,
    Rakesh N

    Hi Gordon,
    What happens if  the user had performed a Update Query on the OTAX table and then added the invoice he was unaware that he should not run UPDATE queries on database. But invoices to which the update query was not executed cannot be added.
    The query follows :
    UPDATE TAX1
    SET AbsEntry = XXXXXX where AbsEntry = YYXXXXXX
    Select Top 15* from OTAX INNER JOIN TAX1 on OTAX.AbsEntry = TAX1.AbsEntry
    ORDERBY OTAX.AbsEntry DESC;
    Regards,
    Rakesh N

  • "this entry already exists in the following table "(MSN2)(ODBC-2035)"

    Dear All,
    Im running the MRP wizard with a multilevel BOM I created and when I run the MRP wizard the first time using the item, it runs through fine and I can view the recommendations. If I run the MRP scenario again using the same item, an error message is displayed "this entry already exists in the following table "(MSN2)(ODBC-2035)"
    I have several items in the database with the same description but different item numbers but I dont think this could be the problem.
    Any suggestions ?
    Thanks,
    Indraj.

    Dear,
    Please try the query in note 930001 below, if you get any result, I would like to recommend you to report
    a message for your issue and request a DB fix.
    The following error message appears when running the MRP Wizard:
    "Violation of primary key constraint" in the MSN2_primary".
    In order to confirm whether the above issue affects your DB, please run
    the following query:
           Select T0.itemcode, T1.Objectcode, T1.itemcode from OITM T0
           inner join
           (Select 'OITT' ObjectCode, code Itemcode from OITT
           union all
           Select 'ITT1-Father', Father from ITT1
           union all
           Select 'ITT1-Code', Code from ITT1
           union all
           Select 'OWOR', Itemcode from OWOR
           union all
           Select 'WOR1', Itemcode from WOR1
           union all
           Select 'MSN2', Itemcode from MSN2
           union all
           Select 'MSN3', Itemcode from MSN3) T1
           on T0.itemcode = T1.itemcode where
           CONVERT(binary(5000),T0.itemcode) <>
           CONVERT(binary(5000),T1.itemcode)
    Thanks & Regards
    Apple

Maybe you are looking for

  • How to make one file?

    I have basically 2 problems here a)When I do generate a signature using the enduser's privatekey,,I will be ending up with two files one signature file and other the original document,,I need one file which contains the signature as well as the origi

  • Itunes just updated and now won't open due to a msvcr issue.  Help?

    I allowed iTunes to perform an update this afternoon.  Eventually, I noticed that there was an error message for the update.  After several failed attempts to restart and complete the update, a message window suggested reloading iTunes, which I did. 

  • Updating iPhone 3gs and comes up with error -1

    What is Error -1? and how do I fix it?! help please

  • Parse formula

    Hi, all: I am developing a salary system by using J2EE. As we know, the salary and allowance systems of various company have great differently. So I create a table to store formula. Also, I also create a salary item table to maintain salary items. Wh

  • SNMP - Not so "Simple"

    Hello, I am somewhat new to newtworking and I was tasked with getting Solarwinds to communicate with all of our network equipment.  I have been able to get everything into Solarwinds and recognized but our ASA is not returning SNMP information.  I ha