Skip to Content
0
Former Member
Jul 04, 2009 at 06:49 AM

Runtime Error 'ITAB_DUPLICATE_KEY' while deleting PDS

144 Views

Hi All,

The functional user is trying to delete the PDS with the tx '/N//SAPAPO/CULL_RTO_DEL'

PDS = PPDS

PLN VERSIONS = 'DELETE ACROSS ALL MODULES'

MASTER DATA TYPE = iPPE

WE ARE ON = SCM 5.0 SR2 SPS13 + ORACLE 10g + AIX 5.3 [with ALL LATEST KERNAL PATCHES, SP, etc]

Error analysis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

An entry was to be entered into the table

"\CLASS=/SAPAPO/CL_CULL_DELETE_RTO\DATA=GS_DELRTO_BUFFER_PPE-OLDEST_ORDERS"

(which should have

had a unique table key (UNIQUE KEY)).

However, there already existed a line with an identical key.

The insert-operation could have ocurred as a result of an INSERT- or

MOVE command, or in conjunction with a SELECT ... INTO.

The statement "INSERT INITIAL LINE ..." cannot be used to insert several

initial lines into a table with a unique key.

Information on where terminated

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Termination occurred in the ABAP program "/SAPAPO/CL_CULL_DELETE_RTO====CP" -

in METHOD "INSERT_SATID_ORDERS".

The main program was "/SAPAPO/CULL_DELETE_RTO ".

In the source code you have the termination point in line 40

of the (Include) program "/SAPAPO/CURTO_SERVICEI16".

I have implemented a note - 1360600 for PDS DEL Memory related issues.

I have checked the SAP notes and could not got the fix.

Please help and suggest a fix soon.

Regards,

Shyamsundar G C

Cell Ph #: +91 96233-08388