In an SAP Gateway integrated environment, user is unable to complete an Alarm Acknowledgement with a Notification. User populated all necessary attributes and selected notification types, M1, M2 or M3 Notification Tasks. An error dialogue launches with the following message, "SAP Notification creation failed. No status object exists for QNF %00000000001":
The user is able to complete an acknowledgement with an SAP Maintenance Order but not an SAP Notification.
The error message dialogue receives the "No status object exists for QNF %00000000001" message directly from an SAP response. This message indicates that the set-up of SAP is what is rejecting the Notification request through the ZAPMExternalData service.
Upon investigation with the user's SAP Functional Consultant, it was found that a sub-class of objects in SAP, the Notification Task object was not set-up, views were not enabled, etc for this Notification Task object, despite the Notification being completely set-up. When the APM SAP Gateway sends a Notification request to SAP, it sends all of the required SAP Notification attributes with it but also includes a component to create a Notification Task to SAP.
There are 3 potential solutions for this problem:
Recommended:
1. Have user's SAP Functional Consultant set-up SAP Notification Tasks in SAP, including all value lists such as status.
2. Have user's SAP Functional Consultant update SAP Notification and SAP Notification Tasks with a SAP custom Note that will allow for Notifications to be created despite not having Notification Tasks.
Available Option 3, last resort.
3. Should the user's SAP Functional Consultant be unable to attach a Note or set-up SAP Notification Tasks, a third option exists whereby the Notification Task creation section of the ZAPM_Gateway package in SAP can be commented-out. This will require a Bentley Services Engagement as it is a customization. The commenting-out of the Notification Task section of the code is simple but it must be documented properly and thoroughly tested before it can be used in Production to avoid any unintended consequences. The relevant section of code in the ZAPM_Gateway package can be accessed by Bentley Services Personnel by issuing a Service Request to Bentley APM Support.
The following link is for Bentley Internal use only, it leads to basic instructions for commenting out the Notification Task section of the ZAPM_Gateway package.
https://communities.bentley.com/products/assetwise/asset_performance_management/w/internal_support_solutions/43300/custom-procedure-to-update-sap-zapmexternaldata-service-to-comment-out-notification-task-portion-of-the-notification-creation-request