Error while updating Sales Order : Another user Modified Table (RDR1 )

Hi All,
I am getting an error message while running the following steps.
Steps
1)     Pull an entry from sales order.
2)     Add new data to line.
3)     Update the sales order.
a)     Sap updated the data.
b)     Through code using DI API we updated some UDF.
4)     With out closing / Pressing OK button…
5)     We added new data to line.
6)     Then Press update.
An Error will through by B1 as “Another user modified the table(RDR1 ).” Before going to the code where we are handling the update of UDF.
But after the 3rd step above when we do
4) Close the window or pressed ok
5)  take the sales order window again pull the data
6) Add new Data to line.
7) Update sales order then it will go smoothly.(Updating by B1 and from code )
Can anybody tell me why this happens?And any workarounds to solve this?
Deepesh

are u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure.

Similar Messages

  • Another User Modified Table RDR1(-2039)

    Hi
    I got error "Another User Modified Table RDR1(-2039)" sometimes when i update Sales Order. Since I m doing customization on Sales Order form, <b>i m unable to proceed with my code since it run on ActionSuccess</b>.
    What could be the reason ..
    Plz help

    Hi Pankaj,
    Firstly make sure that you don't hold references to objects that you don't use. If you have reference to an order and maybe update the order and later again use another object to access the same order this might happen. Create and release objects as you use or don't use them. You can release the objects with
    System.Runtime.InteropServices.Marshal.ReleaseComObject(x)
    Hope it helps,
    Adele

  • Error while updating Sales Order

    Hello everyone.
    I'm trying to update the Quantity of some items in a Sales Order Document, but i'm having the following error:
    [ORDR.EDocStatus][line: 1] , 'Field cannot be updated (ODBC -1029)'
    The thing is: I can open the record in Sales Order form and update it manually.
    Also, the Status of the Sales Order is Open, but this EDocStatus is Closed.
    SAP 9 PL 10
    Can someone help-me?

    Hi Leandro,
    Can you show the code in use? Have you confirmed that the DocEntry of the Sales Order Document you are trying to update via SDK is the same of the one you open in the B1 client?
    Best regards,
    Pedro Magueija

  • Another user-modified table 'Product Tree' (OITT) - Error message

    Hi
    Our B1 2005A SP01 PL48 sometimes shows the following error message when trying to change a BOM, even if this error is not possible.
    Another user-modified table 'Product Tree' (OITT) (ODBC -2039) [Message 131-183]
    What can I do, except for deleting and recreating the BOM?
    Thanks
    Franz

    Hi Franz,
    Please check these threads to find anything in common:
    Another user-modified table  'Items' (ODBC -2039)
    Another User modified Table (ODBC -2039) - Sales order
    In Purchase Order
    Re: Warehouse alerts not popping up.
    Thanks,
    Gordon

  • Another User modified Table (ODBC -2039) - Sales order

    Via a button on sales order form I delete some of the order lines with oMatrix.DeleteRow(rowNr).
    It works fine but the DocTotal is not updated as it will be if I delete the row manually with the right-click Delete Row command.
    When saving the order via Update button it refuses with the error "Another User modified Table (ODBC -2039)".
    Do you have any ideas for workarounds for this?
    I've tried to set the price to 0 before deleting the row (the DocTotal will be updated) but the error is the same when saving.
    I don't manipulate the FormMode in the code.
    Regards
    Lars

    HI,
    SAP has answered with notes 720076.
    They suggest to use
    oMatrix.Columns.Item("1").Cells.Item(i).Click()
    SBO_Application.ActivateMenuItem("1293")
    instead of
    oMatrix.DeleteRow(i)
    It works for me.
    Best regards,
    Paolo.

  • Another user modify table error on Service call

    Dear All,
    i am getting error while updating the service call.
    As this is SAP2007B PL 16 i have created a service call when i am updating this service call i am getting the error like-another user is modify table-service call .
    Kindly help me out.
    Regard,
    Divya Singh

    Dear Divya,
    In most cases, the error messages " Another user modified table XXX (XXXX) (ODBC -2039)." comes because after opening the form at your side, another user opened the same form and applied some changes. You can close the form, open it again, apply your changes and then update it to avoid this error message.
    But in some cases, even if you close all the clients and login again, the problem still exists. In that case, this error might be caused by Database Corruption which need DB fix.  If this is the case, Kindly log a message to SAP Support.
    Regards,
    Varun
    SAP Business One Forum Team

  • Error: Another user -modified table (ODBC -2039)

    I receive an error when trying to post data through to the SapbobsCom6.7 business object reading "Another user -modified table (ODBC -2039)"
    Could anyone please assist me regarding this!
    Thank you!
    Etienne

    Hi Etienne et al,
    I don't know if this helps you, as your last post in this topic was quite a while ago, but never the less I found one reason for the -2039 error which may be of help to other Business One developers in the future.
    I was getting the -2039 error every time I tried to update a record in one of my user defined forms, yet the error wouldn't happen with most of the other records in the table.
    Looking at the record I found that there was a column related to a Date field on the which had an incorrectly entered value from a previous data import.
    What should have been '2004-06-23 00:00:00.000' in the table was actually '1899-12-30 23:06:04.000' and would appear as 30/12/99 in the form field. Once I corrected the format of the data the addon form was happy to update the record.
    I hope this helps anyone else out there.
    Nick Jacka

  • Error while processing sales order as factory calendar missing.

    "factory calendar missing or error in factory calendar".iam getting this error while processing sales order even though i have assigned it to shipping point and plant and sales org.

    Hi Malik, How are you? I'm sorry to trouble you,
                   Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
    the topic "How to update Factory Calendar in SRM", and might I have the same
    problem. It's with the "factory calendar".
    In transaction va02 when I choose a Delivery Date, and I sent it to process, as
    a result in the "shipping tab" it calculated to the first item one date, and to
    the rest one date different.  I don't know What it happen?
    I debugged the program and I saw that to the first item use to calculate the
    date is the function  'APO_SCHEDULING', and to the rest item use
    'SD_SCHEDULING', and until here I come.
    How can I do to what the dates calculated are the same? or What would be the
    problem?
    I need the dates calculated are equal.
    I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
    correct?
    Thanks In Advance,
    My best regards,

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Error: Another User Modified Table in Service Call in SAP B1 8.8 PL9

    Hi Experts,
    We are facing an issue in SAP B1 8.8 Patch 9 in Service Call.  When taking service calls continuosly, when we try to update every 3rd Service Call the following error is coming
    "Another user or another operation modified data; to continue, open the window again  'Service Calls' (OSCL) (ODBC -2039)  [Message 131-183]".
    Only 1 user is using the service call.. Several times we logged out and logged in, still the same error is coming,
    Kindly help to solve this.
    Regards
    Sundaram

    Hi
    You may check this thread. It might be a bug.
    Re: another user modify table error on Service call
    Thanks,
    Gordon

  • Another user-modified table... Errors

    Dear Experts,
    Two of our clients are experiencing same error message but different Table name and scenario.
    First: Customer1 change the password of Manager account and it became successful. But when they change the password again, they encounter the u201CAnother user-modified table 'Users'(OUSR)...u201D error message.
    Second: Customer2 can't change the Item description in Item Master Data. When they try to update the description, the "Another user-modified table 'Items'(OITM)(ODBC-2039)[Message 131-183]"  error message appears.
    I've read some of the preferred solutions but the same issue occurs.
    Are these considered as bugs?
    Please help us.
    Thank you so much.
    Regards,
    Doriza Cortez

    Dear Doriza Cortez,
    All those errors are caused by table locks. Users have at least to exit from B1 for all their sessions. If the problem still persist, restart server is the last cure. Before that, you can try to kill certain hidden session from SQL Studio.
    Thanks,
    Gordon

  • Another User Modified Table Error.

    Dear All,
            My Client is using SAP B1 2007 B PL 11, When he is updating the Freight Amount in the Freight Window at that time he is getting the Error of Another User Modified Table Error.
           Plz guide me solving this issues.
      Regards
    Hitesh Parsawala

    Hi Hitesh ,
    This problem occurs when 2 users access the same form simultaneously .
    So just restart the SAP , It will work ..
    Hope it Helps
    Thanks
    -- Ashish Ranjan

  • Error while create sales order

    Hi,
    Please help.
    I am facing error while create sales order.
    No item category available (Table T184 OR VERP  )
    Message no. V1320
    Diagnosis
    No item category could be determined for the combination OR VERP .
    System Response
    The system does not allow further processing of this item.
    Procedure
    Check the entries in table T184 by means of which item category determination is controlled.
    If you do not have the authorization to do this yourself, contact your system administrator.

    Hi,
    Check in spro whether Item categorygroup VERP is assigned to sales document type.if not assign.
    Path
    SPRO-SD-sales-sales douments-sales document item-assign item categories.

  • Getting runtime error while doing sales order

    Hi,
    I am getting a runtime error while doing sales order.
    Error : SAPSQL_INVALID_FIELDNAME
    Kindly suggets....stuck up badly.
    cant do any transaction.
    Regards
    Kishan

    Hello,
    Check OSS Note#209847 and 310304
    Regards,
    Gauravjit.
    Reward points if the notes are helpful

  • Another user modified table rdr3

    Hi
    I got error "Another user modified table rdr3" when try to update additional expenses on sales order form.
    Case: Update Add. expences through my code based on condition and document updated well with add. expenses
    but after that if i update add. expenses through system functionality <b>means By pass my code</b> based on some condition, SBO throws this error.
    Help needed!???

    In what event are you performing your update?  I was getting the same message when I did my update in the in "item clicked" (for the update button) and this is evidently before the form does the update.  It saw the changes I made to the record and therefore aborted the update.
    I moved my update to item-pressed and that solved the problem.  But it's been a little more complicated than that for me.
    As far as I can tell, SBO updates the object on the form AFTER the BeforeAction event is triggered from item pressed.  But the way my debugging suggests it happens is that if there are no errors from that update, while item pressed does get it's AfterAction triggered, the form is no longer in update mode - it's in OK mode. So it seems that the update really needs to happen from OK mode but there's one more complication.
    At least for the item master form, button 1 can be in OK mode after doing an Update (which will work), but will also be in OK mode after a find (where the user types, for instance, an item number and presses enter, rather than the find button).  So what I am doing is setting a flag on item pressed/update mode/before action that let's me know that update is requested.  then in item pressed/find mode/after mode I test for update requested, then update the object and turn off my flag:
      Case Is = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
        If pVal.ItemUID = "1" Then
           Select Case pVal.FormMode
                Case Is = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                         If pVal.BeforeAction Then
                            g_UpdateModeStarted = True
                         End If
               Case Is = SAPbouiCOM.BoFormMode.fm_OK_MODE
                          If g_UpdateModeStarted Then
                               If pVal.Action_Success Then
                                  UpdateItem()
                                  g_UpdateModeStarted = False
                               End If
                          End If
    WARNING:  I am very new to SBO programming and haven't even taken the class yet.  This works for me but I imagine that others in this forum might say I'm going about it all wrong.  But since no one else has offered a solution to this yet, I thought I'd let you know how I got around the problem.
    Good Luck!

Maybe you are looking for

  • Scjp preparation

    Hi, I am recently came to know that certification will plays a vital role in our career. Now I'm intereted in preparing for scjp. I know jdk 1.4 but not much 1.5. What is the suitable and helpful in future to take certification? Is it compulsory to t

  • Issue iwth generic Datasource -Urgent Help

    HI All, I needed to create a generic DataSource through view . The view is created successfully however I have some dependant key figure in view such as Tips amount referring to MSEG(Referring Table ) _WAERS (Referred field name.) because of which I

  • HT4191 Sync Notes Between Devices

    I just purchased my new iPhone 5 to replace my retro 3GS.  I also have an iPad and use the Notes feature on both the phone and iPad.  I cannot figure out how to transfer my Notes from the old phone to the iPhone 5.  I backup to iCloud.  I have an iCl

  • SMTP Outgoing Mail Server does not use password so I can not send mail..

    Hi All Can anyone help me with this? My POP email accounts on Hosting.365.ie do not use a password to authenticate outgoing mail. They rely on a prior authenticated download to enable the outgoing mail server. On my MacBook Pro there is an option in

  • Activation of 3Gs

    I have an original 2g that I just sold, I'm getting the new 3gs on Friday . Do I need to keep my original Until I activate the new one ? Should I keep my original SIM ?