Alarm acknowledgement with Notification in SAP Gateway environment fails due to parameters


 Product(s):APM Implementation and Performance Management
 Version(s):7
 Environment:N/A
 Area:N/A
 Subarea:N/A

Problem Description

A Hosted APM user with a CMMS Interop (SAP Gateway) integration suddenly experienced issues with the APM Alarm Acknowledgement with an SAP Notification after upgrading to SAP Hana. The user was able to acknowledge alarms with SAP Notifications prior to the upgrade. Post upgrade, the user was still able to view SAP objects via the SAP Portal view and browse and choose SAP value lists, and was also successful when running Test Connection on the external data provider in APM.

When trying to acknowledge an alarm with a Notification, the user was presented with the following error:

Solution

The error indicated that SAP was sending a message back that APM wasn't anticipating. We reviewed that the user has the ZAPM external data service provider set to allow for only basic authentication per the following wiki:

 APM SAP Interoperability (Gateway) cannot send outbound messages due to SAP Authentication set-up 

After several different tests, it was found that the user had included "/spnego?=disabled&saml?=disabled" in the base service url ;

These parameters are often recommended for some users but in this case weren't needed and appeared to be interfering with SAP's response xml. Removing this from the Base Service url and restarting the service resulted in the user being able to successfully acknowledge the alarm with an SAP Notification.