SAP Knowledge Base Article - Preview

3401685 - Dump ITAB_DUPLICATE_KEY in program CL_FINS_ACDOC_FAA_UTIL========CP with duplicate entry

Symptom

The following dump occurred while attempting to display an asset using transaction AW01N, AS03, or AS02.

Category               ABAP programming error
Runtime Errors         ITAB_DUPLICATE_KEY
ABAP Program           CL_FINS_ACDOC_FAA_UTIL========CP
Application Component  FI-GL-GL

|Error analysis                                                                                    
|    An attempt was made to insert an entry into table                                             
|     "\CLASS=CL_FINS_ACDOC_FAA_UTIL\METHOD=GET_ANEPI_ITEMS_BY_AREA\DATA=LT_LINEITEM               
|    S". 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  

...

|Trigger Location of Runtime Error                                                                 
|    (Program)                               CL_FINS_ACDOC_FAA_UTIL========CP                      
|    (Include)                               CL_FINS_ACDOC_FAA_UTIL========CM013                   
|    (Row)                                   41                                                    
|    (Module Type)                           (METHOD)                                              
|    (Module Name)                           GET_ANEPI_ITEMS_BY_AREA                               

....

|   40|  "-- 2713732 - change to faav_lineitems without sum view of note 2238573 - dumps in case of
|>>>>>|  SELECT *                                                                                 

....


Read more...

Environment

  • Financial Accounting (FI)
  • Asset Accounting (FI-AA)
  • SAP S/4HANA Finance
  • SAP S/4HANA 

Product

SAP S/4HANA Finance all versions ; SAP S/4HANA all versions

Keywords

ITAB_DUPLICATE_KEY, CL_FINS_ACDOC_FAA_UTIL========CP, AW01N, AS03, AS02 , KBA , FI-AA-AA-C , Transactions , 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.