Symptom
In Step 6: Setup Monitoring of the Technical Monitoring setup, when Apply and Activate is performed it results in the cancellation of the backgroung job BACKGROUND_AUTOCONFIG:
In SM37 this job will have a status of "Cancelled" and in the Job Log it will have the text "Internal session terminated with a runtime error (see ST22):
In ST22 there will be the following shortdumps related to the cancelled job:
Category ABAP Programming Error
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program CL_ALRT_MEA_DIR_MNG_RUNTIME===CP
Application Component SV-SMG-MON-ALR-DIR
Short text
There is already a line with the same key
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_ALRT_MEA_DIR_MNG_RUNTIME===CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Information on where terminated
Termination occurred in the ABAP program "CL_ALRT_MEA_DIR_MNG_RUNTIME===CP" -
in "GET_COLLECTOR_ATTRIBUTES".
The main program was "ACR_CFG_CONSISTENCY_CHECK ".
In the source code you have the termination point in line 41
of the (Include) program "CL_ALRT_MEA_DIR_MNG_RUNTIME===CM009".
40|* get metrictypes
>>>>>| select * from v_acmgroupdefdir into corresponding fields of table lt_mgroupdefdir
42| where context_id in it_contextid_range
43| and event_type_id in it_metricid_range
Read more...
Environment
- SAP Solution Manager 7.1
- SAP Solution Manager 7.1, version for SAP HANA
Product
Keywords
SOLMAN, Background Job, BACKGROUND_AUTOCONFIG, Apply and Activate, SM37, ITAB_DUPLICATE_KEY, \CLASS=CL_ALRT_MEA_DIR_MNG_RUNTIME\METHOD=GET_COLLECTOR_ATTRIBUTES\DATA=LT_MGROUPDEFDIR, , KBA , SV-SMG-MON-ALR-CFG , Alert / Metric Configuration , SV-SMG-MON-ALR , Monitoring/Alerting/Reporting Infrastructure , 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