Skip to Content
author's profile photo Former Member
Former Member

Duplicate Key error when updating data from ODS to data target

Hi all,

When updating data from ODS to infocube, some of the data packages failed due to the following shortdump error:



Occurred on 15.12.2004 at 09:22:08


SQL error "-89988" occurred when executing EXEC SQL.


What happened?


The error occurred in the current database connection "R/3*".


Error analysis


An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_NATIVE_SQL_ERROR', was


caught nor passed along using a RAISING clause, in the procedure "XTAB_INSERT"



Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:


How to correct the error


The exception must either be prevented, caught within the procedure


"(FORM)", or declared in the procedure's RAISING clause.

To prevent the exception, note the following:

Database error text........: "DUPLICATE KEY "

Triggering SQL statement...: "INSERT INTO "/BI0/XFUNCT_LOC" ( "SID", "OBJVERS",



"S__0PMPLANGRP", "S__ZPMCH056", "S__ZPMCH057" ) VALUES ( ? , "

Internal call code.........: "[DBDS/NEW DSQL]"

Please check the entries in the system log (Transaction SM21).

Any ideas?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 10:08 AM


    I recommend two things:

    a) check and repair infoobject 0funct_loc and

    b) set your infopackage to psa and subsequently into data targets



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.