Symptom
The dump ITAB_DUPLICATE_KEY happens when an ATP check is executed - e.g. CO09 or VA01/VA02 or when doing delivery creation.
e.g. CO09:
Entering a material/plant combination in transaction CO09, the following dump is raised.
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 S/4 Hana release
- ATP check
Product
Keywords
ATP; Availability Overview; PIC01 004; PIC01004; Integration model; MARC; RFC; , KBA , SCM-APO-ATP , Global Available-to-Promise , CA-ATP , Available to Promise (ATP) , SCM-APO-INT-SLS , Sales , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview