Error 00671 ABAP/4 Processor SAP SQL-ARRAY_Insrt_Duprec

Hi Guys,
The user has started transaction VA02 and has added materials to existing order. Then when she clicked the save button, She got the message changes have been saved.
After that she got the express mail with ABAP/4 error message: SAPSQL_ARRAY_INSERT_DUPREC. All her changes were actually not saved and she has to dothe work again.
We already got the dump file in ST22 but we actually do not know how to check where the error occur. We also check if we could get a SAP note (formerly known as OSS) but were already implemented.
Please help me guys. Thank you.
Bluetag

Hi,
The reason for this is duplicate records in a table, which SAP does not allow. Common reasons for this dump are:
1. Number range reset for the Sales Order number
2. User-exits causing multiple records of partners
Most common cause is incorrect coding in user-exits.
More analysis is possible only if you provide the programs where this error occurs, i.e. the lines similar to below:
"RAISE_EXCEPTION" " "
"SAPLCVV5" or "LCVV5U02"
"CVV5_EVENT_START_DISTRIBUTION"
Regards
Nikhilesh

Similar Messages

  • ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

    When I created an Purchase Requistion via PS, I cannot save the requistion, the first message I from SAP office express is Update was terminated, and the error message information is as follows:
    ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    What can be the problem?
    Thank you.

    It seems there is a problem with PR number range....systems generate a PR number which is already existing in database....someone might have changed the number range....you may check that.

  • Is it possible to write an abap code be SAP SQL query.(ECC 6)

    hello guys,
    Is it possible to write an abap code be SAP SQL query.
    Scenario : table A has a field say f1 of length 10 and table B has a field say s1 of lenght 20. in sap sql i am able to link all the other tables but i am not able to link
    table Af1 --->Table Bs1. as the length doesnot match. so is it possibel that using abap code I can pick 10 characters from table A field f1 adjust it to 20 characters using abap and map it to field s1 of table B.
    Please let me know how to accomplish this if possible.
    thanks in advance!!

    Herm,
    Adding code is done in the infoset.
    Please do following:
    > Goto SQ02
    > Type in the infoset that the basis for your query, <change>
    > Press <code> OR <shift><f8>
    > Tou'll see 4 tabs: Extras, Selections, Code, Enhancements.
    > GoTo tab Code
    > Choose the coding section (<f4> gives you an overview)
    > Enter the code.
    You may set a breakpoint to see what the query in SQ01 will do with it.
    Succes!
    Frank

  • Error: 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

    Hi Guys,
    I am trying to update the below transaction:
    SPRO - Financial Accounting - Financial Accounting Global Settings - Tax on sales/purchases - Calculation - Settings for tax calculation in Brazil - Define FI/MM tax codes
    But an error occurs after I save and generate the SAP request.
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Does anyone know how I can figure out it?
    Thanks
    Daniel Dorta

    Hi,
    very the following Notes which can point to a solution:
       734545     Cond.-Based Tax Calc: Shortdump when deleting defau
       716654     Error in Condition Consistency Tool J_1B_CBT_CONSIS
       686780     Consistency of Condition Tables of BR Tax Calculati
    You can try to search more notes belonging to brazilian localization (xx-csc-br)

  • Error import ABAP in setup sap system

    Dear experts!
    Now, I'm getting some issue about setup the sap system.
    when I setup the sap system, to step of import abap, I get description the issue according the following:
    An error occurred while processing option SAP Business Suite 2005 > SAP ERP 6.0 Support Release 3 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You can now:
    Choose Retry to repeat the current step.
    Choose Log Files to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/BS2005/ERP60SR3/AS-ABAP/ORA/CENTRAL/.
    Help me to process the issue.
    Best regards, Huy

    Dear you!
    when i open log file the system display content according the following:
    ERROR: 2014-06-04 14:22:34 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL1' import package is interrupted with R3load error.
    Process 'C:\usr\sap\PIE\SYS\exe\uc\NTAMD64\R3load.exe -i SAPAPPL1.cmd -dbcodepage 4103 -l SAPAPPL1.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPAPPL1.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2014-06-04 14:22:34 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL2' import package is interrupted with R3load error.
    Process 'C:\usr\sap\PIE\SYS\exe\uc\NTAMD64\R3load.exe -i SAPAPPL2.cmd -dbcodepage 4103 -l SAPAPPL2.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPAPPL2.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    ERROR: 2014-06-04 14:22:34 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is interrupted with R3load error.
    Process 'C:\usr\sap\PIE\SYS\exe\uc\NTAMD64\R3load.exe -i SAPAPPL0.cmd -dbcodepage 4103 -l SAPAPPL0.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPAPPL0.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2014-06-04 14:22:56
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2014-06-04 14:22:56
    3 error(s) during processing of packages.
    INFO: 2014-06-04 14:22:56
    Import Monitor is stopped.
    Help me to process the issue!
    Best regard, Huy

  • 671 ABAP/4 processor: SAP SQL_ARRAY_INSERT_DUPREC

    i'm getting this message everytime i try to post something(f-02, vendor/ miro/migo) any type of entry.
    can someone please explain this to me? the message is too technicalfor me to comprehend. so i hope the solution isnt that technical..
    points will be gratitiously rewarded. thanks

    The program ran fine without problems but it didnt fix anything.  This is the message you wanted. Do you also want the source code extract?
    error analysis
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          06.02.2012 20:48:12
         Short text
              The ABAP/4 Open SQL array insert results in duplicate database records.
         What happened?
              Error in the ABAP Application Program
              The current ABAP program "SAPLGLIU" had to be terminated because it has
              come across a statement that unfortunately cannot be executed.
         What can you do?
              Note down which actions and inputs caused the error.
              To process the problem further, contact you SAP system
              administrator.
              Using Transaction ST22 for ABAP Dump Analysis, you can look
              at and manage termination messages, and you can also
              keep them for a long time.
         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 "INS_FAGLFLEXA" "(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.)
         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"
              "SAPLGLIU" or "LGLIUF1A"
              "INS_FAGLFLEXA"
              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
              "INS_FAGLFLEXA" "(FORM)", or its possible occurrence must be declared in the
              RAISING clause of the procedure.
              To prevent the exception, note the following:
         System environment
              SAP-Release 700
              Application server... "gcecc62"
              Network address...... "192.168.10.1"
              Operating system..... "Windows NT"
              Release.............. "5.2"
              Hardware type........ "Intel 80686 (Mo"
              Character length.... 16 Bits
              Pointer length....... 32 Bits
              Work process number.. 6
              Shortdump setting.... "full"
              Database server... "GCECC62"
              Database type..... "ORACLE"
              Database name..... "ECC"
              Database user ID.. "SAPSR3"
              Char.set.... "C"
              SAP kernel....... 700
              created (date)... "Aug 29 2006 00:18:21"
              create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
              Database version. "OCI_10201_SHARE (10.2.0.1.0) "
              Patch level. 75
              Patch text.. " "
              Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
              SAP database version. 700
              Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
              Memory consumption
              Roll.... 8176
              EM...... 3135672
              Heap.... 0
              Page.... 0
              MM Used. 2660632
              MM Free. 473408
         User and Transaction
              Client.............. 800
              User................ "SAPUSER"
              Language key........ "E"
              Transaction......... "FB01 "
              Program............. "SAPLGLIU"
              Screen.............. "RSM13000 3000"
              Screen line......... 2
         Information on where terminated
              Termination occurred in the ABAP program "SAPLGLIU" - in "INS_FAGLFLEXA".
              The main program was "RSM13000 ".
              In the source code you have the termination point in line 1199
              of the (Include) program "LGLIUF1A".
              The program "SAPLGLIU" was started in the update system.
              The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
              procedure "INS_FAGLFLEXA" "(FORM)", but it was neither handled locally nor
               declared
              in the RAISING clause of its signature.
              The procedure is in program "SAPLGLIU "; its source code begins in line
              1184 of the (Include program "LGLIUF1A ".

  • Error in ABAP Mapping (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION)

    Hi ,
      Scenario:  Manually Purchase Order is created, automatically Sales Order should be created in the Target System through PI,
                       I have used Message Mapping which is working fine for single Customer and Vendor,
                       For Multiple Customers and Vendors i am using one ZTABLE, Only Message Mapping is not  sufficient to my requirement.
                      Now i am using both Message Mapping and   ABAP Mapping  at a time in Interface Mapping. I created the class and                done  the   development., whene  i run the scenario i am getting the error as below,
    *<SAP:Stack>Error in mapping program ZCL_SD_IDTO_POSO (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference</SAP:Stack>*
      *<SAP:Retry>M</SAP:Retry>*
      *</SAP:Error>* 
    Please let me know.
    Best Regards
    Vamsi

    Have u seen the ABAP mapping guide?
    Refer this series to the ABAP mapping section.https:///people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    It will be very handy and useful.

  • Error in ABAP Objects program - SAP BI

    Dear All,
    While trying to update infoobject /BIC/ZGROSSPRI in an ODS in BI through an update routine, a syntax error is thrown when I am trying to define a variable of type tys_TG_1-/BIC/ZGROSSPRI. How is it possible to define a variable of type target field(Infoobject) ?
    For instance,
    DATA: VALUE TYPE tys_TG_1-/BIC/ZGROSSPRI.
    The error is :
    E:Field "_ty_s_TG_1-/BIC/ZGROSSPRI" is unknown. It is neither in one of the
    specified tables nor defined by a "DATA" statement. "DATA" statement.
    tys_TG_1-/BIC/ZGROSSPRI is already defined in the Class section as below
    TYPES:
    BEGIN OF tys_TG_1,
    InfoObject: ZGROSSPRI Gross Price in Statistical Currency.
    /BIC/ZGROSSPRI TYPE /BIC/OIZGROSSPRI,
    END OF tys_TG_1.
    Moderator message: please use a more meaningful subject line next time!
    Edited by: Thomas Zloch on Apr 10, 2010 7:03 PM

    Hi,
    Please use :
    DATA: VALUE TYPE /BIC/OIZGROSSPRI.
    -Vikram

  • Info spoke error : ABAP/4 processor: DATASET_NOT_OPEN

    HI all,
    We have Infospoke with
    Data source: 0MATERIAL and
    Destination : BW_MAT
    In process chain after this infospoke is filled we have ABAP Program
    to Transfer Material Data.
    In process chian the load is successfull till infospoke but failed at the ABAP Program with error
    Error Mesg : ABAP/4 processor: DATASET_NOT_OPEN
    Job shows cancelled in Batch monitor.
    HOw to sole this problem ? I can learn more from your responses.

    I think there is some problem with your ABAP program.
    Have you used OPEN DATASET statement, if so check if you have mentioned file path etc correctly.
    Can you try debugging the code.
    Hope this helps.

  • NoClassDefFoundError: com/sap/sql/log/OpenSQLException

    I have developed a Java project. It consists of 2 SQLJ files and then a Java class. When I try to execute the Java program, I get a Java error:
    java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException
         at com.mbb.crrs.business.report.dao.ReportDAO.<init>(ReportDAO.sqlj:23)
         at com.mbb.crrs.business.report.dao.Test.main(Test.java:24)
    Exception in thread "main"
    I notice a similar problem on message: Re: Which jar to include com.sap.sql.log.OpenSQLException
    Is that something that I need to maintain for it to work? Thank you.

    Hi,
    the problem one year ago was that the SQLException class was not available through remote access. I don't know if that might have been changed meanwhile in the latest release.
    I implemented a simple work around: I caught every SQL-exception in the method where it was thrown, wrapped the exception message and any nested exception in a self written exception and threw this new exception. That worked fine.
    Regards, Astrid

  • ABAP/4 processor : ASSIGN_TYPE_CONFLICT

    I am recieveing this error message ABAP/4 processor : ASSIGN_TYPE_CONFLICT  when i ran a DTP from a flat file datasource
    to the data source object (DSO) Can someone help me ?? please...

    Hi,
    if you have written some own code in transformation please make sure that you are using fields witch have the same data type...
    ASSIGN_TYPE_CONFLICT
    DTP -ASSIGN_TYPE_CONFLICT
    DTP failure
    Regards
    Andreas

  • SAP Ecc6.0 Installation error during ABAP Import Phase 20 of 24

    While I am installing SAP ECC 6.0 with Original DVD. I am getting some Issues.
    I had finished upto 4 stpes .  and after that IMPORT ABAP, showing error in " Log files are written to C: Program files:sapinst......"
    Please Retry , View Log & Stop.
    I am clicking Retry again it will be come same issue. Please Let me know.
    Log Files Name - "ABAP Processors of Instances SID\DVEMGS00"

    Still I am getting same problem in mine SAP ECC6.0 Installation.
    In Abap Instance Phase 20 of 24.  Error in ABAP Instance. I check the mmc.
    Disp+work is in Gray Color. Remainiing Server Green Color. After Few minutes it will stopped in Work Process.
    Still Going Installation for same Process.
    Let me know.

  • Error in Automatic Payment Program : ABAP/4 processor : GETWA_NOT_ASSIGNED

    Hi SAP gurus,
    I'm currently implementing automatic payment using DME to generate a text file, in a format that is specified by HSBC.
    I read some articles about this topic and I have done these steps:
    I created DME Format Tree (just a demo format tree).
    I created a new Payment Media Format
    Set up Payment Method and Assigned Payment Media Format.
    But finally it didn't work.
    After I run F110, the posting was okay but no Data Media File was created. The end of Job Log Entry look like below:
    "Step 002 started (program SAPFPAYM_SCHEDULE, variant &0000000001977, user ID DANGNH)
    ABAP/4 processor : GETWA_NOT_ASSIGNED
    Job cancelled"
    I don't understand why it won't work. Does anyone here have any suggestion for this problem.
    Thanks and regards.
    HaiDang.
    Edited by: Maxielight on Jun 28, 2010 2:14 PM

    Dear Madhu,
    I have followed your suggestion but It didn't work. I used transaction SE38 to run RGZZGLUX as yousuggested.
    I used ST12 to analyse runtime errors and the analysis information look like below:
    Short text
          Field symbol has not yet been assigned
    What happend?
          Error in the ABAP Application Program.
          The current ABAP program "SAPLDMEE2_ABA" had to be terminated because it has come across a statement
          that unfortunately cannot be executed.
    Error Analysis
          You attempted to access an unassigned field symbol (Data Segment 8)
    Any suggestion?
    Maxielight.

  • Error :  00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT

    hi all
    i am getting update termination while saving PO
    when i goto SM13 an dble click on error get following
    1  ME_CREATE_DOCUMENT             V1                   Initial
    2  EINKBELEG_WRITE_DOCUMENT       V1                   Initial
    3  MCE_STATISTICS_UPD_V1          V1                   Initial
    4  MCE_STATISTICS_UPD_V2          V2                   Initial
    5  ME_CREATE_MRPRECORD_PO         V1                   Initial
    6  ME_UPDATE_QUOTA_DIALOG         V1                   Initial
    7  RV_MESSAGE_UPDATE              V1                   Error
    after clicking the 7 item getting following
    Function Module        RV_MESSAGE_UPDATE
    Status                 Update was terminated
    Report                 LSYDBU27
    Row                    7
    Error details   Class:     00         Number:    671
    00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT
    plz help me out
    regards
    kunal

    we just deleted and created  the conditon records for printing in NACE for neu and then DB02 updated
    Edited by: SAP Learner on Dec 22, 2009 1:20 PM

  • Report giving error when scheduled in background (ABAP/4 processor:PERFORM)

    Dear Freinds,
               I have written a custom program and iam not able schedule in background, if check in SM37 the job getting canceleld and found as the error ABAP/4 processor: PERFORM_NOT_FOUND.
    Please could you let me know should i specify in my custom program for get sucessfully run in background . or could any one please let me know any setting should be done for my custom program
    regards
    madhuri

    Hi
         when i run in foreground it is working perfectly. The Spool is not getting created.
    regards
    madhuri
    Edited by: madhuri_2000 kumari on Nov 26, 2008 2:00 PM

Maybe you are looking for

  • Photo Quality

    Quite disappointed with the camera on the phone. I can live with no zoom, no flash and not being able to send any photos I've taken by either MMS or bluetooth. I could even live with not being able to take pictures in dark places such as at a concert

  • Assignment of Travel Workflow for ESS

    Hi, If i'm using a customized workflow for travel in ess and not the standard workflow WS20000050, where do I make the assignment for it?

  • Loading data from MS Sql to Oracle.

    Hi, While executing interface I am getting following error: Caused By: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1.      at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:294)      at com.sunop

  • Java.swing & linux

    I've tried to compile this program using javac compiler import javax.swing.*; public class HelloWorldSwing { public static void main(String[] args) { JFrame frame = new JFrame("HelloWorldSwing"); final JLabel label = new JLabel("Hello World"); frame.

  • YYYYMMDDUUMMSS ?

    Hi, How to get this in an variable without - of : YYYYMMDDUUMMSS date and time. Adibo.