Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

DBSQL_DUPLICATE_KEY_ERROR (duplication in /SAPTRX/EH_EVMSG)

$
0
0

Hi all,

 

Short dumps are observed in the system with error message "DBSQL_DUPLICATE_KEY_ERROR".

 

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

    "UPDATE_DB_TABLE" "(FORM)", 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 "/SAPTRX/EH_EVMSG" 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.)

 

May I know, if anyone has earlier observed such kind of issue.

 

N.B : For the table /SAPTRX/EH_EVMSG, primary key is eh_guid and evm_guid and both got generated through the system logic.

 

We are most probably observing this kind of issue for a specific OTC scenario (sales area) where sales order got created prior to EM activation and dump occurs after activation of EM system when system trying to post any update on such sales orders to EM. Also System contains huge volume of data.

 

 

Regards,

Ratnakar


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>