Update was terminated SAPSQL_ARRAY_INSERT_DUPREC

Hi,
We are trying to make our custom calculations in VA01, VA02 and because of this we need to update VBUP table. We updated the fields of xvbup and yvbup, but we receive an error "Update was terminated SAPSQL_ARRAY_INSERT_DUPREC".How

Hi,
Check in SM13.
The update termination will be shown. Put a break point at that step and in update debugging check the entries which are being populated in your internal tables.
The issue might be that there is already and entry in the database table and someone is passign value in XVBUP with update indicator as 'I'
If XVBUP is correct then check if someone has wrongly modified YVBUP.
We had faced a similar problem and in that case the culprit was wrong entries in YVBAP internal table.
Regards,
Ankur Parab

Similar Messages

  • Update was terminated error while scheduling maintenance plan

    HI Friends,
    I created a maintenance plan.I scheduled the order and i saved.
    Now when i tried to see the schedule i am getting a message
    "Update was terminated"
    the detailed error is
    Update was terminated
    System ID....   DEV
    Client.......   XXX
    User.....   XXXXX
    Transaction..   IP10
    Update key...   49041E2C02935CCCE10000000AFA0209
    Generated....   30.10.2008, 17:22:18
    Completed....   30.10.2008, 17:22:19
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Can anyone tell me why this error is coming and how to rectify.
    Thanks in advance
    Vivek
    Edited by: vivek mankad on Oct 30, 2008 1:38 PM

    Vivek,
    Talk to your ABAP/Basis team
    PeteA

  • Update was terminated error is coming?

    Hello experts,
      I got an error while creating a process order.System allowing to create a process order after saving througing an error
    " Express document "Update was terminated" received from author "GLP Developer"
    'Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC".
    I did changed the number ranges for a particular order type.Created one order and prcessed.But again getting the same error while processing second order.

    Hi max,
       Thanks for your immediate response.We removed all number ranges .related process order again assigned the new number ranges  000000200001 to 000000299999 are not used earlier.In this case while creating a process orders  it is getting updated randomly and showing present number in number range as 20011.If we see  5 process orders only able to see in system even I created 11 orders. For remaining orders it is showing not found tried continuously creating process orders in COR1 transactions and checking for updating in display mode.Same thing some orders or missing.FOr missing orders it is shoeing the above error.
    Please respond.
    Thanks in advance,
    Charan

  • Update was terminated '' received from author

    Hi Experts
    Any clue why this error comes while performing goods movement
    update was terminated '' received from author
    I've was told in the forum to check in SM13
    Was able to see the following error message in SM13
    00671: ABAP:/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Thanks

    abhi,
    as max and siva have told, check in ST22...
    there, check the source code extract on which line it failed. you can also check what values were there at that particular time by checking the variable stored in that dump as well...
    if you are still note sure, click on that source code(shown in that dump->source code extract) .. and keep a break point there and then see what really happened there by re-executing your transaction.

  • Update was terminated

    Hi,
    In VA01 tcode, we created a sales order and it generated sales document number. When we go to VA02, it was throwing an error 'Express document "update was terminated" from the author'.
    How can we rectify this error??
    Ur help is highly appreciated.....
    Thanks,
    Ravindra.

    <i>
    > Hi,
    >
    > Thanks for all who gave suggestions.
    >
    > I studied dump, it was giving a runtime error
    > "SAPSQL_ARRAY_INSERT_DUPREC". I thought some
    > duplicate records are existing, but I found nothing.
    >
    > Actually for year 2006, new number ranges were
    > generated, the range is 74101 to 74200. Its picking
    > sequential sales document number and giving the
    > message that document is saved in the status bar in
    > VA01. </i>
    Sales orders are not like material documents or accounting documents that they are dependent on the year. The numbers can repeat for material documents or accounting documents if they are in two different years. But that is not the case for sales orders. <b>They are not dependent on the year they are created. The number simply cannot be a duplicate</b>
    <i>
    >If I search for that generated doc number in
    > the related table, I didnt find that.</i>
    Which table did you search?
    <i>
    > But when I see in VA02, it was throwing this error
    > "update was terminated".</i>
    If it is not there in the table you searched, then how come you are able to go to VA02(change sales order) transaction for the same order that you said is not in the table?
    <i>> I think my problem is clear to U ALL.</i>
    Please clarify.
    Srinivas

  • Error of 'Update was terminated' in CJ20N

    Hello Gurus,
    The following error was encountered while adding activity in CJ20N.
    Update was terminated
    Transaction..   CJ20N
    Update key...   360665E0E3C6F1BBB0AA0015177E2D64
    Generated....   12.04.2011, 18:41:51
    Completed....   12.04.2011, 18:41:51
    Error Info...   ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    I am a non-technical user...please help me what to do...
    Thanks in advance..
    KPS007

    Are you trying to create a deleted network activity again? Anyway, check these notes,
    Note 780035 - CN22: Update Termination SAPSQL_ARRAY_INSERT_DUPREC
    Note 545152 - Update termination when creating network activity
    Might be helpful.

  • Error  : Update was terminated

    Hello Experts,
    While creating orders in PP, PM, and PS module the system is throwing error as "Update was terminated". In ST22 it throws the dump as RUNTIME ERROR : sapsql_array_insert_duprec. The data is not stored in the table while the number range for perticular order is get consumed. we have checked the number ranges, there is no inconsistancies with the number ranges, no upgradation
    have been done also we haven't transfered any kind of data from
    external system.
    Please reply as soon as possible.
    Thanking you in advance.
    Amit sirsath

    Hi Amit,
    Check the OSS note number 668466. You can aslo adjust the number range and check. Even i had similiar problem and thought there was no inconsistency in the number range, still i adjusted and that's how my problem was solved.
    Regards,
    Satyajit

  • Document's update was terminated-please help

    delivery document archived after creation
    the error is comming like this
    Update was terminated
    Created Subrat Ranjan on 24.11.2007 12:02:30
    Update was terminated
    System ID.... NTD
    Client....... 400
    User..... SUBRATRANJAN
    Transaction.. VL01N
    Update key... A8335CBFD0174BAB95B7AFD4D817C6DE
    Generated.... 24.11.2007, 12:02:30
    Completed.... 24.11.2007, 12:02:30
    Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    please help
    with hope
    subrat

    better you check with your ABAP/BASIS person . you will get solution.

  • Update was terminated when Post Goods Issue

    Hi all,
    When I post goods issue, I receive a message "Update was terminated".
    Then, I use SM13 to check update requests, I see an error
       900     USERNAME     20.11.2007     10:47:27     VL02N                         
    double click on that line I see error at module
       8     MB_POST_DOCUMENT     V1     Error
    more details:
       Row 13 in report LMBMBU04
       00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Finally, Error occurr at line:  
       INSERT mkpf FROM TABLE zmkpf.
    Can anyone help me to solve this problem?
    Thanks.

    Hi Nam,
    This probelm is becuase you are trying to enter a record for which primary key already exists in the table.
    The insertion you are doing with a set of values which already exist and sap is getting this error that the "Duplicate record during insertion". try to check your insertion values and through se16 check if they already exist in the table mkpf.
    To rectify the data or else change the table and add one more unique to the primary key.
    Abhishek Purwar
    http://abhishek.purwar.googlepages.com

  • Update was terminated for MIRO t-code

    Hi ,
    When I am  posting  using MIRO it is giving error saying that 'update was terminated'
    when i check in SM13 following message
    Function module     SD_REV_REC_VBREV_TABLES_POST
    Status              Update was terminated
    Error Text : ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Thanks & Regards,
    Sateesh.
    Edited by: sateesh kumar on Mar 18, 2010 4:46 PM

    So, is this a question or comment?  If you search for  SAPSQL_ARRAY_INSERT_DUPREC, I'll bet you'll find quite a few postings...the message says it all...an attempt was made to insert a record into a table with key column values that duplicate an entry that is already there.  If the problem is repeatable, search SAP notes for relevant Notes, or find out if someone has done some enhancement/exit coding that is causing the problem.

  • Express document "update was terminated received from the author

    Hi
    While I am posting the MIRO getting the same error. Once I post the miro system creating the document no and go back the screen system thronging the same error. if i edit the same no not finding the document.
    I have no problem with test server i,e duplicate of production server.
    SAP Patch level & kernel patch level on PRD & Test servers are same
    PRD server database patch is on 10.2.0.2
    Test server database patch is on 10.2.0.4
    Regards
    kamulugari Laxman

    Hi Jurgan
    I am getting the beloe message in SM13
    Update key      4C188E58E26B36FBE10000000A0A0119
    Client          500
    User            INDERSAIN
    Date            18.06.2010  Time       16:44:57
    Language        EN
    Account
    Report          SAPLMR1M
    Transaction     MIRO
    Enqueue key     20100618164614963680000200MDPRDCI.........................
    Context         :E:
    Information     (50) =  VB_WITH_ENQUEUE, VB_ENQUEUES_RELEASED,
    UD Ret. Code    9
    Status          Update was terminated
    Update server   MDPRDCI_MDP_00
    UD Client       MDPRDCI_MDP_00
    Local time zone INDIA
    Time Offset     1
    Error details   Class:     00         Number:    671
    00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Report     LTAX4U04             Row        44
    Regards
    Laxman

  • Error in creation of billing document: update was terminated

    hi experts,
    i am facing one problem while creating "Billing Document" in VF01 . After i save it says 'Document 941700032 has been saved' but later after i click on tht it shows d error "update was terminated' and billing document no i not getting created .
    Thanks

    After save, and during SAP's update processing, a fatal error occured, causing a rollback of the transaction.  Since the user is no longer in that same transaction at this point, SAP issues the Express Document to attempt to inform that there was a failure.  Check ST22 for abend...in the meantime, check for exit coding that may be causing an error...In my previous life, working with SD/LE at lot, I was able to get these regularly by fouling up my exit coding....lol.

  • Error 'Update Was Terminated' - While clearing an open item

    Hi,
    We are facing a problem where we receive an error - "Update Was Terminated" when we try to clear some entries for 3-4 vendors (posted in period 12 of year 2006. it happens only for those 3-4 vendors). We have identified the problem as follows:
    1) We ran program SAPF190 and found that there is a defference in the 'debit balance' and Total of line items' for these vendors. I ran program SAPF71 (in Quality server) which rectified some entries. However, some entries still remain incorrect and these entries that still remain incorrect are ones - "which have a posting date of 10 oct 2006, but the posting period picked up by the document header is period 12, instead of period 7". Now, some other documents posted for the same vendor on the same date have picked up the correct posting period i.e. 7. I am really baffled at how this actually happened and howcome the system allowed it??
    2) After running program SAPF190, there were some entries that got corrected (these entries were just not captured by the system in the balance field, and did not have the same problem as the entries mentioned above where the wrong posting period was picked by the system). When i tried to clear the line items for the vendors whose entries had been rectified, it still gve the update error. When i checked the number range status, i noticed something very odd:
    "The number range status shows a number much higher than what the system is automatically picking for the documents (e.g system picks 230 as the document number when posting, but the number range staus in FBN1 shows current number as 256). Also, once 256 is reached (i posted 26 documents for it) and we post the 257th document, the error remains and the status number now moves up 100 places to 356). At this time if i post another document it picks the number 258 instead of 356...and if i keep posting documents till 356 is reached, im sure when i post the 357th document, the status will jump to 456)
    Can someone please help me here!! I dont understand how and why this is happening!!
    Thanks!!
    Regards,
    Angad

    >
    Ravi Sankar Venna wrote:
    > Hello,
    >
    > Please let me know the ERROR name you are getting and what is the transaction code you are using to clear. (F.13 or F-44)
    >
    > Try to analyze the dump in ST22.
    >
    > Regards,
    >
    > Ravi
    Hi,
    The error is "Update was terminated" . It sends this message to my inbox!! After searching a bit i found about the two reports - SAPF190 and SAPF071. After running them i found some balance mis-match. I ran the two programs and it rectified those mis-matched entries!! However, even after that, it is giving me the same "update was terminated" error. We are using F-44 for clearing.
    This error is coming only for those entries which we had posted using a user-exit. Basiaclly these are entries for late payment which were programmed to be posted directly at the time of invoicing. I just checked the code of the exit, and these entries were (astonishingly) made directly into the BKPF and BSEG tables (infact the posting period was hard-coded to '12', which is why even when my posting date for these documents is 10.10.2006, it still enters posting period '12' in the header instead of '7'.). Therefore, there were balance mis-match when we saw the monthly balance in FK10N and compared it with the line items total for that month. However, on running report SAPF071, it corrected those entries, but the update error problem still persists!!
    The exact error:
    Update was terminated
    System ID....   QAS
    Client.......   100
    User.....   MOHGYA323233
    Transaction..   FB1K
    Update key...   4A206A2D00E5001202000000C0A80A35
    Generated....   04.06.2009, 11:24:59
    Completed....   04.06.2009, 11:24:59
    Error info...   F1 805: Clearing: Line item 001

  • Express Document  "Update was terminated" in FM: BUPA_ADDRESS_CHANGE

    Hi all,
    As per our requirement we needed to add different types of phone nos to an Business Partners Address.  We are using the Function Module BUPA_ADDRESS_CHANGE to insert the Telephone nos by passing values to the internal table for ADR2 table in the FM. The function module updates the phone nos successfully twice.  The Function module fails the third and subsequent times within the same session.  The code used for the same is as below:
      CALL FUNCTION 'BUPA_ADDRESS_CHANGE'        
       EXPORTING                                   
         iv_partner          = l_bpnumber          "BP no.      
         iv_addrnumber   = l_addrnumber       "BPs address no      
         iv_addrguid        = l_addrguid           " Address guid    
         is_address        = t_addrdetails        "Address details    
      TABLES                                       
         it_adtel             = t_teldetails           "Telehphone nos to be inserted with the sequence nos from 001(Home telephone no), 002(Work Phone No.) & 003(Mobile no)
         it_adfax            = t_faxdetails          "One Fax No and its extension with the sequence no set to 001    
         it_adsmtp         = t_emaildetails       "Email Details with sequence no set to 001      
         it_comrem        = t_telremarks         "Adding a remark to a particular phone no as WORK PHONE No.     
         it_adtel_x         = t_teldetailsx         "Setting the updateflag to I for insertion of telephone nos.    
         it_adfax_x        = t_faxdetailsx        "Setting the updateflag to I for insertion of fax nos.     
         it_adsmt_x       = t_emaildetailsx    "Setting the updateflag to I for insertion of email.       
         it_comre_x       = t_telremarksx      "Setting the updateflag to I for insertion of remarks nos.       
         et_return          = t_returntab.          "Returns tab for error message   
    The FM Inserts the Telephone nos successfully twice but fails the third time within the same cic0 session, with the error message as below:
    "Express Document "Update was terminated" received from author Kumaran Vurunathan".
    Displaying the Document we get the following detail:
    Update was terminated
    System ID....   DD0
    Client.......   040
    Transaction..   CIC0
    Update key...   42A303E8F2B23E97E1000000947F220A
    Generated....   13.06.2005, 04:43:28
    Completed....   13.06.2005, 04:43:28
    Error info...   CD 328: DUPREC:POS&BUPA_ADR&0000105277
    Again, if everytime new Business Partner is used to add telephone nos within the same cic0 session, the program works fine.
    The problem occurs only on the same BP being used for the third time within the same session.  We are thinking that this might be a Locking problem and thats why the Update is getting terminated.
    If anyone had encountered the same issue while using this FM, please advise the reason for the same and how this could be rectified.
    Thanks & Regards,
    Babu Changalvala,
    AOL: babuchangalva.

    Hi,
    To be clear, my understanding is that you are updating the same partner multiple times with this function.
    Try 'commit work' after each call of the FM, if that is not an issue for your current logic.
    Another option you can try is calling it with destination option. This is just a guess. Try it like 'Call .... destination NONE importing.....'
    cheers,

  • 'update was terminated' while creating billing document VF01

    Hi all,
             i need a solution urgently ..except for paticular document no all documents that i post using VF01 create successfully document no.
    but for a paticular document no(may be it is of some type that i am unable to) while creaing billing document no it gives a message 'document created successfully' ,but when i try to click any button after that e.g BACK it shows a messge 'Update was terminated  for author ....' in my inbox. and vf03 shows the documentdoesn't exist.
    in st22 i checked one dump . when i gave a break point at that point the cursor never reached the code.
    I also checked SM13 and it showed all fms as init. and one fm 'RV_MESSAGE_UPDATE ' as error . i aws unable find the fm in the main program .
    one more thing when i create bill document for other document type it shows messge 'Document saved ....(no accounting document created)' but for this one i am getting messge 'document saved.......' .
    I asked one collegue he told me might be some OSS notes required for it . i am working on a unicoded system ECC 6.0  version.but he is not sure .
    Has any body faced the same problem..and what was the soln....if oss notes are required than how could i find it..and what was the no...........
    THANKS IN ADVANCE ...................

    THANKS  for the reply.
    i am new to sap .can u tell me in detail where actually i can check for number range of the document . one more when i checked the sm13 and  started debugging it gave me for a certain character set  (may be in chineses) present in the table ,the transfer command gives a dump. now the problem is it is too long 132 and don't no forwhich character it gives an  dump.how can i check the characters maintained in the system. it gives a dump   CX_SY_CONVERSION_CODEPAGE   ,At the conversion of a text from codepage '4102' to codepage '4110':      
    i am not sure this causes the mesages 'Updation was terminated' . what u people think.
    thanks ..

Maybe you are looking for

  • Error with XML Generation throgh PL/SQL

    Hi All, I am generating an XML Script through PL/SQL Procedure i.e. FND_FILE.PUT_LINE(FND_FILE.OUTPUT, '<SOMETAG>') like this. When I tried to run this PL/SQL Procedure from Apps, it is generating the OUTPUT file correctly and I am able to see the XM

  • ABAP DUMP duirng generating query

    I have an issue regarding the sap query.We are doing upgrade from ECC5 to 6.0.This problem generates in the new version of TST. scenario is the client has DEV system and TST system. After you create a query using transaction SQ01 it goes to custom  t

  • Lenovo g550 update

    Hi, I have a Lenovo G550, and I want to run xna 4.0 but I can´t, because I need to update the intel 4 series chipset ; but lenovo only has a version from 2009!!!!!! version 8.15.10.1994 and the new version is 8.15.10.2555, but intel do not recomend m

  • Please Edit Me for JComboBox

    Hi, I have a JComboBox. Now i need to alter the a selected item from the list of the JComboBox. After altering the item and when i hit the enter key it should register itself with the JComboBox. ok maybe an example will be better. Suppose i have thre

  • Underlying tables of business Content data sources

    Hello Exerts, Can anyone advice me finding the underlying tables of business Content data sources? Regards.