SAP APO Overview
SAP APO Overview
SAP APO Overview
Page 1
SNP
PP/DS
TP/VS
ATP
SC Cockpit
APO
Solvers
liveCache
APO
R/3
Page 2
R/3
Legacy
OLTP
Non-R/3
OLTP
Non-R/3
OLTP
R/3
BIW
Advanced
Advanced Forecasting
Forecasting and
and Demand
Demand Planning
Planning
Historical
Data
Customer
order
Manufacturing
Execution
Inventory
Management
Page 3
ATP
ATP
Production
Planning and
Scheduling
Deployment
Deployment
Supply
Supply
Network
Network
Planning
Planning
Key
Perform.
Indicators
External
data
(e.g.POS)
Planning
Systems
Internet
&
EDI
ALE
WebGUIs
APO
infocubes
liveCache
SAPGUIs
R/3
4.x
BW
Page 4
R/3
3.x
liveCache
Production Process
Model
Time Series
+10
+20
Optimized for
fast
response ATP
Page 5
-5
APO Solvers
liveCache
Model Generator,
Metaheuristics,
Optimizing Algorithms
Heuristics
Memoryresident data
object
processing
Supply Chain
Network
Application
Representation of
the extended supply
chain
MindTree Consulting Confidential
liveCache
Application
Manages large amounts of data in main memory
Uses both relational and object-oriented functionality
(ADABAS)
Advantages (Performance)
Avoids disk I/O
References object via pointers
Stores complex data structures in object oriented data
structures
Recovers quickly in case of system crash
Page 6
liveCache
Page 7
A tool
A tool for processing large volumes
of data in main memory.
Main objective = higher performance
Avoid disk I/O
Stores optimized data structures
Scalability
number of processors within one liveCache
number of liveCaches
liveCache
Memoryresident data
object
processing
Application
liveCache
Application
Application
Application
> 1 ms
Data
DataStorage
Storage
Page 8
< 10 s
Data Storage
liveCache
Forecast
DP
liveCache
Supply Plans
On Hand
In transits
Purchase Reqmts
Purchase Order
Sales Order
Sales Order
SD
Page 9
Production Order
Confirmation
Purchase Reqmts
Transport Reqmts Planned Order
Transport Orders
MM
PP
MindTree Consulting Confidential
Optimizer
Optimizers are used for:
Supply Network Planning (SNP)
Production Planning / Detailed Scheduling (DPS)
Capable to Match (CTM)
Page 10
APO
R/3
R/3
R/3
4.x
4.x
4.x
Supply Network
Planning
Supply
R/3
R/3
R/3
4.x
4.x
3.x
R/3
R/3
Non
4.x
4.x
R/3
Page 11
Demand Planning
A
T
P
Production Planning
/ Detail Scheduling
Chain
Cockpit
Live
Cache
MindTree Consulting Confidential
Page 12
Page 13
Transaction Data
Locations
Products
PPMs (BOM+Routing)
Characteristics
Capacities
Planned/Production
Orders
Sales Orders
Purchase Orders
Stocks
ATP Requests
Planning Results
ATP Results
Manufacturing Orders
Procurement Orders
VMI Sales Orders
APO
ERP
BW
APO
ERP
ERP
APO
Page 14
ERP
Technical Considerations
Page 15
SAP APO
Demand Planning
Page 16
Planning horizon
Demand Planning (DP)
Deployment
Page 19
Key Figures
Sales
Production
Stock
Aggregate
Brand
Sales
Customer
Production
Details
Brand
Product
Customer
Sales
Production
Stock
Consistent Planning
Planning
at
io
re
g
Ag
g
ati
Lowest
Level
on
Page 21
Pro Rata
or
Proportional
Factors
g
re
gg
Proportion
al values
generated
sa
Di
Planning
Level
Statistical Toolbox
Univariate Forecasting
Moving Average
Simple Linear Regression
Exponential Smoothing
Holt-Winters
Crostons Model (for sporadic demand)
Causal Analysis
Multiple Linear Regression
Composite Forecasting
Weighted Averaging of Multiple Models
(Ex. Constant, Trend, Seasonal, MLR)
Page 22
Forecast Profiles
Profiles:
Assign a Planning Area
Define which key figure you
want to be forecasted
Define past and future
periods
Specify models to be used
for:
Univariate forecast
Multiple linear regression
Composite forecast
Page 23
Master
Forecast profile
Univariate profile
MLR profile
Composite profile
Page 24
INFORMATION FLOW
Transfer
Transfer
Supplier
Manufacturing
Transfer
Distribution
Transfer
Retail Outlet
Consumer
CASH FLOW
Page 26
Transport
Load Builder
Heuristics
Optimization
Capable to Match
Propagation
SNP
PP/DS
Deployment
Fair share, push rules and deploy to order
Optimization
Deployment
Page 27
TLB
Page 28
Simulation
Supply Network
Planning Run
Interactive Planning
Deployment Run
Management
by Exception
Conversion into
PP/DS orders
Release of SNP
Plan to DP
PP/DS Planning
Page 29
Page 30
Production Process
Model
Manufacturer
Plant
Manufacurer
DC
Customer DC
Supplier Plant
Supplier WH
Page 31
Transport Order
Customer
Demands
Distribution
Centers
Plants
Suppliers
Page 32
Page 33
RETAILER
APO
Plant
Inventory
Warehouse Inventory Distribution
(integrated)
(EDI 852)
Center
Forecast
(integrated)
SNP
R/3,
Sales order
Legacy
Page 34
Forecast
(EDI 830)
VMI
Simulation
Supply Network
Planning Run
Interactive Planning
Deployment Run
Management
by Exception
Conversion into
PP/DS orders
Release of SNP
Plan to DP
PP/DS Planning
Page 35
Page 36
Create Planning
Object structure
Characteristics
Create
Planning Area
Key figures
Initialise
Planning area
Attributes
Create
Planning book
Storage
bucket profile
Create
Planning views
Planning Version
Assign users to
Planning book
Planning
bucket profile
MindTree Consulting Confidential
Resources
The resources are used to define
Capacities of equipment, machines, personnel, means of
transport, warehouses
Page 37
Planning Parameters
Parameters in the resource that are relevant to
scheduling, which the system uses in PP/DS and
SNP.
Used to control in detail how the system schedules
orders to resources.
Examples: Overload, Bottleneck resource, activity
overlap periods, etc.
Page 38
Capacity Models
Shift sequences
Shift sequences
Day number
Validity
Breaks
Shift
factors
Shifts
Quantities / rates
A
Time
Page 39
A B
C
D
Volume
$
Weight
Costs
MindTree Consulting Confidential
PPM summarizes
Process
Routing
BOM
PPM supports
Location-dependent (PPM ID) and
location-independent (Plan No.)
Min/max lot sizes for the master material
Operations
Set of different process steps Bucketed time
intervals for each process step
Resources assigned to production steps
Validity periods
Planning Order
Page 40
material
Pre-assembly
Activities:
Final
Setup
Produce
Product
Tear down
Relationship
Queue time
Resources
assembly
Inspection
In / Out
Sequence
Resource consumption
Page 41
Supply
Supply Chain
Chain Model
Model
Liste
60% 40%
APO
Sourcing
Sourcing
Production
Production &&
Purchasing
Purchasing
Requirements,
Requirements,
Inventory
Inventory levels
levels
Page 42
Definition
Forecasts,
Incoming quotas
Forecasts,
Customers
Production lead times
Customers orders
orders
Transportation lead times
MindTree Consulting Confidential
Quotas
Production Location
O
ut
70%
30%
60%
go
i
Product
ng
uo
ta
s
40%
Quota
60%
Incoming Quotas
Page 43
?
Supplier
40%
Supplier
Planning Process
Demand Planning
Forecast
Supply Network Pl.
Production Planning
Detailed Scheduling
Planned
Orders
Recommended
TransportOrders
Deployment
Transport Load
Builder
Transportation Planning
& Vehicle Scheduling
Page 44
Confirmed
Transport Orders
Transport
Orders
SNP Heuristic
Page 45
Page 46
Page 47
Transportation lanes
Lead Times
Quota arrangements
Lot sizing
Scrap
Component
Availability
PPMs
Page 48
Location Products
SNP Demand Profile
SNP Supply Profile
Demand Profile
Page 49
Capacity Leveling
Capacity leveling is a function within Interactive
Planning
Enables to smooth production schedule
Manual or using a methods-based approach
Provides opportunity to build up inventory or increase
capacity
Alternatives can be easily analyzed
Re-plan even re-forecast before putting the plan into
production.
Page 50
Optimization-Based Planning
Models
In constraint-based planning, production processes can
be represented as optimization models.
A production model based on optimization consists of
Objective Function(s), Decision Variables, and
constraints based on market conditions, physical
processes, and resources/capacity.
These kinds of models are usually called mathematical
programs.
Page 51
Optimization - Components
Page 52
F(x,y2)=
Sourcing
Sourcing
production
production &&
purchasing
purchasing
requirements
requirements
Control costs
Penalty costs
Forecasts
Forecasts
Customers
Customers orders
orders
Priorities for:
demand types
defined via
costs
Page 53
Optimization Methods
Linear Programming
Continuous Linear Optimization Problems
Primal Simplex Method
Dual Simplex Method
Interior Point Method
Page 54
Prioritization
Decomposition
Vertical Aggregated Planning
Horizontal Aggregated Planning
Discretization
Optimization Parameters
Decision Variables
Production lot sizes
Transportation lot sizes
Capacity increase
Objectives
Lateness
Storage costs
Transportation costs
Production costs
Penalty for increasing
capacity
Penalty cost for not
maintaining safety stock*
Penalty cost for late or non
delivery*
Page 55
Constraints
Production capacities
Transportation capacities
Handling capacity
Due dates (demands)
Safety stock
Discrete Values
Production Lot Size
Transportation Lot Size
Page 56
Page 57
Production
PPM
Storage
Resource
Storage expansion
Resource
Cost Profile
Transport cost
Resource
Resource
Resource
Resource
Master data
Delay
Penalty
Procurement
costs
Master data
Master data
MindTree Consulting Confidential
Page 58
Distribution Plan
Production Plan
SNP Resulting Costs
Alerts
Demand
Prioritization
CTM Engine
Create CTM application
model
Match supply to demand
using the CTM algorithm
Page 59
Supply
Categorization
CTM Process
CTM Engine
Phase 1
Build CTM
application
model
Phase 2
Match supply
to demand
Orders in
liveCache
Demand Prioritization
Demands
forecasts
(from APO Demand
Planning)
sales orders
Prioritization based on
order type
customer priority
product priority
due date
Page 60
Prioritized
demands
Demands
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Supply Categorization
Supplies include
inventory
purchase orders
Categorization is based
on supply limits
for each location
for each product
Supplies
Categorized
Supplies
excess
normal
target
Page 61
CTM Results
Categorized
Supplies
Prioritized
Demands
Capable to Match
1.
2.
3.
4.
5.
6.
7.
8.
9.
Page 62
10.
11.
Page 63
Page 64
Location x Product
Page 66
Page 67
Page 68
Supplier
Both
Manufacturer
Business Benefits
Business Benefits
Better Transparency
Page 69
Supply
Supply Network
Network
Planning/Production
Planning/Production
Planning
Planning
Exchange
Component
Component
requirements/
requirements/
constr-aint
constr-aint or
or
unconstraint
unconstraint
forecast
forecast
Collaborate on
exceptions
Supply Network
Planning/Production
Planning
Supply Network
Planning/Production
Planning
Manufacturer
Supplier
Supply
Planner
Alert
broadcasting
(email)
Da
APO SNP
plan
R/3
Page 70
ta
a
ch
e
ng
orm
f
n
i
e
(al
n
o
ati
ds
Committe
m
rt,e
)
ail
Review
requirements
n
upply pla
replan
Account
Manager
Internet
Supplier
System
Purchase order
Deployment
Page 71
Page 72
Page 73
Page 74
Page 75
SNP
PPDS
generate orders
optimize lot size
best for sourcing problems
Page 76
Sourcing,
Confirmation
(SC)
Inventory
Deployment
Transport
Orders
ATP
Actual
Sales
Orders
Historical
DP
Data
Unconstrained SNP
Demand
Plans
Final
Production
Plan
Planned
Orders
PP
Feasible
Schedule
s
Alert Queries
MasterData
SCC
DS
SC
Page 77
Core
Order Creation
(OLTP, SNP, PP/DS)
PP
MRP
PPM Explosion
Availability check against
unassigned receipts
APO
Order
Stock
Transfer
Orders
Page 78
Planning Functionality
Page 79
Features in PP
Automatic planning
When integrated with R/3 continually, this can provide the
most up-to-date information
Manual planning
to handle critical products that require particular attention
when planning
Interactive planning
Planning board feature
Cross-plant planning
Stock transfer or between parties in a supply chain
Page 80
Features in PP -
(Continued)
Lot-size calculation
Lot-for-Lot Order Quantity
Fixed Lot Size
Rounding profile
Scrap calculation
Scrap at assembly level
Scrap at activity level
Page 81
Features in PP
Page 82
(Continued)
Pegging
Demand
Pegging network:
50
Output node
80
50
50
30
20
Order
Page 83
20
Input node
Pegging edge
Used for
supply/demand
allocation
Changes have to be
propagated to all
dependent orders
Find unassigned
order quantity
Strategy Profile
& Scheduling Modes
Page 84
Infinite Scheduling
Schedule an operation without considering resource
capacity
Finite Scheduling
Schedule an operation only when resource capacity is
available
Alert is only generated when planning using finite
scheduling only
Finite
Infinite
Strategy
Strategy
Finite Scheduling
Infinite Scheduling
Page 85
Finite scheduling
Infinite scheduling
Alert display
Alert display
Infinite scheduling
No Alert display
Infinite scheduling
No Alert display
MindTree Consulting Confidential
Scheduling Modes
Infinite loading
Finite loading only
forward
Finite loading only
backwards
Finite loading with
direction switch
Search for a slot in
schedule
Page 86
Insert operation to
close gaps in
schedule
Squeeze-in
operation
Add an operation at
end
Dispatch to nonworking time
Available
New Order
Occupied
Customer Order
Desired date
and quantity
Resource 1
Resource 2
Resource 3
today
Page 87
confirm
Customer Order
Available
Occupied
Desired date
and quantity
New Order
Resource 1
Resource 2
Resource 3
today
Page 88
Confirmed date
and quantity
Occupied
Final loading
Customer Order
Desired date
and quantity
Confirmed date
and quantity
Resource 1
Resource 2
Resource 3
today
Page 89
1st loading
Infinite planning strategy
Due Date
Resource 1
Resource 2 (bottleneck)
Resource 3
ALERTS:
Material 1
Resource Overload
Supplier Delivery Time Violated
Delivery time
today
Page 90
1st loading
Infinite planning strategy
2nd Loading
Finite planning strategy
Due Date
Feasible Due Date
Material 1
Delivery time
today
t
Page 91
Page 92
Batch Optimization
takes into account
complete situations
optimizes feasible
solutions
Examples
backward/forward propagation
scheduling in free slots
simultaneous material and
capacity planning
Page 93
Examples
complete rescheduling
of planning window
Concept: Optimization
Order 1
Order 2
Order 3
Order 4
Resource 6
Resource 5
Resource 4
Resource 3
Resource 2
Resource 1
time
Page 94
Concept: Optimization
Order 3
Order 4
Order 1
Order 2
Resource 6
Resource 5
Resource 4
Resource 3
Resource 2
Resource 1
time
Page 95
Objective
obtain quality solution for given time frame
(scalability for a given problem size)
Purpose
simplify the problem
Metaheuristics consists of
time decomposition
resource decomposition
constraint relaxation
Objects
(resources, orders,
ops, constraints, )
Reduced
opt model
Page 96
Current window
Time
Bottleneck
Time
Bottleneck
1. Determine bottleneck
2. Schedule bottleneck resources only
3. Fix sequence on bottleneck resource
4. Schedule all resources
Page 98
Page 99
Non-work times
Fixed operations
Operations, that
may be rescheduled
Relationships
Optimization range
Page 100
Start
End
Transferred Resources B, C, D
MindTree Consulting Confidential
Decision Variables
Resource Allocation
Alternative Machines
Alternative Storage
Start dates
End dates
Total Lateness
Maximum Lateness
Total Leadtime
Total Setup Times
Total Setup Costs
Constraints
Time Constraints
Maximal (Shelf Life)
Minimal
Deadlines
Production and Storage
Capacities
Calendar (Shifts and Breaks)
Sequence- and Resourcedependent Setup times
Resource Network
Breakable activities
Effectivity of BOMs and
Routings
Productivity (per Shift)
Page 101
Genetic Algorithm
Priority rules
Sequencing
Page 102
Constraint-Based Programming
Approach/method
checks hard constraints during scheduling
propagates constraints during scheduling
additional reduction of the search space
early detection of dead ends
reduces back tracking
Tradeoff
Dynamic propagation needs time
but improves quality of search decisions
Advantages
High-performance constraint propagator (iLog)
Dedicated to complex scheduling problems
Example: shelf life / expiration
Page 103
Constraint-based Programming:
Example
Propagate consequence
of each decision
Dynamic constraint
propagation
checks hard constraints
during scheduling
Page 104
Initial Solution
Solution
with
Changed
Variables
Genetic Algorithms
(GA)
Page 105
GA - Procedures
Page 106
GA- Advantages
High-performance in sequencing
Dedicated to not too complex scheduling
problems
Feasibility should be not the problem
Example: no shelf life / expiration
Page 107
Optimization Profile
Maintain in
Customizing
Settings
Optimizing procedure
Constraint-based
Scheduling
Genetic Algorithm
Runtime
Objective Functions and its
Weights
Page 108
Total lead-time
Set-up times
Set-up costs
Maximum delay
Average delay
Constraint Relaxation
Remove maximum time
constraints
Set utilization rate of all
resources to 100%
Remove calendar
Do not consider set-up
times/costs
Undo fixing of activities
Techniques in Solving
Complex Production
Processes and
Optimization Models in
APO
Page 109
APO Solvers
Supply
Network
Planning
Genetic Algorithms,
Constraint-based
Production
Programming
Planning &
Scheduling
Heuristic Methods
Exponential Smoothing
Holt Winters
Multiple Linear Regression
Page 110
Demand
Planning
Page 111
Page 112
End Time
Start Time
Page 113
Optimization methods
Page 115