SAPSQL_ARRAY_INSERT_DUPREC dump in MFBF
Dear All,
i am getting a problem in MFBF, when we post the document, this gives me
the document successfully posted massage with the document number. But
when we check the document number in MF12 & MB03, There is no document
on that document number.
I have check the short dump, there is a dump in ST22 with
name u201CSAPSQL_ARRAY_INSERT_DUPRECu201D.
Also when i check the update request, there is also a update request
with error.
I have applied the support pack on our server last night that may be
the reason. I have applied SAP_HR 470 from 86 to 91 & SAP_APPL 470
from 29 to 30.
Plz help.
Thanks with regards,
Ankit
Dear,
Please check the number range?It is data base releated problem so take help from technical person some SAP notes are also available please go through it like 1041098.
Regards,
R.Brahmankar
Similar Messages
-
SAPSQL_ARRAY_INSERT_DUPREC dump while saving PO in ME22N
Hi All,
SAPSQL_ARRAY_INSERT_DUPREC dump while updating PO in ME22N.
Error analysis
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
"/SAPSLL/OBJIDX_DB_UPDATE_R3" "(FUNCTION)"
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.
I tried to find SNOTE for this, but cannot find for ECC5.0. Can anybody help.
Thanks.This occurs because you try to insert a data with a key that already exists on the database.
I had once a similar problem with ME22 and I solved it by debugging and discovering which was the corrupt data. I think there was an error during PO savingand not all data was inserted, leaving some inconsistent data in tables. Later, when you try to save the purchase order, a data with same key is generated and tried to be inserted. If this is your case, you have two options: complete the data manually (inserting data in necessary tables) or delete the inconsistent data.
Regards. -
Hi Folks,
Users getting the frequent dumps in production systems. actaully we observed that dumps are coming when the users accessing the MFBF transaction manually when the batch job was running for backflush and NRIV (number ranges) table is getting locked.
The dump details is:
ABAP/4 runtime error DBIF_RSQL_SQL_ERROR
Occurred on 16.04.2007 at 15:57:10
>> Short dump has not been completely stored. It is too big.
SQL error 60 occurred when accessing table "NRIV ".
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPLSNR3" in
"READ_NRIV".
The main program was "SAPLBARM".
The termination occurred in line 231
of the source code of program "LSNR3F01" (when calling the editor 2310).
The error occurred during batch input processing
Source code extract
002010 NRIV-TOYEAR = BNRIV-TOYEAR.
002020 G_FOUND = YES.
002030 WHEN 4.
002040 WHEN OTHERS.
002050 G_ERROR_IN_BUFFER = YES.
002060 ENDCASE.
002070 ENDIF.
002080
002090 IF BUFFER_ACTIVE = NO OR G_ERROR_IN_BUFFER = YES.
002100 * Die Pufferversion ist nicht aktiv oder es wurde bereits
002110 * ein Fehler im Puffer oder NrKreisServer festgestellt.
002120 * Gⁿltiges NrKreisIntervall mit Bis-GeschΣftsjahr aus der
002130 * DB ermitteln
002140 *
002150 SELECT * FROM NRIV WHERE OBJECT = P_OBJECT
002160 AND SUBOBJECT = P_SUBOBJECT
002170 AND NRRANGENR = P_NR_RANGE_NR
002180 AND TOYEAR >= P_TOYEAR
002190 ORDER BY PRIMARY KEY.
002200 G_FOUND = YES.
002210 EXIT.
002220 ENDSELECT.
002230 ENDIF.
002240
002250 IF G_FOUND = YES.
002260 * Intervall lesen, um zu sperren
002270 SELECT SINGLE FOR UPDATE * FROM NRIV WHERE
002280 OBJECT = NRIV-OBJECT
002290 AND SUBOBJECT = NRIV-SUBOBJECT
002300 AND NRRANGENR = NRIV-NRRANGENR
> AND TOYEAR = NRIV-TOYEAR.
002320 IF SY-SUBRC <> 0.
002330 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002340 P_NR_RANGE_NR.
002350 ENDIF.
002360 ELSE.
002370 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002380 P_NR_RANGE_NR.
002390 ENDIF.
002400 ENDIF.
002410
002420 IF NRIV-EXTERNIND <> SPACE.
002430 MESSAGE E752 RAISING NUMBER_RANGE_NOT_INTERN.
002440 ENDIF.
002450
002460 * LΣnge (maximale Anzahl Stellen) der Nummern berechnen
002470 G_NR_LENGTH = STRLEN( NRIV-FROMNUMBER ).
002480
002490 * Nummern in numerische Felder fⁿr spΣtere Berechnungen ⁿbernehmen
002500 ASSIGN NRIV-FROMNUMBER(G_NR_LENGTH) TO <G_F>.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 1
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 32 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Any help will get full points.
Regards
TAJUDDINHi Prabhu,
This problem is in 3.1i for which there is no SAP note. Notes are available for 4.6c.
Is there any possibility that we can modify the SAP note of 4.6c and implement in 3.1i?
Regards
TAJUDDIN -
ABAP Program Giving SAPSQL_ARRAY_INSERT_DUPREC Dump While Inserting Entries
Hi Experts,
I had z table in which i had made three fields as primary key combination , i also had a custom program in which i am inserting values into the z table using Insert statement. during the execution of the program it is going for a short dump giving "SAPSQL_ARRAY_INSERT_DUPREC" With Exception CX_SY_OPEN_SQL_DB.
The Delivery Class of the Table is "C".
The thing is that i want if 1st field is "ORG ID" second Field is "Material" & the third field is "Type Id". then the system should allow entries like
ORG ID
Material Id
Type Id
|"0001" | "100'' | "R1" |
"0001"
"100''
"R2"
|"0001" | "100'' | "R3" |
"0001"
"100''
"R4"
Is there any OSS note for Corrections.
Thanks & regards
Priyesh Shah.Hi
Are you sure your table has those 3 fields as key fields?
I means you make sure the fields: ORG ID, Material Id, Type Id are key fields.
If you are sure the internal table has not duplicated records and your z-table is empty: It can only suppose some field is not a key.
If you have made some modification, try to check the database defination of your z-table is equal to dictionary defination
Max -
Unable to create delivery - SapSql_ARRAY_INSERT_DUPREC
Hi experts,
I have searched thru threads relating to the error in creating delivery but still no solution. I wonder if anyone has come acorss this issue ? I have created a sales order. Then I try to create delivery using VL10A or VL10 or VL01N. THe update is terminated with error 'SAPSQL_ARRAY_INSERT_DUPREC.
In the delivery, i deleted an output type designated for Fax before saving the delivery. After saving, it shows the delivery doc number but the doc is never created. If i don't delete the output type, then i don't get the error. The error refers to sap program like SAPLV05I or LV05UI15 or SD_Partner_Update.
I try to put a breakpoint in these sap programs but it did not go there. Pls offer any suggestions you may have. Thank you. JoyceDear Joyce
Have you checked these threads ??
[SAPSQL_ARRAY_INSERT_DUPREC|DUMP "SAPSQL_ARRAY_INSERT_DUPREC" WHILE MODIFYING A SALES ORDER]
[SAPSQL_ARRAY_INSERT_DUPREC|SAPSQL_ARRAY_INSERT_DUPREC - ABAP runtime error]
thanks
G. Lakshmipathi -
hi experts,
Actually in the transaction CJ20N,my user manually deleted the lines(110,120) in the external activity table but the entry they have put in that corresponding lines exists in the database table (ESKL) so if they want to put new entry in that line it s throwing the error 'Unable to insert duplicate entries in the table ESKL'.
Could you please help me out ot solve this issue?
Thanks & Regards,
R.Dhineshraj.'Please review this Sap Note:
Note 1329089 - CJ20N/IW32: SAPSQL_ARRAY_INSERT_DUPREC dump during update
Best Regards -
Hi Folks,
Users getting the frequent dumps in production systems. actaully we observed that dumps are coming when the users accessing the MFBF transaction manually when the batch job was running for backflush and NRIV (number ranges) table is getting locked.
The dump details is:
ABAP/4 runtime error DBIF_RSQL_SQL_ERROR
Occurred on 16.04.2007 at 15:57:10
>> Short dump has not been completely stored. It is too big.
SQL error 60 occurred when accessing table "NRIV ".
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPLSNR3" in
"READ_NRIV".
The main program was "SAPLBARM".
The termination occurred in line 231
of the source code of program "LSNR3F01" (when calling the editor 2310).
The error occurred during batch input processing
Source code extract
002010 NRIV-TOYEAR = BNRIV-TOYEAR.
002020 G_FOUND = YES.
002030 WHEN 4.
002040 WHEN OTHERS.
002050 G_ERROR_IN_BUFFER = YES.
002060 ENDCASE.
002070 ENDIF.
002080
002090 IF BUFFER_ACTIVE = NO OR G_ERROR_IN_BUFFER = YES.
002100 * Die Pufferversion ist nicht aktiv oder es wurde bereits
002110 * ein Fehler im Puffer oder NrKreisServer festgestellt.
002120 * Gⁿltiges NrKreisIntervall mit Bis-GeschΣftsjahr aus der
002130 * DB ermitteln
002140 *
002150 SELECT * FROM NRIV WHERE OBJECT = P_OBJECT
002160 AND SUBOBJECT = P_SUBOBJECT
002170 AND NRRANGENR = P_NR_RANGE_NR
002180 AND TOYEAR >= P_TOYEAR
002190 ORDER BY PRIMARY KEY.
002200 G_FOUND = YES.
002210 EXIT.
002220 ENDSELECT.
002230 ENDIF.
002240
002250 IF G_FOUND = YES.
002260 * Intervall lesen, um zu sperren
002270 SELECT SINGLE FOR UPDATE * FROM NRIV WHERE
002280 OBJECT = NRIV-OBJECT
002290 AND SUBOBJECT = NRIV-SUBOBJECT
002300 AND NRRANGENR = NRIV-NRRANGENR
> AND TOYEAR = NRIV-TOYEAR.
002320 IF SY-SUBRC <> 0.
002330 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002340 P_NR_RANGE_NR.
002350 ENDIF.
002360 ELSE.
002370 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002380 P_NR_RANGE_NR.
002390 ENDIF.
002400 ENDIF.
002410
002420 IF NRIV-EXTERNIND <> SPACE.
002430 MESSAGE E752 RAISING NUMBER_RANGE_NOT_INTERN.
002440 ENDIF.
002450
002460 * LΣnge (maximale Anzahl Stellen) der Nummern berechnen
002470 G_NR_LENGTH = STRLEN( NRIV-FROMNUMBER ).
002480
002490 * Nummern in numerische Felder fⁿr spΣtere Berechnungen ⁿbernehmen
002500 ASSIGN NRIV-FROMNUMBER(G_NR_LENGTH) TO <G_F>.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 1
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 32 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Any help will get full points.
Regards
TAJUDDINDear All,
Notes are available for 4.6c version. This problem is in 3.1i and for this there is no note. Can we modify this 4.6c note and use in 3.1?
Regards
TAJUDDIN -
Short Dump SAPSQL_ARRAY_INSERT_DUPREC
Hi Experts,
I am getting a the short dump SAPSQL_ARRAY_INSERT_DUPREC after executing report SDRQCR21 at line 1258
INSERT VBBE FROM TABLE DA_XVBBE.
Please help.Did you look for OSS notes for your version ?
33267
SDRQCR21 cancels with duplicate record
25444
SDRQCR21: Recovery of sales and delivery requirements
1023578
SDRQCR21 not fixing when wrong plant or material in VBBE
1562605
CALL_FUNCTION_REMOTE_ERROR SAPSQL_ARRAY_INSERT_DUPREC
Regards,
Raymond -
SAP ST22 dump SAPSQL_ARRAY_INSERT_DUPREC
Hi All,
We are getting dump SAPSQL_ARRAY_INSERT_DUPREC in testing system. SAP basis: 701 and Oracle 10.2.0.2
We are getting this dump from yesterday only and the details of the dump are as mentioned below:
============================================================================================
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 "SAPLSBAL_DB_INTERNAL" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
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 "BAL_DB_INTERNAL_NO_UPDATE_TASK" "(FUNCTION)", 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.)
Information on where terminated
Termination occurred in the ABAP program "SAPLSBAL_DB_INTERNAL" - in
"BAL_DB_INTERNAL_NO_UPDATE_TASK".
The main program was "SWNCCOLL ".
In the source code you have the termination point in line 64
of the (Include) program "LSBAL_DB_INTERNALU02".
The program "SAPLSBAL_DB_INTERNAL" was started as a background job.
Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
Job Initiator.. "BASIS"
Job Number..... 08893100
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "BAL_DB_INTERNAL_NO_UPDATE_TASK" "(FUNCTION)", but it was neither
handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLSBAL_DB_INTERNAL "; its source code begins
line
1 of the (Include program "LSBAL_DB_INTERNALU02 ".
System environment
SAP-Release 701
Application server... "appl543"
Network address...... "122.99.01.88"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "099DER88BN90000"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 27
Shortdump setting.... "full"
Database server... "appl543"
Database type..... "ORACLE"
Database name..... "Q22"
Database user ID.. "SAPSR3"
=====================================================================================================
Also some jobs are cancelled and they are forming the above dump. the detials are:
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 00:43:31
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 02:43:31
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 03:43:31
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 04:43:31
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 05:43:31
SAP_COLLECTOR_FOR_NONE_R3_STAT BASIS Canceled 17.12.2010 06:43:31
**The cancelled job SAP_COLLECTOR_FOR_NONE_R3_STAT generating the above dump at ST22.**
Please suggest us a solution. Thanks in advance!!!
Regards
Veera
Edited by: Veerab on Dec 17, 2010 11:33 AM> 1 of the (Include program "LSBAL_DB_INTERNALU02 ".
Try the following:
open http://service.sap.com/notes
Search for "LSBAL_DB_INTERNALU02"
Markus -
DUMP "SAPSQL_ARRAY_INSERT_DUPREC" WHILE MODIFYING A SALES ORDER
Hi,
when I modify a certain sales order document I get a Dump with the error "SAPSQL_ARRAY_INSERT_DUPREC" in INSERT_POS_IN_DB
Any ideas?
Thanks in advance,
Fi guess...then internal table in which you are inserting a value is a sorted table.
try using:
insert wa into table itab.
or it you are inserting a duplicate record in DB
Edited by: Amit Gupta on Oct 7, 2008 3:56 PM -
Dump error - SAPSQL_ARRAY_INSERT_DUPREC while executing Curr trans task
Hi all,
While executing currency translation task in SEM BCS, we are getting short dump - SAPSQL_ARRAY_INSERT_DUPREC. This error appears only for few consolidation units.
we are on BI7 - SP 17.
Please help me to sort out this issue.
Thanks,
HarryHi,
Usually, such kinds of errors are either
1. consequences of inconsistencies )) in the data basis/ConsArea
or
2. program bugs.
If you thoroughly searched for OSS notes and found nothing relevant,
then,
most likely, the guilty party is #1 == in this case, regenerate everything that may be relevant for the issue,
starting from the data streams, data basis, ConsArea and so on. -
ABAP dump(SAPSQL_ARRAY_INSERT_DUPREC) while creating a delivery
Hello Friends,
I am getting the dump while creating the delivery .The error details are as follows.
The ABAP/4 Open SQL array insert results in duplicate database record
What happened?
The current ABAP/4 program "SAPLV05I " had to be terminated because
one of the statements could not be executed.
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 occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"SAPSQL_ARRAY_INSERT_DUPREC"
"SAPLV05I " or "LV05IU15 "
"SD_PARTNER_UPDATE"
Source code extract
004500 POSNR = I_XVBPA-POSNR
004510 PARVW = I_XVBPA-PARVW.
004520 IF I_YVBPA-STCD1 <> I_XVBPA-STCD1 OR
004530 I_YVBPA-STCD2 <> I_XVBPA-STCD2 OR
004540 I_YVBPA-STCD3 <> I_XVBPA-STCD3 OR
004550 I_YVBPA-STCD4 <> I_XVBPA-STCD4 OR
004560 I_YVBPA-STCDT <> I_XVBPA-STCDT OR
004570 I_YVBPA-STKZN <> I_XVBPA-STKZN OR
004580 I_YVBPA-J_1KFREPRE <> I_XVBPA-J_1KFREPRE OR
004590 I_YVBPA-J_1KFTBUS <> I_XVBPA-J_1KFTBUS OR
004600 I_YVBPA-J_1KFTIND <> I_XVBPA-J_1KFTIND.
004610 MOVE-CORRESPONDING I_XVBPA TO WA_XVBPA3I.
004620 APPEND WA_XVBPA3I TO DA_XVBPA3I.
004630 ENDIF.
004640 ENDIF.
004650 ENDIF.
004660 WHEN UPDKZ_OLD.
004670 IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD OR
004680 DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
004690 YADR-ADRNR = DA_VBPA-ADRNR. COLLECT YADR.
004700 ENDIF.
004710 IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD OR
004720 DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
004730 XADR-ADRNR = DA_VBPA-ADRNR. COLLECT XADR.
004740 ENDIF.
004750 ENDCASE.
004760 ENDLOOP.
004770 UPDATE (OBJECT) FROM TABLE DA_XVBPAU.
004780 UPDATE VBPA3 FROM TABLE DA_XVBPA3U.
004790
> INSERT (OBJECT) FROM TABLE DA_XVBPAI.
004810 INSERT VBPA3 FROM TABLE DA_XVBPA3I.
004820
004830 IF SY-SUBRC > 0.
Could you please suggest me ,what could be the reason for dump and how to avoid dump?
<REMOVED BY MODERATOR>
Thank you in advance,
Arvind.
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PM
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PMHello, I have very same error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Transaction......... "VL01N "
Program............. "SAPLV05I"
Screen.............. "RSM13000 3000"
Screen line......... 2
SAP kernel....... 700
Patch level. 75
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
The ABAP/4 Open SQL array insert results in duplicate database records.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING clause.
I use SAP_APPL SAPKH60006 Support Package
The NUMBER RANGE OBJECT HAS NO ERRORS!
I went trough the zillions of notes all of them affect the old releases.... Please advice.
Patiently yours,
SAP User -
Dump error during CK24 - SAPSQL_ARRAY_INSERT_DUPREC
Hi SAP Gurus,
i am facing problem during the material updation (T.Code CK24). before that i have done the material cost estimation then try to update material master by using t.code CK24. the following dump error occurs:
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 19.06.2008 11:05:00
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 "SAPLKAUP" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
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 "INSERT_TABLES" "(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.)
Missing RAISING Clause in Interface
Program SAPLKAUP
Include LKAUPF01
Row 397
Module type (FORM)
Module Name INSERT_TABLES
Trigger Location of Exception
Program SAPLKAUP
Include LKAUPF01
Row 464
Module type (FORM)
Module Name INSERT_TABLES
Source Code Extract
Line
SourceCde
434
ENDIF.
435
Do not write empty CO document headers for parked documents!!
436
--> ugly coding but it looks like that "empty" headers are
437
possible in some circumstances
438
IF GD_PARKED_DOCUMENT = 'X' AND
439
COBK_INS-SUMBZ = 0 AND
440
COBK_INS-ALEBZ = 0.
441
DELETE COBK_INS.
442
CONTINUE.
443
ENDIF.
444
DELBZ setzen
445
COBK_INS-DELBZ = 0.
446
CPUDT/CPUTM setzen
447
IF COBK_INS-CPUDT IS INITIAL
448
OR COBK_INS-CPUTM IS INITIAL.
449
COBK_INS-CPUDT = SY-DATUM.
450
COBK_INS-CPUTM = SY-UZEIT.
451
ENDIF.
452
TIMESTMP setzen
453
IF COBK_INS-TIMESTMP IS INITIAL.
454
COBK_INS-TIMESTMP = GD_TIMESTMP.
455
ENDIF.
456
USNAM setzen
457
IF COBK_INS-USNAM IS INITIAL.
458
COBK_INS-USNAM = SY-UNAME.
459
ENDIF.
460
Aenderungen merken
461
MODIFY COBK_INS.
462
ENDLOOP.
463
.....COBK verbuchen...................................................
|>>>>>| INSERT COBK FROM TABLE COBK_INS. |
465
noch kein REFRESH fuer COBK_INS -> wird noch fuer ALE gebraucht
466
ENDIF.
467
468
.....ggf. Einzelposten versenden......................................
469
IF NOT ALE[] IS INITIAL.
470
LOOP AT ALE.
471
PERFORM SEND_DOCUMENT USING ALE-KOKRS ALE-BELNR ALE-LOGSYSO.
472
--> COBK_INS, COEP_INS und COEPL_INS werden hier gebraucht!
473
ENDLOOP.
474
REFRESH ALE.
475
ENDIF.
476
477
.....COEP verbuchen...................................................
478
IF NOT COEP_INS[] IS INITIAL AND GB_LATE_COEP_INS <> ON.
479
INSERT COEP FROM TABLE COEP_INS.
480
REFRESH COEP_INS. "REFRESH wird in UPDATE_TABLES gemacht!
481
ENDIF.
482
483
.....COEPL verbuchen..................................................
please help me to overcome this problem.
point will be rewarded
Than'x
DhananjayHi,
Please provide me the solution for the above issue , I am also facing the same, what excatly is the remedy for this.
regards
Ritesh -
hi experts,
I did system copy solman 701. but I found short dump 'SAPSQL_ARRAY_INSERT_DUPREC' per every hour.
I attach part of short dump.
===============================================================================
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Date and Time 2010.09.02 06:14:16
What happened?
Error in the ABAP Application Program
The current ABAP program "GP4II5O0KKJ13RR6R50N44F7KST" had to be terminated
because it has
come across a statement that unfortunately cannot be executed.
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 "WRITE_ICFACT" "(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.)
User and Transaction
Client.............. 001
User................ "SMD_RFC"
Language Key........ "E"
Transaction......... " "
Transactions ID..... "D30DB6DF06D7F16BA277005056AD47D2"
Program............. "GP4II5O0KKJ13RR6R50N44F7KST"
Screen.............. "SAPMSSY1 3004"
Screen Line......... 2
================================================================================================
I think the program GP4II5O0KKJ13RR6R50N44F7KST is related with BW.
I found information of the program GP4II5O0KKJ13RR6R50N44F7KST
Generated report : InfoCube Write
Template......: RSTMPLWIDTP
RSAUInfoCube......: 0SMD_PE2H
Author........: SMD_RFC
Date..........: 16.07.2010 18:56:23
How can I correct ?
thanks and regards
junhi,
thanks your reply.
I applied sapnote 1500227 but still error.
what can I do?
Regards
jun -
Dump SAPSQL_ARRAY_INSERT_DUPREC when loading a hierarchy
Hi Guru's,
I have an error when i try to load a hiearchy on my BI system. I want to load the Cust_sales hierarchy but i ahev a short dump : SAPSQL_ARRAY_INSERT_DUPREC
Any idea ?
Cyrilhi...
it seems you have tried to insert data fro an internal table to database and in the mean it tried to insert duplicate entry ie records with same key fields.
way to solve it:::
way1.
*sort the internal table in use.
sort t_table.
Delete adjecent duplicates.
DELETE ADJACENT DUPLICATE ENTRIES FROM t_table
now proceed.
way2.
loop at the internal table and now go for insert....
if duplicte exist in that case it will set sy-subrc but will not give dump....
regards
Maybe you are looking for
-
Hello, In the transaction OBVCS, there is a section related to the POSTING DETAILS. There are the following fields: - Document type for payment - Clearing document type I'd like to understand when the posting happen with the CLEARING DOCUMENT TYPE. I
-
it happens every time i turn firefox on. FYI: i do have firefox private browsing on (if that makes a difference).
-
How do i get my ipod radio/remote replaced?
I bought my ipod radio/remote back in October and its suddenly stopped working. It is detected by the ipod (classic) as it brings up the radio option on the menu and also the volume up and down controls still work. However none of the other controls
-
What can I use to download YouTube videos to my iMac?
I need to be able to download video from Youtube to my iMac so that I can burn them to DVD. I use the videos in classes that I teach but the download speed at school is sometimes slow and I'd like to have easier access to it. I am new to iMac and I
-
ipod bloqueado por iclud adquirido de segunda mano como lo activo ?