cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ST22 dump SAPSQL_ARRAY_INSERT_DUPREC

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> 1 of the (Include program "LSBAL_DB_INTERNALU02 ".

Try the following:

open http://service.sap.com/notes

Search for "LSBAL_DB_INTERNALU02"

Markus

Former Member
0 Kudos

Hi ,

I am getting this problem only in test system and not in Dev or Production systems.

Regards

Veera

Former Member
0 Kudos

Check Note 196113 - SAPSQL_ARRAY_INSERT_DUPREC, BALHDR

BTW: You need to search before you post on SDN.

Answers (0)