APO DP System Perfomence

33
Tod Stenger SAP Americas February 11, 2005 The Role of Functional Teams in Optimizing SAP APO Demand Planning System Performance

Transcript of APO DP System Perfomence

Page 1: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 1/33

Page 2: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 2/33

Batch Processing

Sizing

Planning Area Considerations

Planning Books and Macros

Page 3: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 3/33

© SAP AG 2004, Title of Presentation / Speaker Name / 3

Planning Area Performance

Three factors determine planning area performance:

Dimension definition in the planning object structure

Number of key figures in planning area

Time horizons

Page 4: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 4/33

© SAP AG 2004, Title of Presentation / Speaker Name / 4

Time series 

Aug. Sept.W32 W33 W34 W35 W36 W37 W38 W39 W40 W41

Product

      R     e     g      i     o     n     s

   P  e  r   i  o

  d

Product hierarchy 

Regions 

Planning Area

Page 5: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 5/33

© SAP AG 2004, Title of Presentation / Speaker Name / 5

Dimensions are used to group characteristics logically

A dimension table contains a primary key, a dimensionnumber, and characteristics

C Customer # Region …

13970522 west ...

Time dimensionProduct Service Line dimension

T Period Fiscal year …

10 1998 ...

P Product # Product group …

2101004 displays ...

Customer dimension

Dimensions

Page 6: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 6/33

© SAP AG 2004, Title of Presentation / Speaker Name / 6

Planning Object Structure

The combinations of fact and dimension tables

Time dimensionProduct service line dimension

Fact table

Customer dimension

C Customer # Region …

13970522 west ...

P C T Order Qty Revenue Forecast Promotions

250 $ 500,000 500 20

50 $ 100,000 100 5

… … … ...

P Product # Product group …2101004 displays ...

T Period Fiscal year …10 1998 ...

Page 7: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 7/33

© SAP AG 2004, Title of Presentation / Speaker Name / 7

Dimension Definition

Typical recommendation:Make each dimension equal to one hierarchy

Don’t make a dimension with too many relationships

Performance in practice:

Consider the dimension definition that matches selection criteria

Continue to watch the size of a given dimension table

Page 8: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 8/33

© SAP AG 2004, Title of Presentation / Speaker Name / 8

Alternate Dimension Definition

The combinations of fact and dimension tables

Time dimensionProduct service line dimension

Fact table

Customer dimension

C Customer # Region …

13970522 west ...

P C T Order Qty Revenue Forecast Promotions

250 $ 500,000 500 20

50 $ 100,000 100 5

… … … ...

P Product # Sales Region2101004 West

T Period Fiscal year …10 1998 ...

Page 9: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 9/33

© SAP AG 2004, Title of Presentation / Speaker Name / 9

Key Figures

Loaded into system:

History

External forecast

Calculated or entered in APODemand Planning (DP):

Total forecast

Planner adjustment

Forecast error

Questions to ask:

Is this only for reporting (move toBW)?

Is this calculated dynamically onthe screen (consider planningbook key figure)?

Do I need to report on the data inthis key figure?

Page 10: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 10/33

© SAP AG 2004, Title of Presentation / Speaker Name / 10

Key Figures in Planning Area

Limit the number of key figures in the planning area wherepossible

Know that the number of key figures in liveCache will have aneffect on performance

Recognize that you have other options to storing every key figurein liveCache

Page 11: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 11/33

Batch Processing

Sizing

Planning Area Considerations

Planning Books and Macros

Page 12: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 12/33

© SAP AG 2004, Title of Presentation / Speaker Name / 12

Planning Book/Planning View

Planning book

Planning books are based on a planning area

Used for APO DP and Supply Network Planning (SNP)

Creation with Planning Book Wizard

One planning book consists of one or more planning views

Planning view Define layout -> arrange container and graphics in various ways

Grouping of rows in planning view

Allows different layouts of the planning book that can beassigned to different planners

View specific macros

Page 13: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 13/33

© SAP AG 2004, Title of Presentation / Speaker Name / 13

Planning Book

Selection Profile

Interactive Demand Planning 

Grid 1

History

Forecast

Corrected History

Promotions

Total Forecast

ICECREAM

ICECREAM_CH

ICECREAM_ST

MIXEDPACK

GraphDesign Capacity Leveling

APO - Product Total APO - Product Total

Stenger

ICECREAM

W 24 W 25 W 26 W 28W 27

Planning Book

ID Object Text

Vanilla

Chocolate

Strawberry

Mixed Pack

Grid 2

Independent Demand

History

Dependent Demand

W 24 W 25 W 26 W 28W 27

Page 14: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 14/33

© SAP AG 2004, Title of Presentation / Speaker Name / 14

Reading Data from liveCache

live live CacheCache

Time series

Planning book

HistoryForecast

Adjustment

$PriceSales forecastFinal forecast

Data view

HistoryForecastAdjustment

Final forecast

Note: All key figures areread from liveCache

Page 15: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 15/33

© SAP AG 2004, Title of Presentation / Speaker Name / 15

Common Mistakes with Planning Books

Too many key figures

Unnecessary horizons

Inefficient macro calculations

Page 16: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 16/33

© SAP AG 2004, Title of Presentation / Speaker Name / 16

Planning Book Design Guidelines

Limit the number of key figures Generally keep to less than 20

Only include what the user of that planning book needs

It is not necessary to have a view with every key figure in it

Don’t be afraid to add planning books to the system

Consider reducing the characteristics available

If users always select at the same level of aggregation, try putting onlythose characteristics in the planning book

Hide key figures that are calculation only

Use planning book key figures (not defined in planning area)

Only for display Better performance when saving data

Audit macro definition for performance

Page 17: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 17/33

© SAP AG 2004, Title of Presentation / Speaker Name / 17

Macro Performace

Condition statements Do not nest the condition in the step if it only needs to be checked once

Do not check AGG_LEVEL and DET_LEVEL on background jobs

Incorrect Correct

Page 18: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 18/33

© SAP AG 2004, Title of Presentation / Speaker Name / 18

Macro Performance (cont.)

Combining multiple steps One step with multiple operations

Page 19: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 19/33

© SAP AG 2004, Title of Presentation / Speaker Name / 19

Macro Performance (cont.)

Horizons Only calculate on what is necessary

Row attributes only need one iteration

Default macros Level change may be an appropriate substitute

Consolidation of steps

Page 20: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 20/33

Batch Processing

Sizing

Planning Area Considerations

Planning Books and Macros

Page 21: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 21/33

© SAP AG 2004, Title of Presentation / Speaker Name / 21

Planning Book for Batch Process

Selection Profile

Interactive Demand Planning 

Forecast Data

History

Forecast

Corrected History

Promotions

Total Forecast

ICECREAM

ICECREAM_CH

ICECREAM_ST

MIXEDPACK

GraphDesign Capacity Leveling

APO - Product Total APO - Product Total

Stenger

ICECREAM

W 24 W 25 W 26 W 28W 27

Planning Book

ID Object Text

Vanilla

Chocolate

Strawberry

Mixed Pack

Page 22: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 22/33

© SAP AG 2004, Title of Presentation / Speaker Name / 22

Planning Book for Batch Process

Selection Profile

Interactive Demand Planning 

Forecast Data

History

Forecast

Corrected History

Promotions

Total Forecast

ICECREAM

ICECREAM_CH

ICECREAM_ST

MIXEDPACK

GraphDesign Capacity Leveling

APO - Product Total APO - Product Total

Stenger

ICECREAM

W 24 W 25 W 26 W 28W 27

Planning Book

ID Object Text

Vanilla

Chocolate

Strawberry

Mixed Pack

B t h P f C id ti

Page 23: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 23/33

© SAP AG 2004, Title of Presentation / Speaker Name / 23

Batch Performance Considerations

Do:

Create a separate planning book for each Job

Combine macros that use similar key figures into a single job

(multiple actions) Consider aggregation level and time horizon as well

Don’t:

Use default macros in mass-processing planning books

Include history when it is not part of the calculation

Page 24: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 24/33

Batch Processing

Sizing

Planning Area Considerations

Planning Books and Macros

R l t Fi ld f D d Pl i

Page 25: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 25/33

© SAP AG 2004, Title of Presentation / Speaker Name / 25

Relevant Fields for Demand Planning

Quicksizer

Page 26: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 26/33

© SAP AG 2004, Title of Presentation / Speaker Name / 26

Quicksizer 

These are the main drivers for sizing liveCache

Key Figures and Horizons

Page 27: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 27/33

© SAP AG 2004, Title of Presentation / Speaker Name / 27

Key Figures and Horizons

Set 1

Set 3

Set 2

Three independent sets of key figures

Compression Index

Page 28: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 28/33

© SAP AG 2004, Title of Presentation / Speaker Name / 28

Compression Index

Used to estimate the number of key figures that will becompressed in liveCache

Common Sizing Mistakes

Page 29: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 29/33

© SAP AG 2004, Title of Presentation / Speaker Name / 29

Common Sizing Mistakes

Overestimation of characteristic combinations Functional team

Overestimation of number of key figures

“I want it all”

Compression estimate

7 Key Points to Take Home

Page 30: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 30/33

© SAP AG 2004, Title of Presentation / Speaker Name / 30

7 Key Points to Take Home

Dimensions in the planning object structure are important

The number of key figures in a planning book, not a data view,drives interactive performance

Keep planning books simple, for performance sake

Poor macro design will impact interactive planning performance

Combine macros and forecast into as few jobs as possible

Create specific planning books for mass processing jobs

Key drivers of sizing: key figures, characteristic combinations,

and time horizons

Other Resources

Page 31: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 31/33

© SAP AG 2004, Title of Presentation / Speaker Name / 31

Other Resources

SAP Documentation

http://help.sap.com

Documentation>mySAP Business Suite>SAP Supply Chain Management

SAP Service Marketplace

http://service.sap.com

Your Turn!

Page 32: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 32/33

© SAP AG 2004, Title of Presentation / Speaker Name / 32

Your Turn!

How to Contact Me:

Tod Stenger

[email protected]

Q&A? Q&A? Q&A? Q&A? 

Page 33: APO DP System Perfomence

7/27/2019 APO DP System Perfomence

http://slidepdf.com/reader/full/apo-dp-system-perfomence 33/33