Overview Business Process Monitoring on MAI 2016 Public Content Introduction Using the Monitoring How to Set up Monitoring Appendix © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2 Introduction Business Process Monitoring Motivation for Business Process Monitoring “… How can I proactively ensure that my business process Order-to-Cash runs through without interruptions?...” Make exceptions in the business process execution centrally and automatically visible “… There are many IDocs that cannot be processed. Which business processes will be impacted?...” Provide business process context information for exceptions that occurred throughout the system landscape Business Process Monitoring in SAP Solution Manager © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4 Stabilize your Business Processes with Business Process Monitoring Goal: • Reduce manual monitoring efforts – automation of monitoring and error handling • Increase efficiency in daily operations – automation of daily operations and proactive and faster exception handling • Increase stability of interfaces and background processing – reduction of interface errors and background process failures and thus reduction of process costs and systematic errors • Reduce number of incidents – early detection of interface and background processing issues, RFC failures and performance issues Methodology: • Continuous and automatic alert monitoring via Business Process Monitoring in SAP Solution Manager Supported by: • Many out of-the-box available problem-oriented key figures • Flexible alert handling via alert inbox • Alert notifications • Alert visualization in a business process context • Exception handling via guided procedures • Process control via alert trend reporting and dashboards © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5 Run SAP Like A Factory Business Process Monitoring is one aspect of the more comprehensive Business Process Operations and as such part of “Run SAP like a Factory”. Analyze Optimize Change In “Run SAP like a Factory”, SAP describes how customers can run the daily operations of their solutions. Central to “Run SAP like a Factory” is the implementation of an Operations Control Center (OCC). This OCC works with central and automatic monitors to gain visibility about the overall status of the entire solution. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6 SAP Solution Manager as Central Tool for Business Process Monitoring SAP Solution Manager Monitoring Application Alert Inbox Business Process Analytics Alert Emails Incidents Guided Procedures BPO Dashboards Business Process Monitoring (on MAI) Metric Reporting OCC Alert Reporting ERP SRM CRM Non SAP Managed Systems © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7 Availability of Classic BPMon & BPMon on MAI SAP Solution Manager 7.0 SAP Solution Manager 7.1 SAP Solution Manager 7.2 SP12 Classic Business Process Monitoring In Solution Manager 7.1 SP12, two alerting functions for BPMon are available: • Classic BPMon • BPMon on MAI Customers can choose which functions to use. In Solution Manager 7.2, only BPMon on MAI will be available. © 2016 SAP SE or an SAP affiliate company. All rights reserved. STOP Migration Tool Business Process Monitoring on MAI Public 8 Why Business Process Monitoring on MAI BW BPMon Reporting Notifications Business Process Monitoring Technical Monitoring Reporting Notifications CCMS Extractor Framework Past Challenges • Maintenance overhead of two different infrastructures (BPMon and Technical monitoring) • No reusability of unified use cases in other monitoring applications (e.g. technical monitoring) due to infrastructure differences • Different UIs for Alert Handling in Technical Monitoring and Business Process Monitoring • Increased development effort within SAP BPMon on MAI as of SP12 • Full integration of BPMon with Monitoring an Alerting Infrastructure (MAI) • Common end user experience for configuration and usage of alerting • Shared use cases for job monitoring and interface channel monitoring between BPMon and Technical Monitoring • Possibility to make use of MAI capabilities for BPMon alerts (e.g. notifications, 3 rd party connector etc.) © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9 BPMon on MAI in Parallel to Classic BPMon Decision which infrastructure to use for BPMon is made per solution. You can use classic BPMon and BPMon on MAI in parallel (for different solutions). BPMon on MAI Classic BPMon • Only option for managed systems with basis release 6.40 or lower • Managed systems must have basis release 7.0 or higher and ST-PI SP10 implemented • Access to alerts via work center “Business Process Operations” • Access to alerts and metrics via work center “Business Process Operations (New)” © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 10 Overview: Changes with BPMon on MAI With Business Process Monitoring on MAI, several changes are introduced: • Data Collection via Extractor Framework, maximum every 5 minutes for PULL metrics • New work center “Business Process Operations (New)” for accessing all new monitoring functions • New Alert Inbox and Monitoring Application for BPMon on MAI • New BPO Dashboard Key Figures for integrating metrics and alerts for BPMon on MAI • New BPO Alert Reporting function • Integration with Guided Procedure Framework for documented error handling for alerts • Automatic grouping of reoccurring alerts into Alert Groups © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11 Alerting Functions available for Business Process Monitoring Alerting functions for the following areas are available for BPMon: • Background jobs and BW Process Chains • Interface Channels (IDoc, BDoc, qRFC, workflows, files, SAP PI messages,...) • Exceptions in business process execution (ABAP dumps, application log errors, update errors, …) • Performance of business transactions and RFC calls • Throughput and Backlog for various SAP applications (SAP ERP, SAP EWM, SAP CRM, SAP APO, SAP SRM, SAP Industry Solutions, …) • Data Inconsistencies • Customer Monitoring Objects The catalogue of all available alerting functions for BPMon is availble in the SCN Wiki. All functions are available regardless of the monitoring infrastructure (classic and MAI-based). © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 12 Business Process and Interface Monitoring Additional information Additional information about Business Process Monitoring in SAP Solution Manager can be found in the media library of http://wiki.scn.sap.com/wiki/display/SM/Business+Process+Monitoring © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 13 Using the Monitoring Business Process Monitoring on MAI Simplified Alert Handling Process in SAP Solution Manager Receive Notification e.g. Email, SMS, Incident Access Alert Inbox URL in Email or Manually via transaction SM_WORKCENTER Confirm Alert “The situation has been solved” Solve the Error Situation E.g. Post Goods Issue for the Delivery © 2016 SAP SE or an SAP affiliate company. All rights reserved. Assign Alert to Processor Access Alert Details “I’ll take careof the situation” Measured value & e.g. list of overdue deliveries via “Detail Info” Forward to next Support Level Via incidents or emails Execute Guided Procedure Structured and traceable execution of error handling procedures Public 15 System Demo © 2016 SAP SE or an SAP affiliate company. All rights reserved. System Demo: Access Alert Inbox Access the Alert Inbox via “Alert Inbox” in the work center “Business Process Operations (New)”. Via this work center, only monitoring information for solutions monitored via MAI can be displayed. You can also access the alert inbox via link from the alert notification. Classic BPMon can be accessed via the work center “Business Process Operations”. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 17 System Demo: Assign Alert Group to User Alerts in BPMon on MAI are assigned to a Business Process Operations Area. Via the filter in section “Active Queries” you can choose which alerts to display in the alert inbox (e.g. only exceptions). Additionally, via the Quick Criteria Maintenance you can filter the alerts for specific solutions, business processes, etc. You can access the Monitoring Application via “Business Process Monitoring”. Via lead selection you can navigate from the monitoring object to the involved alert groups. There, you can assign the alert group to your user via “Assign” © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 18 System Demo: Alert Details You can see how many alerts are part of the alert group and you can see when the alert group started and ended. Display the details of an alert group via “Show Details”. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 19 System Demo: Execute Guided Procedure For the alert group, the last 10 metrics are displayed, in addition to the measured values. Via the Action Log you can see which error handling has already taken place. Execute the guided procedure via the hyperlink, or search for a suitable guided procedure in cases none is assigned. Display the trend for the measured value via the Metric Monitoring function. Display the list of objects contributing to the alert (detail list - e.g. the list of exceptions) on the managed system. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 20 System Demo: Forward Alert Group and Confirm Forward the alert group to Incident Management via “Create Incident”. Once the incident has been solved, you can confirm the alert resolution via “Confirm”. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 21 Alert Inbox versus Monitoring Application For BPMon on MAI you have two different ways for accessing the alert information. Both can only be accessed from the work center “Business Process Operations (New)”. Alert Inbox • Display of critical situations that require user interaction. This means only real alert situations are displayed. • Work list for the OCC Operator when ensuring the stable running of the core business processes © 2016 SAP SE or an SAP affiliate company. All rights reserved. Monitoring Application linked • Graphical and tabular display of status of all managed objects for business process. • To be used determine overall status of business processes Public 22 System Demo: Accessing Monitoring Application Access the Monitoring Application via “Business Process Monitoring” in the work center “Business Process Operations (New)”. Via this work center, only monitoring information for solutions monitored via MAI can be displayed. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 23 System Demo: Navigation in Monitoring Application Via the Quick Criteria Maintenance you can filter the monitoring information for specific solutions, business processes, steps or ratings. You can access the Monitoring Graphic via “Process Graphic” Navigate via lead selection to the list of managed objects and metrics per business process step or interface. The hyperlink for the number of objects with alerts allows you to navigate to the Alert Inbox. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 24 System Demo: Process Graphic In the process graphic you can display the picture for the business process flow. The graphic contains per business process step and interface: • Indicator for unconfirmed alert group • Current status per business process step and interface • Current system status from technical monitoring Additionally you can display the monitoring objects and metrics in a tree structure via “Show Details”. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 25 OCC Alert Reporting • “Health Check” for the OCC – how well is the Operations concept working • Available without additional configuration • Accessible from the Alert Inbox of work centers “Business Process Operations (New)” and “Technical Monitoring”. • Provides: • Ad-hoc display of alert information for BPO alerts and technical alerts • Key figures for: © 2016 SAP SE or an SAP affiliate company. All rights reserved. • Number of Alert Groups • Number of Events • Av./Max. Duration of Alert Group Confirmation • Number of Incidents • Number of alerts confirmed with/without incidents • Interactive filtering for time frame and context information • Trend Display for individual managed objects Public 26 BPO Dashboards for BPO Alerts BPO Dashboards are fully configurable (layout and content) and provide an option to display the measured values for all Managed Objects for BPMon. Additionally, you can display for all alerts in general: • Number of the alert groups • Alert group duration • Number of monitoring objects with alert groups • Number of incidents • Number of events This information can be displayed per business process, business process step etc., in static dashboards. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 27 How to Set up Monitoring Business Process Monitoring on MAI General Setup Procedure for BPMon on MAI The setup of BPMon happens in SAP Solution Manager via a Setup Tool. In there, the monitoring configuration is entered, generated and activated. It is not necessary to write coding when configuring BPMon on MAI. Configure Monitoring Object Generate Activate The Setup Tool is accessible from work center “Business Process Operations (new)” via Related Links Setup Business Process Monitoring. The monitoring infrastructure is chosen per solution. To facilitate the setup, a Setup Guide for BPMon on MAI is available in the media library of http://wiki.scn.sap.com/wiki/display/SM/Business+Process+Monitoring. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 29 Unified Use Cases for BPMon and Technical Monitoring Job Monitoring and Interface Channel Monitoring Solution Manager 7.1 SP12 MAI Business Process Monitoring Technical Monitoring Managed Object Data Provider Some monitoring functions are applicable both for Technical Monitoring and Business Process Monitoring. Here, the same data providers on the managed system are used from Technical Monitoring and Business Process Monitoring. Additionally, the same Setup UI is used, regardless of whether the monitor is set up from BPMon or Technical Monitoring. Unified Use Cases for monitoring are introduced with Solution Manager 7.1 SP12. Currently, there are unified use cases for Job Monitoring and Interface Channel Monitoring. For unified use cases, monitored objects set up in Technical Monitoring can be assigned to a business process in BPMon, or vice versa. Managed System (Basis ≥ 7.0) © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 30 Migration to BPMon on MAI As of Solution Manager 7.1 SP12 you can automatically migrate your monitoring configuration from classic BPMon to BPMon on MAI. Migration is available per solution according to the following procedure: a) Copy the original solution b) Migrate new solution using report R_AGS_BPM_MIGRATE_SOLU_TO_MAI c) Activate monitoring in new, MAI-based solution d) Deactivate monitoring in original, classic solution e) Deactivate and delete original solution The detailed step-by-step procedure is described in SAP Note 2010999 and in the SCN Wiki. Solution A: BPMon on MAI Solution A: Classic BPMon Migration Report: R_AGS_BPM_MIGRATE_SOLU_TO_MAI © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 31 RSLAF Roadmap for Business Process Operations Business Process Monitoring can be implemented as part of an implementation project for Business Process Operations. SAP provides a roadmap for implementing Business Process Operations in SAP Solution Manager. This roadmap gives a detailed description how to implement a Business Process Operations concept (including a monitoring concept) and is accessible via transaction /nRMMAIN. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 32 Setup Documentation in the SCN Wiki All BPMon related documents, including Overview Presentations and Setup Guides, can be found in the Media Library of http://wiki.scn.sap.com/wiki/display/SM/Business+Pro cess+Monitoring. Setup Information is also available at http://wiki.scn.sap.com/wiki/display/SM/Setup+Informa tion+for+Business+Process+Monitoring. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 33 Trainings available for Business Process Monitoring Expert Guided Implementation „Business Process Monitoring & Stabilization“ • How to set up BPMon in SAP Solution Manager • See https://support.sap.com/solution-manager/training-services.html -> EGI Portfolio or directly here Classroom Training E2E300 „Business Process Operations“ • How to use the BPO tools in SAP Solution Manager, including BPMon • For details search for E2E300 at http://training.sap.com/ © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 34 Thank you. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Appendix Technical Details for Business Process Monitoring on MAI Technical Prerequisites for BPMon on MAI 1. Required software components implemented on SAP Solution Manager and managed systems, new for BPMon on MAI: • Fully available as of Solution Manager 7.1 SP12 • Managed systems must have basis release 7.0 or higher and ST-PI SP10 or higher implemented 2. System readiness ensured via SOLMAN_SETUP (including RFC destinations, BW Content, Extractor Framework etc.) 3. Solution created in Solution Directory, containing logical components, business processes, steps and interfaces, relevant systems are contained in the leading role of the logical component 4. “MAI” flag for the solution set in the BPMon Setup For details, see SAP Note 1949245 “Prerequisites for Business Process Monitoring on MAI”. Prerequisites for classic BPMon are listed in SAP Note 784752. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 37 Customer Enhancement Options in Business Process Monitoring Customer-specific data collectors (monitoring objects and key figures): • BPMon provides a developer framework (“Customer Exit”), so customers can develop their own data collectors which will be fully integrated into Business Process Monitoring Customer-specific auto reaction methods: • BPMon provides Business Add-Ins (BAdIs) for enhancing auto reaction methods in case of alerts, or to send alerts to third-party Service Desk software (e.g. HP Openview, Remedy). Bi-Directional Exchange of messages between BPMon & third-party Service Desk software: • Service Desk messages can be send & received automatically to external ticketing systems using the certified SAP interface (Service Desk WebService API). © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 38 Terminology Clarification for BPMon on MAI In Business Process Monitoring on MAI, alert determination happens via the MAI infrastructure. This means, that the following process is followed during the alert determination: Metric • Something to be measured by the data provider. • For a metric, a metric value is returned to Solution Manager. Event • • Creates rating based on the metric values of one or more metrics. Alert • Is raised based on one or more events. • If there is an open alert group for the same managed object, the alert is assigned to this alert group. In BPMon, mostly creates rating in MAI based on the rating returned by data provider. Example: Example Example • • • Example: Number of error messages in Application Log ABC © 2016 SAP SE or an SAP affiliate company. All rights reserved. Red rating for number of error messages in Application Log ABC Red alert for error messages in application log ABC, assigned to an already open red alert group for the same managed object Public 39 Clarification of Alert Terminology Events Metrics Alerts Metric Metric Managed Object Event Alert Metric Previous Alert Group © 2016 SAP SE or an SAP affiliate company. All rights reserved. Alert Group Public 40 Details for Migration to BPMon on MAI All data configured for all monitoring objects is migrated (including customer monitoring objects) • Configuration of monitoring objects (selection criteria, thresholds) • Schedule for data collections • Notification settings • Monitoring activities and tools (migrated into guided procedures) • Alert Reorganization Monitoring functions that are unified use cases in MAI (job monitoring, interface channel monitoring) are migrated from their old BPMon objects to new managed objects for these unified use cases: • All monitoring objects configured for interface monitoring functions (e.g. IDoc, qRFC, tRFC etc.) are migrated to managed objects for Interface Channel Monitoring. • Job monitoring objects from BPMon are migrated to Job Monitors. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 41