on 06-27-2012 7:36 AM
Hi, i am getting short dump in SAP sapsql_array_insert_duprec cx_sy_open_sql_db
Category | ABAP Programming Error | ||||||||
Runtime Errors | SAPSQL_ARRAY_INSERT_DUPREC | ||||||||
Except. | CX_SY_OPEN_SQL_DB | ||||||||
ABAP Program | SAPLCLVF | ||||||||
Application Component | CA-CL-CL |
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 "SAPLCLVF" 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.
System environment
SAP Release..... 702
SAP Basis Level. 0011
Application server... "GVAAPD01"
Network address...... "10.69.48.31"
Operating system..... "Windows NT"
Release.............. "6.1"
Hardware type........ "24x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 16
Shortdump setting.... "full"
Database server... "GVAAPD01\AD2"
Database type..... "MSSQL"
Database name..... "AD2"
Database user ID.. "ad2"
Terminal.......... "WGVA-W7E-P08758"
Char.set.... "C"
SAP kernel....... 720
created (date)... "Feb 20 2012 19:16:38"
create on........ "NT 5.2 3790 S x86 MS VC++ 14.00"
Database version. "SQL_Server_9.00 "
Patch level. 200
Patch text.. " "
Database............. "MSSQL 9.00.2047 or higher"
SAP database version. 720
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0, Windows NT 6.1, Windows NT 6.2"
Memory consumption
Roll.... 0
EM...... 4189792
Heap.... 0
Page.... 16384
MM Used. 3418224
MM Free. 768896
User and Transaction
Client.............. 630
User................ "DV2R900"
Language key........ "E"
Transaction......... " "
Transaction ID...... "98D3BEE10D40F1A9BD190017A477003E"
EPP Whole Context ID.... "0017A477003E1EE1AFDA3DD8027F9D19"
EPP Connection ID....... "A2D3BEE1CD70F1DABD190017A477003E"
EPP Caller Counter...... 392
Program............. "SAPLCLVF"
Screen.............. "RSM13000 3000"
Screen Line......... 2
Debugger Active..... "none"
Information on where terminated
Termination occurred in the ABAP program "SAPLCLVF" - in "PFLEGEN_ALL_TABS".
The main program was "RSM13000 ".
In the source code you have the termination point in line 32
of the (Include) program "LCLVFF10".
The program "SAPLCLVF" was started in the update system.
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "PFLEGEN_ALL_TABS" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "SAPLCLVF "; its source code begins in line
6 of the (Include program "LCLVFF10 ".
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 "PFLEGEN_ALL_TABS" "(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.)
Please help me with this.
Do you also have Update failure for this in SM13 ??
please check SAP Note for this problem.. it will depend on you support pack level.
What is Support Packages level for SAP_ABA and SAP_APPL ?
Note 819596 - Copying class: termination SAPSQL_ARRAY_INSERT_DUPREC
Note 677506 - Copy routing: Termination SAPSQL_ARRAY_INSERT_DUPREC
Note 649407 - BAPI_OBJCL_CHANGE: Termination SAPSQL_ARRAY_INSERT_DUPREC
Regards
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello xyz a,
we have exactly the same problem here. You signed Ashish Vikas reply as the correct answer, but the SAP notes indicated are not applicable with my software levels (and neither with yours, from the dump you attached)
SAP_BASIS 701
SAP_ABA 701
SAP_APPL 604
Could you please tell us exactly how you solved the issue?
Best Regards,
Valerio
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.