SAP Knowledge Base Article - Preview

3138898 - Dump ITAB_DUPLICATE_KEY is displayed when executing transaction CO09

Symptom

You enter material/plant combination in transaction CO09 which calls gATP from APO system, the dump is display.

Details about dump:

Category               ABAP programming error
Runtime Errors         ITAB_DUPLICATE_KEY
ABAP Program           SAPLATPC

...

138 CLASS lcl_check_apo IMPLEMENTATION.
139   METHOD constructor.
140     super->constructor( ).
>>>     mt_desmat = it_desmat.
142     DELETE mt_desmat WHERE logsys NE iv_logsys.
143
144     ms_atpapo-logsys = iv_logsys.
145     PERFORM cif_ndi_system_release
146           USING
147               ms_atpapo-logsys
148           CHANGING
149               ms_atpapo-aporel
150               ms_atpapo-apointdate.
151   ENDMETHOD.

...

7  METHOD       SAPLATPC                            LATPCP03                              141
   LCL_CHECK_APO=>CONSTRUCTOR
6  FORM         SAPLATPC                            LATPCFF3                               68
   FILL_CONTROLLER_OBJECTS
5  FUNCTION     SAPLATPC                            LATPCU20                               58
   AVAILABILITY_CHECK_S4
4  FORM         SAPLATP4                            LATP4FA0                              147
   ATP_CHECK


Read more...

Environment

•SAP ERP Available-to-Promise (ATP)
•SAP R/3
•SAP R/3 Enterprise 4.7
•SAP ERP
•SAP S/4 Hana
•SAP Enhancement package for SAP ERP
•SAP Enhancement package for SAP ERP, version for SAP HANA 
•APO Advanced Planner and Optimizer
•SAP Supply Chain Management
•SAP enhancement package for SAP Supply Chain Management

Product

SAP S/4HANA 1909

Keywords

 ATP; Availability Overview; PIC01 004; PIC01004; Integration model; MARC; RFC;  , KBA , SCM-APO-ATP , Global Available-to-Promise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.