Professional Documents
Culture Documents
SIG151
Collection: 23
Material number: 50160940
Advanced Decision Modeling with DMN 1.2
Training agenda
– conducted onsite (1 day) or remotely (2 sessions for 4 hours)
12 pm to 1 pm – LUNCH BREAK
Copyright/Trademark
Dictionary and data modeling concepts
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 3
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 4
Complex data types
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 5
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 6
Dictionary usage: Complex (composed) data types
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 7
ඵ Allows traceability
ඵ Ensures naming consistency
ඵ Enable impact analysis
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 8
Advanced decision logic modeling
– Multi instance decisions
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 9
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 10
Multi instance decisions
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 11
Use Case: Sum up all numbers on a list, which are greater than 10
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 13
Multi-instance decisions
Other forms
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 14
Practical Exercise
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 15
Exercise: Executives for a
business flight
For a lot of managers and consultants, business flights are part of their daily job.
To prevent the company risk in case of an air crash, only a certain number of
executives are allowed to be on the same plane at the same time. The actual
allowed number depends on the destination.
Destination:
Middle East max. 1 executive
Europe no further restrictions
For all other countries max. 2 executives
Use the complex data type List of Travellers from the dictionary in combination
with a multi-instance decision to count all the executives on the list. Use the
simulation to check your result.
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 16
1 6
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 17
Statistical functions for numeric lists
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 18
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 19
Arithmetical functions for numeric data
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 20
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 21
Functions for text
Parsing
ඵ Analysis of strings such as model codes or lading numbers for specific characters
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 22
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 23
Functions for text
Validation
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 24
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 25
Practical Exercise
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 26
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 27
2 7
Advanced decision logic modeling:
Functions
– Useful functions for dates
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 28
Manufacturing Scenario:
When does the next order of material have to be triggered? (Delivery
time, daily consumption, etc.)
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 29
Functions for dates
Compare differences
ඵ Difference between today and an Input date is the most common use case
ඵ Use Today () for the current date and Now () for the current time (timestamp)
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 30
ඵ For instance: latest possible date for payment, future orders, estimated delivery dates etc.
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 31
Practical Exercise
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 32
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 35
Literal expressions instead of decision tables
ඵ Logic, which cannot be expressed in decision tables (e.g., function calls, temporary values, manipulating
lists)
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 36
Literal expressions
Manipulating lists
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 37
Literal expressions
Manipulating lists
ඵ Use AppendAll (list1, list2) to append all list values to a provided list
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 38
Literal expressions
Zip function
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 39
Literal expressions
Zip function
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 40
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 41
Decision modeling questions
Responsibility
p • Who is responsible for the next task?
Pathway
Pathw • Which path of the process needs to be taken?
Participant
Partic
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 44
Impact of decisions on business processes
Participant
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 45
Next steps
s
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 46
Impact of decisions on business processes
Next steps
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 47
Process pathway
Proce
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 48
Impact of decisions on business processes
Data and
a access
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 49
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 50
Impact of decisions on business processes
Events detector
Event
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 51
© 2022 SAP SE or an SAP affiliate company. All rights reserved. | INTERNAL – SAP and Customers only 52
Thank you.
SAP Copyrights and Trademarks
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.
Please see http://global12.sap.com/corporate-en/legal/
copyright/index.epx for additional trademark information and notices.