Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AP210
Demand Planning
? SAP AG
AG 2001
??SAP APO
??Release 3.0A
??April 2001
??Material number: 50041878
? SAP AG 2001
Trademarks:
??Some software products marketed by SAP AG and its distributors contain proprietary software
components of other software vendors.
®
??Microsoft , WINDOWS ®, NT ®, EXCEL ®, Word ®, PowerPoint ® and SQL Server ® are registered
trademarks of Microsoft Corporation.
®
??IBM , DB2 ®, OS/2®, DB2/6000 ®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX ®, S/390 ®,
AS/400®, OS/390®, and OS/400® are registered trademarks of IBM Corporation.
®
??ORACLE is a registered trademark of ORACLE Corporation.
®
??INFORMIX -OnLine for SAP and INFORMIX® Dynamic Server TM are registered trademarks of
Informix Software Incorporated.
®
??UNIX , X/Open ®, OSF/1®, and Motif ® are registered trademarks of the Open Group.
??HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide
Web Consortium, Massachusetts Institute of Technology.
®
??JAVA is a registered trademark of Sun Microsystems, Inc.
®
??JAVASCRIPT is a registered trademark of Sun Microsystems, Inc., used under license for
technology invented and implemented by Netscape.
??SAP, SAP Logo, R/2, RIVA, R/3, ABAP, SAP ArchiveLink, SAP Business Workflow, WebFlow,
SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.com
are trademarks or registered trademarks of SAP AG in Germany and in several other countries all
over the world. All other products mentioned are trademarks or registered trademarks of their
respective companies.
? SAP AG 2001
??The level 2 course, AP010, is the first of the SAP Advanced Planner and Optimizer training courses
and provides an overview of the individual SAP APO components. It is also a prerequisite for the
advanced level 3 SAP APO training courses.
??The level 3 courses improve on the knowledge base provided by AP010 and deepen your subject
area knowledge of the individual SAP APO components. The five level 3 courses consider the
following areas in detail:
Demand Planning, Integration, Supply Network Planning, Production Planning and Detailed
Scheduling, and Global Available to Promise.
??System administrators have the opportunity to take the course BC555 "LiveCache Administration"
which forms part of the Basis Administration Training curriculum.
Prerequisites
Recommended
? SAP AG 2001
?
Target group
Duration
? 3 Tage
?
? SAP AG 2001
?
Precision Pump Company
? The Precision Pump Company was launched in 1971, and is the
market leader, selling a large variety of hi-tech standard pumps. It has
been indexed in the New Yorker stock index NASDAQ 100 since 1998.
Products
? The company’s product catalog includes turbo-molecular
?
pumps, rotational pumps, and membrane pumps
(to produce ultra high vacuums)
Customers
? From the electronics industry, semiconductor
industries, chemical technology, pharmaceutical
technology, and industrial technology, up to and
including vehicle manufacturers, and universities.
? SAP AG 2001
??The Precision Pump Company was launched in 1971, and is the market leader, selling a large variety
of hi-tech standard pumps. Its product catalog includes turbomolecular, centrifugal, rotational, and
membrane pumps. The customer base is wide-ranging. It consists of the electronics, and
semiconductor industries, chemical, and pharmaceutical companies, and others in the process
industry, but also includes vehicle manufacturers, and universities. The company recently became
ISO certified and has been indexed in the New Yorker stock index NASDAQ 100 since 1998.
??Especially in the rapidly growing business area of turbomolecular pumps, the company has shown
a clear rise in revenue over the past fiscal year: in the semiconductor industries countless steps,
from wafer manufacture, to the final chip, can only be made under high vacuum conditions. In this
area, there must be an ultimate pressure of < 10-10 mbar (i.e. ultrahigh vacuum).
??During the current fiscal year, the company is planning to enter the booming DVD growth market.
DVDs are a form of rewritable optical memory media. They are distinguished from the CD by
their large memory capacity. Coating equipment needed to create these rewritable DVDs also use
vacuum technology.
??Via intensive 'co-engineering' with manufacturers, Precision Pump Company has optimized a large
number of products to match these special requirements.
2500 DC Rotterdam
3000 New York 1000 Hamburg
Hamburg (main plant
plant and
and company
company
headquarters)
Plant DC
? SAP AG 2001
??This slide shows the central section of the Precision Pump Company’s supply chain. All the
locations shown exist as plants in the connected OLTP (R/3) system:
??Three production plants:
1000 – Hamburg
2300 – Barcelona
3000 – New York
??Three Distribution Centers(DC)
2400 – Milan
2500 – Rotterdam
3800 – Denver
80 %
1000 Hamburg (headquarters)
20 %
20 %
1320 Naples
Export
2402 Jashanmal
? SAP AG 2001
Trading, Dubai
??This slide shows the distribution of finished products P-102, P -103 and P-104.
??DC 2400 can obtain finished products P-102, P-103, and P-104 from both plants 1000 (Hamburg)
and 2300 (Barcelona). Quota arrangement controls the amount obtained from each plant, in this case
80% from plant 2300, and 20% from plant 1000.
??DC 2500 can obtain finished products P-102, P-103, and P-104 from both plants 1000 (Hamburg),
and 2300 (Barcelona). Quota arrangement controls the amount obtained from each plant, in this case
80% from plant 1000, and 20% from plant 2300.
??Pumps P -102, P -103, and P -104 are delivered to customers 2502, and 2503 from DC 2500
(Rotterdam).
??Pumps P -102, P -103, and P -104 are delivered to customers 1320, and 2403 from DC 2400 (Milan).
Product group
Pumps
? SAP AG 2001
Contents:
? Architecture & Integration
? InfoCubes
? Demand Planning Configuration
? Interactive Planning
? Forecasting Techniques
? Promotion Planning
? Demand Planning Release
? SAP AG 2001
? SAP AG 2001
Preface
? SAP AG 2001
11 Course Overview
1
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
??Demand Planning is the application component in the Advanced Planner and Optimizer (APO) that
allows you to forecast market demand for your company's products. The result of APO Demand
Planning is the demand plan.
??Demand Planning is a complex, powerful, and flexible tool that supports your company's demand
planning process. User-specific planning layouts and interactive planning books not only allow you
to include different departments, you can also use them to include other companies in the forecast
creation process. With APO Demand Planning you can use statistical forecasting methods and
advanced macro techniques to do the following: - Create forecasts from sales history, based on many
different causal factors; - Test predefined, and user-defined forecast models, and forecast results; -
And use a consensus-based approach to consolidate the demand plans of different departments. You
can use forecast overrides and promotions to add marketing intelligence and management
adjustments. The seamless integration with APO Supply Network Planning supports an efficient
Sales and Operations Planning (S&OP) process.
Location
Aggregated actual data Future demand
Product hierarchy forecast
Sold-to party
Sales organization
Region
? Incoming order
value
? Statistical forecasting
? Quantities BW
? Collaborative forecasting
? Values
R/3 ? Promotions
? Invoice Excel
? Quantities Non-SAP system
? Values
?…
? SAP AG 2001
??The APO DP library of statistical forecasting and advanced macro techniques allows you to create
forecasts based on sales history as well as any number of causal factors, and use a consensus -based
approach to consolidate the results.
??Marketing intelligence and management adjustments can be added by using forecast overrides and
promotions.
??Aggregated actual data can be extracted from the R/3 system in exactly the same way as it can be
imported from BW, Excel, and legacy systems.
Demand Planning
Supply Network
Planning
Production
Planning
? SAP AG 2001
??Small changes made during Demand Planning cause large changes to be made during Production
Planning. The aim of Demand Planning therefore is to create sales quantity forecasts that are as
accurate as possible.
Sales
Sales Force
Force
Price
Price Price
Price
Weather
Weather
Advertisement
Advertisement
? SAP AG 2001
??The complexity and competitive nature of today's business environment requires organizations to
consider many variables when developing a sales and operations plan.
??Multiple sources of demand plan data (e.g. manufacturer forecast is based on a distributor’s sales
history, and/or point of sales direct from retailer.)
??Factors influencing demand (sales force size, R&D expenditures, advertising expenditures, price,
promotions, seasonality.)
??Demand data can be exchanged with sales organizations, customers, and suppliers over the
Internet (Collaborative Demand Planning).
Planning Horizon
Demand Planning (DP)
Deployment
Transportation Planning
? SAP AG 2001
??Planning horizons vary depending on the tools used within APO and their application. In an extreme
case, demand planning might typically consider a 1-3 year planning horizon where TLB will have a
horizon of days.
??The seamless integration with APO components Supply Network Planning (SNP), and PP/DS
supports an efficient S&OP process.
OLTP
OLTP (R/3)
(R/3) APO Information
Supply Chain Cockpit Warehouse
Warehouse
LIS, CO-PA (SAP BW)
HR, FI Demand Planning Historical
Planned Indep. data
Requirements
Customer
orders PP / DS
Supply Key
Global
Production Network Performance
ATP
Scheduling Planning Key figures
Inventory (KPIs)
Deployment
management
? SAP AG 2001
??Aggregated actual data can be transferred to APO from OLTP, BW (Business Information
Warehouse), Excel, and Legacy systems, and saved in InfoCubes. This data is the basis for
forecasting. The demand plan is created as a result of the forecast.
??You release the demand plan to Production Planning, which creates planned independent
requirements for Supply Network Planning (SNP), and PP/DS. You can also transfer the demand
plan to the operating system (OLTP) as planned independent requirements.
??Theseamless integration with Supply Network Planning (SNP), and PP/DS supports an efficient
S&OP process.
Exception messages
from forecasting
techniques and self-
defined macro alerts
DP
? SAP AG 2001
Demand Planning
Forecast Reporting
Sales history,
Price, Costs, ... Business
APO
Information
Data Mart
Warehouse
Forecast
??SAP'sBusiness Information Warehouse (SAP BW) is contained in the APO scope of supply and is
completely integrated with it.
??Ifyou are going to execute extensive reporting, it is a good idea to set up an independent BW server,
and only transfer the data that is relevant for planning to the APO system.
??As data structures in BW and APO are identical, you can also evaluate APO data with the BW
frontend.
Extraction Planning
structure area
RemoteCube
liveCache
? SAP AG 2001
??You can also evaluate data from APO using the BW frontend.
??It is not only the aggregated actual datafrom the InfoCubes that are evaluated, but also all of the
order and time series objects from the liveCache.
??The prerequisites for 'liveReporting' orders and time series are as follows: a planning area in APO;
an extraction structure for the planning area; an infosource, and an SAP RemoteCube that reflects the
liveCache data.
Aug. Sept.
W32 W33 W34 W35 W36 W37 W38 W39 W40 W41
Time series
d
rio
Pe
Regions
Regions
Product
??An InfoCube consists of a number of relational tables that are arranged according to the star schema:
a large fact table in the center, surrounded by several dimension tables. Dimension tables are
independent of one another. The fact table connects the dimensions with the key figures.
??InfoCubes are used in BW and Demand Planning as central data containers They consist of key
figures, attributes, and time characteristics.
??A key figure is a numerical value that is either a quantity or a monetary amount; for example,
projected sales value in dollars or projected sales quantity in pallets.
??Characteristics are the objects by which you aggregate, disaggregate and evaluate business data.
??Time characteristics define the periods in which you view, plan and store data.
??The multidimensional nature of the InfoCubes allows for powerful data analysis capabilities using
the Demand Planning selection and drill up / drill down functions.
Planning Areas
liveCache
liveCache liveCache
liveCache
??A planning area is the central data structure of Demand Planning and Supply Network Planning. It
groups together the parameters that define the scope of planning activities. It also determines where
and how the planning results are saved.
??InDemand Planning and Supply Network Planning, data is divided into planning areas, and
subdivided into versions. Consequently, the data that you save in planning version 1, planning area 1
does not overwrite the data in planning version 1, planning area 2.
??The planning area contains characteristics, and key figures for planning, and must be initialized for
every planning version.
??A key figure is a numerical value that is either a quantity or a monetary amount; for example,
projected sales value in dollars or projected sales quan tity in pallets.
??Characteristics are the objects by which you aggregate, disaggregate and evaluate business data.
??Key figure data can be read from different InfoCubes or time series objects.
??Key figure planning data is stored in time series objects in the liveCache.
Selection
APO - Product Total APO - Location Total
ID Object Text Design Graph Capacity Leveling
Selection ID
Header information
Selected objects
Planning book
Data views Right mouse button:
additional settings
Standard selections
Macros
? SAP AG 2001
??The APO modules Demand Planning and Supply Network Planning have a standard user interface.
It consists of two significant components: the selection range and the work area.
??The selection range (Shuffler) is the window, where you choose the InfoObjects to be planned.
??Inthe Shuffler, you can save commonly used selections, and load existing selections. To open the
Shuffler, choose the symbol selection window.
??The selection profile displays all the selection IDs which have been assigned for the planner. The
planner can access commonly used selections quickly using the selection IDs.
??Inthe data view area, you choose your planning books, and views. You can define a filter for
available planning books and views.
bottom up)
d
rio
Pe
? Slice & dice 203
Customer
124
? SAP AG 2001
??Planning supports online simulation in multiple planning scenarios, consistent planning throughout
your enterprise (top down, middle out, or bottom up), drilling up and down, aggregation and
disaggregation, and slice-and-dice techniques.
??Consistent planning means that planning data on all planning levels can be consistently held
(automatic aggregation and disaggregation).
? Univariate Forecasting
? Moving average
? Models (constant, seasonal
trend, seasonal)
? Exponential smoothing
? Seasonal linear regression
? Holt-Winters
? Croston's method (for sporadic
demand)
? Causal Analysis
? Multiple linear regression
? Composite forecasting
? Weighted average of multiple
models
? SAP AG 2001
??The product portfolio of a company covers a variety of products in different stages of their lifecycle
and with different demand types.
??APO Demand Planning offers a "toolbox" of proven forecasting methods. The system allows you to
choose the best method for a specific demand type.
??Compositeforecasting extends the idea of pick-the-best; with this technique you combine two or
more methods.
??Croston's method allows you to model "lumpy" (sporadic) demand.
??The statistical forecasting toolbox provides all the features you require to efficiently create accurate
forecasts, including everything from data analysis via time series models through multiple linear
regression.
Like
Lifecycle
Time
? SAP AG 2001
??You use lifecycle planning and "Like" modeling to forecast the launch (phase-in) and
discontinuation (phase-out) of a product.
??A product's lifecycle consists of different phases: launch (phase-in), growth, maturity, and
discontinuation (phase-out). This process models launch, growth and discontinuation phases.
??For all characteristic value combinations, you can use either a "like" profile, a phase-in profile, or a
phase-out profile, or any combination of these.
??Ifthe phase-out profile period is within the history horizon of the master forecast profile, the system
adjusts history input values, displays the adjusted values in the original history and corrected history
key figures, and writes the adjusted values in the corrected history.
??Ifthe phase-in profile period is within the future horizon of the specified master forecast profile, the
system adjusts baseline (original) forecasts, and writes the adjusted values in the corrected forecast
key figure.
Forecast simulation
Quantity
? SAP AG 2001
Planned independent
Key figure: sales quantity requirements
Macros SNP
Alerts PP/DS
? SAP AG 2001
??Once the various stakeholders in the forecast have reached a one-number, consensus plan, you
release the demand plan as a planned independent requirement.
??You release the demand plan from Demand Planning (DP) via either the demand planner or the SNP
planner.
??This release causes planned independent requirements to be created in the order liveCache. These
anonymous demands form the basis of SNP, or PP/DS, where BOM explosion, capacity planning,
and sourcing are carried out for the complete supply network.
??After feasibility of the planned sales quantities in SNP or PP/DS has been checked, the results can be
transferred back to Demand Planning. Macros are used to analyze the differences between the
demand plan and feasible quantities and alerts are generated if large differences occur.
? SAP AG 2001
Contents:
? Administrator Workbench
? InfoCubes defined
? Creating InfoCubes
? Settings to load data to InfoCubes
? SAP AG 2001
? SAP AG 2001
11 Course Overview 2
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
Location
Aggregated actual data Future demand
Product hierarchy forecast
Sold-to party
Sales organization
Region
? Incoming order
value ? Statistical forecasting
? Quantities ? Collaborative forecasting
Values R/3
? ? Promotions
? POS data Excel
? Nielsen / IRI data Non-SAP system
? SAP AG 2001
??Administrator Workbench is the tool you use to create InfoObjects and InfoCubes, and to load data
from a source system to the InfoCubes. APO Release 3.0 contains the complete Business
Information Warehouse (BW), Release 2.0.
??You use InfoCubes to store actual data and archive old planning data. If you have an external data
warehouse such as the SAP Business Information Warehouse (BW), you transfer data relevant for
planning to the Demand Planning InfoCubes (DP data mart).
??Aggregated actual data can be extracted from the R/3 system in exactly the same way as it can be
imported from BW, Excel, and legacy systems.
??POS (Point of Sales) data is consumer sales data. This can be procured from firms like Nielsen or IRI
(Information Resources Inc.).
InfoCubes
Update rules
Communication
InfoSource
Communication structure
structure
Transfer
Transfer structure Transfer
Transfer structure Transfer
Transfer structure
structure
Extraction Extraction
Extraction source
source structure
structure
Extraction source
source structure
structure Extraction
Extraction source
source structure
structure
? SAP AG 2001
??The Administrator Workbench is the central location for maintaining InfoCubes, InfoObjects, and all
system extraction tools for retrieving external data.
??The APO data mart uses the same extraction tools as SAP's BW; so it has the same capability to tie
together R/3 and non-R/3 systems, other data warehouses, and application data files, as well as, use
third party extraction tools.
InfoObject Catalogs
? Organize characteristics and key figures
? SAP AG 2001
??'InfoObject' is the gener icterm for the key figures and characteristics of the APO DataMart. It comes
with both standard BW InfoObjects, and standard APO InfoObjects (starting with '9A'). When you
are creating your own InfoObject, you can decide whether to create an APO InfoObjec t, or a BW
InfoObject. For characteristics it is not important whether you create APO characteristics, or BW
characteristics. For key figures, you should create APO key figures if you will want to fix values or
quantities to this key figure at a later stag e.
??InfoCatalogs can be user-defined. They are used to organize characteristics and key figures.
??Navigation attributes are used for grouping and selecting actual and planning data. Typical
navigation attributes are for example, MRP controller, or customer group who do not represent a
separate planning level but are used for grouping.
InfoArea
Key figure
Catalog
Characteristic
Catalog
InfoCubes
InfoObjects
? SAP AG 2001
??Within the Business Information Warehouse, InfoAreas are used to group objects:
??Each InfoCube is assigned to an InfoArea.
??InfoObjects can also be assigned to different InfoAreas via InfoObject catalogs.
Aug. Sept.
W32 W33 W34 W35 W36 W37 W38 W39 W40 W41
time series
d
rio
Pe
Regions
Regions
Product
Product hierarchy
? SAP AG 2001
??The architecture of an InfoCube is based on what's known as a "star schema" which consists of fact
tables and dimension tables.
??The multidimensional nature of an InfoCube allows the user to slice and dice the data in many
different ways.
? SAP AG 2001
??Key figures are currency, quantity or number fields such as sales revenue or sales quantity.
??A characteristic is an object on which you aggregate and report data. Examples of characteristics are
region, product, customer (unit characteristics) and month, week, day (time characteristics).
??When deciding which characteristics to include in your InfoCube for Demand Planning, consider
that:
??Characteristics define the levels to which you can aggregate data
??Characteristics define the levels at which you can maintain data
??In addition to the three dimensions that are generated automatically (time, unit, Info Package), your
InfoCube contains user-defined dimensions. In Demand Planning, one of these user-defined
dimensions is "version".
??Create BW InfoCubes only, as APO InfoCubes are only used internally.
? SAP AG 2001
??The fact table contains the key figure data for each unique combination of characteristic values. The
referencing of the fact table takes place using the artificially entered dimension key (DIM-ID). As
artificial keys are formed for the connection between the dimension and fact table, changes to the
master data table can take place relatively problem-free, without having to rebuild the (natural) key
every time. In the evaluation, a resulting quantity is first formed by the selections in the dimension
tables. This quantity is then selected directly by the artificial key from the fact table.
Customer dimension
C Customer # Region …
13970522 West ...
? SAP AG 2001
Customer dimension
C Customer # Region …
13970522 West ...
Fact table
? SAP AG 2001
??InfoCubes produce a multi-dimensional data model on the database server of the APO data mart. In
this way, the facts are collected in separate fact tables and the dimensions grouped into separate
dimension tables. Both table types are connected with one another in a relational way. Individual
dimension characteristic values can in turn be subdivided by master data tables. In this way, master
data, classification and hierarchy data tables as well as dimension tables are finally grouped in a star -
like formation around one central fact table. During the analysis, first the data from the surrounding
smaller tables is collected together in order to reduce the reading time in the large fact table.
??This database schema "Star Schema" guarantees high reporting efficiency and provides a flexible
solution that can be easily adjusted to changing business requirements.
??When creating an InfoCube you concentrate on the key figures and characteristics that you require in
planning. You must then group together your characteristics in dimensions, including a time
dimension, and a quantity dimension. Using your entries the system automatically generates a Star
Schema in the database.
? All systems which provide data for extraction into the data
mart
? Types of source system
? SAP R/2 Systems
? SAP R/3 Systems (From Release 3.0D)
? External systems (third party tools or files)
? Data is extracted and transformed using the InfoSource for
the source system
? SAP AG 2001
Types of extractor
FI LIS Database
CO table/view
HR
... FI SL
SAP Query
LO Cockpit CO PA
Enhancements
Enhancements
? SAP AG 2001
??Transaction
data that is transferred to InfoCubes via extractors can come from a number of different
modules. Multiple extraction mechanisms are necessary for this purpose, and for historical
development reasons. The next few slides will provide an example of transaction data extraction
from LIS.
APO System
InfoCubes
Update rules
Communication
Communication structure
Transfer rules
Transfer structure Transfer structure
Extraction
Extraction source
source structure Extraction
Extraction source
source structure
OLTP
OLTP 1:
1: LIS
LIS info
info structure
structure OLTP
OLTP 2:
2: LIS
LIS info structure
? SAP AG 2001
??Above you see the flow of data from the source system into the Demand Planning data mart. You
carry out this transfer using tools in the Admin Workbench.
3. Replicate/assign DataSource
? SAP AG 2001
??The following scenario provides an example of how actuals are loaded onto the APO system from an
R/3 information structure. This is simply one of the ways the data mart can be configur ed for
Demand Planning. You can find details on the APO Administrator Workbench in the SAP Business
Information Warehouse documentation under Administrator Workbench.
??This procedure is valid from R/3 release 3.1H.
? SAP AG 2001
??You must first define several settings so that LIS info-structures can be used as source tables.
??You first have to configure the LIS environment for the associated info structures.
??To do this, choose 'Administrator Workbench' => 'Source Systems' => (choose appropriate source
system and click the right mouse button) 'Customizing for extraction...' => 'Generated DataSources'
=> 'Logistics' => 'Logistics Information System' => 'Connect information structures'.
??Alternatively, you can call up transaction 'SBIW' in the R/3 system, or start report 'RMCSBIWC' in
the menu.
S5nn
InfoSource
2LIS_01_S5nn
pdate
u
lta
LIS Update De
Process 1.
S5nnBIW1
TMCBIW
Control table S5nnBIW2
BIW Status '2' R
? SAP AG 2001
??If you start the delta update from OLTP into APO, tables S5nnnBIW1 and S5nnBIW2 are used.
??The info structure is active in OLTP. Data from S5nnBIW1 is loaded into the BW for the first delta
update.
??During the first delta update in APO, the LIS update process in the OLTP system updates both the
LIS info structure itself, and the table S5nnBIW2 that is then used for the second delta update
request in the BW.
??At the start of every delta update request, table S5nnBIW1 is automatically exchanged with table
S5nnBIW2 to avoid data inconsistencies during upload. During a delta update in the BW, the
indicator "BIW status" in table "TMCBIW" is automatically switched from 1 (for table S5nnBIW1)
to 2 (for table S5nnBIW2).
??The data from a delta table remains in the table until the next delta upload, so that a reload is possible
up to that point.
InfoArea 1 InfoArea 2
InfoCube InfoCube
Update rules
Transfer structure
Source System
R/3 Excel
Legacy BW
? SAP AG 2001
??Above you see the flow of data from the source system into the Demand Planning data mart. You
carry out this transfer using tools in the Admin Workb ench.
??The data is passed from the source system to the InfoSource in the DP data mart via an extract
structure. In the extract structure, data from an R/3 application, for example, is prepared for the
InfoSource.
??An InfoSource is a provider structure in the Admin Workbench. It contains data that from a business
point of view logically belongs together. The InfoSource metadata defines which InfoObjects are
contained in the InfoSource, as well as the descriptions and technical information of the InfoObjects.
In the Admin Workbench you assign the InfoSource to an application component.
??The system generates the transfer structure and the communication structure from the InfoSource
metadata. The data is passed through these two structures into the InfoCube from the InfoArea.
? Supplies the data mart with data from a source system that
belongs logically together from a business point of view
? Types of InfoSources:
? Transaction data
? Master Data, texts, hierarchies
? Transfer structures and communication structures are
generated from the InfoSource
? SAP AG 2001
? Using a routine
Communication
Communication structure
? SAP AG 2001
InfoSource
? Info Package
? Control parameters for loading data
? Control of data target
? Controlling the InfoCubes to be updated
? Update parameters
? Scheduling & monitoring of jobs
? SAP AG 2001
? SAP AG 2001
Unit: InfoCubes
Topic: Administrator Workbench
You will be allocated a group number ## for all exercises in this course. Ask your
instructor.
1-1 Explore the structure of the SALES InfoCube in the Administrator Workbench .
1-2 What dimensions have been defined in the SALES InfoCube and which
characteristics are assigned to each individual dimension?
In the following table, note down the dimensions and characteristics from the SALES
InfoCube:
Dimension Characteristics
1-4 Display the contents of the SALES InfoCube and analyze the characteristic
combinations and entries for the key figures.
1-5 Call up the BW Business Explorer Analyzer, to evaluate the data that is saved in the
SALES InfoCube. Log on to the APO system and open the query SALES DATA for
the SALES InfoCube.
Exit the query and Business Explorer Analyzer without saving.
Unit: InfoCubes
Topic: Administrator Workbench
You will be allocated a group number ## for all exercises in this course. Ask your
instructor.
1-1 Explore the structure of the SALES InfoCube in the Administrator Workbench .
1-2 What dimensions have been defined in the SALES InfoCube and which
characteristics are assigned to each individual dimension?
Dimensions are represented by the three triangle icon.
When you expand a dimension, you see the characteristics assigned to it
In the following table, note down the dimensions and characteristics from the SALES
InfoCube:
Dimension Characteristics
Planning version APO Planning version
Sales Sales organization, division, sold-to party
Product Product hierarchy, APO product, APO location
Time Calendar year/month
Data packet Change run ID, record type, request ID
Unit Unit of measure, currency key
1-4 Display the contents of the SALES InfoCube and analyze the characteristic
combinations and entries for the key figures
Contents:
? Planning object structures
? Characteristic Value Combinations
? Planning Areas
? Proportional Factors
? Releasing the Demand Plan
? SAP AG 2001
? SAP AG 2001
11 Course Overview
22 InfoCubes
3
33 Configuration
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
Planning table
Planning book
Planning area
??InDemand Planning and Supply Network Planning, data is divided into planning areas, and
subdivided into versions. Consequently, the data that you save in planning version 1, planning area 1
does not overwrite the data in planning version 1, planning area 2.
??The planning area contains characteristics, and key figures for planning, and must be initialized for
every planning version.
??A key figure is a numerical value that is either a quantity or a monetary amount; for example,
projected sales value in dollars or projected sales quantity in pallets.
??Characteristics are the objects by which you aggregate, disaggregate and evaluate business data.
??Key figure data can be read from different InfoCubes or time series objects.
??Key figure planning data is stored in time series objects in the liveCache.
??To save planning data in an InfoCube, create an extraction structure for the planning area, and
connect it to the InfoCube.
Planning table
Planning book
Planning area
? SAP AG 2001
??Demand Planning characteristics define the levels on which the demand plans are created, changed,
aggregated, and disaggregated. For example, your Master Data could include all the products,
product families, regions, and customers that your company is going to plan with APO Demand
Planning, plus all the appropriate combinations of these (for example, which customers buy which
products, in which regions). You map these levels in a non-hierarchical selection tree. From a
technical point of view, specify which characteristic values can be planned for the characteristics in
your planning area. Demand Planning or Supply Network Planning master data includes all the
allowed values of a characteristic. These are called the characteristic values. Characteristic values are
specific names. Thus the characteristic " Location", for example, can have the values London, Delhi,
or New York.
??You can only use a planning area that is shared by both Demand Planning, and Supply Network
Planning, if Demand Planning in your company is done on a "product" level or "product plus
location" level. If Demand Planning is done on other levels, such as on a brand or regional level,
separate planning areas are required. A planning area used for Supply Network Planning can only
contain Standard SNP characteristics.
??Characteristicsthat are used both in Demand Planning, and Supply Network Planning can be used in
one planning area.
Planning area
Characteristics
Aggregates
Master planning
object structure
tes
on attribu
ati
SNP characteristics Navig
DP characteristics Characteristic value combinations
? SAP AG 2001
??A master planning object structure contains characteristics that can be planned for one or more
planning areas. In Demand Planning characteristics can be either standard characteristics and/or
characteristics that you created in the Administrator Workbench. Characteristics define the levels to
which you can plan and save data. Particular characteristics are required for Supply Network
Planning, characteristics-based planning, and als o dependent demand forecasting. These
characteristics can be included in the master planning object structure.
??For demand planning, the InfoCube must be used to generate characteristic combinations for the
planning area.
??The aggregates in APO are not identical to those in the Business Information Warehouse (BW), but
they do have the same purpose: they access data quickly and thus improve performance. SAP
recommends the use of aggregates within Demand Planning.
??An APO aggregate consists of a subset of the characteristics contained within the master planning
object structure. Creating and working with aggregates is optional. Data is always saved at the lowest
detailed level. If aggregates do exist, the system saves the planning data both at the defined
aggregate level and at the lowest detailed level. Data is saved consistently in duplicate. This means
that the total of details is the same as the aggregate value.
??In the APO Administrator Workbench you create characteristics as navigation attributes. These
should be used for selecting and navigation but not as planning levels. You then assign these
attributes to the characteristics they belong to. This is how you can assign the attributes "sales
employee", and "priority", for example, to the characteristic "customer" during definition of the
InfoObject "Customer".
Customer dimension
C Customer Region
Baker West
Which customer and
product combinations
Product dimension
should be planned?
P Product Product group
P-102 Pumps
? SAP AG 2001
Product dimension
? SAP AG 2001
??Characteristic value combinations define the valid relationships between characteristic values and
form the basis for aggregation/disaggregation of key figure values. There are two ways of creating
characteristic value combinations:
??Automatically, by generating characteristic value combinations based on existing data from an
InfoCube. With this option, the system generates all the new combinations that it finds in the
horizon specified. You can plan automatic generation periodically so that new characteristic value
combinations are added each time but old ones are never deleted.
??Individually, by completely defining characteristic values (this creates one data record)
??If you want to create multiple characteristic value combinations (for new products, for example), it
is often a good idea to maintain the characteristic value combinations in Excel, then load them into
an InfoCube, and start to generate the characteristic value combinations for this InfoCube.
??Realignment also provides possibilities for reorganizing actual data and characteristic value
combinations. For more information, read SAPnet R/3 frontend note 360935, and access report
/SAPAPO/TS_REALIGNMENT via transaction SE38.
??The result of the creation process is a network of planning objects.
Planning area
? SAP AG 2001
??Planning data is stored in the base unit of measure and the base currency.
??Allthe products you want to plan in a planning area need to be converted into the base unit of
measure at least once.
??A storage buckets profile defines the periods over which data (based on a given planning area) in
Demand Planning, and Supply Network Planning will be saved. You need to have a storage buckets
profile before you can create a planning area.
??To create a storage buckets profile, choose Periodicities for Planning Area from the Current Settings
in Demand Planning or Supply Network Planning. Make the following specifications in a storage
buckets profile:
??one or more periodicities where you would like to save data
??a typical valid time period Horizon (you set the actual horizon when creating the time series for
the planning version)
??Ifdata is saved with a special time stream (such as factory calendars), enter a time stream ID (entry
optional). The time stream must be as long as or longer than the horizon. It may not be shorter.
??If at the start of a planning horizon data is to be saved in a fixed number of rolling days, then in a
larger time bucket, specify the number of days (specification optional).
??You can for example store your actual data in the InfoCube on a monthly time basis and enter the
planning data in the planning area within a more detailed time buckets profile, such as weekly.
Planning table
Planning book
Planning area
Characteristics Key figures
Master planning
Time series
object structure objects
SNP characteristics liveCache
liveCache
DP characteristics
Aggregates
? SAP AG 2001
??Key figure data can be read from different InfoCubes or time series objects.
??Key figures are only stored in time series objects in the liveCache.
Planning area
Actual key figures Forecast Planning key figures
Time series
Forecasts
objects
objects
to SNP
liveCache
Planned independent
? Incoming order value requirements for
R/3 ? Quantities SNP and PP/DS
? Values Order
Excel
objects
liveCache
liveCache
Administrator Workbench
? SAP AG 2001
??Key figure data can be read from different InfoCubes or time series objects.
??Key figure planning data is stored in time series objects in the liveCache.
??To store planning data in the database (in an InfoCube), create an extraction structure for the
planning area. This extraction structure appears as a DataSource for the APO source system in the
Administrator Workbench. You link this DataSource with the InfoCube via an InfoSource. For more
information read notes 373756, and 374534.
? Version dependent
? Period specific (optional)
Product family
? Storage in key figure APODPDANT
70 % 30 %
? Maintenance in planning table
Product A Product B
50 % 50 %
?
?
Plant A Plant B
? SAP AG 2001
??Constant proportional factors are one way of executing disaggregation. Constant proportional factors
are derived from historical data or occasionally past planning data. Disaggregation can be executed
in different ways for different key figures.
??Theproportional factors define the percentage rates at which aggregated data is disaggregated to the
members.
??Enter the version, key figure and horizon to perform an automatic calculation of proportional factors.
The system first calculates the entire quant ity (value) for the key figure in the specified horizon. The
quantities (values) of the individual members are then defined and the percentage calculated.
??You must then specify for which version, and which horizon the proportional factors are to be saved.
??Ifyou select "detailed proportions", you can choose for example which historical periods should be
saved for which future periods, for example, the proportions of June 99 based on the proportions of
June 98 etc.
??You can also maintain the proportional factors interactively via the planning table.
Pro rata
S
According to member data, with no equal member data
? SAP AG 2001
Total
Disaggregation
Aggregation
Details
USA Customer2 50 50
? SAP AG 2001
??The above slide illustrates how disaggregation is performed if you set key figure Sales to calculation
type Pro rata.
??The data is disaggregated according to the distribution ratio that the system derives dynamically
from the existing planned data. The proportional factors are not used with this disaggregation type.
??In this example, the data is distributed to customer 1 and customer 2 in region Europe based on the
ratio 3:4 (150:200).
Total
Aggregation Disaggregation
Details
? SAP AG 2001
??The above slide illustrates how disaggregation is performed if you set key figure Sales to calculation
type P with key figure APODPDANT.
??The data is disaggregated according to the proportional factors. In this example, customer 1 and
customer 2 in region Europe have the same proportional factors (0.25), so the data is distributed
equally between them.
??The proportional factors are percentage-based and held in the key figure APODPDANT. You can
make the system calculate proportions for the key figure APODPDANT based on Actual_data.
Planning table
Planning book
Planning area
? SAP AG 2001
??Inorder to be able to save data for a planning area version, time series must be created for that
version. The system creates time series in the liveCache for each characteristic value combination,
and each key figure.
??If you have to re-initialize
a planning area after actualizing your master data or extending the
planning horizon, you must not delete the old time series objects before creating new objects. The
system can see where new characteristic value combinations already exist, and only creates time
series objects for the new master data time series objects.
Active1model
Model
Transportation Simulation
PPM Products lanes model
Locations
Planning area
Characteristics Key figures
? SAP AG 2001
??You initialize the planning area by right clicking on the planning area, and choosing Create time
series objects.
??Enter the planning version plus the start and end date. You can re-initialize the planning area in
rolling periods. This deletes "obsolete" periods, and adds new periods for the future.
??If you have to re-initializea planning area after actualizing your master data or extending the
planning horizon, you do not have to delete the old time series objects before creating new objects.
The system is able to recognize where new characteristic value combinations already exist, and only
creates time series objects for the new master data time series objects.
??You delete time series objects, for example, if you are working with five versions, but only want to
keep two of them.
? Copy versions
? Delete versions
Characteristic
allocation
Version 1 Version 2
Key figures
allocation
? SAP AG 2001
??Each planning version (or DP version) is a separate set of data. You can display only one version at a
time in interactive planning. Different versions of the plan can be saved for archiving or comparison
purposes.
??You can also copy demand planning versions using Version Management. A version number must
first be created. After the version number is created, you can copy the data using the copy function.
??Boththe version data and the version number are deleted when you delete using Version
Management.
??Demand planning versions are 10 characters long and are alphanumeric.
??Different version management tools are provided for the versions you use in SNP and PP/DS.
??Ifthe forecast is completed in demand planning, release the forecasted amount to the liveCache as a
planned independent requirement.
??To do this follow the path Demand Planning->Environment->Release to SNP
??The "add data" flag means that the released amounts will be added to planned individual
requirements that may already exist. It is a good idea to use this setting if you want to release from
multiple planning areas.
??Ifthe "location" characteristic is contained in the DP planning area, the sales quantities are
disaggregated to the locations automatically. If you have maintained the distribution of products to
various locations in the location split table, the system will use the corresponding factors.
??You can, for instance, control distribution of a product group to members via product split. Product
split is used when you want to remove characteristic 9AMATNR using extended characteristic
selection.
??Ifthe storage buckets profile from the DP planning area does not contain days, you can still split the
sales quantities over days using the daily buckets profile. How this split is made depends on the
settings in the SNP requirements profile in SNP 2 product master view.
40 % 40 % 20 %
DC 1 DC 2 DC 3
? SAP AG 2001
??Ifthe "location" characteristic is contained in the DP planning area, the sales quantities are
disaggregated to the locations automatically. When you release it, you specify your product and
location characteristics (such as 9AMATNR and 9ALOCNO), and the system releases the exact
location product quantities planned.
??If you are using location split, you are not permitted to enter the location characteristic name, as
allocation will be made according to that in the location split table.
??Product split will always be checked.
? SAP AG 2001
Unit: Configuration
Topic: Creating a planning object structure
1-1 Create a planning object structure called POS##. This planning object structure should
contain the following characteristics:
2-1 Generate characteristic value combinations for your planning object structure POS##.
Use historical data from the SALES InfoCube, version 000 from the previous year.
You must not select Create time series objects. If planning areas already
existed for your planning object structure, the system would create time
series for these planning areas and new characteristic combinations.
2-2 Check the characteristic value combinations that have been generated.
3-1 Create a planning area called PLAN## for your planning object structure POS##.
Store the following parameters:
9APROM1 Promotion 1
CORR Correction
CORRFOR Corrected forecast
CORRHIST Corrected history
FINFOR Final forecast
FORECAST Forecast
INVQTY Invoiced sales qty
Make sure that invoice quantity is read from the SALES InfoCube.
When setting the forecast, correction, and corrected forecast key figures, make sure
that the proportional factor from key figure APODPDANT is taken into consideration
for disaggregating blank columns.
3-2 Create time series for your planning area (PLAN##), for version 000, for 24 months in
the past, and 12 months in the future.
4-1 Generate proportional factors for your planning area PLAN## based on the SALES
InfoCube. Calculate fixed proportional factors for plng version 000, and the next 6
months.
Base the calculation on the mean proportional factor in key figure Invoiced sales
quantity from version 000 for the past 6 months.
The proportional factor calculation results can be displayed and changed interactively
in the planning table. This function is discussed in more detail in the Interactive
Planning unit.
For the proportion calculation in this example, the system sums the
invoiced sale amount data of the past 6 months. The system then
calculates the mean proportional factor of each characteristic value
combination in this horizon, and saves it in the APODPDANT key
figure.
Unit: Configuration
Topic: Creating a planning object structure
1-1 Create a planning object structure called POS##. This planning object structure should
contain the following characteristics:
For text, enter “Group ## planning object structure”, and select the above
characteristics from the right hand column, and choose “Add char.”.
Select the “Activate” symbol, and activate your planning object structure.
A dialog box appears: A master plng object structure already exists for this
character. comb Do you want to create an identical master planning object
structure? ? Yes
Return to Administration of Demand Planning and Supply Network Planning
2-1 Generate characteristic value combinations for your planning object structure POS##.
Use historical data from the SALES InfoCube, from version 000 of last year.
You must not select Create time series objects. If planning areas already
existed for your planning object structure, the system would create time
series for these planning areas and new characteristic c ombinations.
2-2 Check the characteristic value combinations that have been generated.
3-1 Create a planning area called PLAN## for your planning object structure POS##.
Store the following parameters:
9APROM1 Promotion 1
CORR Correction
CORRFOR Corrected forecast
CORRHIST Corrected history
FINFOR Final forecast
FORECAST Forecast
INVQTY Invoiced sales qty
Make sure that invoice quantity is read from the SALES InfoCube.
When setting the forecast, correction, and corrected forecast key figures, make sure
that the proportional factor from key figure APODPDANT is taken into consideration
for disaggregating blank columns.
3-2 Create time series for your planning area (PLAN##), for version 000, for 24 months in
the past, and 12 months in the future.
4-1 Generate proportional factors for your planning area PLAN## based on the SALES
InfoCube. Calculate fixed proportional factors for plng version 000, and the next 6
months.
Base the calculation on the mean proportional factor in key figure Invoiced sales
quantity from version 000 for the past 6 months.
The pr oportional factor calculation results can be displayed and changed interactively
in the planning table. This function is discussed in more detail in the Interactive
Planning unit.
For the proportion calculation in this example, the system sums the
invoiced sale amount data of the past 6 months. The system then
calculates the mean proportional factor of each characteristic value
combination in this horizon, and saves it in the APODPDANT key
figure.
Contents:
? Definition of planning books
? User-defined planning views
? Time Buckets Profile
? Advanced macros
? Default, start, exit macros
? SAP AG 2001
? SAP AG 2001
11 Course Overview
2 InfoCubes
33 Configuration 4
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
Planning area
? SAP AG 2001
??The most important Demand Planning tool is the planning book. A planning book is based on
information or subgroup of information from a planning area. The demand planner does not maintain
the planning area.
??In the planning book, select the characteristics, and key figures required for the demand planner's
individual tasks.
??Each planning book can contain several views where you can store key figures for detailed analyses
and planning tasks.
??In each view you must also determine the planning horizon and time buckets profile.
Promotion 1
Univariate Forecasting
Standard views Causal Analysis
Composite Forecasting
Standard
Manual proportion maintenance
functions
? SAP AG 2001
??A planning book contains one or more views on the planning data in the planning area.
??A planning book has both user-specific views and SAP defined standard views.
??To create a planning book, choose Define Planning Book from the Current Settings in Demand
Planning or from Customizing for Demand Planning. An "Assistant" then helps you through all the
necessary steps. Once you have made all your tab page entries, choose 'Continue' and you will go to
the next tab page. Once you have finished processing the various tab pages, you can save the
planning book. To do this choose 'complete', and confirm the each message that appears. The system
saves the planning book and also adds the standard key figures required to execute the chosen
functions (see below).
??You can now go directly from Interactive Planning to Planning Book Maintenance by switching
from Live mode to Design mode.
??The first time you create a planning book, you can only get to the next view by choosing "Continue"
in the wizard. You can only use the tab in change mode.
??When you call up interactive planning for the first time, you go into default planning book 9ADP01
??Create a view for the planning book. You need at least one view for planning.
??You enter a view description. The data view description appears in the planning book shuffler, to
the left of the interactive planning table.
??You specify the status as either private (1), (the view can only be used by the current user), or
protected (2), which means that other users are not able to change the view, but they can use it as a
create template for their own views.
??You define the planning horizon by entering planning buckets profiles. The planning buckets
profiles must contain either all the periods or a subset of periods from the time buckets profile that
the planning area is based on. If you plan past and future dates, you must enter the planning buckets
profile for past and future. You can specify which part of the historical buckets profile should be
displayed as (i) initial value, and which part (ii), changeable. You specify the start of the future
planning horizon by entering either a date, or an offset. The offset refers to the number of days
between today's date, and the start of the future planning horizon. The period type, i.e. days, weeks,
months etc, is predefined in the future planning buckets profile. By selecting the indicator "horizon",
you can also specify that a column be created to add up all the future horizon values; in the next
release, this column is intended to be used for version comparisons.
??If you wish to use two grids on one screen (for example the capacity view in planning book
9ASNP94), select the indicator next to the second grid title; you can also enter a text for this grid. An
additional tab screen appears in the planning book maintenance assistant where you define the key
figures for the second grid.
Number of
promotions Basic periodicity Display periodicity
3 M
2 M W
1 W D
1. 2. 3. Weeks
Days
? SAP AG 2001
14/99 4/99
? SAP AG 2001
??Data is always stored in the smallest periodicity and is aggregated from the time buckets profile
being used.
??You use the planning buckets profiles you created to define the future planning horizon and past
horizon of a planning book. You enter both of these horizons into the planning book. In both
interactive Demand Planning and interactive Supply Network Planning the system shows the
horizons with the smallest period at the start and the largest period at the end. The future horizon
starts with the smallest period (the start date of the planning horizon) and continues processing from
that point onwards, with the largest period at the end. The past horizon starts with the smallest period
(the day before the start of the future horizon) and continues processing from that point backwards,
with the largest period at the end.
? SAP AG 2001
??Advanced Macros are user -defined formulas that can be executed within the grid of a planning book.
They are much like spreadsheet formulas, but provide more flexibility and function better than
typical formulas in spreadsheets.
??The extreme flexibility of the advanced macros allows the planner to model a user-specific planning
environment based on individual business tasks.
? SAP AG 2001
? MacroBuilder
? Maintain from planning book design or separate transaction
„Macrobuilder“
M 08.1999 M 09.1999
Elements Events
Actual sales 100 100
? SAP AG 2001
??Macros are a fast and simple method of performing complex mathematical calculations. Macros are
either executed by the user directly, or at a predefined point in time. Defining macros is optional.
??You can edit macros either during planning book maintenance or in Customizing. A macro can either
be created for an entire planning book or for a specific data view. You can also copy macros from
existing books into a new book.
2. Step
? SAP AG 2001
1. Step
Corrected forecast
+
Manual adjustments
1. Step
IF
Adjustment > 500 (condition)
Manual adjustments
> 500
Enter adjustment <= 500! (procedural message)
ENDIF
? SAP AG 2001
??It
comes with a number of macro examples. To access them, go to the MacroBuilder and select:
Macros for: SAP example and template macros.
??All macros can be imported into planning books.
Macro
START DEFAULT Level change EXIT
execution:
Time
? SAP AG 2001
??You can specify that a macro is to be carried out automatically for a particular planning book. There
are three ways to execute a macro automatically:
??The start macro is run whenever you call up the planning table.
??The default macro is run whenever you regenerate the planning, (for example, when you press
ENTER), when you open or save the plan. It happens that it is run several times.
??A level change macro is always executed with a drillup or drilldown.
??The exit macro is run immediately before the data is saved.
??To define a macro for automatic execution, drag it over the Default, Start or Exit node.
??If
a macro is not set for automatic execution, it can be executed directly in interactive planning or
mass processing.
??To exclude a start, default or exit macro from the list of macros that can be executed from the
interactive planning screen, select Not directly executable in the macro's attributes.
Alert monitor
?Dynamic alerts
?Database alerts
Display
Evaluation
? SAP AG 2001
??The role of the alert monitor is to inform you about exceptional circumstances that have originated in
your plan. Demand Planning alerts are generated through macros and through the forecast.
??Dynamic alerts are based on the current planning situation but are not stored in the database. One of
the differences that SNP alerts in APO version 3.0 have from those in version 2.0, is that the alerts
are now macro-dependent, and can be used to model data in the liveCache. This alert type is NOT
suitable for large alert quantities, as large numbers reduce performance.
??Database alerts show the planning situation as it was during the planning run, or the last time the
macro was executed. If you are working with large quantities of data, you should perform a batch
planning run using the database macro. The planning run results show the situation as it was at the
time of the planning run. This means that database alerts give a snapshot of the plan during runtime.
??You can also use macros to create customer-specific alert types, dynamic alert types, or database
alert types. To generate alerts in the background, create a planning view using the corresponding
default macro, or use Demand Planning mass processing.
??You must maintain your alert profile if you want to trace alerts from Demand Planning and
Procurement Planning in APO. This profile allows you to maintain a user-specific alert selection for
your area of responsibility.
? SAP AG 2001
1-1 Create a planning book called SALES## for your planning area PLAN##. Enter
“SALES” as planning book text, activate the Manual maintenance of proportional
factors, and all four of the Navigate to views.
Ensure that all the characteristics and key figures from your planning area are added
into the planning book.
Also create a data view called DEMAND PLAN with all key figures. It should have
a history horizon of 24 months and a future horizon of 12 months. The historical
data should be visible in interactive planning. Complete the planning book.
1-2 In the planning book, change the description of the “Invoiced sales quantity” key
figure to ACTUAL SALES.
Also create an auxiliary key figure, ADDITION, with the description LAST
YEAR’S SALES, and assign it to the data view. Change the sequence of the key
figures in the data view by dragging LAST YEAR’S SALES below ACTUAL
SALES.
Auxiliary key figures are only used for displaying in the planning table.
The data in this key figure is neither saved, aggregated, nor
disaggregated.
1-4 Go to interactive demand planning, and select your DEMAND PLAN data view
from the SALES## planning book. Open the planning book and data view selection
window by moving the gray bar on the lower left upwards.
1-5 Check your planning book SALES## with both data views in interactive planning.
Are all the key figures displayed correctly?
Also change to design mode and define the key figures LAST YEAR’S SALES and
PROMOTION as an output key figure.
2-1 In the DEMAND PLAN data view, create a macro called LAST YEAR for your
SALES## planning book. This macro copies last year’s actual sales into the current
year’s auxiliary key figure LAST YEAR’S SALES. When you set up the macro make
sure that it is automatically executed whenever changes are made in the planning
table.
2-2 Write a macro called DEMAND PLAN CALCULATION for your SALES##
planning book in the DEMAND PLAN data view that will calculate the final demand
plan from the sum of the corrected forecast, promotion and correction according to the
following formula:
CORRECTED FORECAST + PROMOTION + CORRECTION = DEMAND PLAN
Set the macro so that it is automatically executed whenever a change is made in the
planning table.
2-3 In the DEMAND PLAN data view, create a macro called ALERT for your SALES##
planning book. This macro should generate an alert when the correction in one
column is larger than the corrected forecast.
When you set up the macro make sure that it is automatically executed whenever
changes are made in the planning table.
Do not save
1-1 Create a planning book called SALES## for your planning area PLAN##. Enter
“SALES” as planning book text, activate the Manual maintenance of proportional
factors, and all four of the Navigate to views.
Ensure that all the characteristics and key figures from your planning area are added
into the planning book.
Also create a data view called DEMAND PLAN with all key figures. It should have
a history horizon of 24 months and a future horizon of 12 months. The historical
data should be visible in interactive planning. Complete the planning book.
1-2 In the planning book, change the description of the “Invoiced sales quantity” key
figure to ACTUAL SALES.
Also create an auxiliary key figure, ADDITION, with the description LAST
YEAR’S SALES, and assign it to the data view.
Change the sequence of the key figures in the data view by dragging LAST
YEAR’S SALES below ACTUAL SALES.
Edit your planning book and choose the first tab, “Key fig. attributes”.
Choose the Invoiced sales quantity key figure (INVQTY), choose “FreeText”,
and enter ACTUAL SALES. Save the settings.
For key figure, enter ADDITION by overwriting the existing key figure, and in
the free text, enter LAST YEAR’S SALES. Save the settings.
Go to the last “Key figures” tab, drag the ADDITION key figure from the right-
hand to the left-hand side of the book, and choose “Complete”.
Stay in the SDP: Interactive Planning - Initial Screen
Auxiliary key figures are only used for displaying in the planning table.
The data in this key figure is neither saved, aggregated, nor
disaggregated.
1-4 Go to interactive demand planning, and select your DEMAND PLAN data view
from the SALES## planning book. Open the planning book and data view selection
window by moving the gray bar on the lower left upwards.
Demand Planning ? Planning ? Interactive Demand Planning
Drag the bar from the lower left-hand window upwards to open the planning
book window.
Expand the planning book SALES## and double click on your data view.
Stay in Interactive Planning.
1-5 Check your planning book SALES## with both data views in interactive planning.
Are all the key figures displayed correctly?
Also change to design mode and define the key figures LAST YEAR’S SALES and
PROMOTION as an output key figure.
Double click on each of your data views in turn. Are all of your key figures
displayed correctly?
You open Design mode by choosing “Design”. Right click on the LAST YEAR’S
SALES, and PROMOTION key figures, and choose Selected Rows ? Output
only. The rows are grayed out.
Return to interactive planning via the “live” button, and save everything. They
are only colored after data selection.
Exit interactive planning.
2-1 In the DEMAND PLAN data view, create a macro called LAST YEAR for your
SALES## planning book. This macro copies last year’s actual sales into the current
year’s auxiliary key figure LAST YEAR’S SALES. When you set up the macro
make sure that it is automatically executed whenever changes are made in the
planning table.
Drag the macro from the Elements window in the top left-hand corner, and drop
it onto macros in the central window. In the dialog box, enter DEMAND PLAN
CALCULATION as the name of the macro. Continue.
Drag the step from the Elements window and drop it over your new macro in the
central window. In the descriptive text section of the dialog box, enter 1. STEP
and reduce the Processing area to the next 12 months. Continue.
Drag a planning table row from the Elements window and drop it over your 1.
Step in the central window. Enter FINAL FORECAST as the row in the dialog
box. Continue.
Drag a planning table row from the Elements window and drop it over your
results row in the central window. Choose “Create in next level”. Enter
CORRECTED FORECAST as the row in the dialog box. Continue.
Drag the Operator/function from the Elements window and drop it over your
CORRECTED FORECAST row in the central window. Use "Append". Operator
“+“ is selected already, continue.
Drag a planning table row from the Elements window and drop it over your
Operator in the central window. Use "Append". Enter CORRECTION as the
row in the dialog box. Continue.
Drag the Operator/function from the Elements window and drop it over your
CORRECTION row in the central window. Use "Append". Operator “+“ is
selected already, continue.
Drag a planning table row from the Elements window and drop it over your
Operator in the central window. Use "Append". Enter PROMOTION as the row
in the dialog box. Continue.
Select your macro and first choose Check, and then Generate
Drag the macro from the central window, and drop it over DEFAULT in the
Events window, in the top right-hand corner of the screen.
Stay in the MacroBuilder
Drag the macro from the Elements window in the top left-hand corner, and drop
it onto macros in the central window. In the Descriptive text section of the dialog
box, enter ALERT. Continue.
Drag the step from the Elements window and drop it over your new macro in the
central window. In the Descriptive text section of the dialog box, enter 1. STEP.
Continue.
Drag a Control statement from the Elements window and drop it over your 1. Step
in the central window. Choose “Create in next level”. The “IF” condition is
selected already, continue.
Drag a Condition from the Elements window and drop it over your Control
statement in the central window. Use "Append". Enter “Correction > Corr.
Forecast” as the descriptive text in the dialog box. Continue.
Drag a planning table row from the Elements window and drop it over your
results row in the central window. Choose “Create in next level”. Enter
CORRECTION as the row in the dialog box. Continue.
Drag the Operator/function from the Elements window and drop it over your
CORRECTION row in the central window. Use "Append". Choose Operator “>”,
continue.
Drag a planning table row from the Elements window and drop it over your
Operator in the central window. Use "Append". Enter CORRECTED
FORECAST as the row in the dialog box. Continue.
Drag the Alert/status from the Elements window and drop it over your condition
in the central window. Use "Append". Enter “Correction > Corr. Forecast” as
the descriptive text in the dialog box. Continue.
Drag a Control statement from the Elements window and drop it over your Alert
in the central window. Choose “Append”, and choose “ENDIF” as reference,
continue.
Select your macro and first choose Check, and then Generate
Drag the macro from the central window, and drop it over DEFAULT in the
Events window, in the top right-hand corner of the screen.
Save and leave the MacroBuilder
Do not save.
Demand Planning ? Planning ? Interactive Demand Planning
Double click on the DEMAND PLAN data view for your SALES## planning
book
Open the selection window, and choose product hierarchy in “Show”. Continue.
Double click on Hierarchy 0110. The rows for this selection can now be entered
in the planning table.
Also assign the SDP “PUMP” alert profile to your user in interactive planning so
that your alerts will be displayed:
Settings ? Assign alert profile
Do not save and exit interactive planning
Contents:
? Selection
? Navigation within the planning table
? Interactive proportional factor maintenance
? Fixing of values
? Collaborative planning
? SAP AG 2001
? SAP AG 2001
11 Course Overview
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning 5
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
ID Object Text Display dependent objects; For example, all the products from
Object 1 Text 1 one particular brand
Object 2 Text 2
Select all characteristic values in InfoObject area
Object 3 Text 3
Object 4 Text 4 Deselect all characteristic values in InfoObject area
Selection profile
User Go back to last selection
Selection ID Re-execute last selection
Define the format to be used to display the
characteristic values in the InfoObject area
Planning books
Display current selection
Data views
Hide selection range
Macros
? SAP AG 2001
??The Shuffler is the window, where you choose the InfoObjects to be planned. You choose
information types that fulfil particular conditions from the selection statement dropdown boxes
(show... that meet the following conditions...).
??In the selection profile you are shown which selection IDs the present planner is working with. The
demand planner can access commonly used selections quickly using the selection profile. To add
selection IDs to the selection profile click on Selection Profile.
??Inthe data view area, choose your planning books, and data views. When all the available planning
books can be seen, the planner has access to planning books used in Supply Network Planning, as
well as in Demand Planning.
??The component area displays the macros that are active for all the data views in this planning book
including this data view.
User
Selection 1 P-100
Selection 2 P-101
P-101
Selection 3
? SAP AG 2001
??The Shuffler is the window, where you choose the InfoObjects to be planned. You choose
information types that fulfil particular conditions from the selection statement dropdown boxes
(show... that meet the following conditions...).
Disaggregation
4. Create or change your plan.
Aggregation
5. The key figures are disaggregated
automatically using the
characteristics combinations in the
fact table.
? SAP AG 2001
??You choose the data you want to plan by selecting characteristic values and the version number.
??Once you have loaded the data, an aggregate view of the selected data is displayed in the interactive
planning screen.
??When you save the data, it is automatically disaggregated and stored at the detailed level.
??To store selections (characteristic values and versions) that are used on a regular basis, you define
selection variants. These variants can be organized into folders. A delete function is also available
for selection variants.
Display one key figure, some key figures, or all the key figures
? SAP AG 2001
??The work area is the key display, and planning area. It is situated on the right hand side of the screen,
and consists of one table, and one graphic. By default, only the table is shown.
??To display data on selected objects in the work area, double click on the selected object. If you have
selected multiple objects, choose Load data.
??You can use the magnifying glass icon to set the planning view key figures to be shown in the work
area.
??You can send plans internally or externally via email if the system is connected to a mail server. The
system automatically creates a Microsoft Excel attachment containing the plan.
Current selection:
Customer Product
Region
Region
Product
Customer
? SAP AG 2001
Header information
Shows the
details in sequence ?Total ?Total
details (all) details (all)
?P-100 ?DC 2400
?P-101 ?DC 2500
Shows all ?P-102
the details in one
overview
??To set header information, choose Settings -> Header Information from the planning table.
??You can display your characteristic values in sequence using the arrows in the header information.
The total shows you the total of your data in the work area. If you choose details (all), you will see
an overview of everything that is in your work area.
??With Swap rows/columns, you can arrange the periods vertically. Synchronize table and graphic is
used to arrange the same periods below one another.
??Pivot sorting allows the sequence of key figures and characteristic values to be set in the View of all
details.
50 % 50 %
Plant A Plant B
? SAP AG 2001
??For the basis of the automatic calculation you have to specify the version, the key figure and the
horizon.
??You also have to specify for which version the proportional factors are to be calculated and for
which horizon.
??Ifyou select "detailed proportions" the systems uses for example the proportions of June 98 to
calculate the proportions of June 99 and so on.
??You can also maintain the proportional factors via the planning table.
Distribute functions
Operator
Swap Rows/Columns OP Short text
= Replace time series values by value
Synchronize table/graphic + Add value to time series
- Minus value from time series
Change units of measurement * Multiply time series values by value
Pivot sorting / Divide time series values by value
% Value as a percentage of the time series
etc. ...
? Total
? SAP AG 2001
??You can swap columns with rows, synchronize table and graphic, change units of measurement, and
perform pivot sorting by right clicking.
??A wide range of distribution functions is available for speedy data entry.
??When you start to plan, the selected data is locked. Other planners can work on other characteristic
values and versions in the same InfoCube simultaneously.
??You can insert a column for row totals either in interactive planning or in the planning book.
? Note Management
? Entering a note
? Note navigation
Select to see
administration
information
2. Enter your
note here
? SAP AG 2001
??You use notes when you want to explain (for your own information or for another demand planner),
the reasons why a sales forecast, for example, is particularly low or high at a particular period and on
a particular level.
??You can drill down from a higher level to a note on a lower level using note navigation. You use this
option when you (as demand planner), are working at a higher level (for example, at Region level),
and want to display the forecast explanations created by a different planner at a lower level (for
example, at Product level).
? SAP AG 2001
??You can fix the value of a key figure in interactive planning before running the forecast. Once fixed
this value will not change when you change other values of this key figure at other planning levels.
Where a change to the sum of the details' values conflicts with the individual details' values, the
values of the details take precedence.
??Prerequisite 1: you have already created an APO key figure in the Administrator Workbench and
assigned it a fixed key figure. Prerequisite 2: If you want to fix values at aggregated levels, you
must define an aggregate for this level in your planning object structure.
??To fix a key figure value, right click on the key figure value's cell. The color changes red and a
padlock icon appears, indicating that this value is now fixed.
??To undo the fixing of a key figure value, right click once again on the cell.
APO Collaboration C
Engine APO Collaboration Client
O
Advanced M
Alert Monitor Planning books, selections, alert
Macros M
monitor
Planning U
Internet/Intranet
books
N
I
Planning Areas
C
InfoCubes and time series A
Administration T
component I
O
L A Y E R: N
? SAP AG 2001
? SAP AG 2001
The aim of this exercise is for you to explore the functions of interactive
planning. The data that you enter here will not be used in any of the later
exercises.
This exercise is subdivided into the following categories.
1. Creating selections
2. Configuring header information and the key figure view.
3. Fixing key figure values
4. Manual proportional factor maintenance
1-1 Selections are made to enable fast access to characteristics combinations that are used
on a daily basis. Therefore in your SALES## planning book in the DEMAND PLAN
data view in Interactive Planning, create a selection called PRODUCT## for version
000 and create products P-102 to P-104. Assign this selection to your selection
profile.
Which sold-to parties buy product P -102?
Load data for all three products into the planning table and distribute 1000 pieces over
the next 4 months for the Corrected Forecast key figure.
Show the row totals for the future columns.
The aim of the following exercises is for you to explore the navigation functions in the
planning table. Do not save the entered planning data.
2-1 In the planning table, choose the Corrected forecast and Last year’s sales key figures
only.
2-2 In the planning table, set the header information so that you can navigate through
products and sold-to party. D isplay all the product details.
Check aggregation and disaggregation for the Corrected forecast key figure. If you
change data at detailed level, the changes will also be aggregated up to the totals level.
If you change data at the totals level, the changes will be disaggregated and made at
detailed level too. The new detail ratio will be incorporated as the planning area is set
so that the key figure “Pro rata” is disaggregated.
2-3 Use pivot sorting to display first the products and then the key figures.
3-1 Call up the key figure view for the Correction key figure for the three products and
perform a drilldown according to product.
Enter 100 pieces as the total in one period and fix the value of one detail value. At the
totals level enter 120 pieces instead of 100 and check that the fixed value remains the
same.
Return to the totals display (drill up), and enter a comment on the corrected value.
4-1 In the “Configuration” chapter you have already calculated the proportional factors
based on actual data. In your PROPORTION data view for product P-102, and for the
fifth month of the future, change the calculated percentage proportion for sold-to party
(customer) 1000. Save.
Return to the DEMAND PLAN data view and for the Corrected forecast key figure in
the fifth month, enter 1000 pieces for product P-102. Execute a drill down according
to sold-to party. Were your new proportional factors used for the disaggregation?
The aim of this exercise is for you to explore the functions of interactive
planning. The data that you enter here will not be used in any of the later
exercises.
This exercise is subdivided into the following categories.
1. Creating selections
2. Configuring header information and the key figure view.
3. Fixing key figure values
4. Manual proportional factor maintenance
1-1 Selections are made to enable fast access to characteristics combinations that are used
on a daily basis. Therefore in your SALES## planning book in the DEMAND PLAN
data view in Interactive Planning, create a selection called PRODUCT## for version
000 and create products P-102 to P-104. Assign this selection to your selection
profile.
Which sold-to parties buy product P -102?
Load data for all three products into the planning table and distribute 1000 pieces over
the next 4 months for the Corrected Forecast key figure.
Show the row totals for the future columns.
The aim of the following exercises is for you to explore the navigation functions in the
planning table. Do not save the entered planning data.
2-1 In the planning table, choose the Corrected forecast and Last year’s sales key figures
only.
Press the magnifying glass (key figure selection) that is above the planning table
and choose the Corrected forecast key figure followed by Last year’s sales.
2-2 In the planning table, set the header information so that you can navigate through
products and sold-to party. D isplay all the product details.
Check aggregation and disaggregation for the Corrected forecast key figure. If you
change data at detailed level, the changes will also be aggregated up to the totals level.
If you change data at the totals level, the changes will be disaggregated and made at
detailed level too. The new detail ratio will be incorporated as the planning area is set
so that the key figure “Pro rata” is disaggregated.
Fix the value of a detail and change the value at totals level: unfixed values are not
disaggregated.
Go via Settings ? Header information and choose the characteristics Product and
Sold-to party. A navigation bar now appears above the planning table (if it does not
appear click on the “Header on/off” icon). You can now use the different functions
on the navigation bar to set characteristic value totals, single characteristic values,
or a characteristic value overview (all details). Check aggregation and
disaggregation in the overview.
2-3 Use pivot sorting to display first the products and then the key figures.
Right click on the field in the upper left-hand side of the planning table, and choose
Pivot sorting. In the dialog box, drag Product so that it is above Key figure.
Continue.
Stay in interactive planning for the next exercise
3-1 Call up the key figure view for the Correction key figure for the three products and
perform a drilldown according to product.
Enter 100 pieces as the total in one period and fix the value of one detail value. At the
totals level enter 120 pieces instead of 100 and check that the fixed value remains the
same.
Return to the totals display (drill up), and enter a comment on the corrected value.
Enter 100 pieces in one of the Correction key figure periods.
Choose the Correction key figure only and drill down according to product by
choosing All details in the product header information.
To fix values in the planning table or to store notes, right click on the appropriate
field.
Fix the value of a detail using the right mouse button
Enter 120 pieces instead of 100 and check that the fixed value remains the same.
Execute a drill up according to product by choosing “Total” in the product header
information.
Store a note for the fixed value using the right mouse button.
Stay in interactive planning for the next exercise
4-1 In the “Configuration” chapter you have already calculated the proportional factors
based on actual data. In your PROPORTION data view for product P-102, and for the
fifth month of the future, change the calculated percentage proportion for sold-to party
(customer) 1000. Save.
Return to the DEMAND PLAN data view and for the Corrected forecast key figure in
the fifth month, enter 1000 pieces for product P-102. Execute a drill down according
to sold-to party. Were your new proportional factors used for the disaggregation?
Double click on the PROPORTION data view for your SALES## planning book.
Do not save the entered data.
Load the data for product P -102.
Switch the data display from absolute (unit-based) to percentage based by choosing
the Double Sum icon above the planning table.
Execute a drill down according to Sold-to party by choosing “All details” in the
Sold-to party header information.
Change the proportion of a sold-to party in the fifth month. Save.
Double click on the DEMAND PLAN data view for your SALES## planning book.
Load the data for product P -102.
For the Corrected Forecast key figure, in the fifth month, enter 1000 pieces. If
planning data is already present here, first change it to 0, press enter and then
change it to 1000 pieces.
Choose the Corrected forecast key figure only and drill down according to sold -to
party by choosing “All details” in the Sold -to party header information.
The sold -to party proportions should now reflect the changed proportions.
Exit interactive planning without saving.
Contents:
? Univariate Forecasting
? Multiple Linear Regression (MLR) & Causal Analysis
? Composite forecasting
? Consensus-Based Forecasting
? Forecast Profile
? SAP AG 2001
? SAP AG 2001
11 Course Overview
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
6
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
History Future
Product level
Forecast
Disaggregation based on
proportional factors
Customer level
? SAP AG 2001
??If you carry out the forecast at a high level, the historical data is automatically aggregated.
??For this reason, the forecast results of a forecast run at a high level (with the results then
disaggregated to detailed level) will differ from the results of a forecast run at detailed level.
??Ifyou carry out the forecast in the background, you define the aggregation level for forecasting in
the mass processing job.
??When you design your planning process, you need to consider what aggregation level is meaningful
from a forecasting perspective; for example do you want to forecast individual products, product
families or customer specific demands?
A - Products Profile A
B - Products Profile B
C - Products Profile C
Set interactively
and use in mass
processing
? SAP AG 2001
??The forecasting methods used to plan important products (A products), are usually m ore detailed
than those used for less important products (B, and C products).
??There are various ways of assigning characteristic combinations:
??You set up your master forecast profile interactively, and assign selection IDs to it in mass
processing.
??You then save the assignment that you interactively set up, and use it in mass processing.
??When saving a selection ID's demand plan data you get the system to create it a forecast profile
with a unique name. This has the following two advantages:
- The next time you work with this selection ID, the system uses the uniquely named forecast
profile by default to create the forecast.
- If you make changes to the forecast configuration, (by switching from a seasonal model to a
seasonal trend model for example), the system then keeps the new settings without overwriting
the original forecast profile. If you do not set this indicator, the original forecast profile will be
overwritten with the new settings once you save the interactive planning data.
? SAP AG 2001
??The planner interactively defines various master forecast profiles to forecast typical historical time
series showing the constant, trend, or seasonal patterns.
??Ifdifferent key figures are to be forecasted, you must have master profiles for each key figure to be
forecasted.
??The period indicator defines the forecast's period pattern. It must refer to a time characteristic that
has actual data
??Material forecast: this is used for lifecycle planning and/or "like" modeling.
??Forecast horizon: the start and end dates of the horizon for which you want to run the forecast. Enter
a start date in combination with either an end date or a number of periods. If you do not enter a start
date, you must enter a number of periods; the system then uses the current date as the start of the
forecast horizon.
??History horizon: the start and end dates of the historical time horizon, the actuals from which will be
used to run the forecast.
??You assign a master forecast profile with a univariate forecast profile and/or an MLR profile and/or a
composite profile.
Forecast
? SAP AG 2001
??The product portfolio of a company covers a variety of products in different stages of their lifecycle
and with different demand types. There is no such thing as a forecasting model that creates 100
percent accurate statistical forecasts for both mature slow-moving products and new products.
Approaches that attempt to cover most of such demand types are very complex and tend to be a
"black box" for the planner. APO Demand Planning offers a "toolbox" of all practical, proven
forecasting methods. The system allows the planner to choose the best method for a specific demand
type.
??Univariateforecasting models are models that investigate the historical data from constant, trend,
and seasonal patterns, and then issue relevant forecast errors.
??Causal analysis is based on causal factors such as prices, budgets, and campaigns. The system uses
multiple linear regression (MLR) to calculate the influence causal factors had on the sales history,
and thus allows an analysis to be made of the success of specif ic actions. The connection between
causal factors and sales history that was calculated is then used as a basis for modeling future
actions.
??Composite forecasting is used to weight multiple forecasts, and then bring all the information
together in one fina l forecast.
Reading
Reading Corrected
Corrected ? Actuals can be adjusted both
the
the History
History automatically and manually
actuals
actuals
? Analysis of historical data
helps to predict future patterns
? Usage of proven forecasting
Forecast
Forecast models
? Automatic model selection can
be used
Corrected
Corrected ? Graphic monitoring and
forecast
forecast correction of historical data,
and forecast results
Used
Used as
as demand
demand plan
plan
? SAP AG 2001
??Forecasting is a tool used to predict future activity based on specific criteria. The system reads
historical data and calculates values which it proposes as future data.
??You can create statistical baseline forecasts based on any key figure (such as invoiced sales) in any
version.
??The forecast can be calculated using actuals or corrected historical data.
??The corrected forecast includes workday adjustment.
??You usually make manual corrections to the statistical forecast in your own key figure.
??Ifyou do not have any historical data for a product (for example, because it is new), you can base the
forecast on the actuals of a "like" product or products. For this purpose, you define a "like" profile in
the product master record.
??If you want to correct your historical and forecast data, you must define which key figures you want
to use in current settings "define parameters for InfoCubes". You must also include rows for these
key figures in your planning book.
Correction
Time
? SAP AG 2001
??In order to generate more exact forecasts, the impact of one-time promotions, or delivery problems
must be removed from the actuals. These adjustments are not usually executed in the original key
figure, but in the adjusted history key figure.
??Inthe forecast profile you can define whether the forecast should be based on original actual data or
on corrected actual data.
??Automatic adjustment of corrected history
??This allows you to base your forecast on the Corrected history key figure if no forecast has been
carried out for a long time.
??For periods where there is no corrected history in the database, the system uses the original
history.
??It is July 1st and you have not created any forecasts over the past two months. The corrected
history from two months ago contains manual corrections that you do not want to lose. Your
corrected history therefore contains no values for May or June.
??If the system were to base the forecast on these historical values, the forecast results would be
inaccurate because of the zero values from May and June.
??To exclude the possibility of such inaccuracies, you must set the key figure Automatic adjustment
of corrected history. The system will then use the original historical values for May and June.
Original actuals
Corrected history
? SAP AG 2001
Various automatic procedures that you activate in the forecast profile, can be used to adjust the actuals.
?? The procedures are executed in the above sequence.
??The lifecycle planning phase in/out profiles control the phase ins of new products, and the phase
outs of old products
??Workday adjustment ensures that higher values are forecasted for periods that have many
workdays. Historical data must be adjusted to take this into account
??With promotion planning you can extract past actions (special offers etc.) from the actuals so that
they are not included in the forecast
??You can use outlier correction to automatically correct actuals that are outside of the tolerance
range.
??You can also adjust the actuals manually
?? A key figure to be forecasted can also be assigned the following elements:
??A key figure for storing corrected history
??A key figure for storing the corrected forecast
??A key figure for storing ex-post forecasts
??A key figure for storing ex-post forecasts for the MLR
? SAP AG 2001
Forecast
Forecastmodel
model
Constant
Constant
Moving
Movingaverage
average
Weight.
Weight.mov.
mov.average
average
Manual Trend
Trend
Season
Season
Trend
Trendand
andseason
season
Copy
Copyhistory
history
Croston
Croston
Model
Modelselection
selection
Automatic Test
Testusing
usingtrend
trend
Test
Testusing
usingseason
season
Test
Testusing
usingtrend
trendand
andseason
season
? SAP AG 2001
??Automatic Model Selection: you can instruct the system to select the most suitable forecast model. In
order to make this selection, the system analyzes the historical data. If the system cannot detect any
clear pattern in the historical data, it automatically selects the constant model.
??Procedure 1: if you want the system to select the forecast model, you can choose between various
statistical tests and test combinations which determine the model. To use procedure 1, set one of the
forecast strategies 50-55 in the univariate forecast profile. Which strategy you choose, and which test
the system should carry out, depends on the historical data.
??In the trend test, the system subjects the historical values to a regression analysis and checks to see
whether there is a significant trend pattern.
??In the seasonal test, the system clears the historical values of any possible trends and then carries
out an autocorrelation test.
??Procedure 2: the system calculates the models to be tested using various combinations for alpha,
beta, and gamma. The smoothing factors are also varied between 0.1 and 0.5 in intervals of 0.1. The
system then chooses the model which displays the lowest mean absolute deviation (MAD).
Procedure 2 is more precise than procedure 1, but takes much longer. To use procedure 2, set
forecast strategy 56 in the time series forecast profile (univariate profile).
Profile 1: assuming
Standard constant model
model
light bulbs
Profile 2: assuming
Christmas
seasonal model
model
lights
Christmas
? SAP AG 2001
??When setting up Demand Planning, you decide which forecasting models you are going to use for
each of your products or product families.
??The above example shows the different models a hardware wholesaler would use to forecast two
kinds of light bulb.
Trend value (? )
Basic value (? )
History Future
? SAP AG 2001
??The system uses the alpha factor to smooth the basic value, the beta value to smooth the trend value,
and the gamma value to smooth the seasonal value.
??B(t) is the basic value for the current period t
??B(t-1) is the basic value from the previous period t-1
??V(t) is the actual requirement (version 000) from period t
??To determine the forecast value, all you need is the preceding forecast value, the last historical value,
and the "alpha" smoothing factor. This smoothing factor weights the more recent historical values
more than the less recent ones, so they have a greater influence on the forecast.
? SAP AG 2001
??How quickly the forecast reacts to a change in pattern depends on the smoothing factor. If you
choose 0 for alpha, the new average equals the old one. In this case, the basic value calculated
previously remains; that is, the forecast does not react to current data. If you choose 1 for the alpha
value, the new average equals the last value in the time series.
??The most common values for Alpha are between 0.1, and 0.5.
??Example: An Alpha value of 0.5 weights historical values as follows:
??1st historical value: 50%, 2nd historical value: 25%
??3rd historical value: 12.5%, 4th historical value: 6.25%
??The default alpha factor is 0.3. The default beta factor is 0.3. The default gamma factor is 0.3
8
7
6
5
4
Tolerance range
3 = ep ± ? *1.25* MAD
2
ep = Expost Forecast
1
0
Today
? SAP AG 2001
??To correct outliers automatically in the historical data on which the forecast is based, select Outlier
correction in the univariate forecast profile. The system then calculates a tolerance lane for the
historical time series, based on the sigma factor. Historical data that lies outside the tolerance lane is
corrected so that it corresponds to the ex-post value for that point in time.
??The width of the tolerance lane for automatic outlier correction is defined by the sigma factor. This
defines how many standard deviations you want to allow. The smaller the sigma factor, the less the
tolerance and the greater the number of outliers which ar e detected and corrected. The standard
sigma factor is 1.25. If you set the sigma factor yourself, SAP recommends that you set it at between
0.6 and 2.
??After the outlier correction has been made, the Expost forecast is calculated for a second time with
the corrected values.
History
M1 M2 M3
Original act. 1900 2100 2300 Forecast
Days 19 21 23 M4 M5 M6
Corr. 2000 2000 2000 Uncorr. 2000 2000 2000
Days 22 20 18
Corr. 2200 2000 1800
? SAP AG 2001
??Use this function to account for the varying number of workdays in a month.
??The system bases the forecast on an average number of workdays per forecast period. You specify
these in the field Average no. of days in the univariate forecast profile.
??Inthe above example, the forecast period is "month" and we assume that the number of workdays in
each month is 20. The forecast is run as follows:
??1. The system corrects the historical data using the formula:
- Corrected history = (original history divided by actual workdays) multiplied by average
workdays
??2. The system calculates the forecast using the corrected historical data.
??3. The system adjusts this first "uncorrected" forecast result based on the formula:
- Corrected forecast = (uncorrected forecast divided by average workdays) multiplied by actual
workdays
??The number of workdays in the period is defined by the factory calendar in the planning area.
??The results of the planning data correction appear in the corrected forecast key figure
? SAP AG 2001
??MAD (Mean Absolute Deviation), ET (Error Total), MAPE (Mean Absolute Percentage Error), MSE
(Mean Square Error), RMSE (Root of the Mean Square Error), MPE (Mean Percentage Error).
??If
you run the forecast in interactive planning (the user -defined or the forecast view), the univariate
measures of fit are displayed in the Forecast errors tab.
??Absolute errors prevent positive errors being canceled out by negative errors.
??See the Application Documentation for APO Demand Planning for more information on univariate
forecast error formulas.
? Comparing forecasts
Planning area
? Access via planning Key figure
table Planning version
Selection ID
Forecast errors
Version ID MAPE MSE... Parameter
Fcst ID Alpha Beta...
Changes
Fcst ID Planner Date...
? SAP AG 2001
??Forecast versions are used to save and compare the parameters from several forecast runs. Both
forecast errors, and the model used (including parameters, and users who have already forecasted
this selection) are saved.
??After you have executed several forecasts using different models and parameters, you can sort via
forecast errors to find out the best model, and best parameters.
Entries:
History entry
Version and key figure Planning version
use of corrected Key figure
history
??In the forecast view of interactive planning, you can make changes to the univariate profile
configuration (the forecast model, planning horizons, forecast parameters and/or forecast settings).
To save the new forecast configurations in a profile with a unique name, choose Settings -> Forecast
profile -> and select Create unique forecast profiles when saving. A new forecast profile is created
for the current selection variant when you save the demand planning data. The next time you run the
forecast for the same selection variant, the system uses this profile by default. The advantage of
working with uniquely named profiles is that if you change the forecast configuration in some way
(for example, by switching from a seasonal to a seasonal trend model), the system retains the new
settings for you without overwriting the original forecast profile. If you do not set the indicator
Create unique forecast profiles when saving, the original forecast profile is overwritten with the new
settings when you save the interactive planning data. To see which forecast profiles were last used
for which selection variants, choose Goto -> Assignment in the master forecast profile. The name of
the GUID profile is generated automatically and you cannot change it.
??The Persmo (number of periods for seasonal moving average smoothing) field is used to smooth
seasonal regression. An entry of 0 means linear regression, 1 = seasonal regression with no
smoothing, and larger than 1 means smoothing by the number of periods entered.
??The promotion key figure is used to create historical value markings to correct the outlier, and adjust
the actuals using past promotions.
??You can define upper limits for the forecast errors in the diagnosis group. If the calculated forecast
errors exceed the threshold values, alerts are generated, and the planner can review this characteristic
combination again.
? SAP AG 2001
? Modeling options:
? Linear and nonlinear trends
? Seasonal patterns
? Dummy variables and time lags
? SAP AG 2001
??Causal analysis is based on causal factors such as prices, budgets, and campaigns. The system uses
multiple linear regression (MLR) to calculate the influence causal factors had on the sales history,
and thus allows an analysis to be made of the success of specific actions. The connection between
causal factors and sales history that was calculated is then used as a basis for modeling future
actions.
??Multiple linear regression (MLR) is a form of causal analysis. It allows you to analyze the
relationship between a single dependent variable and several independent variables. You use the
independent variables, whose values are known to you, to predict the single dependent value (the
value you want to forecast). Each predictor variable (Xi) is weighted, the weights (bn) denoting their
relative contribution to the overall prediction.
??When you run the forecast in Demand Planning using an MLR model, the system calculates a
number of statistics that measure its accuracy (see above). If necessary, you can then adjust the
model. For information on these statistics, see the APO Glossary.
History Future
Unit Sales
Calculation
of ? Calculation
of sales
using ?
$ 2000
Actual Planned
$ 1000
$ 1500
$ 800
advertising budget:
budget:
Feb. Mar. April May June July Aug. Sept.
? SAP AG 2001
??In the above example, the key figure UNIT SALES is the dependent variable. The advertising budget
is one of the independent variables. The MLR model calculates the influence of the advertising
budget on the unit sales in the past. Using the calculated coefficient, the model incorporates the
effect of planned advertisement into the unit sales forecast.
??In multiple linear regression, coefficients - or weights - of the independent variables describe the
relative importance of the explanatory variables. Coefficients in a causal model indicate how changes
in each of the independent variables (X's) influence the value of the dependent variable (Y). For
example, we can find out the effect on quantity sold of decreasing the advertising budget by $1000
when all of the other variables remain constant.
??Elasticity measures the effect of a 1 percent change in an explanatory variable on the dependent
variable. This is calculated as the percentage change in Y divided by the percentage change in X.
Elasticities tend to differ when measured at different points on the regression line. The mean
elasticity is the mean average of the elasticities at these different points.
Constant Coefficients
Yi = ? o + ? 1 X1 + ? 2X2... + ? n?Xn
Sales Causal
history factor
? SAP AG 2001
? SAP AG 2001
??Example for point 1: if you have modeled both product price, and advertising budget as causal
factors, you can use causal analysis to find out the most cost-effective way of achieving target sales.
Is it more effective to reduce the price, or increase the advertising budget?
? Data requirements
? Actuals for all variables
? Companies often want to compare with competitors but it is
difficult to obtain the necessary actuals
? Forecasts for independent variables
? Logical challenges
? Which variables influence sales? Experience in
? In what way do variables influence sales? statistics is
? Outlier, trend, and season modeling necessary if you
want to model
? Statistical problems causal
? Correlation, autocorrelation relationships!
? SAP AG 2001
? SAP AG 2001
??You enter:
??A name and a brief description for the MLR profile.
??A key for the diagnosis group containing the MLR upper and lower error limits. If the MLR errors
exceed the threshold values, alerts are generated, and the planner can then review this
characteristic combination.
??The key figure on which the forecast is to be based. This is a key figure from the planning area
you specified in the master forecast profile. It does not have to be the key figure to which the
forecast results are written. The system uses this key figure's historical values to calculate the
coefficients in the MLR model. They are the historical values of Y in the MLR equation.
??The version of the historical data on which you want the forecast to be based.
??Key figures either from a planning area or from time series can be used as caus al factors.
??Transformation: You can set a lag here. For example, if you enter -1, the forecast value is shifted
one period into the future; that is, it takes one period for the variable to impact demand.
? A measure of goodness-of-fit
? R2 (above 0.90 means a fairly good model)
? Adjusted R2 (if it is significantly lower than R2 you are probably
missing some explanatory variable)
? SAP AG 2001
??For full definitions of the above measures of fit, see the APO Glossary.
??Ifyou run MLR in interactive planning, you can view the MLR measures of fit by using the Switch
parameters on or off toggle in the application toolbar (the causal view).
??Ifyou run MLR with mass processing, you can view the MLR measures of fit by defining alerts to
show when the measures exceed certain limits. These alerts can then be viewed in the Alert Monitor.
Univariate
1
Forecast
Univariate
Combine
Combine
... Result
&
MLR Reconcile
Reconcile MLR
n
? SAP AG 2001
??Composite forecasting combines forecasts from alternative forecasting techniques (i.e. time series,
causal, and/or judgmental) for a particular brand, product family or product each of which contains
the same sales history, but uses a different technique independently of the others. The underlying
objective is to take advantage of the strengths of each method to create a single forecast, either by
simply averaging the forecasts and giving each equal weight or by weighting each forecast and
summing them based on the residual error associated with each method.
??By combining the forecasts, the business analyst's objective is to develop the best forecast possible.
The composite forecasts of several mathematical and/or judgmental methods have been proven to
out-perform the individual forecasts of any of those methods used to generate the composite.
= Final forecast
? SAP AG 2001
??You enter:
??A name for the composite forecast profile.
??A brief description of the composite forecast profile.
??The name of a univariate profile that you want to include in the composite forecast. You can
choose one using the Univ.Profile pushbutton at the bottom of the dialog box.
??The name of an MLR profile that you want to include in the composite forecast. You can choose
one using the MLR profile pushbutton at the bottom of the dialog box.
??A percentage to designate the weighting of this profile in the composite forecast. For example, if
you have three profiles, you might enter 30, 30 and 40 in this column. This weighting is not time-
dependent.
??The name of a weighting profile. A weighting profile assigns different weightings to different
periods. You can choose or create a weight ing profile using the Weighting profile pushbutton at
the bottom of the dialog box. This entry is optional.
? SAP AG 2001
??A consensus-based sales and operations planning process is one in which you view forecasts from
various departments with different business goals- such as sales, marketing, logistics, and finance-
and integrate them into a one-number consensus forecast. This then drives the business.
??APO Demand Planning supports participants in consensus meetings (for example, Sales &
Operations Planning - S&OP) by providing information that enables them to compare forecasts for
the purpose of identifying, discussing and closing gaps that affect their business decisions. The goal
is to make changes that are agreed to by all parties. The result is a consensus based forecast.
? SAP AG 2001
??Above you see what a planning book for consensus -based forecasting could look like.
??Planning books are typically based on the user's data and tool needs for their role in the organization.
??One example of a commonly used planning book would be for consensus based forecasting. Such a
book would show the forecasts collected from multiple departments such as finance, sales and
marketing.
??In the above example, a pre-defined average is calculated using a macro and displayed in a row
defined as the consensus forecast.
??In this case, we would probably define the marketing, sales and finance rows of the book as
information only (no data entry) and the consensus row as a planning row to allow for adjustments.
? SAP AG 2001
1-1 Define the special functions for the forecast key figures. Assign the relevant key
figures (FORECAST, CORRHIST, and CORRFOR) to Forecast, Corrected history,
and Corrected forecast.
You can use these special functions to forecast based on the corrected history and can
use the workday adjustment to calculate the corrected forecast.
Profile UNI##
Name Statistical forecast for P -102
Planning version 000
Key figure INVQTY
Forecast strategy 11
Alpha, Beta, Gamma 0.3
Sigma 1
Persmo 1
Seas. periods 12
Forecast errors select all
Promotion key figure 9APROM1
1-4 Assign your UNI## univariate forecast profile to your master profile.
1-5 Go to Interactive planning, and create a selection for product P-102. Load the data for
product P-102 into the planning table and execute a univariate forecast.
Switch on graphic and analyze the historical data.
Execute multiple forecasts using different models and smoothing parameters. Each
time, check the forecast errors (especially the mean absolute deviation MAD), and the
forecast messages. Also perform a graphic analysis of the forecast results.
Switch on the outlier correction and check whether deviations between the original
history and corrected history have occurred. The correction depends on the forecast
model!
Compare the results from the past 10 forecast runs and save the parameters from the
run using the smallest MAD in the forecast profile.
Where can you automatically assign the selection to the profile?
Save your plan.
1-1 Define the special functions for the forecast key figures. Assign the relevant key
figures (FORECAST, CORRHIST, and CORRFOR) to Forecast, Corrected history,
and Corrected forecast.
You can use these special functions to forecast based on the corrected history and can
use the workday adjustment to calculate the corrected forecast.
Demand Planning ? Environment ? Current Settings ? Administration of
Demand Planning and Supply Network Planning
Select the planning area view
Right click on your Planning area (PLAN##): Forecast settings
Assign the FORECAST key figure to Forecast, the CORRHIST key figure to
Corrected history, and the CORRFOR key figure to Corrected forecast. Adopt.
Profile UNI##
Name Statistical forecast for P -102
Planning version 000
Key figure INVQTY
Forecast strategy 11
Alpha, Beta, Gamma 0.3
Sigma 1
Persmo 1
Seas. periods 12
Forec ast errors select all
Promotion key figure 9APROM1
1-4 Assign your UNI## univariate forecast profile to your master profile.
Enter the above parameters in the Univariate profile tab. Save the single profile.
Go back to the Master profile tab and select your univariate forecast profile UNI##.
Save.
1-5 Go to Interactive planning, and create a selection for product P-102. Load the data for
product P-102 into the planning table and execute a univariate forecast.
Switch on graphic and analyze the historica l data.
Execute multiple forecasts using different models and smoothing parameters. Each
time, check the forecast errors (especially the mean absolute deviation MAD), and the
forecast messages. Also perform a graphic analysis of the forecast results.
Switch on the outlier correction and check whether deviations between the original
history and corrected history have occurred. The correction depends on the forecast
model!
Compare the results from the past 10 forecast runs and save the parameters from the
run using the smallest MAD in the forecast profile.
Contents:
? Promotion Planning
? Lifecycle Management
? "Like" Modeling
? SAP AG 2001
? SAP AG 2001
11 Course Overview
2 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7
Promotions &
77
Lifecycle Planning
88 Mass Processing
99 Conclusion
? SAP AG 2001
? SAP AG 2001
Forecast simulation
Quantity
? SAP AG 2001
??In APO Demand Planning, you can plan promotions or other special events separately from the rest
of your forecast. You can use Promotion Planning to record either one-time events, such as an
earthquake, or repeated events such as quarterly advertising campaigns. Other examples of
promotions are trade fairs, coupons, free-standing inserts, competitors' activities, market intelligence.
Examples of events that also have an impact on consumer behavior are upward/downward economic
trends, and acts of nature, such as tornadoes etc.
??The advantages of planning promotions separately are:
??You can compare forecasts with promotions to those without promotions.
??You can correct the sales history by extracting past promotions from it, thus obtaining unpromoted
historical data for the baseline forecast.
??The processes of interactive planning and promotion planning can be kept completely separate.
For example, the sales force might be responsible for interactive planning while marketing is
responsible for promotion planning.
Start of promotion
Demand Plan
100 % Forecast
M M M M M Time
07/01 08/01 09/01 10/01 11/01
Period M1 M2 M3 M4 M5 Unit
? SAP AG 2001
Forecast
key figure
Percentage / Product
Product 11
unit based ..
Corrected history ..
Time series Product
Product 55
Promotion key figure
characteristic level Planning
versions
? SAP AG 2001
Product
Products Promotions
The last drilldown
level must correspond P-101 Action 1
to the characteristic level P-101 Assign Action 2
of the promotion level objects
? SAP AG 2001
??Once you have created a promotion and entered the planned absolute or percentage changes, you
define the characteristic combinations for which the promotion is to be planned. You select the
characteristic combinations in the selection window, and assign them to the promotion.
??You must decide the characteristic level at which assignment should be made. If you choose the
"Product" characteristic, then product level must be the last drilldown level for assignment. For
example, at the first level you can assign sales organizations to the promotion, then sold-to parties,
and finally the relevant products.
Status “offered to
customer”
Collaborative
promotion planning
Status “Confirmed by
customer"
? SAP AG 2001
??Forpromotion planning without customer participation, after you have processed the promotion you
must set status to "planned for future" to activate the promotion.
??For internet based collaborative promotion planning, first set status to "Offered to customer". The
customer can accept (status: confirmed by customer) or decline (status: rejected by customer) the
promotion in the internet. The next step is to activate the promotions confirmed by the customer.
Maintaining a partner at the customer location is a prerequisite of collaborative promotion planning.
You can create a collaboration partner via Supply Chain Collaboration > Environment > Current
Settings > Make Settings for Collaborative Planning.
??The Status field in the promotion planning screen's Promotion tab displays the status of a promotion.
If you want to change a status, choose the icon in the promotion planning application toolbar situated
at the top right of the screen.
??Your company can have a maximum of 10 promotion attribute types. You could, for example,
have the promotion attribute types "store reduction", and "media support". ?
??There can be many user -defined attributes for each promotion attribute type. For example, the
promotion attribute type "media support" could have the attributes "TV", "Radio", and "Web".
Sales of product
with special offer
Corrected forecast
Sales of Time
M M M M M
similar product
07/99 08/99 09/99 10/99 11/99
M M M M M Time
07/99 08/99 09/99 10/99 11/99
? SAP AG 2001
??A single promotion has both a positive and negative influence on sales of products from one
cannibalization group.
??To use cannibalization groups, select the option, Check cannibalization group, from the Promotion
tab in the Promotion Planning screen. When you create a promotion for one of the products from the
group, the other promotions are created automatically.
??Example: You plan a 5% price reduction on liter bottles of "Peach blossom" shampoo, which will
cause a 30% increase in sales whereas sales of 250ml bottles will go down by 3%, and sales of
500ml bottles by 5%.
??You define the cannibalization group as follows:
- Liter bottle +30
- 250ml bottle -3
- 500 bottle -5
??You create a promotion for the liter bottle. Negative promotions are created automatically for the
250 ml, and 500 ml bottle in the percentage ratio that is predefined in the cannibalization group
factors.
Corrected forecast
+ Promotion
History
(Including a Promotion)
History Future
? SAP AG 2001
??The use of promotional calendars allows you to separate skewing effects of promotional activities.
??Futurepromotions are displayed in interactive planning in the promotions key fig ure. You can use a
macro to make sure that promotions are included in the demand plan key figure.
??You can forecast future demand using the corrected history (minus promotions). To remove past
promotions from the corrected history key figure, specify the past promotions key figure in the
forecast profile, and select "change values".
??You can also define a post promotion key figure, and get the system to calculate the actual effect the
promotions had on sales (how sales changed). Therefore, if you want to correct the history using the
planned promotion, you do not need a post promotion key figure.
??Several techniques, such as multiple linear regression with or without a trend or seasonality, are
available for measuring the impact of a historical promotion, and therefore for estimating the impact
of a similar promotion in the future.
Original actuals
Corrected history
? SAP AG 2001
??In order to generate more exact forecasts, the impact of one-time promotions, or delivery problems
must be removed from the actuals. These adjustments are not usually executed in the original key
figure, but in the adjusted history key figure.
??Various automatic procedures that you activate in the forecast profile, can be used to adjust the
actuals.
??The procedures are executed in the above sequence.
??The lifecycle planning phase in/out profiles control the phase ins of new products, and the phase
outs of old products
??Workday adjustment ensures that higher values are forecasted for periods that have many
workdays. Historical data must be adjusted to take this into account
??With promotion planning you can extract past actions (special offers etc.) from the actuals so that
they are not included in the forecast
??You can use outlier correction to automatically correct actuals that are outside of the tolerance
range.
??You can also adjust the actuals manually
??A key figure to be forecasted can also be assigned the following elements:
??A key figure for storing corrected history
??A key figure for storing the corrected forecast
??A key figure for storing ex-post forecasts
??A key figure for storing ex-post forecasts for the MLR
Like
Lifecycle
Time
? SAP AG 2001
??A product's lifecycle consists of different phases: launch, growth, maturity, and discontinuation. In
APO Demand Planning, you can represent the launch, growth and discontinuation phases by using
phase-in and phase-out profiles.
??You use lifecycle planning and "Like" modeling to forecast the phase-ins of new products and phase-
outs of old products.
??In the phase-in profile you enter ever-increasing percentages during a specified period or periods to
forecast the new product, thus mimicking the upward sales curve that you expect the product to
display during its launch and growth phases. If past corrections fall, the corrected history key figure
can be adjusted automatically.
??A phase-out profile reduces the sales forecast for a product by ever-decreasing percentages during a
specified period, thus mimicking the downward sales curve that you expect the product to display
during its discontinuation phase. If the corrections in the past fall, the corrected history key figure
can be reduced automatically.
??For all characteristic value combinations, you can use a phase-in profile, or a phase-out profile, a
"like" profile, or any combination of these profiles.
Old
Product
New
Product ? New
Product
x , å, å? ixi
? SAP AG 2001
??Some products do not have enough historical data to provide the basis for a forecast. With a "like"
profile, you can create a forecast using the historical data of a product or products with similar sales
behavior. Use "like" profiles for new products and products with short lifecycles.
Corrected
Forecast
History
Old New
Product Product
??Ifthe phase-out profile period is within the history horizon specified in the master forecast profile,
the system adjusts the corrected history. If no key figure has been assigned to the corrected history in
the planning area, the corrected values are displayed in the statistical forecast view but that particular
row is not saved.
??Ifthe phase-in profile period is within the future horizon specified in the master forecast profile, the
system directly adjusts the forecast key figure.
??You must select the Material forecast indicator in the master forecast profile.
? SAP AG 2001
1-1 Define the last object assignment planning level to your promotions.
In this example the last level for your planning area PLAN## and key figure
9APROM1 should be product level
1-2 In Interactive Planning create and save a percentage promotion with the following
parameters.
Name Promo##
Description Promotion, group ##
Type %
Number of promotions 3
Start of promotion The beginning of the next month
Planning version 000
Promotion key figure 9APROM1
Plan. key figure CORRFOR
1-3 Enter the percentage changes: the promotion should increase sales by 10% in the first
month, 20% in the second month, and 10% again in the third.
Assign product P-102 to the promotion, activate the promotion, and save it.
1-4 Go back to Interactive Planning, and see if the promotion data is displayed, and if
your default macro sums this data in the demand plan.
“Like modeling” can be used to forecast new products with historical data
from old products. You can also use it to define the life cycle of the old
and new product.
This exercise has the following structure:
1. The product master of the new product has already been transferred
to the R/3 system and is the same as it is in APO
2. You create new characteristic combinations for the product.
3. You specify the product whose historical data is to be read, and you
also choose the life cycle
4. You execute the forecast, but you do not save it because the final
forecast is to be planned in Mass Processing.
2-1 Create a new characteristic value combination for the new product NEW for your
planning object structure POS##. Enter the following characteristic values, and create
time series objects for them:
Location 2400
Product NEW
Sold-to party 1000
Division 01
Product hierarchy 0110
Sales organization 2400
2-2 Assign characteristic 9AMATNR to the basic lifecycle for your planning area
PLAN##.
Define the product whose historical data is to be read. Create a Like profile LIKE##
and store 100% of the data from product P-102.
2-3 Create a Phase-in profile called PHASEIN##. The product introduction (phase in)
should start one month from now with a duration of four months. There should be a
20% increase per month. Nothing should be forecasted before the product launch.
2-5 Assign your LIKE##, PHASEIN## and PHASEOUT## profiles to the NEW product.
Enter a new master forecast profile called LIKE with the indicator “material forecast”,
by overwriting the old MASTER profile.
2-6 For the new product NEW, create a selection NEW (you will also need this selection
later for mass processing). Run a forecast in interactive planning, and check the
results. Do not save. It should be generated in Mass processing
1-1 Define the last object assignment planning level to your promotions.
In this example the last level for your planning area PLAN## and key figure
9APROM1 should be product level
Demand Planning ? Planning ? Promotion ? Maintain Promotion Key Figures
For the planning area specify your PLAN##, th e key figure 9APROM1, and as
characteristic for promotion level 9AMATNR.
1-2 In Interactive Planning create and save a percentage promotion with the following
parameters.
Name Promo##
Description Promotion, group ##
Type %
Number of promotions 3
Start of promotion The beginning of the next month
Planning version 000
Promotion key figure 9APROM1
Plan. key figure CORRFOR
10 20 10
Choose product P-102 from the selection window and double click on it. To assign
the product to the promotion, press the “Assign objects” button. The objects, and
calculation of the promotion’s effect now appear in the planning table.
To make the promotion effective for future requirements, change promotion status
to “Planned, in the future”, using the “Change status” button.
Save the promotion.
1-4 Go back to Interactive Planning, and see if the promotion data is displayed, and if
your default macro sums this data in the demand plan.
“Like modeling” can be used to forecast new products with historical data
from old products. You can also use it to define the life cycle of the old
and new product.
This exercise has the following structure:
1. The product master of the new product has already been transferred
to the R/3 system and is the same as it is in APO
2. You create new characteristic combinations for the product.
3. You specify the product whose historical data is to be read, and you
also choose the life cycle
4. You execute the forecast, but you do not save it because the final
forecast is to be planned in Mass Processing.
2-1 Create a new characteristic value combination for the new product NEW for your
planning object structure POS##. Enter the following characteristic values, and create
time series objects for them:
Location 2400
Product NEW
Sold-to party 1000
Division 01
Product hierarchy 0110
Sales organization 2400
2-3 Create a Phase-in profile called PHASEIN##. The product introduction (phase in)
should start one month from now with a duration of four months. There should be a
20% increase per month. Nothing should be forecasted before the product launch.
20 40 60 80
Adopt.
2-4 Create a Phase-out profile called PHASOUT##. The phase out of the product should
start six months from now and end nine months from now. There should be reduction
of 25% per month. After the product discontinuation, nothing should be forecasted.
80 60 40 20
Adopt.
Use the “Assign life cycle” button to assign your LIKE##, PHASEIN##, and
PHASEOUT## profiles to the master profile for your new product NEW.
Overwrite your old master forecast profile MASTER with LIKE.
For description, choose “Material forecast”
Save, and exit the forecast profile maintenance.
2-6 For the new product NEW, create a selection NEW (you will also need this selection
later for mass processing). Run a forecast in interactive planning, and check the
results. Do not save. It should be ge nerated in Mass processing
Demand Planning ? Planning ? Interactive Demand Planning
Open the selection window and choose APO - product in “Show”. Version 000 is
the default version.
Choose product again in the next row and enter NEW in the right-hand side.
Press the “Save selection” icon, and write NEW for Selection description. Save.
Double click on the NEW product in the selection window.
Start the forecast by pressing the “STAT” (Univariate forecast) button
Select your LIKE master profile
The forecast is then run automatically. Switch on graphic and check the product
phase-in, and discontinuation phase.
DO NOT SAVE!
Contents:
? SAP AG 2001
? SAP AG 2001
11 Course Overview
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing 8
99 Conclusion
? SAP AG 2001
? SAP AG 2001
Macro execution
Forecasting
??The most convenient way to carry out planning activities involving large volumes of data is in the
background. For this purpose, SAP provides a mass processing function.
??The mass processing actions you can carry out in APO Demand Planning are listed above.
Planning
book Activity
11
12
Planning Version 10
1
2
view 9 3
8 4
Selection
Action 7 6 5
variant(s)
Profile Aggregation
level
? SAP AG 2001
??Theabove sequence depicts the steps you perform to carry out mass processing. The action is either
macro execution, forecasting or release to SNP.
??You can carry out several planning actions within one job as long as th ey have the same activity. For
example, you might run a mass processing job that executes several macros at the same time, or a job
that carries out a statistical forecast and then releases the results to PP.
??The sequence in which actions within one activity are processed depends on the sequential numbers
you define for them in the activity.
??The system performs all actions for the first characteristic value before processing the second
characteristic value. Consequently, if you want the system to perform one action for all characteristic
values before it starts the next action, you must define separate planning activities.
??For each job you can define the selection of data which should be considered in the processing of the
job as well as the level to which it should be aggregated before the actions are executed.
??Planning jobs are reusable.
Macro Forecasting
Forecasting
Transfer
Release
40% 40% 20%
Macro
Release / transfer
Profile
Activity
? SAP AG 2001
??If the forecast has been completed in demand planning, release the forecasted quantities to the
liveCache as a planned independent requirement.
??To do this follow the path Demand Planning->Environment->Release to SNP
??The "add data" flag means that the released amounts will be added to planne d individual
requirements that may already exist. It is a good idea to use this setting if you want to release from
multiple planning areas.
??Ifthe "location" characteristic is contained in the DP planning area, the sales quantities are
disaggregated to the locations automatically. If you want to use the allocation in the location split
table for products, you do not have to specify the location characteristic (for example 9ALOCNO).
??You can, for instance, control distribution of a product group to members via product split. If product
split has been maintained for a product, it will always be included.
??Ifthe storage buckets profile from the DP planning area does not contain days, you can still split the
sales quantities over days using the daily buckets profile. How this split is made depends on the
settings in the SNP requirements profile in SNP 2 product master view.
? Specify version
Key figure
? Enter daily buckets profile
(optional)
Daily buckets profile
? Enter category (optional)
Order
objects
liveCache
Category (FA)
? SAP AG 2001
? Specify version
Key figure
? R/3 requirements type
? R/3 Demand Management
version
? Should version be active?
R/3
Planned
independent
requirements
? SAP AG 2001
Job
finished
Job
Job Forecasting
Schedule Forecasting
?
Revise
Job Spool List
11
12
1
10 2 Job 1
9 3
8 4 Product 1 Forecast
7 6 5 Product 2 Forecast
..
..
Product 100 Forecast
? SAP AG 2001
? SAP AG 2001
1-1 Create a profile REL## for release to production planning using the following data.
Make sure that your requirements do not overwrite the requirements of other groups
(select the box marked “Create new orders”).
1-2 Create a planning activity called ACT## for your SALES## planning book, and your
DEMAND PLAN data view. Enter your LIKE master forecast profile, the DEMAND
PLAN CALCULATION macro, and your release profile REL##, and increase the
action counter after each entry.
1-3 Create a job called JOB## for mass processing using your SALES## planning book,
and your DEMAND PLAN data view, and planning version 000.
Enter your activity ACT##, and the selection NEW for the new product.
Set the aggregation level to product/location.
1-4 Schedule the job, and review the results. Make sure that the forecast has been
generated, that the macro has copied the forecast into the demand plan, and that
planned independent requirements have been generated.
1-1 Create a profile REL## for release to production planning using the following data.
Make sure that your requirements do not overwrite the requirements of other groups.
1-3 Create a job called JOB## for mass processing using your SALES## planning book,
and your DEMAND PLAN data view, and planning version 000.
Enter your activity ACT##, and the selection NEW for the new product.
Set the aggregation level to product/location.
?
? Forecasting Techniques
? Promotion Planning
? Releasing the Demand Plan
? SAP AG 2001
1 Course Overview
22 InfoCubes
33 Configuration
44 Planning Books and Macros
55 Interactive Planning
66 Forecasting
7 Promotions &
Lifecycle Planning
88 Mass Processing
99 Conclusion 9
? SAP AG 2001
? SAP AG 2001
OLTP
OLTP (R/3)
(R/3) APO Information
Supply Chain Cockpit Warehouse
Warehouse
LIS, CO-PA (SAP BW)
HR, FI Demand Planning Historical
Planned Indep. data
Requirements
Customer
orders PP / DS
Supply Key
Global
Production Network Performance
ATP
Scheduling Planning Key figures
Inventory (KPIs)
Deployment
management
? SAP AG 2001
??Aggregated actual data can be transferred to APO from OLTP, BW (Business Information
Warehouse), Excel, and Legacy systems, and saved in InfoCubes. This data is the basis for
forecasting. The demand plan is created as a result of the forecast.
??You release the demand plan to Production Planning, which creates planned independent
requirements for Supply Network Planning (SNP), and PP/DS. You can also transfer the demand
plan to the operating system (OLTP) as planned independent requirements.
??Theseamless integration with Supply Network Planning (SNP), and PP/DS supports an efficient
S&OP process.
Planning Areas
liveCache
liveCache liveCache
liveCache
??A planning area is the central data structure of Demand Planning and Supply Network Planning. It
groups together the parameters that define the scope of planning activities. It also determines where
and how the planning results are saved.
??InDemand Planning and Supply Network Planning, data is divided into planning areas, and
subdivided into versions. Consequently, the data that you save in planning version 1, planning area 1
does not overwrite the data in planning version 1, planning area 2.
??The planning area contains characteristics, and key figures for planning, and must be initialized for
every planning version.
??A key figure is a numerical value that is either a quantity or a monetary amount; for example,
projected sales value in dollars or projected sales quantity in pallets.
??Characteristics are the objects by which you aggregate, disaggregate and evaluate business data.
??Key figure data can be read from different InfoCubes or time series objects.
??Key figure planning data is stored in time series objects in the liveCache.
bottom up)
d
rio
Pe
? Slice & dice 203
Customer
124
? SAP AG 2001
??Planning supports online simulation in multiple planning scenarios, consistent planning throughout
your enterprise (top down, middle out, or bottom up), drilling up and down, aggregation and
disaggregation, and slice-and-dice techniques.
??Consistent planning means that planning data on all planning levels can be consistently held
(automatic aggregation and disaggregation).
? Univariate Forecasting
? Moving average
? Models (constant, seasonal
trend)
? Exponential Smoothing
? Seasonal linear regression
? Holt-Winters
? Croston's method (for sporadic
demand)
? Causal Analysis
? Multiple linear regression
? Composite Forecasting
? Weighted average of multiple
models
? SAP AG 2001
??The product portfolio of a company covers a variety of products in different stages of their lifecycle
and with different demand types.
??APO Demand Planning offers a "toolbox" of proven forecasting methods. The system allows you to
choose the best method for a specific demand type.
??Compositeforecasting extends the idea of pick-the-best; with this technique you combine two or
more methods.
??Croston's method allows you to model "lumpy" (sporadic) demand.
??The statistical forecasting toolbox provides all the features you require to efficiently create accurate
forecasts, including everything from data analysis via time series models through multiple linear
regression.
Forecast simulation
Quantity
? SAP AG 2001
Extraction Planning
structure area
RemoteCube
liveCache
? SAP AG 2001
??You can also evaluate data from APO using the SAP BW frontend.
??Itis not only the aggregated actuals from the InfoCubes that are evaluated, but also all of the order
and time series objects from the liveCache.
??The prerequisites for 'liveReporting' orders and time series are as follows: a planning area in APO;
an extraction structure for the planning area; an InfoSource, and an SAP RemoteCube that reflects
the liveCache data.
? SAP AG 2001