Update terminate : error SAPSQL_ARRAY_INSERT_DUPREC

We are getting error "SAPSQL_ARRAY_INSERT_DUPREC" while using tcode : VK12 ME13 ME11,
Error is in function module 'RV_KONDITION_SICHERN_VK13' , form 'KONH_CHANGE" in program "SAPLV13A". I checked OSS notes also but didnot find anything.We using ECC6. Can anybody tell what could be the reason and how to eliminate this.

Hi Meena ,
are u running out of Number series ?, i had this kind of errors while i'm creating Delivery documents , then i found out Number ranges are missing ,thats y i got that errors, in ur case , i never seen number ranges for CONDITION records , but still u can cross check with ur function consultants.
regards
Prabhu

Similar Messages

  • Update terminate error in va02 Z print program

    Hi All,
    I have an update terminate error in va02 Z print program when it encounters information message statement while printing the sales order.
    I have changed it to status message then no error
    This is happening only in precessing status 4(send immediately) in edit message in va02
    Regards,
    Venkat

    Hi venkat,
    Go to SM13 . there it gives the line no. where the termination has occured. You can debug the program from there and make relavent changes.
    Amar

  • Update terminate error in MIGO

    Dear PM experts ,
    I am doing the MIgo goods issue from the PM order the following update terminate is being reported.
    What could be the possibility , did anyone face this error before.
    System ID....   MRD
    Client.......   100
    User.....   PWC
    Transaction..   MIGO
    Update key...   777ED2DDC578F187AA93001635B0CD06
    Generated....   25.12.2008, 17:51:20
    Completed....   25.12.2008, 17:51:20
    Error Info...   TD 427: Element KOPF
    regards,
    A  S

    Talk to your ABAP team, they should be able to help.
    PeteA

  • Update termination error SAPSQL_ARRAY_INSERT_DUPREC with transaction f110

    Hi ,
      When we executed the transaction F110 for payment runs it gave an update termination error "Express document 'update was terminated' ".
    Update was terminated
    Error Info  00671: ABAP/4 Processor : SAPSQL_ARRAY_INSERT_DUPREC
    Could you please anyone suggest me how to overcome this express document error.
    Thanks,
    Saran

    Hi,
    I think u r getting this exception as ur trying to INSERt a record which ia already existing, so try to change the data and Run the tcode.
    Revert back if any issues,
    Reward with points if helpful ,
    Regards,
    Naveen

  • Me21n after saving Update Terminate Error Coming

    HI  all ,
    while saving vendor return purchasing document with standard transaction (ME21N), i am getting Update Terminated Message in SO01.
    Can anyone please explain what is the cause for this .?
    Thanks In Advance .

    Hi everyone,
    I get the same message when saving a new PO from ME21N.
    The error code (from SM13 or table T100) is
    TD 421 - Parameter DEVICE=& is invalid
    Could you please help me to remove this message sent to my key users?
    Thanks a lot!!
    François M.

  • Update terminate error

    Dear all,
    I found the error message is " MB_UPDATE_TASKS V1 (no retry) Error"
    and the error detail is " MA 120: Period for date 12.06.2007 "
    Is it related to a "fiscal year variant" in article master setting?
    Best regards,
    Chris

    Dear all,
    I have solved this problem. It is because the Fiscal year variant in article master do not match the fiscal year setting in controlling area, so it will has a posting error while posting goods issue.
    Thanks you so much.
    Chris

  • Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC in t-code KO02

    Hi Guru,
    I got runtime error in transaction KO02, below i given all the details.
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    How to correct the error
        Use an ABAP/4 Open SQL array insert only if you are sure that none of
        the records passed already exists in the database.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
        "SAPLA02S" or "LA02SF00"
        "INSERT_ENTRIES"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
        In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "INSERT_ENTRIES" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    Information on where terminated
        Termination occurred in the ABAP program "SAPLA02S" - in "INSERT_ENTRIES".
        The main program was "RSM13000 ".
        In the source code you have the termination point in line 132
        of the (Include) program "LA02SF00".
        The program "SAPLA02S" was started in the update system.
        The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
        procedure "INSERT_ENTRIES" "(FORM)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPLA02S "; its source code begins in line
        85 of the (Include program "LA02SF00 ".
    Plz tell me if some one have idea to solve this problem,
    Thanks,
    Namdev

    Hi,
    check in the OSS and see if there is any note available:
    e.g.
    Note 78466 - RA_ASSET_MODIFIKATION - SAPSQL_ARRAY_INSERT_DUPREC
    https://service.sap.com/sap/support/notes/78466
    Best regards.

  • FI-SL error SAPSQL_ARRAY_INSERT_DUPREC during direct posting to the SL.

    I am working on FI- Special Ledger and currently encountering an error:
    I am trying to post journals to the special purpose ledger using a local file where I am encountering the following error:
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC  
    Except.                CX_SY_OPEN_SQL_DB           
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught 
      in                                                                           
    procedure "INS_XXXXXA" "(FORM)", nor was it propagated by a RAISING clause.  
    Since the caller of the procedure could not have anticipated that the         
    exception would occur, the current program is terminated.                     
    The reason for the exception is:                                              
    If you use an ABAP/4 Open SQL array insert to insert a record in              
    the database and that record already exists with the same key,                
    this results in a termination.                                                
    XXXXXA is the custom database table name.
    The form mentioned is a item table for one the special ledger which has been custom defined.
    I have debugged the code and found out the following:
    1. There are two records which needs to be updated to the items table of the ledger.
    2. When I checked the items table the key value (which needs to be updated) doesn't exist currently.
    3. I saw some resolution on the number range definition which i tried to apply but not fruitful.
    Although the new records which needs to be inserted to the database table is not there I am getting the error SAPSQL_ARRAY_INSERT_DUPREC.
    Please let me know of any suggestion to resolve the issue.
    I might have not correctly implemented the solution for the number range.
    Your valuable suggestions will be awarded accordingly.
    Also let me know if anymore clarity is required.
    Kind Regards,
    himansu roy

    Hello everyone,
    Got the issue and resolution.
    The problem was in the custom code the ledger update was happening twice so the duplicate entries were giving dump during the COMMIT.
    Regards,
    Himansu Roy

  • Run-time error SAPSQL_ARRAY_INSERT_DUPREC occurred

    When creating a new SyncBo (T51) instance after syncing eventually MI Clients shows the following message:
    [20070315 01:28:14:343] E [MI/Sync ] Received exception info code 10 and detailed message "Exception while callSync: The ABAP/4 Open SQL arrayinsert results in duplicate database records. records in the data base."
    In sm21 shows message:
    AB0 Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
    AB1 > Short dump "070316 205056 sapnw ELDA " generated
    Looking for SAPSQL_ARRAY_INSERT_DUPREC error in SAP Note we found the note 817849 (Runtime error SAPSQL_ARRAY_INSERT_DUPREC occurs during sync).
    We have downloaded and applied this note in Backend as note requires and ALL prerequisites of this note. Also we have upgraded to SP19 and Kernel to 155 (part 1 and 2). But problem continues and the client that happened this problem does not work any more, all new SyncBO instances created goes to MEREP_MON as Waiting status.
    The dump on duplicate record is happening when the user is synchronizing and when a record is getting inserted to table merep_10100.
    The solution /workaround could be to do a client reset for those devicesand test again and see if it is happening, but error returns happening after this.
    When this happen SyncBo instance keeps on Waiting status (MEREP_MON). We couldn't understand why this happen suddenly and then no more new SyncBo could be created, all goes to Waiting status. Reprocess (ShiftF5) or start handler (Shift10) does not take any effect.
    Best Regards,
    Rogério

    Hi Ajith
    I am getting the same error and below is the error message from ST22. The only change is I am using for MTR application and the sync fails for the 2nd time when synched for patches for the MTR application. As it is generic sync, could you please advice to get rid of the problem.
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
      neither
    caught nor passed along using a RAISING clause, in the procedure
      "LOG_INSERT_DB" "(FORM)"
    Since the caller of the procedure could not have expected this exception
      to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Thanks, Raj

  • 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

  • Update terminate during return sales order creation (Delivery processing)

    Hi,
    I have having issues with a scenario while creating delivery in a 4.7 system. When creating a return order (using FM SD_SALESDOCUMENT_CREATE) our system is configured to automatically generate deliveries for the return SO.
    The scenario we are facing an issue in is, during data processing, a delivery is created using FM W_FRM_DELIVERY_CREATE_GENERAL, delivery is then processed for picking and PGI using FM WS_DELIVERY_UPDATE.
    For the next record, a return order is created using FM SD_SALESDOCUMENT_CREATE, which also automatically tries to create the delivery. At this point we get an update terminate upon COMMIT and dump says SAPSQL_ARRAY_INSERT_DUPREC pointing towards form VBFA_BEARBEITEN.
    Based on my analysis, while updating table VBFA the internal table DA_XVBFAI also has document flow for the previously processed regular sales order for which the system tries to insert a record in VBFA. This is a duplicate record and the update is terminated. The buffer nees to be refreshed and I tried using FM SHP_DELIVERY_BUFFER_REFRESH and LE_DELIVERY_REFRESH_BUFFER. None of these seem to refresh the VBFA buffer.
    I would appreciate if anyone can share their experience with this issue. Thanks for your help!
    -Roger

    Hi,
    Try using one of these function modules BUTX_FRG0010_CLEAR_BUFFER or CK_F_SHARED_BUFFER_DELETE or COM_IL_DB_RESET_BUFFER or SNC_USER_FLUSH_BUFFER .
    KR Jaideep,

  • Error SAPSQL_ARRAY_INSERT_DUPREC executing infopackages

    Hi,
    When we execute any infopackage with source system R3 the following runtime error is generated:
    Category               ABAP Programming Error   
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Except.                CX_SY_OPEN_SQL_DB        
    ABAP Program           SAPLEDI1                 
    Short text                                                                         
        The ABAP/4 Open SQL array insert results in duplicate database records.        
    Error analysis                                                                   
        An exception occurred that is explained in detail below.                     
        The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
         in                                                                               
    procedure "F09_IDOC_INSERT_WITH_NUMBER" "(FORM)", nor was it propagated by a 
         RAISING clause.                                                             
        Since the caller of the procedure could not have anticipated that the        
        exception would occur, the current program is terminated.                    
        The reason for the exception is:                                             
        If you use an ABAP/4 Open SQL array insert to insert a record in             
        the database and that record already exists with the same key,               
        this results in a termination.                                                                               
    (With an ABAP/4 Open SQL single record insert in the same error              
        situation, processing does not terminate, but SY-SUBRC is set to 4.)        
    The line code with the error in this FORM is:
      >>>  INSERT EDID4 FROM TABLE LIST_CONTAINER_CREATE.
    We have simulated correctly all datasources in the source system using t-code RSA3, then we think that the problem is BW and not in the source system.
    Also we removed the PSA and executed the infopackage again, but the same error is showed.
    Please, could you help us?
    Thanks in advance,
    Regards,
    Edited by: dbenitez on Feb 29, 2012 8:58 AM

    Hi Kiran,
    I have checked your links but the problem has not been solved. I think that the problem could be the IDOCs because the line code with error is (program SAPLEDI1):
    >>> INSERT EDID4 FROM TABLE LIST_CONTAINER_CREATE.
    The table EDID4 contents all IDOCs of the system (this table is very big (>150.000.000 records))
    could be a memory space problem? but the messate error is by Duplicated records... I don't know...
    please, could anyone help me?
    Thanks!
    Regards,

  • CV01n Duplicate entry into kssk error - SAPSQL_ARRAY_INSERT_DUPREC

    I am trying to create a document using cv01n transaction .Upon saving, we get the message saying 'This change is not allowed' and this is followed by an update termination saying SAPSQL_ARRAY_INSERT_DUPREC into table kssk. Any insight into this issue is well appreciated.
    thanks,
    Shareen

    Hi Shareen,
    regarding the mentioned error message please see the SAP note 980124 and 1251623 for help. Further the report RCCLZUOB with table DRAW and class type 017 could be useful to find and correct existing classification inconsistencies.
    Best regards,
    Christoph

  • V2 update intial error

    We are getting the error message as "express document update terminate received from author" in co11n transaction.
    We checked the details in sm13 and found the below Function module update failed.
    2 MCF_STATISTICS_UPD_V2 V2 Initial
    Error in V2 Part
    Frequently we are getting this error in co02 and afs/md04 also
    Any one can help me to resolve this issue.
    Regards,
    suren

    In such a case I would create an OSS message.

  • Express document update terminate received from author

    We are getting the  error message as  "express document update terminate received from author"  in co11n transaction.
    We checked the details in sm13 and found the below Function module update failed.
    2 MCF_STATISTICS_UPD_V2 V2 Initial
    Error in V2 Part
    Frequently we are getting this error in co02 and afs/md04 also
    Any one can help me to resolve this issue.
    Regards,
    suren

    In such a case I would create an OSS message.

Maybe you are looking for

  • Vendor Open PO report

    Hi We have open PO for which we would like to list the PO that are not delivered completly yet.  We are using me2l for PO`s with selection parameter open invoices.  Is there a functionality or other reports (PO`s with delivery 5 days late, 10 days la

  • Move a query to from one user group to another user group

    Hi, it's possible to move a query (SQ01) from one user group to another user group ?? Thank you.

  • The Strange case of "internet recovery"

    Hi, tonight i've changed the hard drive on my macbook pro with an ssd. I start the mac holding "r" and the display shows me a little bar to choose my wi-fi network and a button for internet recovery. I click on internet recovery without selecting wi-

  • All applications won't open on macbook pro

    Applications refuse to open on my Macbook Pro. They start to open then close and pop up with an error message. Any help would be appreciated

  • Problems installing CS2 in Win7 :(

    Hello everybody, I have recently reformatted my computer (Win7) and I tried to reinstall cs2 from a the DVDs and had some problems.  I got a couple of notifications:  Invalid Unicode File .\AutoPlay\main.ini Error MAIN_FILE_VERSION Error PRODUCT_REGI