/scripts/ahub.form.attachments.js
0

Runtime ErrorsDBSQL_DUPLICATE_KEY_ERRORExcept. CX_SY_OPEN_SQL_DB,ABAP Program SAPLCUVI

Feb 28, 2017 at 09:02 AM

106

avatar image

What happened?
Error in the ABAP application program.

The current ABAP program "SAPLCUVI" had to be terminated because it found a
statement that could not be executed.

Error analysis
An exception has occurred which is explained in more detail below. The
exception is assigned to class 'CX_SY_OPEN_SQL_DB' and was not caught in
procedure
"CUVI_UPDATE_INOB" "(FUNCTION)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this
exception, the current program was terminated.
The reason for the exception is:
When an Open SQL array insert is performed, trying to insert a record
into the database table "INOB" causes the function to terminate if a
record with the same key already exists.

(When an Open SQL individual record insert is performed, this situation
does not cause the function to terminate. SY-SUBRC is set to 4 instead.)

Information on where terminated
The termination occurred in ABAP program or include "SAPLCUVI", in
"CUVI_UPDATE_INOB". The
main program was "RSM13000".

In the source code, the termination point is in line 121 of program or
include "LCUVIU01".
Program "SAPLCUVI" was started in the update system.
The termination is due to exception "CX_SY_OPEN_SQL_DB" occurring in procedure
"CUVI_UPDATE_INOB" "(FUNCTION)".
This exception was not handled locally or declared in the RAISING
clause in the procedure's signature however.
The procedure is in program "SAPLCUVI". The source code begins in line 1 of
(include) program "LCUVIU01".

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers

Skip to Content