SAP Knowledge Base Article - Preview

3097696 - KBA: Runtime ITAB_DUPLICATE_KEY when deleting/editing purchase order line item.

Symptom

  • Dump  ITAB_DUPLICATE_KEY /SAPSLL/SAPLITR_MM_CHECKS is raised when PO item is deleted or edited.

        Category                      ABAP programming error
        Runtime Errors             ITAB_DUPLICATE_KEY
        ABAP Program              /SAPSLL/SAPLITR_MM_CHECKS
        Application Component  SLL-ITR-TRC
        A row already exists with this key

        What happened?
        Error in the ABAP application program. The current ABAP program "/SAPSLL/SAPLITR_MM_CHECKS" had to be terminated because it    found a statement that could not be executed.
   
        An attempt was made to insert an entry into table "\PROGRAM=/SAPSLL/SAPLITR_MM_CHECKS\DATA=GT_CLDIT_DB". Updating unique table key "PRIMARY_KEY" resulted in a duplicate entry however. The key in question could be either the primary key or a secondary key. The key components of the duplicate entry have the values "{001;45********;0000**}" " " " " " ". With primary keys and unique secondary keys, termination can occur during block insert operations. The can affect numerous statements, for example
 
       "ITAB_DUPLICATE_KEY"
       "/SAPSLL/SAPLITR_MM_CHECKS" bzw. /SAPSLL/CLD_PI_COMMON_FORMS
       "ITEM_QUERY_EXECUTE"
 
        The termination occurred in ABAP program or include "/SAPSLL/SAPLITR_MM_CHECKS", in "ITEM_QUERY_EXECUTE". The main program was "RM_MEPO_GUI". In the source code, the termination point is in line 388 of include /SAP/SLL/CLD_PI_COMMON_FORMS". Include /SAPSLL/CLD_PI_COMMON_FORMS". 
  
        387   if not lt_cldit is initial.
        >>>>> insert lines of lt_cldit into table ct_cldit.
        389   endif.

  • Deleted purchase order still available in International Trade Management apps.
  • Compliance document still available for deleted purchase order items


Read more...

Environment

  • International Trade Management
  • SAP S/4HANA 1909 (Release 104 to SAPK-10401INS4CORE)
  • SAP S/4HANA 1809 (Release 103 to SAPK-10303INS4CORE)
  • SAP S/4 HANA for International Trade
  • SAP S/4HANA Cloud
  • SAP S/4HANA OP

Product

SAP S/4HANA 1809 ; SAP S/4HANA 1909

Keywords

SAP S/4HANA, international trade management, delete purchase order, compliance document, manage document app, resolve blocked documents app, EKPO, EKKO, /SAPSLL/TRD_CPL_DOC_DELETE, /SAPSLL/CLDIT , KBA , SLL-ITR-TRC , International Trade Compliance , 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.