Professional Documents
Culture Documents
SAP Global Track and Trace: Event-to-Action Engine
SAP Global Track and Trace: Event-to-Action Engine
Event-to-Action Engine
Release 1802 – Delivery 2018.06a
CUSTOMER
Objectives
• Outline the purpose of the Event-to-Action Engine of SAP Global Track and Trace
• Understand how the different components of the Event-to-Action Engine work together
• Define and activate Rules for a specific GTT model
• Explain what kind of actions can be triggered when events are processed for a tracked
process instance
The following Rule Services can be deployed to a GTT model since 2018.05a:
Metadata
Modeling app
SAP Cloud Platform
Integration (CPI)
GTT Event-
GTT Model Modelling Rule services
Management Activate to-Action Action
app Engine
CSN Models
Global Track and Trace app
GTT Model
Management
app
3
Defined rules for tracked
process delivery:
Report a event of type
IF (Event type = “DelayEvent”) “DelayEvent” (newDeliveryDate
and Activate SAP Global Track = today + 4 days)
( DelayEvent.newDeliveryDate and Trace
> TP.DeliveryDate )
THEN
{
• Update Delivery Status to
“Critical Delayed” 4
• Notify consignee with “Delay”
alert Consignee gets a notification that
} delivery 4711 is critical delayed
All deliveries with delivery status
“Critical Delayed” can be easily
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER selected with GTT app 9
Design Time
Design Rules for “Delivery with delay event”
Solution Owner successfully deploys a
model with Metadata Modeling app in results In GTT Model Management app, model
SAP Web IDE is listed in model list.
Metadata
Modeling
app
GTT Model
Management
app
GTT Model
Management
app
1. Go to Metadata
Modeling app to
deploy / redeploy a
GTT project
Click on the model from list to see details.
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 10
Design Time
Design Rules for “Delivery with delay event”
Metadata
Modeling app
GTT Model
Management
app
GTT Model
Management
app
2. Go to GTT
Model
Management app
to define rules
Solution Owner deploys Rule Service from GTT Model Management app
Metadata
Modeling app
GTT Model
Management
app
GTT Model
Management
app
3. Go to GTT Model
Management app to
activate Rules
1 Create a shipment in
ERP
3
Select action: ActionUpdatePlannedEvent, then define rule: Event of type “Carrier Arrival” to
trigger update Planned Event action.
Metadata
Modeling app
GTT Model
Management
APP
GTT Model
Management • New timestamps and the processEventDirectoryIds have to be sent in via the triggering
APP
event
• If it is not necessary to have different planned business and technical timestamp, both can
be set to the same value.
• plannedBusinessTimeZone is used to determine the time zone in which the planned
business time is displayed on the UI
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 15
Run Time
Event-to-Action Engine for “Update Planned Event”
1 Create a shipment in
ERP
3
Select action: ActionCPIforwarding, then define rule: Event Select action: ActionFLPNotification, then
of type “DepartureEvent” to trigger inbound delivery creation define rule: Event of type “DepartureEvent”
in ERP via CPI Forwarding to trigger FLP Notification
Metadata
Modeling app
GTT Model
Management
APP
GTT Model
Management
APP
JSON file
(business data of tracked Call to RFC/Web Service in
process and triggering event) backend sytem via Cloud
is sent to CPIEndpoint Connector
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 20
Run Time
Event-to-Action Engine for “Shipment with departure event”
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components
of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated
companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are
set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release
any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products,
and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The
information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various
risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements,
and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company)
in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.