SAP Knowledge Base Article - Preview

3154052 - KBA: Runtime error ITAB_DUPLICATE_KEY /SAPSLL/SAPLCUHD_SERVICES occurs when creating document

Symptom

  • Runtime error raised when creating regular admission ..

Category               ABAP programming error
Runtime Errors         ITAB_DUPLICATE_KEY
ABAP Program           /SAPSLL/SAPLCUHD_SERVICES
Application Component  SLL-LEG


Error in the ABAP application program. The current ABAP program "/SAPSLL/SAPLCUHD_SERVICES" 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/SAPLCUHD_SERVICES\FORM=CUHD_LEGDMD_PRDMD_UPDATE\DATA=LT_PRDMD_ST". 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 " B2;*******; **HTS;************}" " " " "

025 * -- No classifications -> no duty rate conditions
3026 check not lt_guid_prctsx is initial.
3027
>>>> select /sapsll/prdmd~stcts /sapsll/prdmd~trdmc /sapsll/prdmd~pobjt /sapsll/prdmd~guid_pobj
3029 /sapsll/ctsdma~guid_cts /sapsll/ctsdma~datab /sapsll/ctsdma~datbi
3030 from /sapsll/prdmd
3031 inner join /sapsll/ctsdmd on /sapsll/ctsdmd~stcts = /sapsll/prdmd~stcts

20 FORM /SAPSLL/SAPLCUHD_SERVICES /SAPSLL/LCUHD_SERVICESF05 3028 CUHD_LEGDMD_PRDMD_UPDATE
19 FUNCTION /SAPSLL/SAPLCUHD_SERVICES /SAPSLL/LCUHD_SERVICESU39 264 /SAPSLL/CUHD_LLNS_MNTN
18 FORM /SAPSLL/SAPLCUHD_INTACT /SAPSLL/LCUHD_INTACTF10 120 COMMODITY_CODE_DETERMINE
17 FUNCTION /SAPSLL/SAPLCUHD_INTACT /SAPSLL/LCUHD_INTACTU03 125 /SAPSLL/CUHD_ITEM_SERVICES_DET
16 FORM /SAPSLL/SAPLCUHD_INTACT /SAPSLL/LCUHD_INTACTF05 111 ITEM_SERVICES_DETERMINE
15 FUNCTION /SAPSLL/SAPLCUHD_INTACT /SAPSLL/LCUHD_INTACTU57 715 /SAPSLL/CUSTOMS_DOC_CREATE
14 FORM /SAPSLL/SAPLCIBD_INTACT /SAPSLL/CUWL_IA_COMMON_FORMS 287 CUSTOMS_DOC_C_W_PREDECESSORS
13 FUNCTION /SAPSLL/SAPLCIBD_INTACT /SAPSLL/LCIBD_INTACTU02 84 /SAPSLL/CIBD_CUHD_CREATE
12 FORM /SAPSLL/SAPLCIBD_IFACE /SAPSLL/LCIBD_IFACEF01 1050 FUNCTION_CSD_CREATE
11 METHOD /SAPSLL/SAPLCIBD_IFACE /SAPSLL/LCIBD_IFACEM01 199


Read more...

Environment

  • Global Trade Services (GTS)
  • Global Trade Services / Logistics Services (SLL)
  • SAP Global Trade Services, Edition for SAP Hana
  • SAP Global Trade Services

Product

SAP Global Trade Services 11.0 ; SAP Global Trade Services, edition for SAP HANA 2020

Keywords

/SAPSLL/CIBD_01, /SAPSLL/CIBD_CSD_CREATE, ITAB_DUPLICATE_KEY, /SAPSLL/SAPLCIBD_INTACT, /SAPSLL/CIBD_CIHD_GET_DATA, /SAPSLL/LCIBD_INTACTU06, worklist before goods receipt, /SAPSLL/CUSTOMS_DOC_CREATE, /SAPSLL/LEGDMD, customs duty rate condition , KBA , SLL-LEG-CUS-DOC , Customs: Document Processing , SLL-LEG-CUS-FCR , Customs: Import Processing / Free Circulation , 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.