SAP APO SNP Planning Engines Demystified - Real-World Insights and Best Practices
SAP APO SNP Planning Engines Demystified - Real-World Insights and Best Practices
SAP APO SNP Planning Engines Demystified - Real-World Insights and Best Practices
Mani Suresh
Lennox International
Produced by Wellesley Information Services, LLC, publisher of SAPinsider. 2016 Wellesley Information Services. All rights reserved.
In This Session
Get an overview of the similarities and differences between the various SNP planning
engines and their application to specific supply chain scenarios
Uncover hidden, and often under-utilized, capabilities of each planning engine and get
tips to exploit them to improve planning results
Step through multiple industry use cases for leveraging the SNP optimizer for cost-based
planning, heuristic for infinite planning, and CTM for priority planning
performance globally.
Demand
Distribution
Supply
Robust
Training
and
Education
Business
Process
Transformation
Operational
Master Data
Strategy
Planning
Engine
Selection
Business
Process
Governance
Vision
Operational
Master Data
Strategy
Business
Process
Governance
10
Business
Process
Transformation
Operational
Master Data
Strategy
Business
Process
Governance
11
Business
Process
Transformation
Operational
Master Data
Strategy
Business
Process
Governance
Planning
Engine
Selection
Only after
these steps,
the planning
engine
selection
makes sense
The decision
is now
directly driven
by business
needs
12
Robust
Training
and
Education
Business
Process
Transformation
Operational
Master Data
Strategy
Planning
Engine
Selection
Business
Process
Governance
Success
Robust
Training
and
Education
Business
Process
Transformation
Operational
Master Data
Strategy
Planning
Engine
Selection
Business
Process
Governance
14
15
Source: SAP
16
Fileserver
Optimizer
Server
17
DC
DC
19
Heuristics
Optimizer
CTM
C++ Based .
Cost Based Planning.
Finite Planning - entire
network as a single
problem and proposes
the most optimized
solution.
The longest running
engine of the 3.
C++ Based.
Order based finite
planning.
Constraints are taken
into account like
Capacity constraints,
time constraints.
20
Heuristics
Optimizer
CTM
C++ Based
Cost-Based Planning
Finite Planning entire
network as a single
problem and proposes
the most optimized
solution
The longest-running
engine of the 3
C++ Based.
Order based finite
planning.
Constraints are taken
into account like
Capacity constraints,
time constraints.
21
Heuristics
Optimizer
CTM
C++ Based
Cost-Based Planning
Finite Planning entire
network as a single
problem and proposes
the most optimized
solution
The longest-running
engine of the 3
C++ Based
Order-based finite
planning
Constraints are taken
into account like
Capacity constraints,
time constraints
22
Optimizer
CTM
Optimized or
optimal Plan
Data-intensive
Feasible Plan
Flexible control
over Planning
Heuristics
Simple demand
propagation
Unconstrained Plan
23
Optimizer was the integration of SAP APO with ILOG CPLEX optimizer a mathematical
solver
24
Optimizer
is the best!
Heuristics
suffices!
25
Set up Master
data
2
Release Demand
plan to SNP
Run SNP
Heuristics
4
Run Capacity
leveling
Review/adjust
planning results
6
Run
Deployment/TLB
26
Forecast
Open
Sales
orders
Safety
stock
Alerts
Generation
Read planning
data
Capacity
Leveling
InTransit
PO
Stock
on
Hand
Open
PO
Lot size
parameter
Lot size
Rules
Rounding
value
Total
Demand
Total
Total
Supply
Total
Net requirements
Net
Demand
Supply
Requirements
Capacity
Consumption
BOM
Explosion
Plan Order
Creation
Quota
Arrangements
Procurement Type
Transportation lane
lead time
Distribution demand
at Source
Source
Determination
Dependent
Demand for
Components
27
Large network
Simplistic distribution
Fewer bottlenecks
Make to stock (commodities)
Longer-term planning
What-if scenarios
Less complexity
No shelf-life constraints
Simplistic production process
28
Source of
Supply
Planning
rules
Production
constraints
29
30
31
450
400
350
300
250
200
150
100
50
0
32
120
100
80
60
40
20
33
34
Heuristic
Optimizer
Type of processing
Order-based processing:
Only orders that are moved are changed (liveCache, R/3)
Beneficial if there are only a few that are overloading the resource
Changes to plan
No
Overloads
The receipt has to be within the planning horizon and outside of the
SNP production horizon or stock transfer horizon
The receipt and issue have to be within the planning horizon and
outside of the SNP production or stock transfer horizon
Bucket offset
Period factor
35
Method
Material 1 b4
201534
201535
201536
201537
120
80
80
60
80
80 120
after
80
201538
80
201539
201540
201541
201542
201543
201544
201545
80
80
80
80
80 100 100
40 200
40
20
60
80
201546
80
180
201547
40
201548
201549
40 120
201550
201551
60 100
201552
60
40 440
Method
201534 201535 201536 201537 201538 201539 201540 201541 201542 201543 201544 201545 201546 201547 201548 201549 201550 201551 201552
120
80
80
80
80
80
80
80
80
80
100
100
80
40
40
120
60
100
60
120
80
80
80
80
80
80
80
80
80
100
100
80
40
40
120
60
100
100
36
Optimizer method
Horizons
Entire horizon
454/1063 ~43%
1866/3148 ~ 60%
NA
NA
711/1014 ~ 70%
1683/2609 ~65%
907/1253 ~ 72%
1879/2847 ~66%
Shortages
4 SKUs on AL01
37 SKUs on AL02
25 SKUs on AL01
45 SKUs on AL02
Overages
31 SKUs on AL01
36 SKUs on AL02
37 SKUs on AL01
45 SKUs on AL02
37
Optimizer method
Heuristics Method
Horizons
Entire horizon
Entire horizon
454/1063 ~43%
1866/3148 ~ 60%
92/992 ~ 9%
239/2606 ~ 9%
NA
NA
153/1133 ~ 14%
269/2714 ~ 10%
711/1014 ~ 70%
1683/2609 ~65%
431/1028 ~ 42%
933/2647 ~ 35%
907/1253 ~ 72%
1879/2847 ~66%
569/1235 ~ 46%
1071/2854 ~38%
Shortages
4 SKUs on AL01
37 SKUs on AL02
25 SKUs on AL01
45 SKUs on AL02
1 SKU on AL01
5 SKU on AL02
1 SKU on AL01
6 SKU on AL02
Overages
31 SKUs on AL01
36 SKUs on AL02
37 SKUs on AL01
45 SKUs on AL02
12 SKU on AL01
19 SKU on AL01
13 SKU on AL01
21 SKU on AL02
38
39
Set up Master
data
2
Release Demand
plan to SNP
Run SNP
Heuristics
4
Run Capacity
leveling
Review/adjust
planning results
6
Run
Deployment/TLB
40
Cost Optimizer
C++ based
Runs on the optimizer server
Uses Linear programming/Mixed Integer Linear programming concept
Objective Function
Decision Variables
Constraints
ILOGs CPLEX
SAP IP essentially means a black box
Application of mathematical models
41
Objective Function
Business goal that the planner is trying to achieve
What is the problem that is attempted at being solved
Decision Variable
Unknowns impacting the outcome
Demand situation, supply situation
Master data like lot size, lead times, etc.
Constraints
Hard Capacity constraints production/transportation/storage, shelf life, calendar
Soft Capacity constraints Safety stock, due date (demand)
42
4
Review planning
explanation logs
Adjust planning
results/profiles/costs
43
Profiles
Costs
Constraints
Read planning
data
Optimization
Optimization Run
run
Plan Order
Creation
Capacity
Consumption
Alerts
Generation
44
Cost Optimizer
45
Profiles
Optimizer profile
Cost profile
Optimization-Bound profile
Penalty Group profile
Priority Profile
Planning profile
Lot size profile
Demand profile
Supply profile
Parallel processing profile
46
Profiles
Costs
Optimizer profile
Cost profile
Optimization-Bound profile
Penalty Group profile
Priority Profile
Planning profile
Lot size profile
Demand profile
Supply profile
Parallel processing profile
Penalty Costs:
Unfulfilled Demand or delay
Safety stock penalty
Control costs:
Storage Costs
Production
Transportation
Resource Expansion
Procurement
47
Profiles
Costs
Constraints
Optimizer profile
Cost profile
Optimization-Bound profile
Penalty Group profile
Priority Profile
Planning profile
Lot size profile
Demand profile
Supply profile
Parallel processing profile
Penalty Costs:
Unfulfilled Demand or delay
Safety stock penalty
Hard Constraints:
Capacities
Shelf life
Material availabilities
Calendar
Duration of operations
Control costs:
Storage Costs
Production
Transportation
Resource Expansion
Procurement
Soft Constraints:
Safety stock
Due dates (demand)
48
Use
Optimizer profile
Cost profile
Demand profile
Supply profile
Technical profile used to define parameters for breaking the run into parallel processes
49
Cost
Impact
Force production
Controlling lateness/pre-build
50
Source of
Supply
Planning
rules
Production
constraints
51
4
Review planning
explanation logs
Adjust planning
results/profiles/costs
52
Capital-intensive
Every step cost is a constraint
Higher complexity
Essential to factor in all the constraints and complexity
Shelf life
Redeploy vs. additional production
53
Selection assignments
55
56
57
CTM
58
Set up Master
data
Set up CTM
planning profile
Run CTM
Release
Demand plan to
SNP
Run TLB
Review/adjust
planning results
59
Forecast
Open
Sales
orders
Safety
stock
Check Master
Data
Alerts and
Explanation Log
Generation
Read planning
data
Early/Late demand
fulfillment
Total
Demand
Demand
Prioritization
Capacity
Consumption
InTransit
PO
Stock
on
Hand
Lot size
parameter
Open
PO
Lot size
Rules
Search
Strategy
Net requirements
Supply
Demand
Matching
BOM
Explosion
Procurem
ent Type
Transport
ation lane
lead time
Rounding
value
Total
Supply
Supply
Quota
Arrangem
ents
Plan Order
Creation
Multi-source/level Supply
Demand Matching
Source
Determination
Dependent
Demand for
Components
60
Feasible plan
To generate a feasible plan considering all the constraints from the get go
Evolve this feasible plan as the distribution demand position changes
Prioritization
Customer prioritization
Order prioritization Customer order vs. forecast or targets
61
64
68
69
70
72
CTM: BAdIs
74
Set up Master
data
Set up CTM
planning profile
Run CTM
Release
Demand plan to
SNP
Run TLB
Review/adjust
planning results
75
CTM
Optimizer
Unconstrained
Feasible
Optimized
None
Demand, Supply
Master Data
Low
Moderate
High
Flexibility
Low
High
Moderate
Results Explanation
Simple
Complex
Very Complex
Ease of implementation
Simple
Moderate
Complex
Ongoing maintenance
Less
Moderate
Lot
Long-Range Planning
Feasible Plans
Bottleneck Optimization
Speed
Quality of Plan
Prioritization
Multi-level
Use case
76
One-Time Cost
Optimizer
CTM
Heuristics
Continual/Recurring Cost
77
Standalone solution
Heuristics CPG
CTM High-Tech
Optimizer Aerospace
Combination solution
Heuristics + CTM High-Tech
CTM + optimizer Aerospace/Process Industry
78
Transaction: /SAPAPO/PERFMON
Statistics for optimizer runs
Runtime comparisons
Monitor runtime variations for different methods of optimizations
Breakdown of runtime by steps
79
80
Sandeep Pradhan, Demand and Supply Planning with SAP APO (SAP PRESS, 2012).
Balaji Gaddam, Capable to Match (CTM) with SAP APO (SAP PRESS, 2009).
Jochen Balla, Frank Layer, Production planning with SAP APO (SAP PRESS, 2015).
http://help.sap.com
Follow Supply Chain Management SAP Supply Chain Management SAP SCM 7.0
EHP3 SAP Library SAP Advanced Planning and Optimization (SAP APO)
Supply Network Planning
Follow Supply Chain Management SAP Supply Chain Management SAP SCM 7.0
EHP3 SAP Library SAP Advanced Planning and Optimization (SAP APO)
Multilevel Supply and Demand Matching (SDM)
81
82
Your Turn!
Disclaimer
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. Wellesley Information Services is neither owned nor controlled by SAP SE.
84