SAP Knowledge Base Article - Preview

2855411 - ITAB_DUPLICATE_KEY on REFRESH_ADMIN_DATA_FROM_SUPPORT

Symptom

  • REFRESH_ADMIN_DATA_FROM_SUPPORT is cancelled and logs show the following details:
Job started
Step 001 started (program AI_SC_REFRESH_READ_ONLY_DATA, variant , user ID <user>)
Check response from SAP...
Look for Application Action: RECEIVEREADONLYDATA_RP
Check the response of request ID <ID>, action RECEIVEREADONLYDATA, response date <date and time>......
S-user authorizations have been updated. See application log for details.
SAP Router list has been updated.
S-user contact data has been updated. See application log for details.
Internal session terminated with a runtime error ITAB_DUPLICATE_KEY (see ST22)
Job cancelled
  • ST22 show the following dump:
Category ABAP Programming Error
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program CL_AI_R_W_AISYSNR_BUFFER======CP
Application Component SV-SMG-SVC
Error analysis
An attempt was made to insert an entry into table
"\CLASS=CL_AI_R_W_AISYSNR_BUFFER\METHOD=GET_DELETED_SYSTEMS\DATA=RT_ENTRY".
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
"{000000000<number_value>}" " " " "
" ".
Information on where terminated
The termination occurred in ABAP program "CL_AI_R_W_AISYSNR_BUFFER======CP",
in "GET_DELETED_SYSTEMS". The main program
was "AI_SC_REFRESH_READ_ONLY_DATA".
In the source code, the termination point is in line 3 of (Include)
program "CL_AI_R_W_AISYSNR_BUFFER======CM002".
Program "CL_AI_R_W_AISYSNR_BUFFER======CP" was started as a background job.
Job name....... REFRESH_ADMIN_DATA_FROM_SUPPORT
Line SourceCde
1 METHOD GET_DELETED_SYSTEMS.
2
>>>>> SELECT * FROM aisysnr_buffer INTO TABLE rt_entry WHERE deleted = abap_true.
4
5 ENDMETHOD.


Read more...

Environment

SAP Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

ITAB_DUPLICATE_KEY, CL_AI_R_W_AISYSNR_BUFFER======CP, CL_AI_R_W_AISYSNR_BUFFER======CM002, GET_DELETED_SYSTEMS , KBA , SV-SMG-SVC , Administration of Service Connections with Solution Manager , 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.