Error when updating Budget-This entry already exists...Budget (OBGT)

SAP 2007A SP00 PL49
When updating Budget, get following error:
This entry already exists in the following tables 'Budget' (OBGT) (ODBC-2035) [Message 131-183]
Any ideas?
Thanks,
Ajay Audich

Hi,
Vitor Vieira,
Thank you that your answer helped me solving my problem to some extent.
I solved the problem by creating document and document lines table and creating a UDO with it. Because the problem was with assigning some data to the u201CCodeu201D field when using master type tables.
I didnu2019t get any problem after using the document and document lines table.
Also,initially I didnu2019t bind the # column of my matrix with the LineID field of table. After doing that it is working fine and I am able to update the records.
But still this is not a proper solution and I didnu2019t get answer for why master type UDO doesnu2019t support updating.
Thanks,
V.M.Nivasini

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 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

  • Hi,Error when adding chart of account This entry already exists in the foll

    Hi,
    I am getting these below error while adding new chart of account.
    This entry already exists in the following tables  '' (UDO1) (ODBC -2035)  [Message 131-183]
    This entry already exists in the following tables  'G/L Accounts' (OACT) (ODBC -2035)  [Message 131-183]
    please suggest solving .  Thanks Advance.
    Regards
    Rajkumar Gupta

    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

  • Getting error message 2053 "This entry already exists in the following tab"

    Hi all
    i have a user form which is connected to UDO of type document which has a document line user table which is bounded to a matrix within the user form.
    when i add a new line to the matrix and press update it works fine. when i change a value in one of the fields of the newly added row and press the update button, i recieve the error message:
    "2053 This entry already exists in the following table".
    question is what is causing this error and how can it be fixed?
    appreciate the help
    Yoav

    Hi Yoav,
    If you run "Restore numbering"from the administration/.../Restore menu it will probably be solved.
    Regards
    Ad

  • Inventory Revaluation Error : This entry already exists in the foll.table

    Dear community members,
    For Inventory Revaluation, we have used Primary Series for fiscal
    year2008-2009( April2008 -March2009) and total number of documents
    posted last fiscal yr are 43(Primary 1 to Primary 43)
    Starting Fiscal year 2009-2010(April2009-March2010), we havedefined
    series 09-10 (First Number 1) and assigned it to current fiscal year
    (Period Indicator 09-10), but when we are trying to post first
    Inventory Revaluation documnet for fiscal year 09-10 (Series 09-
    10,documnet number 1) , system gives an error "This entry already
    exists in following table(OMRV)
    Please provide the solution ASAP
    Regards,
    Mukesh Agrawal

    Hi,
    You can check the similar settings in the Demo database and if the issue is not reproduced, it can be a database corruption.
    Probably, you need to log a support Ticket to SAP in order to get your issue investigated.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Error: This entry already exists in the following tables "(ALR2)(ODBC -2035

    Dear Expert,
    I can not prepare Sales Order and Purchase Order in SAP B1-2007 SP 1(Both Documents Having on Approval ), due to following system error.
    System Error:
    This entry already exists in the following tables "(ALR2)(ODBC -2035) [Message 131-183]
    Kindly check it and provided me solution.

    Hi,
    Check This
    This Entry already in following tables "AIT1) (ODBC-2035) [message 131-183]
    Regards
    Deepak Tyagi

  • "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  '' (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 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 (DLN1) ODBC-2035

    Hello Experts,
    I am getting the following error while entering the Deliveries :
    "This Entry Already Exists in the following table (DLN1) ODBC-2035 Message: 131-183"
    can not enter deliveries.
    Kindly Help

    Hi,
    This error comes when the table DLN1 is updated but no update is made in ODLN. So when you enter any delivery there is mismatch between these
    tables. This isssue is related to missing header or Row. So this is a database corruption issue. You should log a message on channel partner portal
    for SAP Support.
    Regards
    Vikas

  • This Entry Already exists in table (Message: 131-183)

    Hia All,
    I have a very serious problem that's I have been unable to solve on my own.
    I have a User defined form that is linked to a User defined Object. The Object consists of a Master data and a Master Data Lines table.
    I am able to add a record without any problem, but I attempt to update an existing record I get the following error: "This entry already exists in the following tables..."
    Strangely, this only happens when I add iditional records to the Lines table, and not when existing data is altered.
    Please help me.

    Hi Ben, yes I was able to solve the problem.
    It seems that when you add additional rows to your lines table, you have to manually add the records to the DBDatasource on the before action. i.e. Catch the Item Pressed before action on item 1 (OK button), and manually insert the additional lines into the DBDatasource as displayed below.
    e.g.
    i = oForm.DataSources.DBDataSources.Item(1).Size
    oForm.DataSources.DBDataSources.Item(1).InsertRecord(i)
    oForm.DataSources.DBDataSources.Item(1).Offset = oForm.DataSources.DBDataSources.Item(1).Size - 1
    oForm.DataSources.DBDataSources.Item(1).SetValue("U_ItemCode", i, Code)
    This code will typically reside insode a loop seeing as you will loop through your matrix/grid rows and add the additional lines.
    This sorted out the problem for me, I hope it hepls you.

  • Problem on "This entry already exists in the following table (OCFT)"?

    I add  an Journal Entry with DI API in an addon solution, and insert the cash flow table OCFT with the sql automatically if the Journal Entry need the cash flow information. But when I add a new Journal Entry manually, the system show an error mesage "This entry already exists in the following table (OCFT)". 
    I think it should be the serial number conflict.However, the serial number relate the OCFT can not be found in the table ONNM?
    Could you help to resolve the problem?

    Unfortunately in Business one it is not always just the obvious tables are affected, there are history tables and numbering to consider - my concern is this line
    insert the cash flow table OCFT with the sql automatically if the Journal Entry need the cash flow information.
    Looks like you might have already done some inserts and this has messed up your numbering. Try running the restore numbering - Help -> Support Desk -> Restore -> Restore Numbering File.
    Manual database updates on system tables are not supported as they lead to database corruption!

  • This entry already exists in following table (ATT1)

    Hi experts,
    When I update my BOM, i got this error message, how can i solve this issue? thanks...
    "this entry already exists in following table (ATT1)"

    Hi,
    ATT1 is the log table for ITT1. This happens when you updated the BOM that is being updated.  You may need to close your B1 and restart to do update again.  If problem persist, log a message to SAP support ASAP.
    Thanks,
    Gordon

Maybe you are looking for