Skip to Content
avatar image
Former Member

Error dump SCM system

I have dump in the SCM system:

Runtime Errors      SAPSQL_ARRAY_INSERT_DUPREC

Exception              CX_SY_OPEN_SQL_DB

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 "SAPLSCSM_BI_UTIL_FUNCTIONS" 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 "CCMSBI_METHODS_SAVE" "(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.)

Best Regards,

Eli Daniel

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 10, 2012 at 04:46 AM

    hi,

    please check the below note..

    Note 196113 - SAPSQL_ARRAY_INSERT_DUPREC, BALHDR

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 09, 2012 at 08:24 PM

    most of the times these dumps are associated with data issues .

    are you seeing SAPSQL_ARRAY_INSERT_DUPREC dumps consistently in the system ? 

    also check if you can see a corresponding update failure in SM12. It will give you more insight on whats causing this.

    Amit

    Add comment
    10|10000 characters needed characters exceeded