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

Similar Messages

  • Update termination error on coding in user exit EXIT_SAPLCOIH_009

    HI All,
    I am working on approval of a work order in IW32 for which I am coding within a user exit EXIT_SAPLCOIH_009 which gets triggerred at the time of saving the work order. This will update the AUFK table and send a mail to a recipient. But when I save the work order after approving it, it gives me an error saying "Update Termination error". I checked within the SM13 transaction and ST22 for dump analysis, it says "The ABAP/4 Open SQL array insert results in duplicate database records.". Can anyone tell me what could have gone wrong and how I can rectify this. Your help is greatly appreciated.
    Thanks in Advance

    Hello
    This type of error will appear in three cases
    1.when there is a record in the database and trying to insert another with the same number
    2.If there is any inconsistencies in number ranges  (check this only if you have changed the number ranges very recently)
    3. If the output type and the output device is wrongly selected ( not the prescribed)
    Analyse yourself.
    Regards,
    Prakash

  • Update termination error when posting goods issue

    Helllo
    I have a strange problem I can not figure out.  We have serial numbers like 12345/345.  When trying to post goods issue I get an update termination error  for invalid character. This only happens if the quantity is more than 1 each.  A quantity of 1 each works fine and receives no update termination when post goods issue...only recieve termination error if the post goods issue is for a qty of 2 each.
    I searched the SAP site found OSS note 40355...applied the note.  The note also mentions the chaging print paramters to include "/ _"  this is all done.
    I tried doing a ABAP Debug in SE38 (for the delivery note print program) and setting the breaking point, but when I go to run the transaction after the setting break point...when I hit post goods issue...SE38 does not return back to its screen.  So not sure if I am running the correct program there...or if this works for the update terminations?
    So strange I do not get this for a qty of one each only when it is greater than that.  I am stumped need help....
    Any advice wiould be GREATLY appreciated....

    Looks like there is an error in the delivery (or material movement ?) print program. Easiest would be to disable these outputs for test purposes. When no dump then the error is somewhere in the print program an could be analysed by triggering the print separately with ABAP RSNAST00.
    regards Jack

  • Update termination Error : Maintain Output device in User master record

    Hi All,
    For transaction IW32 when print is given we have getting Update termination error : Maintain Output device in User master record.
    I have set the user_settings = Space, for output_Options passed the output device . Even for control_paramters I have passed the device while calling the Smartform . However there is no use. Still I am getting the update termination error.
    Please let me know how to solve this issue. Any OSS Note is there for this.
    Thanks in Advance!
    Regards,
    Preethi G

    Hi,
    Thanks for the reply. There is no problem in the print program .
    In the user master record , if the output device is not given and in the print program if we pass the output device. the error is coming.Is there any way to solve the issue at the print program level with out maintaining the user master.Please let me know.
    Many Thanks!
    Regards,
    Preethi G

  • Update termination error at the time of order creation

    Dear gurus,
    Facing an error at the time of creation of order.
    system is giving update termination error & when we are going in change mode of that order system is giving an error message " SD document XXXX is not in the database or has been achieved"
    please treat on priority
    regards,
    krai

    Hello ,
    "Update terminated " error has two reasongs.
    First is system update  was not active and hence terminated
    For this to check Goto the transaction code SM13  and  check whether the SYSTEM UPDATE is active or not.
    If it is active ,
    Then click on the Option TOBE updated in the status  and execute, then in the next screen you can find some list of documents that are not updated and causing error .
    Click on MODULES in the screen and find the erro which causing this error.
    Most this kind of error will happen if something in the Funcion Module or USER EXIT is missing.
    Please check and revert back if you need further details
    Also check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/de870535cd11d3acb00000e83539c3/frameset.htm
    regards,
    santosh

  • Updation terminated Error in BAPI Call

    Hi All,
    This is related to Warranty module where I need to first change status of a claim (which results into creation of new version for the same claim) and then need to update some fields in the newly created claim version.
    I am doing the above steps in following sequence:
    1) call of BAPI_WARRANTYCLAIM_SET_ACTION (to change the status of claim)
    2) call of BAPI_TRANSACTION_COMMIT
    3) call of BAPI_WARRANTYCLAIM_CHANGE (to change the fields)
    4) call of BAPI_TRANSACTION_COMMIT
    My problem that I am facing is:
    - When I execute the whole code, it results into "Updation termination error" followed by an email to my SAP inbox. However, if I execute the BAPIs - SET_ACTION and CHANGE seperately, it works perfectly fine. What I could figure out is that the error is because of LUW not getting completed ie lock still persists when BAPI_WARRANTYCLAIM_CHANGE is called.
    By using COMMIT WORK AND WAIT, its still not working.
    Can anyone provide some help or pointers for the same.
    Waiting for an early reply.
    Thanks,
    Debarya.

    hi all,
    thanks for prompt reply.
    <b>RAVI -</b> I have tried removing the BAPI COMMITS and explicitly used COMMIT AND WAIT. But it is not working.
    <b>VJ -</b> well, i have checked SM13 transaction, but could not figure out head or tail out of it. i am providing you the list below. As you can see, for 9th point, it is showing ERROR. however, i could not figure out, how to proceed from there.
      1  WTY19_CHANGE_DOC_CREATE        V1                   Initial
      2  PVSDBWTY_PARTNER_UPDATETASK    V1                   Initial
      3  BAL_DB_INTERNAL_IN_UPDATE_TASK V1                   Initial
      4  PVSDBWTY_WTYV_IMRG_SAVE        V1                   Initial
      5  PVSDBWTY_WTYV_IMRG_SAVE        V1                   Initial
      6  WTY15_PRICING_COND_POST_UPD    V1                   Initial
      7  HANDLE_TEXT_ARRAY_AFTER_COMMIT V1                   Initial
      8  PVSDBWTY_WTYV_IMRG_SAVE        V1                   Initial
      9  PVSDBWTY_PARTNER_UPDATETASK    V1                   Error (no retry)
    10  HANDLE_TEXT_ARRAY_AFTER_COMMIT V1                   Initial
    11  PVSDBWTY_SAVE_UPDATETASK       V1                   Initial
    Regards,
    Debs

  • Update termination error in Nimination change

    Hi All,
    The issue is regarding the e-mail message that the user is receiving in SAP mail box when trying to change the nomination.
    where we need to maintain the e-mail address to avoid this update termination error?
    Regards,
    Suresh.D

    Use transaction SU01.
    Regards,
    John.

  • Update termination error in Info record

    Hi,
    When i craete the info record and i am giving the amount in the condtions tab.then i save the info record.
    It is getting saved.It is generated the info record number.
    When i go todisplay mode,then i clicked on coditions..It is not there.
    I tried to change the amount and save the info record.It is giving the update termination error.
    Please help me in resolving this.
    Thanks
    Srini

    Hi,
    You can use sm13 transaction to see the detail of error.
    Please refer this link.
    Express document "Update was terminated"
    Thanks,
    Atal

  • Update Termination Error while creating Delivery

    Hello Experts,
    I am trying to create delivery with reference to Standard Order when I click on SAVE I am getting message that delivery is being created. But when I am trying to open the same delivery in change mode I am getting Update termination Error saying delivery not created.
    So what I tried doing is while creating delivery I have given Picked quantity and done with PGI then i am able to save the Delivery successfully and table LIKP is also updated. But this is not always that I can do. In my production system, without doing PGI I should able to save Delivery.
    Please could anybody help me on this ..is there any SAP notes?
    PS: My system is upgraded from ECC 6.0  Ehp2 to ECC 6.0 Ehp7.
    Many Thanks in advance.
    Priyanka J.

    Hello Kiran, Hello Klaus,
    Below are the details;
    Function Module   
    RV_DELIVERIES_SAVE
    Status            
    Update was terminated
    Report            
    LV50UF0L
    Row               
    50
    Error details   Class:
    00    
    Number:
    671
    Internal session terminated with a runtime error POSTING_ILLEGAL_STATE
    MENT (see ST22)

  • Update Termination Error SSFCOMPOSER 173

    Hi All,
                I am facing a strange error in the production system.This error is not shown in development or test system.
    I have created a smartform which is called from a billing document.Whenever business assigns an output type to the billing document and saves it, it gets an "Update Termination Error".
    After checking the SAP inbox in production system, we have been able to retrieve the following message.
    Error info : SSFCOMPOSER 173: Table LEFT_DATA.
    From this, I understand that the dimensions of the table LEFT_DATA are larger than the window.But when checked, the dimensions of the table are smaller than the window, which ideally should not create any issues.
    This error is occuring only in Production system.So, its hard to analyse it.
    Any form of help will be highly appreciated.
    Regards.

    Yes, you are right.. your table has a problem.. but, I guess.. it is not related to the dimension... it is related to the number of columns.. I guess, some conditions inside your smartform might be wrong... which might triggered in production data..
    Example: You table has 3 columns and if your smartform is trying to print data in fourth column this error may occur.
    If I am wrong with the above assumption, then check the dimension of the table in all PAGES... EX: FIRST PAGE, SECOND PAGE etc, which are defined in your smartform.
    Regards,
    saiRam

  • Update termination error at the time of order creation and chamge?

    Dear gurus,
    Facing an error at the time of creation of order.
    system is giving update termination error & when we are going in change mode of that order system is giving an error message " SD document XXXX is not in the database or has been achieved"
    please treat on priority
    regards,
    krai

    Hi,
    Goto ST22 T.Code and analyse the error.The error message why it is terminated will be displayed here.
    Or go to SBWP T.Code in the user where you got this error and check the inbox.
    It will display why the error is appearing.
    Show the same to the ABAPer and ask them to work on it.
    I think your server may be slow and it will take some time to update the order created by you.But I am not sure.Check the error message.
    Regards,
    Krishna.

  • STATUS_UPDATE error to update USER STATUS - Update termination error

    Hi All,
    I am using status_update FM in sales order user exit MV45AFZZ in a perform routine for updating user status in line item for sales order. There are 4 custom statuses created for the sales order line item. 1,2 3, and 4 by configuration. My job is to select one of those based on user selection.
    Scenario: During change order process using  VA02, I have to change the existing status to a third status when user selects the second one. That is for example, in VA02, user selects status 4 from previous status 3, and save, I have to make the status 4 inactive and save the new status 2 instead of 3 though user selected 3. How do I achieve this.?  ????Any programming example is really appreciated. Thanks!!!
    I am right now using STATUS_READ and reading the existing status 4. Then making it inactive using status_update FM. And updating the new status 2 as active one and 3 as inactive again. Two inactive updates and one active update is throwing an update termination error while saving the sales order.
    Any help is really appreciated. 
    Thanks
    Ricky

    Hi ricky,
    For saving any changes you need to have a Z-table.
    In programs we can't store the user selection. In your case you can create a z-table and store the status there and delete the last status. The process would be faster as you will always have one record in the table.
    . One more advantage is you can even track the changes through the Z-table(User who is changing it.)
    Hope this solution will surely help you.
    Cheers
    Suvi

  • Update termination error in IW32 because of requisition flag change

    Has anyone worked on IW32 to change the requisition flag of a work order from never to immediate. I tried doing this using BAPI_ALM_ORDER_MAINTAIN. It works fine for work order having operation control key same for every operation. But if this control key changes for any operation, then the update termination error occurs and hence the requisition flag change does not happen.
    Thanks in Advance

    Excise invoice is generated in the back ground on creation of the Invoice
    Have you tried by changing the configuration so as the sytem not to generate excise invoice automatically in the background?  If so, were you able to save the billing document successfully?
    G. Lakshmipathi

  • Integrating SD with FSCM using WS-RM - Update Termination error

    Hello experts .
    We are trying to integrate SD with FSCM ( credit management) using WS-RM (without PI).
    Details of the issue and steps followed so far.
    Ideal Scenario :
    Once we create / change a sales order ( in SD ) , the interface Creditworthinessquery_out (WS Consumer ) gets triggered (in SD) and the subsequent response CREDITWORTHINESSQUERY_IN(Provider) is triggered from FSCM (with the details of creditworthiness).Once the query response in received an notification is triggered from SD to FSCM (asynchronous service).
    After receiving the query response the functionality of credit check happens while creating / changing the sales order .
    Configuration steps followed in SOAMANAGER
    We have created end points for all the relevant service interfaces (Providers) , and also created logical ports for the respective consumers.
    During the creation of  logical ports -  for the consumers we used the WSDL (of the providers) as the inbound message action.
    (This has been done to all the services query , notification that are relevant in our integration).
    Current behavior / issue .
    While creating sales order the sales order is not getting saved (getting updated in the database).System allows us to complete the sales order creation process and also we get a message as sales order saved successfully. But then there is a update terminated express document that pops up. Sales order is not getting updated  in the database.
    When I see the logs/traces in SOAMANAGER I see that the query out is successful , query in has the right response (in warning state though) . But no notification is being triggered ?? 
    How to overcome this update termination issue ?
    When we see the SM13 log , it points to SLD issue (LCR 010: Internal error in SLD API). why do we need a SLD without PI ?

    Hi ,
    Can you tell me more details of how you are testing this ? I was successfully able to impilment this solution (credit management using ws-rm in ehp5). If you can give me more details i can surely try to help .

  • Update termination error while parking multiple items using BAPI fn module

    hi experts,
       i am facing a problem with bapi_incominginvoice_park.when i am trying to park invoice for single item for the po the invoice number is generating and getting updated in database in the same way when i am trying to park for multiple items the invoice number is genrating but not getting updated in database table.Here i am getting error 'Express document update terminated BY THE user'.How to solve this problem to find these error i have gone to se13 transaction,there it is showing SAQCL_DUPRC.it is saying duplicate errors in table but there are no duplicates in table.
    Thanks,
    Vinod

    hi vinod ....i tried the following it worked...
    while sending tax info dont send any tax table manually  i.e updating the vit_tax table using append statement
    also while testing function module for multiple PO , no need to provide the tax info in the tax table
    what we have to do is only to provide 'X' In the tax calculation option in the header details
    HEADERDATA-CALC_TAX_IND = 'X'.
    1.this will enable tax
    2. will make the po status green so that the parked document can be posted .

Maybe you are looking for