Skip to Content
0
Former Member
Oct 28, 2015 at 05:56 AM

SAPSQL_ARRAY_INSERT_DUPREC Dump in SAPLCLVF program for CA-CL-CL component

915 Views

hello All,

have googled this st22 error but found no exact answer for the Dump happening while creating the Equipment using IE01

Dump data:

Dump data

Category ABAP Programming Error

Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC

Except. CX_SY_OPEN_SQL_DB

ABAP Program SAPLCLVF

Application Component CA-CL-CL

Date and Time 27.10.2015 11:35:53

Short text

The ABAP/4 Open SQL array insert results in duplicate database rec

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLCLVF" had to be terminated because i

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.

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.)

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 ".

can some one help me how to resolve this Dumps for IE01 tcode

we have observed that same object number is available in KSSK and even we are getting confirmation message like equipment is created but then its is ending up with Dump in the system.