SAP NetWeaver Event Enablement Add-on Event-driven Architecture with SAP ERP Systems Jan Penninkhof, SAP Netherlands PUBLIC Introduction to Event Messaging SAP TechEd 2018 Keynote Story Flow: § A production order in S/4HANA gets updated § This triggers the sending of an event to the SAP Cloud Platform into a queue from SAP Cloud Platform Enterprise Messaging § A function (SAP Cloud Platform Extension Factory, serverless runtime) is subscribed to the queue and directly reads from various systems additional data. Then the functions sends an update via twitter § Learning: ‘keep the core clean’ – Event-driven Extensions on the SAP Cloud Platform https://youtu.be/JDVDY1jMsuQ?list=PLWV533hWWvDkLzXntMeRpQmr1LDHC387y © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2 SAP TechEd 2020 Keynote Similar Scenario as shown in the 2018 Keynote, but now focusing on SAP ECC. For SAP ECC customers SAP released a new Add-On (SAP NetWeaver Add-On for Event Enablement). Customers can start with extensions on SAP Cloud Platform today – no need to wait for SAP S/4HANA – simply leverage Events and OData Services which are provided by SAP Gateway. https://www.youtube.com/watch?v=wP0pL_Ps1 dM © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3 SAP NetWeaver® Event Enablement Add-on Business Use-cases from our Customers Chemical Industry § Provide SAP sales order status and logistics info to customer mobile apps, via a data lake § Real-time quality management reporting, from SAP QM to the global quality cockpit solution Aerospace § Manufacturing Retail / Endcustomer business § Send SAP data to data lakes, for realtime analytics during high-volume promotions (Black Friday) § Collect competitor prices for benchmarking § …and many more! Sensor data from the field reports failing equipment, creating an SAP maintenance order © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4 SAP NetWeaver® Event Enablement Add-on Benefits of event-driven architectures Event-Driven Architectures § § § Benefits Distributed asynchronous architecture pattern used to produce highly scalable applications. § Decouples communication § Removes idle downtimes Made up of highly decoupled, singlepurpose event processing components that asynchronously receive and process events. § Enables responsive applications that react to events in other systems/applications § Permits events to trigger functions (as a service) in response to execute defined business logic § Facilitates pay-per-use consumption costs by removing “always on” A key element of event notification is that the source system doesn't really care much about the response. © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5 SAP NetWeaver® Event Enablement Add-on When should you consider Event Messaging with SAP Systems? New Connectivity: e.g. connect non-SAP systems, SaaS/PaaS systems and platforms, cloud applications, mobile platforms, data lakes etc. to on-prem SAP systems Performance & Scalability: e.g. switch batch interfaces to event-based/real-time interfaces, allow micro-batching/partitioning and parallel data loads for high-volume batch interfaces, redesign high-frequency / high-load SAP standard interfaces to event-based, enable 1:n connectivity without middleware Security & API Management: e.g. build custom interfaces, to benefit from its uniform approach for all kind of external connectivity, including central monitoring, or replace (specific) 1:1 interfaces with event-busarchitecture © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6 Event Driven Architecture at SAP Business Technology Platform New Connections for Event-Driven Architecture New AMQP Adapter Business Services New SAP Event Mesh Adapter 1 1 1 C/4 S/4 Kyma Runtime Application ABAP Serverless Runtime Environment Runtime Integration Data Suite Intelligence 3ed Party Event Broker Secured & Managed Connectivity SAP Event Mesh New ABAP Add-on available, for event-driven scenarios on SAP ECC (from NW 7.31 onwards) © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC ECC PI S/4 SAP ERP / ECC SAP PI SAP S/4HANA 1) Planned innovation 7 SAP NetWeaver® Event Enablement Add-on Event Management Aligned and open Events Format (http://cloudevents.io) between SAP S/4HANA and SAP ECC allows to use the using SAP Cloud Platform as the extension platform, also as a preparation for a move to S/4HANA SAP ECC SAP Cloud Platform SAP S/4HANA © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8 SAP NetWeaver® Event Enablement Add-on Overview Event Enablement Add-on for SAP Enterprise Messaging is the new and powerful add-on from SAP for SAP NetWeaver® systems § Add-on to SAP NetWeaver ABAP systems, operates within the established SAP infrastructure in all aspects (application management, security, logging etc.) § Allows to enhance or create custom content (extractors, formatters) and connectors SAP Cloud Platform® Integration Suite § Uses highly scalable techniques to bring customer data and events into the cloud: SAP Cloud Platform® Enterprise Messaging § event based triggers § delta loads / change pointers § parallel data processing (in multiple SAP work processes) § data splitting § Supports outbound and inbound process and data flows § BAPI calls for data selection possible § Available with the SAP Cloud Platform ‘Enterprise Messaging’ Service, no additional license required. © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC supported SAP NetWeaver systems 9 Add-on is built for high performance Performance: • Supports multi-threading, for load distribution to multiple SAP work processes • Close to zero latency • Minimal system performance impact in daily operation Examples from one of our large customers, with an SAP ERP production system: • 260.000 event messages per day • sales orders • delivery events • shipment events • 3.700 events per second during initial load © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10 Events – where could they be implemented? Middleware centric approach: § Custom API developments required § iPaaS or middleware required § No direct data access § Typically 1:1 connectivity § Hardly re-usable § High performance impact APIs? Pull IPAAS/ MIDDLEWARE CLOUD APPLICATIONS EVENT MESSAGING SAP® SYSTEM Benefits of ABAP AddOn approach: § Direct application + data access § 2,500+ standard event triggers § Supports 1:n connectivity § Re-usable content § Close to zero latency § Multi-threading © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC S AP Even NW t Add On DB SAP NW Event AddOn Push +Pull SAP EVENT MESH SAP® SYSTEM 11 Architecture / How does it work? SAP NW Event Add-on SAP EVENT MESH MM SD FI CO MM … 500+ CHANGE DOCUMENTS 2,000+ BUSINESS OBJECT EVENTS SAP STATUS MANAGEMENT SAP STANDARD TRIGGERS DESIGN CONFIGURATION + MONITORING TRIGGER ENRICH TRANSFORM LOAD REST … SAP DATABASE SAP® SYSTEM © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12 All product and company names are trademarks or registered trademarks of their respective holders. Use does not imply any affiliation with or endorsement by them. Simple and code-less message design Example: send SAP material master data as event message ü Specify an SAP Data Dictionary view ü Add (multiple tables) like MARA and the required fields for the message ü Table relations and foreign keys are automatically considered ü Configure SAP NW AddOn to use the view © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC EVENT MESSAGE { SAP® SYSTEM "specversion": "1.0", "type": "asapio.aci.acievents01.msctest", "source": "SAP_EM/MATERIAL_CHANGE", "id": "MATERIAL_CHANGE202011032254165 0 ", "time": "2020-11-03T22:54:15.565Z", "data": { "MARA": [ { "MANDT": "100", "MATERIAL_NUMBER": "CP_5001", "MTART": "FERT", "MATKL": "015", "BASE_UNIT": "ST", "MARM": [ { "ADDITIONAL_UNIT": "KAR", "UMREZ": 15, "UMREN": 1, "EAN11": "4015000267397", "BRGEW": 3.750, "GEWEI": "KG" 13 SAP NetWeaver® Event Enablement Add-on– Feature Highlights Connect applications, services, systems Communicate reliably and scaleable Connect applications, services, and systems seamlessly across different landscapes using asynchronous communication. Reliably send and receive messages through applications, services, and systems using standard messaging protocols. ü Initial Data Loads ü End-to-End Monitoring ü Incremental Data Loads ü Message re-processing ü Cross-system aggregation ü Secure communication Event-driven extensions for SAP systems High throughput of messages, low latency Build applications and extensions that can react to events from your SAP system, out-of-the-box. The messaging infrastructure decouples communication to scale and handle unexpected peaks in data traffic. ü Unlimited extensibility of events ü Configurable frequency ü Easy to add to flexible framework ü Configurable package sizes ü Utilization of ALE change pointer ü Parallel processing © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14 SAP NetWeaver® Event Enablement Add-on Configured and operated completely within your SAP system Integrated with SAP Customizing Implementation Guide © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 15 SAP NetWeaver® Event Enablement Add-on Built-in monitoring and analytics Monitor app included, which can also cross-connect to other add-on installations within your landscape, for central monitoring of all interfaces. Get analytical insights with graphics on Interfaces, data volume, messages etc. © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 16 SAP NetWeaver Event Add-on – the ‘Swiss army knife’ for interfaces ü Create code-less APIs and event messages for any SAP® data ü Direct access to any SAP business object and all database tables ü Use over 2,500 standard event triggers in SAP ERP® and SAP Faster results quality © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC Lower project risk Higher 17 All product and company names are trademarks or registered trademarks of their respective holders. Use does not imply any affiliation with or endorsement by them. SAP NetWeaver® Event Enablement Add-on Where to find? § SAP Blog “Event-driven architecture – now available for SAP ECC users”: https://blogs.sap.com/2020/07/01/event-driven-architecture-now-available-for-sapecc-users/ § SAP Help documentation: https://help.sap.com/viewer/e966e6c0e61443ebaa0270a4bae4b363/1.0/enUS/3eba827c531344eb879d8e35022d90ba.html § SAP Notes: SAP Note 2927040 § End-to-End Example process: https://discoverycenter.cloud.sap/missiondetail/3338/3384 § The software can be found on SAP Support Portal (search for ‘ASANWEE’) at https://launchpad.support.sap.com/#/softwarecenter § ASAPIO info page: https://www.asapio.com/nwee © 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 18 Thank you. Contact information: Jan Penninkhof Jan.penninkhof@sap.com SAP Netherlands