Symptom
You are using SAP Solution Manager 7.2 with Support Package Stack (SPS) 9 or 10. The SPS 9 stack contains ST 720 Support Package (SP) 9 and ST-PI 740 SP 11. The SPS 10 contains ST 720 SP 10 and ST-PI 740 SP 12. Under certain circumstances you might be obliged to update the ST-PI 740 component to SP 13 or higher while keeping the ST 720 component stable.
During the DDIC activation the system runs into errors when trying to activate structure "AGS_BPM_APPMONM_LINE":
Field "STAPIREL" in table "AGS_BPM_APPMONM_LINE" is specified twice.
Field "UNIT_STRING" in table "AGS_BPM_APPMONM_LINE" is specified twice.
Reason and Prerequisites
Update of ST-PI 740 to SP 13 or higher on an SAP Solution Manager 7.2 system with SPS 9 or 10.
Solution
The fields "STAPIREL" and "UNIT_STRING" have to be removed manually from "AGS_BPM_APPMONM_LINE". To do so, proceed as described in the attached manually activity.
SPS 10 only: Once you have completed the ST-PI 740 support package update, implement the attached automatic correction instruction with help of transaction SNOTE.
------------------------------------------------------------------------
|Manual Activity |
------------------------------------------------------------------------
|VALID FOR |
|Software Component ST SAP Solution Ma...|
| Release 720 SAPK-72009INSTMAIN - SAPK-72010INSTMAIN |
------------------------------------------------------------------------
To remove the fields "UNIT_STRING" and "STAPIREL" from structure "AGS_BPM_APPMONM_LINE" manually, proceed as follows:
1) Launch transaction SE11 (ABAP Dictionary Maintenance) within the SAP Solution Manager system.
2) On the initial screen of SE11 choose "Data type", enter "AGS_BPM_APPMONM_LINE" and press the "Change" push button.
3) The "Components" tab list the components of structure "AGS_BPM_APPMONM_LINE":
Component Typing M. Component type Data Type Length
SID Types DSOMO_SYS_ID CHAR 8
.INCLUDE Types /SOMO/MA_S_APPMONM
TEXT Types CHAR 120
THRES_YELLOW Types CHAR 120
THRES_RED Types CHAR 120
THRES_R2Y Types CHAR 120
THRES_Y2G Types CHAR 120
UNIT_STRING Types CHAR 120
WC_USE Types CHAR 1
STAPIREL Types CHAR 12
Delete the rows for the components "UNIT_STRING" and "STAPIREL".
Note, that the included structure "/SOMO/MA_S_APPMONM" contains components with the same name. These components must be kept and must not be deleted.
Once you have deleted the mentioned components, save the changes and activate structure "AGS_BPM_APPMONM_LINE" (Ctrl+F3).
It might happen that the system doesn't allow the activation. In that case the system will raise the following message: "Activating Dictionary objects during import of new software is blocked (<USERNAME>, <date>, <time>)"
To overcome the problem, proceed as described in SAP Note 2671760:
Run report RADMASG0 in SE38. Select "Direct Objects". Under "Direct Object Selection" in the selection field for "Table Name" enter the structure "AGS_BPM_APPMONM_LINE". Close the pop-up with the "Execute" (F8) and finally execute the report with "Execute" (F8).
In SPS 10 class "CL_SOMO_CONN_TYPE_HTTP" will have a syntax error in method "CONV_XML_TAB_TO_APPMON_TABLES", once you have finished the ST-PI 740 support package upgrade. The syntax error text states: "The data object "LS_APPMOND" does not have a component called "DATATYPE"."
To fix this error implement the attached automatic correction instruction with help of transaction SNOTE.