SAPSQL_ARRAY_INSERT_DUPREC in tcode F-22

Hi Experts,
                In T-code F-22 after generating document number i m getting error "Update was terminated" and Exception " CX_SY_OPEN_SQL_DB"  . I m providing here log file in ST22.
               Error in the ABAP Application Program
               The current ABAP program "SAPLKAUP" had to be terminated because it has
                come across a statement that unfortunately cannot be executed.
                what action i take to correct this?
                 Please share your experience.
                 Thanks in advance.
Regards,
Vinayak

Hello,
How you solved the issue, we are also facing the same issue.
Raja.A

Similar Messages

  • SAPSQL_ARRAY_INSERT_DUPREC in tcode BD20

    Hi Experts,
    When I am using BD20 to transfer IDOC, it is giving error saying that 'Error Text : ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC'.
    Can anyone tell me the reason & solution for this? Or who has met same issue and how to solved?
    Best Regards.

    you can search OSS notes as per the message type/idoc type for which you got the error. You can also investigate further by digging into the error in detail.
    Reffer:
    Re: RBDAPP01 SAPSQL_ARRAY_INSERT_DUPREC
    Reddy

  • Duplicate database records "SAPSQL_ARRAY_INSERT_DUPREC"

    Dear All:
    Kindly help me inorder to resolve the error "SAPSQL_ARRAY_INSERT_DUPREC" in tcode VL01N.
    regards;

    Hi,
    It is Clearly an Duplicate record,
    Is it giving and express document error that you can see in sm13 the table which it is updating.
    If it is VL01 Tell you SD team to check the number range, it is trying to create the document in any table and the document number already exist in the system so it is giving SQL_ARRY_INSERT_DUPREC dump.
    Further in the dump you can find out which table it is trying to insert the entry ( under Information where terminated in ST22)
    Further you can check with developer so that they can debug and give a clear idea on it.
    Let me know for any other info.
    Thanks & Regards,
    Balaji.S

  • 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

  • SAPSQL_ARRAY_INSERT_DUPREC in iw21

    Hi Experts,
    we have upgraded EHP1 to EHP4 .After upgradation, if i am trying to create the notification in iw21 and assign an order to the notification and while saving it is getting saved. and issueing order no as 'X'(X belongs to different order type )..
    And if i run Tcode iw22 ,if i check the order no (X) linked to the notification order no is  not available.
    If i see the st22 it is telling the error "SAPSQL_ARRAY_INSERT_DUPREC' and if i see the ABAP editor it is showing the error in
    funtion module STATUS_UPDATE  in include  LBSVUU01 from the program SAPLCOZV
      IF sy-tabix > 0.
        INSERT jsto CLIENT SPECIFIED
                    FROM TABLE jsto_ins."
    i have searched for the notes 970434, 82295.But i think that will not solve the issue. i dont know which note should be applied.
    Could you please help me to solve the issue.

    Such problems usually occur because of misaligned number ranges or incorrect custom code (enhancements, user exits and the like). It is difficult to give you the exact reason without analyzing the actual dump you are getting.
    The program terminates because it tries to insert a new status entry for the notification in the status table (JSTO). Apparently an entry with the same key exists already in this table that belongs to an already existing notification. The key for JSTO is derived from the notification number, it starts with QM...
    Check the dump to see what the notification number is (in internal table jsto_ins) and verify the number range statuses. Adjust the number range of the notification type if necessary so that it doesn't overlap with already existing notifications in the DB.
    Also, if you do have custom code / enhancements that are executed, it's possible that there is an illegal COMMIT that causes standard tables to get updated too early. If the number ranges are OK, that's also a possible area to check.

  • STMS configuration error SAPSQL_ARRAY_INSERT_DUPREC

    Hello Experts,
    We have upgraded out BW system from BW3.5 to BI7 EHP1. We have deleted the current STMS config using DICO. Now when we are re-configuring the STMS, we are getting dumps stating SAPSQL_ARRAY_INSERT_DUPREC -- The ABAP/4 Open SQL array insert results in duplicate database records.
    We are help up at this point. Tried to dig through various forums. Please help!
    Best Regards,
    Anup Thatte

    Hi,
    From which client have you deleted the TMS. Please login to 000 client of the domain controller and delete the TMS from STMS tcode and also delete all the transport routes and after that distribute changes. Then create the TMS again and add systems to it, create the transport routes and then activate and distribute the changes to the system.
    Thanks & Regards,
    Sharath

  • 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

  • Open and close posting period authorization control TCODE: S_ALR_87003642

    HI All,
    Is there any chance to control the user to open and close another company code posting period variant in TCODE: S_ALR_87003642.
    In our system we are using the same client for different countries. So user can able to change the other country company code posting periods.
    We would like to control either on the country (or) organizational unit(company code) (or) posting period variant so that user can only open/close  their country / company code posting periods.
    Our present authorization role for open and close posting period contain the auth.Obj. : S_TABU_DIS.
    Please share your knowledge if you come across this problem..
    Thanks in advance..

    Hey Sandhya,
    Congratz, this can be done using linbe item authorization with the object S_TABU_LIN.
    Field ORG_CRIT - Value 02
    Field ORG_FIeld1 - Value ZT001B
    We have successfully done it in our client.
    You need to contact your BASIS consultant for this.
    Thanks,
    Nitish

  • Closing Stock on Particular Date(MB5B Tcode)

    Hi Experts,
    I need closing stock as on some particular date. For e.g. closing stock as on 28.02.2014.
    In my requirement i have to use that closing stock value for further calculations in a new customized report.I can see closing stock value by using MB5B tcode.
    Please suggest some way to get closing stock as on some date so that i can use that in my Report.
    Can i directly call MB5B transaction in my Report and get closing stock value?
    Thanks & Regards,
    Pankaj

    Hello Pankaj,
    In your Customised Report use MKPF and MSEG table
    MKPF ----->  Material and date range as the input
    Then Pass Material document number from MKPF to MSEG table
    MSEG ----->  based on material document number from mkpf
    Create Temporary  variable
    values comes from the mseg where have credit and debit entries
    if debit entry "S" then subtract the values of the Mseg table from the temporary variable1
    if credit entry "H" then Add the values of the mseg table to the temporary variable2
    finally Add the temporary variable1 and temporary variable 2 and get the total stock.

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Error while creating interest rate instrument-Tcode-FTR_CREATE.

    Error while creating interest rate instrument-Tcode-FTR_CREATE.
    Thanks
    Vikas

    Hi Tushar
    Please maintain the detail in TPM 32
    Product category
    Product type
    General valuation class
    Account assignment reference
    Regards

  • Error while running the tcode....EASISI  -----  IS-UTILITIES

    hi,
    I am trying to execute the tcode EASISI with a varient.....
    All the proper values are given to....... Simulation From,Simulate To,Document Date,Posting Date,Installation,Invoicing simulation,Simulate invoic. for ind. doc., and Billing simulation.
    When I run with these parameters assigned,the Simulation is getting terminated with the message
    "Field Base Unit of Measure must be blank (Account 0000800500 MYUC)' and "Invoicing of invoicing unit (account 4) terminated'.
    I checked the UOM in the account specified and it was blank there.
    Can anyone guide me....what exactly the problem is and how to solve it...
    Thanks a lot for your valuable time.....
    SRI

    Hi Sri,
    I also got the same error .We have resolved it thru Changing the  include ZXBI1U08 . The code select * into table idberchz_1 should be  replaced with select * into CORRESPONDING FIELDS OF table idberchz_1.
    Hope this will Help you.
    Thanks & Regards,
    Radharaman Haldar

  • Getting "SAPSQL_ARRAY_INSERT_DUPREC" error while creating a new layout

    Hi,
    I deleted a layout from a level.  When I tried to create a new layout with the same technical name, I was getting a run time error.
    Name of the error : SAPSQL_ARRAY_INSERT_DUPREC
    Exception           : CX_SY_OPEN_SQL_DB
    I went to ST22 and analyzed the dump.  I found that the entries for the layout that I deleted were still present in the following 2 tables:
    1) UPP_PARAMT
    2) UPP_ELEMT
    My questions are:
    1) Is there any possibilities that I can retrive the layout that I deleted with the help of the entries present in the above tables?
    2) Can I remove the entries from these two tables so that I can create a new layout with the same technical name?
    Thanks,
    Seetharaman V

    Hi Matt
    Thanks for your comments.  I was getting this error while trying to save the new layout i created and not during the creatiion.
    Thanks,
    Seetha

  • Error in creation of stock thro Tcode MB1C

    Hi,
    while  creation of stock thro  Tcode MB1C i got the error posting period mentioned as 12/2002 to 11/2002.
    I tried using Tcode OMSY to update my company's period and year as current year but it is grayad out.
    Please advise
    Regards
    Ramya

    Hi,
    OMSY setting is used only for once & for all to fix up the Initial Period and Year for a company code for material management. After setting in OMSY, nobody should touch this setting.
    Now 1st check in MM side in MMRV t.code which period open for your company code & back posting allowed or not. If period 11 & 12 not open, you can open in t.code MMPV
    And also check in FI Side in t.code OB52 which period is open for in all Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts types . If periods 11 & 12 not open, you can open for all account types.
    Note:
    Check your fiscal year variant for your company code in OBY6 t.code. If it is K4 , then open periods {Period start from January(01) & end in December(12)}. If it is V3 , then your periods {Period start from April(01) & end in March (12)}
    Regards,
    Biju K

  • Error While selecting Layout option in tcode SFP

    Hi
    I am getting the below error when i select the layout option in tcode SFP.
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Also read SAP Note 801524.
    How to resolve this error?
    Regards,
    Abdul Hakim

    Hi Hakim,
    See the sap note below:
    Symptom
    Presentation CD 1 "SAP GUI for Windows 6.40" Compilation 3 references this note for additional components.
    For information about where to find the successive version of the installation component
    "Forms Design Tool" - "Adobe Forms Designer"
    refer to Note 962763.
    Reason and Prerequisites
    This note describes two possible installation procedures:
    Direct installation on the workstation
    Update installation server (for administrators)
    Solution
    Direct installation on the workstation
    Product: "SAP Interactive Forms" - "Adobe LiveCycle Designer"
                  Start "ALDsetup. exe" directly on your workstation. If you had already installed an older version of "Adobe Designer 6.0" using "SAP GUI" or "SAP NetWeaver Development Studio", you first need to delete the older "Forms Design Tool" version in the corresponding installation.
    Update installation server:
    If you have integrated an SAP GUI installation server with
    6.40 Compilation 3
    6.40 Compilation 2
    6.20 Compilation 6
    you can add the following product:
    Product: "SAP Interactive Forms" - "Adobe LiveCycle Designer":
                  To do this, start the program
                  "..\setup\ALDtoGUIServer.exe"
                  and specify the network path for an existing SAP GUI installation server. After this procedure, you can see the new "Interactive Forms" component in the component selection dialog box of the SAP GUI installation when you attach a new installation package with SAPAdmin. The installation on the workstation is then started as usual using "setup.exe" or "netsetup.exe".
    Caution:
    Some files on your existing installation server may still be write-protected (read-only).
    Make sure that all files in the two directories
    "...\Adobe\"
    "...\Common Files\"
    are not write-protected.
    To do this, open a DOS box (input request) and switch to the directory of the installation server and set
    attrib -r /s "Common Files\*.*"
    attrib -r /s "Adobe\*.*"
    before you start "..\setup\ALDtoGUIServer.exe".
    Otherwise, you may receive the following error message:
    "... .cab cannot be extracted. It may be corrupt."
    Regards,
    Md Ziauddin

Maybe you are looking for