You are on page 1of 217

SAP AG LO935 Preface-1

SAP AG 1999
LO935 Flexible Planning
Flexible Planning
Flexible Planning
SAP AG


R/3 System
Release 4.6C
Mai 2001
Material number 50047186




SAP AG LO935 Preface-2
SAP AG 2001
Copyright 2001 SAP AG. All rights reserved.
No part of this publication may be reproducedor transmitted in
any form or for any purpose without the express permission of
SAP AG. The information contained herein may be changed
without prior notice.
All rights reserved.
Copyright


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 LO935 Preface-3
SAP AG 1999
Information Systems
Processes in Sales
and Distribution
LO150 5 days
Logistics Information
System (LIS)
Reporting
LO930 2 days
Level 2 Level 3
Processes in
Procurement
LO020 5 days
Manufacturing
Planning & Execution
for Discrete & Repetitive
LO050 5 days
Executive Information
System (EIS) 2 -
Setting up the System
AC620 2 days
Advanced Functions
of the Report Writer
CA710 3 days
Advanced LIS
Configuration
LO940 2 days
Technical Aspects in
LIS with Special Focus
on PURCHIS/INVCO
LO555 2 days
Technical Aspects in
LIS with Special Focus
on PPIS
LO275 2 days
Technical Aspects in
LIS with Special Focus
on SIS
LO630 2 days
Executive Information
System (EIS) 1 -
Reporting
AC615 2 days
Basics of the Report
Painter/Report Writer
CA705 2 days
Flexible Planning
LO935 2 days






SAP AG LO935 Preface-4
SAP AG 1999
Prerequisites
z Essential:
Good knowledge of content of LO930 - Logistics
Information System (LIS) Reporting
z Recommended:
LO050 - Manufacturing Planning & Execution for Discrete &
Repetitive






SAP AG LO935 Preface-5
SAP AG 1999
Target group
z Project team members responsible for planning in
the Logistics Information System


Notes to the user
The training materials are not teach-yourself programs. They complement the course instructors
explanations. On the sheets, there is space for you to write down additional information.








SAP AG LO935 1-1
SAP AG 1999
Course Overview
z Course Goals
z Course Objectives
z Course Content
z Course Overview Diagram
z Main Business Scenario
Contents:







SAP AG LO935 1-2
SAP AG 1999
This course will enable you to:
z Plan based on information structures
z Use the planning tools in the LIS system
z Summarize the uses of the planning methods and
differences between them
z Maintain master data for various planning methods
Course Goals







SAP AG LO935 1-3
SAP AG 1999
On completing this course, you will be able to:
z Outline the differences between Standard SOP and
Flexible Planning
z Create sales and production plans
z Use the forecast tool
z Create planning types, macros and events
z Perform resource planning and rough-cut capacity
analysis
z Use mass processing
z Transfer planning results to Demand Management
Course Objectives







SAP AG LO935 1-4
SAP AG 1999
Unit 7 Events
Unit 8 Production Planning
Unit 9 Mass Processing
Unit 10 Allocations
Unit 11 Conclusion
Unit 1 Introduction
Unit 2 Planning Methods
Unit 3 Master Data
Unit 4 Planning Types and Macros
Unit 5 General Planning Functions
Unit 6 Statistical Forecast
Preface
Appendices
Course Contents







SAP AG LO935 1-5
SAP AG 1999
Course Overview
Planning Method
Stat. Forecast
May May
Master Data
Events
Production Planning
Allocations
Info
Structure
Mass Processing
Job
Planning
Functions
Planning Types







SAP AG LO935 1-6
SAP AG 1999
z You are a member of your companys planning
implementation team. Define your info structure,
that means your planning levels (characteristics)
and key figures you want to plan.
Business Scenario







SAP AG LO935 1-7
SAP AG 1999
Quantities and dates
.
.
.
Order and rate proposals
BOM explosion
Scheduling at work
centers
Production controlled
by run schedule
headers
Production order
control
MPS/MRP
MPS/MRP
Repetitive
Manufacturing
Repetitive
Manufacturing
SFC
SFC
Statement of
demand
SKUs/
configurable materials
Demand
Management
Demand
Management
.
.
.
Sales organization
Division
Sold-to party
Material
Plant
Sales plans
Production plans
.
.
.
SOP
SOP
Logistics Planning Systems


Sales & Operations Planning (SOP) is the planning tool of the Logistics Information System (LIS).
Sales & Operations Planning (SOP) is a flexible forecasting and planning tool with which sales,
production, and other supply chain and logistics targets can be set. The basis for this is provided by
historical, existing, and/or estimated future data. Planning with SOP is generally carried out on a
medium to long term basis. Resource planning can also be carried out to determine the amounts of
the work center capacities and other resources required to meet these targets. SOP supports both the
high-level planning of complex planning hierarchies and the detailed planning of finished products.
Therefore, either a top-down or a bottom-up approach to planning is possible.
The architecture of the logistics planning systems is based on the MRP II concept.







SAP AG LO935 1-8
SAP AG 1999
Sales Planning
Production Planning
Purchasing
Retail
Business Applications of SOP
SAP AG


In SOP, you can plan future sales volumes on the basis of historical data as well as market
intelligence and anticipated trends and changes at your company. Aggregate sales planning is
possible. Sales plans can be kept consistent at all levels of your organization.
Sales planning provides the input for production planning. You typically carry out production
planning at product group, finished product, or SKU level.
With SOP, you can manage the allocation of scarce products to different customers or customer
groups.
Complex products manufactured in a large number of variants can also be planned.
Possible uses of SOP in purchasing are the planning of quotas for multiple sources of supply or the
tracking of purchasing budgets.
In retail, you can use the SOP system to plan purchasing budgets and monitor open-to-buy.






SAP AG LO935 1-9
SAP AG 1999
Period unit
Characteristics
157
398
Key figures
Versions
Region
Sales organization
Material
Plant
etc.
Incoming orders
Invoiced sales
etc.
Day
Week
Month
Fiscal year variant
Flexible time buckets
X
A00 Active
000 Actual data
001 Forecast based on trend model
002 Sales incl. market intelligence
etc.
A00 Active
000 Actual data
001 Forecast based on trend model
002 Sales incl. market intelligence
etc.
Info Structure Definition


Sales & Operations Planning uses the same data infrastructure as the logistics information systems
(e.g. the Sales Information System). In other words, planning data as well as actual data is stored in
information structures.
There are three different types of information in an information structure:
Characteristics are criteria by which data reduction is carried out: e.g. sales organization,
distribution channel, customer, material, and plant.
Periods are time units which give the information structures a time reference. Planning data is
displayed and stored per storage periodicity. This is not necessarily the same as the update
period of the information structure.
Key figures are values of particular business interest: e.g. incoming sales and production
quantities. Historical key figure values give a measure of business performance.
In addition, SOP allows you to maintain alternative planning scenarios in the same information
structure. You do this using planning versions. Version A00 is the active planning version. Use it to
maintain your definitive plan. Inactive versions are numerical and consist of three digits. Use them to
maintain test plans.
Remember that version 000 contains actual data. Do not plan version 000.






SAP AG LO935 1-10
SAP AG 1999
Info structure
EUROPE
Central
Paris
Characteristics
USA
North South
New York Dallas
Region
Sales organization
Sales office
Material
(Product groupings or materials)
North America
Flexible Planning: Master Data


The objects you plan in SOP depend on the characteristics in the info structure, and on the sequence
of the characteristics in the info structure.
By defining the values of the planned characteristics, you create the master data for flexible
planning.
Some of you may know the above structure as the sales forecast hierarchy (SFH).






SAP AG LO935 1-11
SAP AG 1999
Multiple options for
customized configuration
Planning hierarchies
Consistent, level-by-level,
or delta planning
Content and layout of
the planning table is
user-defined
Flexible Planning
Largely preconfigured
Product groups
Level-by-level planning
Standard planning table
Standard SOP
Flexible Planning vs. Standard SOP


Sales & Operations Planning is made up of two elements: flexible planning and standard SOP.
The above table shows you the differences between them.
To access flexible planning, select Logistics Logistics Controlling Flexible planning.
To access standard SOP, select Logistics Production SOP.
You can copy the planning table of standard SOP and then modify it to suit your companys needs.







SAP AG LO935 1-12
SAP AG 1999
Rules
Automatic
Periodic
Flexible
Update
S001
S730
Copy data
from one
info structure
to another
Info structures
S140
Use of Copy Management in Planning


Copy Management is a tool for managing data in information structures.
In Sales Operations Planning, you can use it to copy actual data from a standard information
structure to the information structure you want to use for planning. You can therefore carry out
comparisons of planned and actual data.
Using Copy Management to populate your planned information structures with actual data has
performance advantages. Operative system load is minimized due to the decrease in the number of
info structures that are updated. (You can also supply planned information structures with actual data
through LIS updating.)
Another possible use of Copy Management would be to copy data you have planned in one
information structure to information structure S140, where you then plan product allocations.
You access Copy Management in Customizing for the Logistics Data Warehouse.






SAP AG LO935 1-13
SAP AG 1999
Additional
Information
Material master
Customer master
Documents
.
.
.
Sales organization: US
Sales office: US North
Customer
Incoming
orders
Jones, Inc.
Smith, Inc.
25,000
35,000
20,000
30,000
Sales organization: US
Sales office
Incoming
orders
Invoiced
sales
60,000
40,000
50,000
40,000
Analysis of S730
Incoming
orders
Invoiced
sales
100,000 90,000
Drill down
to sales
offices
Sales
organization
US
Drill
down to
customers
US North
US South
Invoiced
sales
Standard Analyses: Reporting Techniques


You can run a standard analysis for any planning version based on consistent planning. Choose
Environment Reporting.
You can store the standard analysis as a selection version. A selection version is not the same as a
planning version.







SAP AG LO935 1-14
SAP AG 1999
Classification
ABC Analysis
A A B C C
Customers
Sales orders
Incoming orders
Materials (%)
Dual Classification
Order
value
No.
orders
Cumulative Curve
12/95 1/96 2/96 3/96 4/96 5/96
Invoiced sales
Planned/Actual
Comparisons
Previous/Current Year Comparison: Invoiced
Sales
Customer Planned Actual Difference %
Customer 1 $30,000 $40,000 $10,000 +
33%
Customer 2 $66,000 $70,000 $ 4,000 +
6%
Customer 3
Customer Sales Customer Sales Orders Orders No No. .
orders orders
Baxter Baxter 5000 3000 100 5000 3000 100
Taylor Taylor 9000 15000 3000 9000 15000 3000
Crowth Crowth 6000 9500 750 6000 9500 750
Standard Analyses: Analytical Techniques


A wide range of functions can be used to examine the underlying key figures and characteristic
values of an analysis from a business perspective. All the functions for statistical analyses are
graphically supported.







SAP AG LO935 1-15
SAP AG 1999
z SOP is the planning tool of the Logistics
Information System.
z Sales & Operations Planning (SOP) can be used to
plan sales, production, and other supply chain and
logistics activities.
z The Logistics Information System and Sales &
Operations Planning have the same data
infrastructure.
z Sales & Operations Planning is made up of two
elements: Flexible planning and standard SOP.
Introduction: Summary








SAP AG LO935 2-1
SAP AG 1999
Planning Methods
z Uses of the planning methods
z Consistent planning
z Level-by-level planning
Contents:







SAP AG LO935 2-2
SAP AG 1999
On completing this unit, you will be able to:
Planning Methods: Unit Objectives
z Explain the differences between the planning
methods
z Outline the features and benefits of each
planning method
z Maintain Customizing for Flexible Planning
z Summarize performance enhancements







SAP AG LO935 2-3
SAP AG 1999
Course Overview
Planning Method
Stat. Forecast
May May
Master Data
Planning
Functions
Planning Types
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning







SAP AG LO935 2-4
SAP AG 1999
Planning Methods: Business Scenario
z You are a member of your companys planning
implementation team. The info structure for the new
SOP planning initiative is already created. Now you
must decide which planning method will meet your
companys requirements best.







SAP AG LO935 2-5
SAP AG 1999
Level-by-level Top-down
Consistent Bottom-up
& top-down
Planning Methods


SOP supports both top-down and bottom-up planning.
These two approaches are supported in different ways by the different planning methods. It is
important to consider your choice of planning method carefully.
You cannot define more than one planning method for any information structure. However, you can
always create a new information structure with another planning method and copy over the original
data using Copy Management.






SAP AG LO935 2-6
SAP AG 1999
Material AM001 is selected from planning hierarchy
Automatic disaggregation
Region Material Plant Planned qty Proportion
New Jersey AM001 0001 600 60 %
New Jersey AM002 0001 -
New Jersey AM003 0001 -
New Jersey AM004 0001 -
California AM001 1001 400 40%
California AM002 1001 -
California AM003 1001 -
You enter an order quantity
of 1000 pc. for material AM001:
Create Consistent Planning


Consistent planning has two main advantages:
Ease of use: you plan your data at one level and can rely on data consistency at all other levels.
You can create planning data from any perspective you want.
The value of the total in relation to the details is determined by the proportional factors.
Equally, the value of one detail in relation to another detail is determined by the proportional
factors. For more information on the proportional factors, see Unit Master Data.
In the above example, disaggregation is based on the proportional factors.







SAP AG LO935 2-7
SAP AG 1999
Region Material Plant Order quantity
New Jersey AM001 0001 600
New Jersey AM002 0001 100
New Jersey AM003 0001 150
New Jersey AM004 0001 50
California AM001 1001 400
California AM002 1001 200
California AM003 1001 100
Region Material Plant Order quantity
New Jersey AM001 0001 1200
New Jersey AM002 0001 100
New Jersey AM003 0001 150
New Jersey AM004 0001 50
California AM001 1001 800
California AM002 1001 200
California AM003 1001 100
1000
2000
You change incoming orders from 1000 to 2000:
Change Consistent Planning


Planning data can be accessed from any level. You determine the combination, or set, of
characteristic values that you want to plan by the values you enter in the initial dialog box when you
call the planning screen; in consistent planning, you can specify any, all, or no characteristic values.
Data is aggregated dynamically when you call the planning table.
In the above example, material AM001 is selected for planning. The order quantities of this material
are being planned in all regions and plants. The planner changes the total order quantity from 400 to
800 units. Disaggregation is carried out automatically and is based on previously planned data.








SAP AG LO935 2-8
SAP AG 1999
Bulbs
Consistent Planning Views


With the consistent planning method, you have a consistent view on your planning data at all times
- whatever level you decide to plan at. In technical terms, the sum of the key figures at the detailed
level gives the key figure at the total level.
The above example shows two possible views: the central planning of all lightbulbs in the US and
the decentralized planning of standard-sized lightbulbs in New Jersey
Planning levels are interdependent: changes you make at one planning level have an immediate
effect on all the other planning levels. The system carries out aggregation and disaggregation
automatically at runtime.
Planning is based on a self-defined information structure.
Your view on the planning table is non-hierarchical.








SAP AG LO935 2-9
SAP AG 1999
Characteristcs
Sales organization
Distribution channel
Material
Order quantity stored
10 pc 20 pc 5 pc 30 pc
Order quantity visible
10 pc 20 pc 5 pc 30 pc
30 pc 35 pc
75 pc
Key figure
Save Consistent Planning


In consistent planning data is stored at detailed level. If you enter the planning table at aggregate
level the key figure values are aggregated.
This procedure has two advantages:
You plan your data at one level and can rely on data consistency at all other levels.
You can create planning data from any perspective you want.







SAP AG LO935 2-10
SAP AG 1999
Incoming orders quantity Incoming orders quantity Incoming orders quantity Incoming orders quantity
100 0
100 100
40

40
Original plan
Sales organization
Distribution channel
Material
Changed plan
50
20 10 15 5 20 10 15 5 20 10 15 5
50
Master data Master data
75 40
20 10 15 5
75 40
50
30 20
50
Planned incoming order quantities are changed from 30 pc and
20 pc to 75 pc and 40 pc at distribution channel level
Foreground Saved Foreground Saved
30 20
Level-By-Level Planning


In level-by-level planning, the planning hierarchy levels are independent of each other. Data is
stored separately at each planned level.
You have a hierarchical view of the data in the planning table.
No automatic aggregation or disaggregation is carried out. Plans at different levels are not
necessarily consistent.
In level-by-level planning, changes you make at one level are not automatically fed through to other
levels.
It is possible to impose data consistency across several planning levels. To disaggregate data, you
must use the function Edit -> Disaggregate line in the planning table. Disaggregation is then based
on the constant proportional factors from the planning hierarchy. To aggregate data, you must define
an aggregation macro in the planning type.
The advantage of level-by-level planning is that you get a chance to check your data before passing it
on to other levels.






SAP AG LO935 2-11
SAP AG 1999
Consistent Planning Level-By-Level Planning
Planned values saved at detailed level only.
Entire planning hierarchy can be planned in
one transaction (no characteristic values
selection).
Planning table can be called with gaps in list
of selected characteristic values.
Planning values are visible:
(i) for the characteristic values
combination you enter
(ii) at the detailed level
(iii) at all levels in between
Identical key figures planned at total and
detailed level.
Key figures are defined in the planning type
once only.
Macros can be calculated at any level.
Planned values can be saved at all levels.
At least one characteristic value must be specified.
Each level must be planned and disaggregated
individually
Planning table must be called without gaps in list of
selected characteristic values.
Planning values are visible:
(i) for the characteristic values
combination you enter
(ii) at the level below that
Key figures at owner and member levels can be different.
Key figures must be defined at both owner and member
levels in the planning type.
Macros can be calculated at either owner or member
level, depending on how you have defined them.
Consistent vs. Level-By-Level


Standard SOP always uses the level-by-level planning method.
Standard SOP is based on information structure S076.








SAP AG LO935 2-12
SAP AG 1999
Function
Automatic aggregation
Automatic disaggregation
based on factors saved in
database
Automatic time-dependent
disaggregation based on
previous planning data
Create planning hierarchy
Planning types/macros
Set opening stock
automatically in background
Forecast
Events
Resource leveling
Background processing
Fix key figure values in the
planning table
Long texts for versions and
periods in the planning table
Standard analysis for info structure
Transfer to Demand Management
Consistent
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Level-By-Level
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Comparison of the Different Planning Methods







SAP AG LO935 2-13
SAP AG 1999
Key figure
parameters
Planning
method
Field catalogs:
characteristics
Field catalogs:
key figures
Define
information
structure
Define
macros
Define planning type Define planning type
Define screen
layout
Planning
units
Customizing for Flexible Planning


Before working with flexible planning, you must first make a number of settings in Customizing: for
example, you must define the planning method of each information structure.
You can use only one planning method to plan an information structure.
To plan an information structure with a second planning method, create a second information
structure based on the first one and then copy over the actual data using Copy Management. Then
define the planning method of this new information structure.
You must define the planning units of each information structure. These are:
currency unit
period unit (storage periodicity)
unit of measure
It may happen in either consistent planning or level-by-level planning that the base unit of a material
is different than the base unit of the information structure. In this case, you maintain the base unit of
the information structure as an alternative unit in the material master record, together with a
conversion factor.








SAP AG LO935 2-14
SAP AG 1999
Performance Enhancements
z No user exits
z No zero column usage
z No event usage
z Do not save to forecast DB
z Planning object check off
z Key-figure-restricted DB update off
z ALE permitted
z Document key figure


You access the settings listed above in the Customizing activity Set parameters of info structures
and key figures. They are all designed to improve the performance of your information structures.
Two of them are explained in the following notes. For a description of the others read the F1 help.
Planning object check off:
If you set this indicator, you improve performance. However, the system does not perform the
following checks: Are the selected characteristic value combinations in the planning hierarchy? They
might be in actual data of the information structure, but not in the planning hierarchy.
Has the planning hierarchy been revised? In the master data menu of Flexible Planning, you have an
option for revising the planning hierarchy. This option allows you to exclude one or more
characteristic value combinations (planning objects) from the planning process. When you call the
planning table, the system checks to see which characteristic value combinations are to be planned
for this information structure.
Key figure restricted DB update off:
If you set this indicator, you improve performance. However, the system cannot save two planning
types of an information structure simultaneously because ALL the key figures in the information
structure are read when a planning type based on the information structure is saved.
If you do not set this indicator, the system automatically locks and saves only those key figures that
are contained in one planning type. This means that two or more planning types of an information
structure can be saved at the same time.







SAP AG LO935 2-15
SAP AG 1999
Planning Methods: Unit Summary
z Explain the differences between the planning
methods
z Outline the features and benefits of each
planning method
z Maintain Customizing for Flexible Planning
z Summarize performance enhancements
You are now able to:







SAP AG LO935 2-16
Data Used in the Exercises

Data Data in Training System Data in IDES System
Information
Structure
S630 to S650
S140
S630 to S650
S140
Sold-to Customers 1001, 1175
1002,1012,1033,1174,
1300, 1670, 1671, 1900,
1901, 2004, 2140, 2200,
2300, 2500, 14000, 99999
1001, 1175
1002,1012,1033,1174,
1300, 1670, 1671, 1900,
1901, 2004, 2140, 2200,
2300, 2500, 14000, 99999
Sales Organization 1000 1000
Distribution
Channel
12 12
Division 00 when ordering
04 when planning
00 when ordering
04 when planning
Materials L-40C, L-40F, L-40R,
L-40Y
L-60C, L-60F, L-60R,
L-60Y
L-80C, L-80F, L-80R,
L-80Y
L-40C, L-40F, L-40R,
L-40Y
L-60C, L-60F, L-60R,
L-60Y
L-80C, L-80F, L-80R,
L-80Y
Plant 1200 1200
Storage Location 0001 0001






SAP AG LO935 2-17
Exercises


Unit: Planning Methods
Topic: Planning Methods


Explain the differences between the three planning methods.

Your sales/forecasting department would like to see changes made to
your plan at all levels of the planning structure, at the time the plan is
changed. Therefore, the consistent planning method best suits the
planning requirements of your organization.
1-1 Using the Implementation Guide (IMG), verify the planning parameters of your
info structure S630 + ##. The parameters should have AT LEAST the following:

Field Name Input Data
Planning Method
Exchange rate type
Statistics currency
Base unit of measure
Planning periods
Capacity figure

1-1-1 What is the menu path in the IMG for changing the planning parameters for
an info structure?


The information message The table is client-independent., is
advising you that each change you make will have an effect on all
other clients in the system. Press Enter to continue.









SAP AG LO935 2-18
Solutions


Unit: Planning Methods
Topic: Planning Methods
1-1 Using the Implementation Guide (IMG), verify the planning parameters of your info
structure S630 + ##. The parameters should have AT LEAST the following:

Field Name Input Data
Planning Method K (Consistent)
Exchange rate type M
Statistics currency UNI
Base unit of measure CAR (carton)
Planning periods M
Capacity figure

1-1-1 What is the menu path in the IMG for changing the planning parameters for
an info structure?

The information message The table is client-independent.., is
advising you that each change you make will have an effect on all
other clients in the system. Press Enter to continue.
Tools o ASAP o Customizing o Edit Project o SAP Reference IMG
Logistics - General o Logistics Information System (LIS) o Planning o
Master data o Set parameters for info structures and key figures
Or
Production o Sales and Operations Planning (SOP) o Master data o
Set parameters for info structures and key figures
Scroll down to your info structure S6## and then double-click on the table






SAP AG LO935 3-1
SAP AG 1999
Master Data
z Planning hierarchy
z Product group
z Proportional factors
z Version management
Contents:







SAP AG LO935 3-2
SAP AG 1999
On completing this unit, you will be able to:
Master Data: Unit Objectives
z Name the differences between master data for
Flexible Planning and Standard SOP
z Explain how to create master data
z Outline the role of the proportional factors







SAP AG LO935 3-3
SAP AG 1999
Master Data: Course Overview
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types







SAP AG LO935 3-4
SAP AG 1999
Master Data: Business Scenario
z Your company builds its forecast based on the
history of invoiced quantity for the same quarter of
the previous year. You expect your product mix to
be consistent. Therefore, you can build your
planning hierarchy and calculate your proportional
factors based on this history.







SAP AG LO935 3-5
SAP AG 1999
Characteristics Characteristics Values Values
Sales
organization
Sales office
Customer
Material
USA
Europe
Paris Dallas Boston
Jones, Inc. Smith, Inc.
L - 40F L - 100F
L - 60F L - 100C
L - 60C
Characteristic Values to be Planned


You create the master data for Flexible Planning by specifying the values of the characteristics you
want to plan. You do this in a planning hierarchy.
For consistent planning and level-by-level planning, you need to create a planning hierarchy before
you can plan.
A planning hierarchy is based on an information structure. You can create only one planning
hierarchy per information structure.





SAP AG LO935 3-6
SAP AG 1999
Info structure
EUROPE
Central
Paris
Characteristics
USA
North South
New York Dallas
Region
Sales organization
Sales office
Material
(Product groupings or materials)
North America
Planning Hierarchies


The objects you plan in SOP depend on the characteristics in the info structure, and their sequence.
By defining the values of the planned characteristics, you create the master data for Flexible
Planning. You do this in a planning hierarchy.
You can only create one planning hierarchy per information structure.
In a planning hierarchy, the characteristic values represent the organizational levels at which you
want to plan.
To create a planning hierarchy manually, select Master data -> Planning hierarchy -> Create from
the Flexible Planning menu.
You have already defined the default units of a planning hierarchy in the Customizing step Set
parameters of info structures and key figures. These are period unit, base unit of measure, and
currency.





SAP AG LO935 3-7
SAP AG 1999
1997 1998
Characteristic value combinations
found in version 000
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x Eur Central Paris M1
Eur Central Paris M2
Eur Central Paris M3
Eur Central Paris M4
Eur Central Paris M5
USA North NY M7
USA North NY M8
USA North NY M6
x
USA South Dal. M11
USA North NY M10
USA South Dal. M12
USA South Dal. M13
USA South Dal. M14
USA South Dal. M15
USA North NY M9
Data is filtered
using method
USA South Dal. M16 x
x USA South Dal. M17
x
x
Automatic Creation of a Planning Hierarchy


You can create a planning hierarchy automatically on the basis of actual data (version 000) or
existing planned data (versions A00-999).
To create a planning hierarchy automatically on the basis of actual data, select Master data ->
Generate master data.
It is often not necessary, or even desirable, to plan all products that are sold to all customers,
including materials that are hardly ever sold. SAP offers you two ways to filter out characteristic
value combinations (i.e. data records) for planning:
specify a time frame
define your own method in Customizing
A method is a program or programs written by your company to perform a clearly defined, highly
specific task when certain conditions are fulfilled. For example, a method allows you to perform
complex transformations on statistical data.
One possible method would be to select materials or customers by their ABC indicator. For
example, you might want to plan A materials individually, and B and C materials in collective
planning objects.
You can simulate the results of this automatic creation function. This lets you see how many
characteristic value combinations would be found in the specified time frame and therefore helps you
decide how best to create the planning hierarchy.





SAP AG LO935 3-8
SAP AG 1999
Info structure S624
Paris
L-40F
Europe USA
Dallas
Smith, Inc.
Boston
40% 60%
100% 50% 50%
100%
100%
30% 20% 50%
12% 12% 21% 21%
20% 20% 8% 8%
24% 24%
Jones, Inc. Baker, Inc.
70%
30% 20% 80%
100%
6% 6% 9% 9%
L-60F L-100F L-40F L-60F L-60F L-100F
Proportional Factors for Consistent Planning


In consistent planning, disaggregation is based on the proportional factors between the total level and
the detailed level.
You can store constant proportional factors in the planning hierarchy. These proportional factors are
not specific to any one key figure, characteristic value, or period.
There are two ways to calculate constant proportional factors for consistent planning:
Using actual data
Using the proportions already maintained between adjacent levels in the planning hierarchy
To calculate the proportional factors for consistent planning on the basis of actual data, select Master
data -> Calculate proportions -> Using actual data from the flexible planning menu.
To calculate the proportional factors for consistent planning on the basis of the level-to-level
proportions in the planning hierarchy, select Master data -> Calculate proportions -> Using
planning hierarchy from the flexible planning menu.
You can override the constant proportional factors in the planning table at any time. If you do this,
however, subsequent disaggregation is based on the new proportional factors which the system
derives from the detailed planning data, and not on the constant proportional factors. To re-apply the
constant proportional factors to a specific key figure in the planning table, you must select Edit ->
Disaggregate line.





SAP AG LO935 3-9
SAP AG 1999
Info structure S625
Paris
L-40F
Europe USA
Dallas
Smith, Inc.
Boston
40% 60%
100% 50% 50%
100%
100%
30% 20% 50%
Jones, Inc. Baker, Inc.
70%
30% 20% 80%
100%
L-60F L-100F L-40F L-60F L-60F L-100F
Proportional Factors for Level-By-Level Planning


Using proportional factors, you describe the dependencies of the individual nodes in a planning
hierarchy or a product group hierarchy more closely. These factors allow you to disaggregate
planning data through the planning hierarchy. Whether or not this happens automatically depends on
the planning method (see Unit Planning Methods).
In level-by-level planning, disaggregation is based on the proportional factors between adjacent
planning levels. This applies both to Standard SOP and to information structures in Flexible Planning
for which level-by-level planning has been defined.
You can create these proportional factors manually or automatically.
In most cases, you base this calculation on the actual data in version 000. However, you can also use
any planning version.
To create the proportional factors for level-by-level planning automatically, you have two choices:
Either create them for a single level in the planning hierarchy or product group with Edit
Calculate proportions
Or create them for multiple levels of the planning hierarchy or product group with Master data
Calculate proportions Using actual data or Product group Calculate proportions





SAP AG LO935 3-10
SAP AG 1999
Lightbulbs Lightbulbs
Plant 9999 Plant 9999
Line "frosted"
Plant 0001
40 watt
Plant 0001
60 watt
Plant 0001
40 watt
Plant 0002
60 watt
Plant 0002
100 watt
Plant 0002
Line "clear"
Plant 0002
Product Group Hierarchy


You create the master data for standard SOP by maintaining one or more product groups.
The members of a product group can be either further product groups or materials.
In a product group, you can group together products according to any criteria (distribution,
production method, and so on).
For each product group, the system creates a material master record of material type PROD.
Enter both product groups and materials with a plant reference.
For each product group member, enter a description, a unit of measure, a units of measure
conversion factor (if the unit of the member is different than the owner unit), and an aggregation
factor.
Cross-plant planning is possible.
Planning can be carried out at material or product group level
Use level-by-level planning with product groups.
Standard SOP always uses the level-by-level planning method.
Standard SOP is based on information structure S076.





SAP AG LO935 3-11
SAP AG 1999
Info
Structure
A00
Active Version
000
Actual Data
001
Simulation 1
002
Simulation 2
Updating
Demand Mgt.
Copy
Version Management







SAP AG LO935 3-12
SAP AG 1999
Master Data: Summary
z Name the differences between master data for
Flexible Planning and Standard SOP
z Explain how to create master data
z Outline the role of the proportional factors
You are now able to:







SAP AG LO935 3-13
Exercises


Unit: Master Data
Topic: Planning Hierarchy


Explain the two ways of creating master data for flexible planning.
Outline the role of the proportional factors.


Your company builds its forecast based on the history of invoiced
quantity for the same quarter of the previous year. You expect your
product mix to be consistent. Therefore, you can build your planning
hierarchy and calculate your proportional factors based on this history.

1-1 The following is the forecast input sheet your organization has been using to load
forecasts into your legacy system. It shows actual data collected for the prior year,
allowing space for your sales force to enter the sales forecast in currency values.
Your info structure S630 + ## already supports this format. Create a planning
hierarchy for your info structure that supports the data on the following sheet:

Sales Organization 1000 Germany Frankfurt Division 04 Lighting,
Customer 1000 Becker Berlin Plant 1200

Material L-80F 80 Watt Frosted Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 10000 11000 12000 13000 14000
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Sales Forecast Qty
Material L-40C 40 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 5000 6000 7000 8000 9000
Last Years Invoiced Qty 500 600 700 800 900
Sales Forecast Qty






SAP AG LO935 3-14

Sales Organization 1000 Germany Frankfurt Division 04 Lighting,
Customer 1175 Elektromarkt Bamby Plant 1200

Material L-60C 60 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 10000 11000 12000 13000 14000
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Sales Forecast Qty
Material L-80F 80 Watt Frosted Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 5000 6000 7000 8000 9000
Last Years Invoiced Qty 500 600 700 800 900
Sales Forecast Qty
Material L-40C 40 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 2500 3000 3500 4000 4500
Last Years Invoiced Qty 250 300 350 400 450
Sales Forecast Qty

1-1-1 Based on this input sheet, what are the planning levels you will enter into
your planning hierarchy?




















1





























SAP AG LO935 3-15
1-1-2 Based on the above structure, begin entering your planning hierarchy.
When creating the planning hierarchy for the first time, leave the
characteristics blank.


A message will be displayed about the proportional factors. Because
we are not entering proportional factors, press All maintnce to bypass
this message.



Dont forget to enter the data for both Sold-to Parties.


Leave all the aggregation and proportion factors blank for now, because
we will let the system calculate the proportions based on actual data.

1-1-3 What is the menu path for this function?



1-1-4 Display the hierarchy graphic for your planning hierarchy thus far. How
many boxes (nodes) does it have?







SAP AG LO935 3-16
1-2 You have decided entering the planning hierarchy is a tedious task. Since you
forecast based on your history of invoiced quantity, automatically build your
planning hierarchy based on last 12 month (including the actual month).
When you perform this function for the first time, select the simulation indicator.
For the second run, turn off the simulation indicator.
1-2-1 What version will you use to base your planning hierarchy?


1-2-2 When you have rerun this step with the simulation indicator turned off,
display your planning hierarchy, including the hierarchy graphic.

1-2-3 What additional sold-to partner(s) were created?


1-2-4 What materials were created for this partner?


1-2-5 What is the difference between your manual entries and the automatically
created entries?









SAP AG LO935 3-17
1-3 Automatically create proportional factors for your planning hierarchy.
Base this calculation on actual values of the key figure invoiced qty.
Make sure that the proportions are adjusted in the planning hierarchy.
Use the last six month for the calculation
1-3-1 What version will you use to calculate your proportional factors?


1-3-2 Display your planning hierarchy. Where do you see the proportional
factors?



1-3-3 Why is a proportional factor of sero calculated for sold-to partner 1000?








SAP AG LO935 3-18
Solutions


Unit: Master Data
Topic: Planning Hierarchy
1-1 The following is the forecast input sheet your organization has been using to load
forecasts into your legacy system. It shows actual data collected for the prior year,
allowing space for your sales force to enter the sales forecast in currency values.
Your info structure S630 + ## already supports this format. Create a planning
hierarchy for your info structure that supports the data on the following sheet:

Sales Organization 1000 Germany Frankfurt Division 04 Lighting,
Customer 1000 Becker Berlin Plant 1200

Material L-80F 80 Watt Frosted Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 10000 11000 12000 13000 14000
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Sales Forecast Qty
Material L-40C 40 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 5000 6000 7000 8000 9000
Last Years Invoiced Qty 500 600 700 800 900
Sales Forecast Qty

Sales Organization 1000 Germany Frankfurt Division 04 Lighting,
Customer 1175 Elektromarkt Bamby Plant 1200

Material L-60C 60 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 10000 11000 12000 13000 14000
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Sales Forecast Qty
Material L-80F 80 Watt Frosted Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 5000 6000 7000 8000 9000
Last Years Invoiced Qty 500 600 700 800 900
Sales Forecast Qty
Material L-40C 40 Watt Clear Light bulbs
Month+1 Month+2 Month+3 Month+4 Month+5
Last Years Invoiced Sales 2500 3000 3500 4000 4500
Last Years Invoiced Qty 250 300 350 400 450
Sales Forecast Qty





SAP AG LO935 3-19
1-1-1 Based on this input sheet, what are the planning levels you will enter into
your planning hierarchy?




















1-1-2




Based on the above structure, begin entering your planning hierarchy
When creating the planning hierarchy for the first time, leave the
characteristics blank.


A message will be displayed about the proportional factors. Because
we are not entering proportional factors, press All maintnce to bypass
this message.



Dont forget to enter the data for both Sold-to Parties.


Sales Org
1000
Material
L-80F
Material
L-40C
Material
L-80C
Material
L-40C
Sold-to Party
1175
Division
04
Sold-to Party
1001
Material
L-60C
Plant
1200
Plant
1200

Plant
1200

Plant
1200
Plant
1200






SAP AG LO935 3-20


Leave all the aggregation and proportion factors blank for now, because
we will let the system calculate the proportions based on actual data.
Logistics o Logistics controlling o Flexible planning o Master data
o Planning hierarchy o Create
Enter your info structure S630 + ##. Press the green check button
twice.
On the Create Planning Hierarchy screen, enter sales organization
1000.
Press [Next level]. Enter division 04.
Press [Next level]. Enter Sold-to 1000 and 1175.
Press [Next level].
Continue entering data using the input sheet above. When you are
finished, press [Save].

1-1-3 What is the menu path for this function?
Logistics o Logistics controlling o Flexible planning o Master data o
Planning hierarchy o Create
1-1-4 Display the hierarchy graphic for your planning hierarchy thus far. How
many boxes (nodes) does it have?
Planning hierarchy o Graphics
Enter Info Structure S-##, Press Enter.
Leave the characteristics blank.
The number of nodes is 14 + 1 for the planning hierarchy S##.





SAP AG LO935 3-21
1-2 You have decided entering the planning hierarchy is a tedious task. Since you
forecast based on your history of invoiced quantity, automatically build your
planning hierarchy based on the last 12 month (including the actual month).
When you perform this function for the first time, select the simulation indicator.
For the second run, turn off the simulation indicator.
From the Flexible Planning menu:
Master data o Generate master data
Enter your info structure S630 + ##.
Enter version 000.
Enter the date range specified above.
Be sure the simulation indicator is selected for the first time you run this step.
[Execute]
Green-arrow back.
Turn the simulation indicator off.
[Execute]
1-2-1 What version will you use to base your planning hierarchy?
Version 000 Actual data
1-2-2 When you have rerun this step with the simulation indicator turned off,
display your planning hierarchy, including the hierarchy graphic.
From the Flexible Planning menu:
Master data o Planning hierarchy o Display
Enter your info structure S630 + ##.
Leave the characteristics blank.
Drill down to each level in the planning hierarchy using the [Next level]
button.
To see the graphic, press [Hierarchy graphic].
1-2-3 What additional sold-to partner(s) were created?
1001 and 1300





SAP AG LO935 3-22
1-2-4 What materials were created for this partner?
L-40F, L-40Y, L-60Y and L-80F ...
1-2-5 What is the difference between your manual entries and the automatically
created entries?
Your manual entries have proportional factors of 0. The automatically
created entries have factors of 100. Technically, there is no difference
between these entries. The behavior of these entries will all be the same.
1-3 Automatically create proportional factors for your planning hierarchy.
Base this calculation on actual values of the key figure invoiced qty.
Make sure that the proportions are adjusted in the planning hierarchy.
Set the indicator Consistent planning: adjust plng hierarchy proportions.
Use the last six month for the calculation
From the Flexible Planning menu:
Master data o Calculate proportns. o Using actual data
Enter your info structure S630 + ##.
Select Consistent planning: Adjust plng hierarchy proportions.
Press [Enter].
Use version 000.
Use the date range specified above.
Select invoiced quantity.
1-3-1 What version will you use to calculate your proportional factors?
Version 000
1-3-2 Display your planning hierarchy. Where do you see the proportional
factors?
Master data o Planning hierarchy o Display
The proportional factors are displayed at each level of the planning
hierarchy, relative to the level above.
1-3-3 Why is a proportional factor of sero calculated for sold-to partner 1000?
Because there are no actual data for sold-to partner 1000







SAP AG LO935 4-1
SAP AG 1999
Planning Types and Macros
z Planning types
z Include actual data
z Performance enhancements
z Drill down functionality
z Variable time buckets
z Macros
Contents:







SAP AG LO935 4-2
SAP AG 1999
On completing this unit, you will be able to:
Planning Types and Macros: Objectives
z Create your own planning type
z Outline the use of planning type info
z Generate your own macros
z Explain different ways to execute macros







SAP AG LO935 4-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Planning Types and Macros: Course Overview







SAP AG LO935 4-4
SAP AG 1999
z Management would like to store all planning data,
both sales and production, in the same structure.
z Different departments would like to have different
views of their relevant data.
z Additionaly, certain user groups should be allowed
to display but not change certain key figures.
Planning Types and Macros: Business Scenario







SAP AG LO935 4-5
SAP AG 1999
Info
Structure
Incoming orders qty.
Incoming orders
Invoiced quantity
Invoiced sales
Production qty.
Stock level
Target stock level
Days supply
Target days supply
Incoming ord. qty.
Incoming orders
Invoiced quantity
Invoiced sales
Sales
Production qty.
Stock level
Target stock level
Version
A00
Version
001
Planning type: SALES
Planning type: PRODUCTION
Planning Types


In Flexible planning, you can create your own customized planning screens. These are called
planning types.
A planning type is a self-defined view on the planning data in an information structure. The number
of planning types you can create for an information structure is not limited.
To create a planning type, select Tools -> Planning type/macro -> Create in Flexible planning or
carry out the Customizing step Maintain planning types.
In level-by-level planning, you define each level of the planning type separately.





SAP AG LO935 4-6
SAP AG 1999
The planning type
determines which
key figures are displayed
in the planning table
The planning type
determines which
key figures are displayed
in the planning table
You can create macros
in the planning type
to calculate key figures
You can create macros
in the planning type
to calculate key figures
Include actual data
from Version 000
in the planning table
Include actual data
from Version 000
in the planning table
The planning type
determines the horizon
and the time grid of
planning
The planning type
determines the horizon
and the time grid of
planning
Planning
Table:
Create a Planning Type 1


A planning type is a customized view on the planning table; for example, you might have one view
for the sales planner and another view for the production planner. A planning type defines the
content and layout of the lines in the planning table as well as the mathematical operations, in the
form of macros, which can be performed on these lines.
A planning type is based on any information structure of your choice (either a standard information
structure or a self-defined information structure). You therefore have almost infinite possibilities
with regard to the information you can plan.
The actions you perform to create a planning type are as follows:
y creating planning type info
y assigning a key figure to a line
y creating lines in the planning table
y defining line attributes
y defining macros
y using special operators to define macros for stock balance, production, dayssupply, and historical
totals
y translating planning type, freely defined line, and macro texts





SAP AG LO935 4-7
SAP AG 1999
Insert event lines
Insert event lines
Define line type:
output line
planning line
aggregation
averaging
Define line type:
output line
planning line
aggregation
averaging
Define:
drilling down
performance
extended selection
screen
Define:
drilling down
performance
extended selection
screen
Planning type
Info structure
Invoiced sales
Actual sales
Proport. Event
Correct. sales
Create a Planning Type 2


The aggregate planning indicator in the planning type info enables:
y Drill down in the planning table
y Variable time buckets
y Saving of fixed values
y Performance enhancements
If you set the indicator the key figure values are aggregated by the database server and only the totals
are transfered to the application server. If you do not set this indicator, the details are transferred to
the application server, which aggregates them. The indicators for planning types, that you created in
Release 3.0 or 3.1 are set automatically when you upgrade.





SAP AG LO935 4-8
SAP AG 1999
Planning Planning
type type
Select key figures
from info structure
Select key figures
from info structure
- Order value
- Confirmed quantity
- Open order quantity
- Open order value
- Delivery quantity
- Sales
Define additional
lines
Define additional
lines
- Event
- Corrected sales
- Actual data
from previous year
Macro Macro
Event/orig. sales * 100
= Deviation in %
+ - * / etc.
Planning table Planning table
- Consistent
- Level-by-level
- Delta
Orig. sales
Event
Corr. sales
Deviation in %
Defining a Planning Table


A planning type typically contains a subset of the key figures in the underlying information
structure.
You can also define further lines whose contents are obtained, for example, by the execution of
macros.
You define macros in a planning type. A macro performs a mathematical operation on an existing
field or fields, and returns a new calculated value. You can set up a macro such that it is
automatically executed when the planner enters or leaves the planning screen, or when he presses
Enter.
In a planning type, you can also insert lines for this years actual data, last years actual data, events,
and external data.
To define which data is read into the external data line, you must use functional enhancement
MCP20001 in a Customizing project (transaction CMOD).
You set attributes for each line in a planning type.





SAP AG LO935 4-9
SAP AG 1999
Define
macros
Define Planning Type Define Planning Type Define Info Structure Define Info Structure
Planning
method
Planning
units
Set
aggregation type
Define screen
layout
Key figure
parameters
Aggregation and Disaggregation:
Determine by Aggregation Type


The aggregation type of a key figure specifies how that key figure is aggregated and disaggregated.
You set the aggregation type in Customizing (either in Set planning parameters for info structures
and key figures or in Maintain planning types).
There are three aggregation types:
y An average is created
y A total is calculated; disaggregation is carried out on the basis of the proportional factors
y No aggregation is carried out
The default aggregation type for planned key figures is "total calculated". The default aggregation
type for a freely defined line is "no aggregation". For more information, see the IMG.





SAP AG LO935 4-10
SAP AG 1999
SOPKAPA
SOPKAPAM
SOPDIS
Standard Planning Types


Standard SOP comes with three planning types:
y SOPKAPA: the system uses this for the single-level planning of a product group
y SOPKAPAM: the system uses this for the planning of an individual material
y SOPDIS: the system uses this for dual-level planning of a product group
You can copy any one of these planning types and then modify it to suit your needs.





SAP AG LO935 4-11
SAP AG 1999
Database Database
server server
Application Application
server server
Aggregated
Detailed
Aggregate Planning
z Improved performance
z Drill down functionality


Aggregate planning indicator
You set this indicator in the planning type by choosing Maintain planning types in Customizing.
Key figures in this planning type are then aggregated by the database server, and only these totals
are transported to the application server. If you do not set this indicator, the details are transported
to the application server, which then aggregates them. The indicators for planning types that you
created in Release 3.0 or 3.1 are set automatically when you upgrade.
This indicator enables the following functionality:
y Improved performance
y Drill down functionality
y Flexible time buckets
y Permanent fixing





SAP AG LO935 4-12
SAP AG 1999

3.0 Database ... W17 W18 W19 ...
Display ... W17 W18 W19 ...
4.0 Database ... W17 W18.4 W18.5 W19 ...
Display ... W17 W18 W19 ...
or ... 04/97 05/97
z Data entry in different time buckets possible
z Aggregation and disaggregation based on predefined time
bucket grid
Variable Time Buckets


You can plan using more than one period indicator. For these indicators, you let the system generate
a technical period that is saved in the form of a fiscal year variant. The planning method of the
information structure must be consistent planning. The following example explains how to plan in
weeks and months.
Example: Set the information structure parameters for this function in Set parameters of info
structures and key figures as follows:
1) Press F4 on the Planning periods field. (The Storage periodicity field is not ready for input.)
2) In the planning periods box on the next screen, enter Wand Min the PI column.
3) Enter a name for your technical fiscal year variant. This name should consist of two letters.
4) Enter a generation horizon. This horizon should encompass the planning horizon - both past and
future periods - that you wish to plan with this information structure.
5) Save these settings.
A technical fiscal year variant is automatically generated. You return to the Information Structure
Parameters screen. The name of your technical fiscal year variant (see step 3) appears as the fiscal
year variant. A Gappears in the Planning periods field. This Gstands for generated.
Define the sequence of the periods in the planning type info.





SAP AG LO935 4-13
SAP AG 1999
Macros
z Record function: standard operators
z Record function: special macros for production, stock
balance, days supply, and historical totals
z Create function
z Functional enhancement MCP20002 (macro "User...")


You define very simple macros with the Record function. Follow the instructions at the bottom of the
screen.
You define more complicated macros with the Create function.
To calculate production, stock balance, dayssupply, or a historical total, you can use one of the
special macros provided by SAP.
To write your own, highly complex macro, use functional enhancement MCP20002 in a Customizing
project (transaction CMOD). The macro name must begin with the string USER.





SAP AG LO935 4-14
SAP AG 1999
Operand 1
(mandatory)
Operator Operand 2
(optional)
Result
Key figure
member
Key figure
owner
Key figure
owner
DM
AM
Key figure = V
Key figure
member
Key figure
Key figure
or
numerical
value
+

*
/
>
<
=
Key figure Key figure
Standard Macro Operations


You record or create a macro with the aid of predefined operators.
In level-by-level planning, you must define the level at which a macro is to be executed. This is
either owner or member level.





SAP AG LO935 4-15
SAP AG 1999
Event
Read
data
Read
data
Save
data
Save
data
INITIAL FINAL DEFAULT
Macro
Time
Key stroke
Read data
Save data
Automatic Macro Execution


You can specify that a macro is to be carried out automatically for a particular planning type. There
are three ways to execute a macro automatically:
y The initial macro is run whenever you call up the planning table.
y The default macro is run whenever you regenerate the planning table, (for example, when you
press ENTER), or when you call up or save the planning table. Caution: This can result in the
macro running several times.
y The final macro is run immediately before the data is saved.
To define a macro for automatic execution, select Goto Planning type info from the planning type
menu.
Alternatively or in addition, you can write macros that can be executed manually at any time in the
planning table (with Edit Macro).





SAP AG LO935 4-16
SAP AG 1999
Planning Types and Macros: Summary
You are now able to:
z Create your own planning type
z Outline the use of planning type info
z Generate your own macros
z Explain different ways to execute macros







SAP AG LO935 4-17
Exercises


Unit: Planning Types and Macros
Topic: Planning Types


Create your own planning type

Management would like to store all planning data, both sales and
production, in the same structure. You must determine if the default
planning table layout is sufficient for your requirements.
Management would like a separate view of the data for the sales
personnel and the production planners.
For the SALES view, management wants to see the forecast values for
invoiced sales and have a running comparison to actual sales. In addition,
they want to see last years sales as well as the invoiced quantity for the
current year and last year.

1-1 The following is your current forecast input data sheet. Your sales force completes
this form on a rolling monthly schedule, always starting with the actual calendar
month. Note that when your sales representatives receive this form, either
electronically or hard copy, the last years historical values are populated. The sales
force must fill in this years sales quantity forecast.

Sales Organization 1000 Germany Division 04 Lighting
Customer 1001 Lampen-Markt GmbH Material L-80F 80 Watt Frosted Light bulbs

Month 1 Month 2 Month 3 Month 4 Month 5
Sales Forecast Qty
Actual Invoiced Qty
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Actual Invoiced Sales
Last Years Invoiced Sales 10000 11000 12000 13000 14000






SAP AG LO935 4-18

1-1-1 Create a planning type, ZSALES-## to simulate this form, where ## is your
group number.
Assign the info structure S630 + ## to the planning type.
Be sure your planning type has the following features:
Include your group number in the description of your planning type.
Allow the sales representative to plan 12 months of the sales forecast,
starting with this month.
Allow the sales representative to see the history up to 15 months, but do
not allow changes to the history.
Create a line for entering the sales quantity forecast. This line will come
from adding the field Invoiced Quantity to your planning type and
changing the description to Sales Forecast Qty.
Include this years and previous years actual invoiced quantity,
allowing the sales reps to compare against the forecast as you go
forward in time.
Include this years and last years actual invoiced sales values.


Note: You must include the line Invoiced Sales in the planning type in
order to include Actual Invoiced Sales and Previous Year Invoiced Sales,
even if you are not forecasting this line. To prevent this line from being
displayed, change the line attributes from planning line to auxiliary line.

Save your new planning type.


Note: You will be prompted by pop-up window to enter a transport and
correction request. Follow these steps:
1. Select Create request.
2. Enter a description. Include your groups number in the text.
3. Save.
A task number will be automatically assigned. You can use this number
in subsequent exercises.






SAP AG LO935 4-19
1-2 Using your new planning type goto interactive planning without entering
charcteristics and create version 001 for your info structure.

1-2-1 What is the difference between the forecast lines in your plan and the actual
data key figures?


1-2-2 What version stores the actual data?


1-2-3 Use the left and right scroll arrows below the planning table. How far to the
left can you go? How far to the right? Why?



1-2-4 Using this new planning type, which month is the earliest you can
manipulate the forecast values?


1-2-5 Save your version.






SAP AG LO935 4-20



Unit: Planning Types and Macros
Topic: Macros


Create macros within your planning types

Management would like to see how sales are progressing relative to last
years plan. They would like to see the total difference and, optionally,
the percent deviation. They would like to see this information at each
level in the planning table.



2-1 Create a macro for planning type ZSALES-## comparing current sales to this years
plan. Define this macro to calculate automatically in your planning table.
2-1-1 Add a new output line to your planning type to accommodate this new
field. Make sure this value will be seen at each level in the planning table.
Give this field a meaningful name, such as Sales Difference.

2-1-2 Using the Record macro function, create a macro called DIFFERENCE that
calculates the difference between current actual invoiced sales and the
invoiced sales forecast. Use the formula
SALES DIFFERENCE = SALES FORECAST QTY ACTUAL SALES



The system provides prompts in the bottom left-hand corner of the
steps to recording a macro.






SAP AG LO935 4-21

2-1-3 Edit the definition of your macro. Using F1 Help, describe the functionality
of the S column in the Change Macro feature.







2-1-4 Set up your planning type so your macro is calculated automatically.

2-1-5 Save your planning type.

2-2 Using your new planning type, change the inactive version 001 you already created.
2-2-1 Enter 1000 units sales forecast qty for the actual month and press enter.
Where is the result of the macro calculation displayed?



2-2-2 Is the new field stored in the info structure when the plan is saved?



2-2-3 Save your version.






SAP AG LO935 4-22
*2-3 Create a new macro to calculate the percent deviation of your actual sales from your
sales forecast. Be sure this macro, as well as your first macro, calculates
automatically when using your planning type.
2-3-1 Add two new fields to your planning type:
Temp1 to use for an intermediate calculation
Percent Deviation - for displaying the new calculated value
Make sure the Percent Deviation is an output line that will be displayed at
each level of the planning table.

2-3-2 Using the Create macro function, create a macro called DEVIATION to
calculate the percent deviation. Use the formula
DEVIATION = SALES DIFFERENCE / SALES FORECAST QTY* 100

2-3-3 Set all macros you have defined to calculate automatically in the planning
table.

*2-4 Using your planning type, change the version of your plan from above.
2-4-1 Is the percent deviation line populated automatically?


2-4-2 Change some forecast values. Does the percent deviation line change?







SAP AG LO935 4-23
Solutions


Unit: Planning Types and Macros
Topic: Planning Types
1-1 The following is your current forecast input data sheet. Your sales force completes
this form on a rolling monthly schedule, always starting with the actual calendar
month. Note that when your sales representatives receive this form, either
electronically or hard copy, the last years historical values are populated. The sales
force must fill in this years sales quantity forecast.

Sales Organization 1000 Germany Division 04 Lighting
Customer 1001 Lampen-Markt GmbH Material L-80F 80 Watt Frosted Light
bulbs
Month 1 Month 2 Month 3 Month 4 Month 5
Sales Forecast Qty
Actual Invoiced Qty
Last Years Invoiced Qty 1000 1100 1200 1300 1400
Actual Invoiced Sales
Last Years Invoiced Sales 10000 11000 12000 13000 14000

1-1-1 Create a planning type, ZSALES-## to simulate this form, where ## is your
group number.
From the Flexible Planning menu:
Tools o Plng.Type/Macro o Create
Planning type: ZSALES-##. Do not copy an existing planning type
Specify Info structure: S630 + group number
Be sure your planning type has the following features:
Include your group number in the description of your planning type.
Text: Planning type for Sales Group ##
Allow the sales representative to plan 12 months of the sales forecast,
starting with this month.
Enter the current month into the Planning start date
Allow the sales representative to see the history up to 15 months, but do
not allow changes to the history.
Enter Future periods: 12 and Historical periods: 15
Ensure Ready for input is deactivated. Press Enter to continue





SAP AG LO935 4-24
Create a line for entering the sales quantity forecast. This line will come
from adding the field Invoiced Quantity to your planning type and
changing the description to Sales Forecast Qty.
To add the field Invoiced Sales, Edit o Assign structure or [Add
structure row]
Select Invoiced quantity.
To change the description to Sales Forecast Qty, you can type over the
existing description, or Edit o Row attributes
Select Freely defined text and enter the text Sales Forecast Qty.
Include this years and previous years actual invoiced quantity,
allowing the sales reps to compare against the forecast as you go
forward in time.
To add this years and previous years actual invoiced quantity, place
your cursor on the field Sales Forecast Qty,
Edit o Actual data or [Actual data]
Edit o Actual data, prev. yr or [Actual data, prev. yr]
Include this years and last years actual invoiced sales values.


Note: You must include the line Invoiced Sales in the planning type in
order to include Actual Invoiced Sales and Previous Year Invoiced Sales,
even if you are not forecasting this line. To prevent this line from being
displayed, change the line attributes from planning line to auxiliary line.

To add the field Invoiced sales,
Edit o Assign structure
Select Invoiced sales.
To add this years and the previous years invoiced sales place your
cursor on the field Invoiced sales,
Edit o Actual data, prev. yr
Edit o Actual data
To prevent the field Invoiced sales from displaying in your plan, follow
the menu path
Edit o Row attributes
Select Auxiliary line.
Save your new planning type.






SAP AG LO935 4-25


Note: You will be prompted by pop-up window to enter a transport and
correction request. Follow these steps:
4. Select Create request.
5. Enter a description. Include your groups number in the text.
6. Save.
A task number will be automatically assigned. You can use this number
in subsequent exercises.


1-2 Using your new planning type goto interactive planning without entering
charcteristics and create version 001 for your info structure.
From the Flexible Planning menu
1. Planning o Create
2. Enter your new planning type ZSALES-##.
3. Leave the characteristics blank.
4. Confirm version 001.
Your screen should look similar to the following:

Sales Organization Division
Sold-to Party Material
Plant
Version 001 Version 001 Inactive
Aggregate information Un M 05.1998 M 06.1998 M 07.1998 M 08.1998 M 09.1998 M 10.1998
Sales Forecast Qty CAR
PrvYrAct Invoiced qty 1068 2750 2090 2168 2274 3996
Actual Invoiced Qty
PrvYrAct Invoiced Sales 805164 2063472 1559754 1623144 1702468 8835844
Actual Invoiced Sales

1-2-1 What is the difference between the forecast lines in your plan and the actual
data key figures?
The forecast lines are open for data entry. The actual data is display only.
1-2-2 What version stores the actual data?
Version 000.





SAP AG LO935 4-26

1-2-3 Use the left and right scroll arrows below the planning table. How far to the
left can you go? How far to the right? Why?
You can go 15 months to the left (history) and 12 months to the right
(forecast horizon). This is controlled in the planning type info screen.
1-2-4 Using this new planning type, which month is the earliest you can
manipulate the forecast values?
From the current month.
1-2-5 Save your version.





SAP AG LO935 4-27



Unit: Planning Types and Macros
Topic: Macros
2-1 Create a macro for planning type ZSALES-## comparing current sales to this years
plan. Define this macro to calculate automatically in your planning table.
From the Flexible Planning menu
Tools o Plng.Type/Macro o Change
Enter your new planning type ZSALES-##.
2-1-1 Add a new output line to your planning type SALES to accommodate this
new field. Make sure this value will be seen at each level in the planning
table. Give this field a meaningful name, such as Sales Difference.
1. Edit o Add row
2. On the new blank line, type Sales Difference.
3. Edit o Row attributes
Change the row attributes to output line and total created.

2-1-2 Using the Record macro function, create a macro called DIFFERENCE that
calculates the difference between current actual invoiced sales and the
invoiced sales forecast. Use the formula
DIFFERENCE = FORECAST ACTUAL


The system provides prompts in the bottom left-hand corner of the
steps to recording a macro.
Macro o Record
1. Macro: DIFFERENCE (this is not case sensitive)
Description: Difference between forecast and sales
2. First line: double-click on Sales Qty Forecast
3. Operation: single-click on minus sign button (subtract)
4. Second line: double-click on Actual Invoiced Quantity
5. Results line: double-click on Sales Difference
6. Single-click on the Exit Macro button to end the recording of the
macro.
7. Save your macro.






SAP AG LO935 4-28

2-1-3 Edit the definition of your macro. Using F1 Help, describe the functionality
of the S column in the Change Macro feature.
To see the definition of your macro, Macro o Edit. Select your macro.
If you check this box, this macro line will be executed only in selected
columns of the planning table. Macro lines for which you do not check
this box will be executed in all plannable columns of the planning table,
not just in the selected columns.
Therefore, to see your macro calculated for all columns in your planning
table, do not select this box.
2-1-4 Set up your planning type so your macro is calculated automatically.
Goto o Planning type info
Enter DIFFERENCE as the default macro.
2-1-5 Save your planning type.

2-2 Using your new planning type, change the inactive version 001 you already created.
From the Flexible Planning menu
1. Planning o Change
2. Enter your new planning type ZSALES-##.
3. Leave the characteristics blank.
4. Select Inactive version. Choose the version you created with the forecast tool
earlier in the course.
2-2-1 Enter 1000 units sales forecast qty for the actual month and press enter.
Where is the result of the macro calculation displayed?
The macro is calculated by default upon entry into the planning table.The
result is shown in key figure "Sales Difference".
2-2-2 Is the new field stored in the info structure when the plan is saved?
No. It is calculated and displayed only within the planning table, because
"Sales Difference" is no key figure of the info structure.
2-2-3 Save your version.






SAP AG LO935 4-29
*2-3 Create a new macro to calculate the percent deviation of your actual sales from your
sales forecast. Be sure this macro, as well as your first macro, calculates
automatically when using your planning type.
From the Flexible Planning menu
Tools o Plng.Type/Macro o Change
Enter your new planning type ZSALES-##.

2-3-1 Add two new fields to your planning type:
Temp1 to use for an intermediate calculation
Percent Deviation - for displaying the new calculated value
Make sure the Percent Deviation is an output line that will be displayed at
each level of the planning table.
1. Edit o Add row
2. On the new blank line, type Temp1.
3. Edit o Row attributes
Change the row attributes to Auxiliary line.
4. Edit o Add row
5. On the new blank line, type Percent Deviation.
6. Edit o Row attributes
Change the row attributes to Output line and Total created.





SAP AG LO935 4-30

2-3-2 Using the Create macro function, create a macro called DEVIATION to
calculate the percent deviation. Use the formula
DEVIATION = SALES DIFFERENCE / SALES QTY FORECAST * 100
Macro o Create
1. Macro: DEVIATION (this is not case sensitive)
Description: Percent sales deviation
2. First Operand: Sales Difference
For all fields on this screen, the F4 Possible Entries option will list all
the valid values. From here, you can select the appropriate value for
the field.
3. Op (Operator): / Divide by line
4. Second Operand: Sales Qty Forecast
5. Result: Temp1
On the second line of the macro:
6. First Operand: Temp1
7. Op: * Multiply with Value
8. Second Operand: 100
9. Result: Percent Deviation
10. Save your macro.





SAP AG LO935 4-31
2-3-3 Set all macros you have defined to calculate automatically in the planning
table.
Because you can only default one macro in a planning type, you must
include the calculations of all macros into one macro definition.
1. Macro o Edit
2. Select the macro DEVIATION.
3. Place the cursor on the first line of the macro.
4. Edit o Insert row
On the first line (which should be blank):
5. First Operand: Sales Qty Forecast
6. Op: - Subtract line
7. Second Operand: Actual Invoiced Quantity
8. Result: Sales Difference
9. Save the macro.
10. Goto o Planning type info
11. Change the default macro to DEVIATION.
12. Save your planning type.
13. You can delete the macro DIFFERENCE if you like, but this is not
necessary.

*2-4 Using your planning type, change the version of your plan from above.
2-4-1 Is the percent deviation line populated automatically?
Yes. The macro is calculated by default upon entry into the planning
table.
2-4-2 Change some forecast values. Does the percent deviation line change?
Yes. The macro calculates by default when the Enter key is pressed.






SAP AG LO935 5-1
SAP AG 1999
General Planning Functions
z Planning table
z Drill down in consistent planning
z Planning views
z Distribution functions
z Zero column totals column
z Aggregation and disaggregation
z Fixing of key figures
Contents:







SAP AG LO935 5-2
SAP AG 1999
On completing this unit, you will be able to:
General Planning Functions: Objectives
z Navigate in the planning table
z Use the planning functions
z Know how to use Aggregate Planning
z Copy data between info structures







SAP AG LO935 5-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Gerneral Planning Functions: Course Overview







SAP AG LO935 5-4
SAP AG 1999
General Planning Functions: Business Scenario
z As a sales planner, you are planning on selling
30000 cartons of light bulbs during the next six
months. You plan on distributing this evenly
among the six months. You want to disaggregate
these quantities based on prior history.







SAP AG LO935 5-5
SAP AG 1999
Create Create Plan: Plan: Consistent Planning Consistent Planning
Planning Edit Goto Extras System Help
Region USA Sales organization South
Distribution channel Material
Plant 3
Version 001 Version 001 New, inactive
Charact. Distribute ... On 0 column ...
Aggregated information
M 01.1999
Incoming orders
Price
M 02.1999 M 03.1999 M 04.1999 M 05.1999 M 06.1999 Un
Incoming orders qty
$
To
Left column:
key figures
being planned
Left column:
key figures
being planned
unit in which
the key figure
is recorded
unit in which
the key figure
is recorded
Input matrix
laid out in rows and columns
Input matrix
laid out in rows and columns
Disaggregate line Key figure
Incoming orders
Price 500 500 500 500 600 600
1900 2000 2200 2200 2100 2300
950000 1000000 110000 110000 1260000 1380000
$
Planning Table
Header area:
shows which master
data you are planning
and which version
Header area:
shows which master
data you are planning
and which version


The planning table consists of a header area and an input matrix.
The header area shows which master data you are planning and which version.
The input matrix is laid out in rows and columns. The left column shows which key figures are
being planned; if desired, you can switch to a display that shows which characteristic values are
being planned (Views Key figure format). The right column shows the units of the key figures.
You can enter data either manually, or by using distribution operators (e.g. +, -, *, /), or by running
the forecast, or by copying data from another information structure.
Extended Selection Screen for Planning Table Access
You can plan ranges of characteristic value combinations as well as individual characteristic value
combinations. For example, you can plan materials 1 to 3, 5, and 7-9, without planning materials 4,
6, and 10. You specify these ranges in an extended selection screen before accessing the planning
table. To activate this selection screen, set the Detailed selection indicator in the planning type. This
indicator is set automatically for any planning types that you created in Releases 3.0 and 3.1. If you
are planning an information structure without a planning type, you get the extended selection screen
automatically.
To exclude characteristic value combinations from the planning process, choose Pl.hierarchy
Revise.





SAP AG LO935 5-6
SAP AG 1999
USA
North South
Atlanta Dallas
North America
Drill Down in Interactive Planning


Drilling Down in Consistent Planning
You can drill down level by level in the planning table of consistent planning. The prerequisite is
that you have set the Aggr. planning indicator in the planning type. Any planning types that you
created in Release 3.0 or 3.1 have this indicator set automatically.





SAP AG LO935 5-7
SAP AG 1999
Incoming ord. qty.
Incoming orders
Invoiced quantity
Invoiced sales
All key figures view
Sum of members
Sold-to party 1
Sold-to party 2
Sold-to party 3
Key figure invoiced sales
+
Total view:
All key figures at
entry level
Detailed view:
All key figures at
member level
Key figure view:
One key figure at sum
and member level
-
Views in the Planning Table


Without the indicator aggregate planning in the planning type info you can select:
Goto Total
y This takes you to the aggregate view on your data. If the planning method is consistent planning,
you see the total key figure values for all selected characteristic value combinations. If the
planning method is level-by-level planning, you see the total key figure values at owner level.
Views Member
y This takes you to the detailed view on your data. If the planning method is consistent planning,
you see the key figure values at the most detailed level of the characteristic values combination.
This is often the material level. If the planning method is level-by-level planning, you see the key
figure values at member level.
Views Key figure format
y When you place your cursor on a key figure and select this option, you see the values of this key
figure for all characteristic values at the detailed level. The sum of these values appears in the top
line of the input matrix. You can view the characteristic values in the left column as either
numbers or texts.
Views All members
y This shows you the values of all key figure for all characteristic values at the detailed (consistent
planning) or member (level-by-level planning) level.
With the indicator aggregate planning in the planning type info you just drill down the next level.





SAP AG LO935 5-8
SAP AG 1999
Places after decimal point Distribution functions
Row totals Zero column
6. 123
6
total
Zero column
Incoming orders
Incoming orders qty
Price
M 01.1997
Aggregated information
Operator
OP Description
=
+
-
*
/
%
etc.
Replace time series values with the value
Add the value to the time series
Subtract the value from the time series
Multiply the time series values by the value
Divide the time series values by the value
Value as percentage of the time series
...
Basic Functions of the Planning Table


You can set the number of decimal places of any key figure and characteristic value. The number of
decimal places saved is determined by the Global Settings made in Customizing for that unit;
otherwise, by the number of places shown in the planning table at the time of saving.
You can distribute a value across a selected time series using an operator.
The so-called "zero column" has no particular period unit. Opening stock levels are displayed here.
You can enter other opening values in this column. The zero column is used only, if you dont have
historical data in your planning type (like in Standard SOP, or if no historical periods are selected in
the planning type, or if the historical periods are ready for input).
You can calculate row totals for all or selected sections of the planning horizon.





SAP AG LO935 5-9
SAP AG 1999
Fixing at aggregate level also
causes fixing at detailed level
Fixing at aggregate level also
causes fixing at detailed level
9,545
(32%)
11,454
(38%)
5,000
(25%)
6,000
(30%)
3,000
(15%)
3,000
(15%)
3,000
(15%)
3,000
(10%)
3,000
(10%)
3,000
(10%)
Total incoming orders quantity:
20,000 pc
Total incoming orders quantity changed to:
30,000 pc
Permanent Fixing of Values


Saving Key Figures with Fixed Values
You can fix the value of a key figure in the planning table such that this value does not change when
you change values of the key figure at other planning levels. Since release 4.0 you can save these
fixed values.
The prerequisites for using this function are:
You create the information structure that you use for planning with the Planning possible indicator
switched on. Any information structures that you created in Release 3.0 or 3.1 will have this
indicator set automatically; no manual action is necessary on your part.
Before you generate the information structure, you set the fixing indicator for the key figures for
which you want to store the fixing. The generation of the info structure then automatically creates a
new key figure on the data base to store fixed values. (See definition of the data base table using
transaction SE16). Key figures in information structures that you created in Release 3.0 or 3.1 will
NOT have this indicator set automatically; manual action is necessary on your part.
You set the Aggr. planning indicator in the planning type. Key figures values you fix in the planning
table are then fixed in the database when you save the planning version. Any planning types that you
created in Release 3.0 or 3.1 will have this indicator set automatically; no manual action is necessary
on your part. You can also fix the values of an entire line by double-clicking in the initial column.





SAP AG LO935 5-10
SAP AG 1999
Customizing of Info Structure
Base Base unit of measure unit of measure
Master Data (material master record)
Planning Table
Planning unit Planning unit
Base Base units of measure units of measure
Hierarchy unit Hierarchy unit
Toggle
Units of Measure


You maintain the base unit of measure in Customizing Set planning parameters for info structures
and key figures (Transaction MC7F).
If you maintain in the Material Master a conversion of alternative units you can toggle between the
base unit and other units.





SAP AG LO935 5-11
SAP AG 1999
Planning
units
Currency unit
Period unit
Unit of measure
USD
DEM
CAD
PC
BOX
TO P
M W
T
Planning Units


You enter an exchange rate type with the currency unit. This will allow you to convert between
different currencies in the planning table.
To switch to a different currency unit for a key figure, you overwrite the currency unit on the
appropriate line of the planning table.
The period unit (storage periodicity) defines the period in which data is called in the planning table
and stored on the database.
In level-by-level planning, the entry for period unit (storage periodicity) is optional. The planning
table is then called in the period unit in which it was last saved.
If no storage periodicity has been defined in level-by-level planning, you can change the period unit
of part or all of the planning horizon in the planning table.
In consistent planning you can select sequence of periods in the planning type info if you generated
technical periods in Customizing Set planning parameters for info structures and key figures
(Transaction MC7F).





SAP AG LO935 5-12
SAP AG 1999
z Consistent
z Consistent
Consistent
Level-by-level
Copying Key Figures from One Info Structure to
Another


You can copy key figure values from one information structure to another. These can be either
monetary values or quantities.
Three standard copying methods are defined:
y From consistent planning to consistent planning
y From consistent planning to level-by-level planning
y From delta planning to level-by-level planning
If you require a different combination of planning methods, you must write your own user method in
Customizing.





SAP AG LO935 5-13
SAP AG 1999
Key figure is selected Key figure is selected
Info structure
Version
From
TO
S730 S730
003 003
01/01/1997 01/01/1997
12/ 31/1997 12/ 31/1997
Planning data is created in
information structure
Planning data is created in
information structure
Key figure
Invoiced sales quantity
Incoming orders quantity
.
.
.
.
.
.
Individual plans are
aggregated
Individual plans are
aggregated
Sales organization 0003
Sales organization 0002
Warehouse split Warehouse split
0001
01
1001
Sales organization
Sales office
Customer
Material
L-60F
Sales:
Plant 1200
Sales:
Plant 3200
Total sales of
material
Total Total sales of sales of
material material
Material
A
Copying Key Figures: Warehouse Split


The warehouse split is taken into consideration if you copy from an info structure without plant to an
info structure with plant in the hierarchy.
If you perform this action at product group level, the material data is automatically aggregated.
In Standard SOP, you can then plan the production quotas of different plants.
Each combination of material and plant (SKU) is treated as a separate planning object in standard
SOP. This means that when the system copies data from Flexible Planning to Standard SOP, it must
distribute the material data across all the plants in which the material is planned. These are the plants
you have maintained for that material in the product group.
You define this automatic plant distribution ("warehouse split") in Customizing (Define proportional
distribution across plants). If you make no entries in Customizing, the system distributes the data
equally.





SAP AG LO935 5-14
SAP AG 1999
General Planning Functions: Summary
z Navigate in the planning table
z Use the planning functions
z Know how to use Aggregate Planning
z Copy data between info structures
You are now able to:







SAP AG LO935 5-15
Exercises


Unit: General Planning Functions
Topic: Planning Table


Navigate in the planning table
Know how to use the planning functions

As a sales planner, you are planning on selling 30000 cartons of light
bulbs during the next six months. You plan on distributing this evenly
among the six months. You want to disaggregate these quantities based
on prior history.


1-1 Change your sales plan version 001 using your groups planning type ZSALES-##.
1-1-1 To change a plan at the division 04 level of the planning hierarchy, what
characteristics should you specify when entering your plan?



1-1-2 Before you can distribute numbers across months, what must you do?



1-1-3 Using the Distribute function to spread a quantity of 30000 cartons across
the next six months at division level of your planning hierarchy. Enter this
plan into the key figure Sales Forecast Qty.

1-1-4 Create a column for line totals. Select all columns to be totaled.

1-1-5 How do you get rid of the line total column?







SAP AG LO935 5-16

1-1-6 Once you have entered your plan, how can you see all the plan values for
the key figure Sales Forecast Qty?




1-2 In the key figure view, at division 04 level, in the current month and next month,
change the Sum of Members to 1000. What happens to the detail lines?


1-2-1 Using these two columns for comparison purposes, in the first column only,
double the Sum of members line. What happens to the detail lines?



1-2-2 In the first column only, change a value in the detail lines. What happens to
the Sum of members line?


1-2-3 In the first column only, enter 1000 in the Sum of Members line again. What
happens to the detail lines now?




1-2-4 Disaggregate the row. What happens to the detail lines?


1-2-5 Fix the value of the second member in the first column.






SAP AG LO935 5-17

1-2-6 Increase the Sum of Members line to 2000 for the first column. What
happens to the detail lines now?




If you switch on the fixing generally, all changed data are fixed
automatically
You can save the fixing only in aggregate planning for key figures
which have the flag fix in customization of the info structure.

1-3 Remaining in the key figure view, make the following changes:
1-3-1 Display the characteristic description

1-3-2 Change the lead column widths to 35 and all other columns to 12.

1-3-3 Change the sequence of the characteristic to Material, Sold-to Party, Sales
Organization, Division and Plant.

1-3-4 Drill-down the hierarchy until the material level, or alternatively to when the
detail line includes the material. Change the unit of measure from CAR to
PAL.
1-4 Save your plan.






SAP AG LO935 5-18
Solutions


Unit: General Planning Functions
Topic: Planning Table
1-1 Change your sales plan version 001 using your groups planning type ZSALES-##.
From the Flexible Planning menu:
Planning o Change
Specify the planning type ZSALES-##.
1-1-1 To change a plan at the division 04 level of the planning hierarchy, what
characteristics should you specify when entering your plan?
Enter division 04 as characteristic. When using level-by-level planning,
you must enter sales organisation 1000 and division 04.

1-1-2 Before you can distribute numbers across months, what must you do?
Select the months to distribute by either of two ways:
1. Clicking on the header of each column you want to choose
2. Click on the first and last column.

1-1-3 Using the Distribute function to spread a quantity of 30000 cartons across
the next six months at division level of your planning hierarchy. Enter this
plan into the key figure Sales Forecast Qty.
1. Edit o Distribute (or press the [Distribute] button)
2. Check the planning horizon to confirm the correct months have been
selected.
3. Enter 30000 into the Sales Forecast Qty key figure.
4. Select = = in the Op field (Operator) to distribute the value over the
period and replace old values
5. Press [Enter].
5. Deselect the columns using edit o select o deselect columns.
1-1-4 Create a column for line totals. Select all columns to be totaled.
Select [key figure], or Views o All key figures
Settings o Show row totals o All columns

1-1-5 How do you get rid of the line total column?
Settings o Show row totals o Hide







SAP AG LO935 5-19
1-1-6 Once you have entered your plan, how can you see all the plan values for
the key figure Sales Forecast Qty?
Place your cursor on the key figure Sales Forecast Qty. and select [Key
Figure]. To see each level, select the line in which you are interested and
drill down. You can drill down using this method until you reach the
lowest level. The drill-down icons indicate the directions available.

1-2 In the key figure view, at division 04 level, in the current month and next month,
change the Sum of Members to 1000. What happens to the detail lines?
The value on these lines proportionally allocates the total of the Sum of Members.
1-2-1 Using these two columns for comparison purposes, in the first column only,
double the Sum of members line. What happens to the detail lines?
The detail lines increase to total the sum of members line. They retain
their original proportions.
1-2-2 In the first column only, change a value in the detail lines. What happens to
the Sum of members line?
The sum of members line increases to the total of the lines.
1-2-3 In the first column only, enter 1000 in the Sum of Members line again. What
happens to the detail lines now?
The detail lines total the Sum of members line. They however do not
retain their original proportions. The proportions are re-calculated when
the detail line was changed.
1-2-4 Disaggregate the row. What happens to the detail lines?
The detail lines return to their original proportions.
1-2-5 Fix the value of the second member in the first column.
Settings o Firming o Switch on.
Double-click on the value. The value should turn red.
Double-click on the line,. The line should turn red.
1-2-6 Increase the Sum of Members line to 2000 for the first column. What
happens to the detail lines now?
The fixed value remains the same. The proportions for the other details
lines are re-calculated.
Changed values are also fixed. Another double click defixes the value.

If you switch on the fixing generally, all changed data are fixed
automatically.
You can save the fixing only in aggregate planning for key figures
which have the flag fix in customizing of the info structure.






SAP AG LO935 5-20
1-3 Remaining in the key figure view, make the following changes:
1-3-1 Display the characteristic description
Settings o Charact. display o Description
1-3-2 Change the lead column widths to 35 and all other columns to 12.
Settings o Column width
Enter 35 in the lead column and 12 in self-defined.
1-3-3 Change the sequence of the characteristic to Material, Sold-to Party, Sales
Organization, Division and Plant.
Settings o Column header info
In detail column, change the sequence.
1-3-4 Drill-down the hierarchy until the material level, or alternatively to when the
detail line includes the material. Change the unit of measure from CAR to
PAL.
Either overtype the field Un or click on the column, Settings o Units o
Change Units. The system will automatically convert, based on the values
in the Material Master record.
1-4 Save your plan.







SAP AG LO935 6-1
SAP AG 1999
Statistical Forecast
z Forecast models
z Forecast profiles
z Forecast versions
z Outlier control
z Workdays correction
Contents:







SAP AG LO935 6-2
SAP AG 1999
On completing this unit, you will be able to:
Statistical Forecast: Unit Objectives
z Carry out a forecast
z Outline the use of forecast profiles
z Store and load forecast versions
z Base the forecast on the number of workdays
in a period







SAP AG LO935 6-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Statistical Forecast: Course Overview







SAP AG LO935 6-4
SAP AG 1999
Statistical Forecast: Business Scenario
z Management wants to create a sales plan based
on the historical data for the invoiced quantity.
They also want to see the difference between
calculating the forecast at the aggregate and
disaggregate levels.







SAP AG LO935 6-5
SAP AG 1999
Consumption
Consumption
Actual data
Actual data
Forecast
Forecast Forecast
Prediction
Prediction
Used as planning figures
Used as planning figures Used as planning figures
Forecast
z Analysis of historical data
enables prediction of
future patterns
z Use of robust, proven forecast
models
exponential smoothing
moving averages
z Automatic model selection is
possible
z Graphical monitoring and
manipulation of both historical data
and forecast results.


Forecasting in SOP 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.
This historical data can be either actual data or consumption data. Actual data relates to a key figure
such as invoiced sales. Actual data is stored in the information structure, version 000.
Consumption data includes all kinds of goods issues including goods that are written off as scrap.
The consumption data of a material is stored in the material master record. You can base the forecast
on consumption data if the planning method is level-by-level and if the info structure contains the
characteristics "material" and "plant".
Standard SOP refers always to consumption data, because there is no version 000 available.
Statistical forcast in Consistent planning is always based on actual data of version 000.
You can either make the forecasted values your plan or modify them further.
In the planning table, the system guides you through the steps necessary to run the forecast.
You can also carry out the forecast using a mass processing job.
Reference materials
If you do not have any historical values for a material (for example, because it is new), you can still
run the forecast for this material by using the consumption quantities of a "reference material." You
define this reference material in the material master record. You must also set the Consumpn.
indicator in the forecast profile. This function is supported for level-by-level planning.





SAP AG LO935 6-6
SAP AG 1999
Profile: low cost products
Profile: seasonal products
Forecast model Forecast model Parameters Parameters Model Model selection selection
explicit model
explicit model with
additional test
best fit selection
constant
trend
season
seasonal trend
- forecast basis
(consumption/sales)
- seasonal length
- smoothing parameters
- number of historical
periods
Combine Combine
Profile: new products
Explicit model: trend
D factor: 0.5 E factor: 0.3
Forecast Profiles: Concept


You store standard forecasting settings in a profile.
You can create and save multiple profiles for different business purposes.
The benefits of forecast profiles are as follows:
y You save time if the same settings are used repeatedly.
y Forecast profiles can be used for mass processing..
y You reduce keying errors.
You can use forecast profiles to simulate different "what-if" scenarios and then compare the results.
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 that they have a greater influence on the forecast.
How quickly the forecast reacts to a change in pattern depends on your choice of smoothing factor. If
you choose 0 for alpha, the new average will be equal to 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 will equal the last value in the time series.
The most common values for alpha lie between 0.1 and 0.5. An alpha value of 0.5 weights historical
values as follows:
y 1st historical value: 50%
y 2nd historical value: 25%
y 3rd historical value: 12.5%
y 4th historical value: 6.25% and so on..





SAP AG LO935 6-7
SAP AG 1999
Forecast Results Based on
Constant Model
Profile 1: assume
constant model
Profile 1: assume
constant model
Regular
lightbulbs
Profile 2: assume
seasonal model
Profile 2: assume
seasonal model Christmas
lights
Forecast Results Based on
Seasonal Model
time
Christmas
Qty.
Forecast Profiles: Example


In the above example, future sales of the product families regular lightbulbs and Christmas lights are
forecasted using two different profiles. The first product family has a constant usage. The second
product family contains seasonal articles.
Forecast Models for Different Historical Patterns
y Pattern Forecast model
y Constant Constant model
y Constant model with smoothing factor adaptation
y Moving average model
y Weighted moving average model
y Trend Trend model
y (1st-order exponential smoothing)
y 2nd-order exponential smoothing model (with and without parameter optimization)
y Seasonal Seasonal model (Wintersmethod)
y Seasonal trend Seasonal trend model
y 1st-order exponential smoothing model
y Irregular No forecast
y Moving average model
y Weighted moving average model





SAP AG LO935 6-8
SAP AG 1999
60 Watt
Clear
40 Watt
Clear
Product Division
Clear Lightbulbs
100 Boxes
200 Boxes
300 Boxes
Automatic Aggregation of Historical Data


If you carry out the forecast at a high level, the historical data is automatically aggregated.
For this reason, the results of the forecast will be different if the forecast is run at a high level and the
results are then disaggregated to the detailed level than if you run the forecast at the detailed level.
If you carry out the forecast in the background with consistent planning, you define the level for
forcasting in the variant.





SAP AG LO935 6-9
SAP AG 1999
Historical data
Forecast results
Forecast
database
Planning table
M 10.1999 M 11.1999 M 12.1999
500 500 500
2000 2200 2200
1000000 1100000 1100000 Sales
Sales qty
Price
V
ersion 1
V
e
rs
io
n
2
F
o
re
c
a
s
t r
u
n

in
2
n
d
q
u
a
r
te
r
F
o
re
ca
s
t ru
n

in
1
s
t q
u
a
rte
r
Forecast Versions


Forecast versions are a fast way to simulate different forecast results for the same planning version.
All forecast versions are stored in the forecast database, when you save the planning table.
You can base several forecast versions on the same corrected historical data and forecast parameters.
You can view the forecast parameters and forecast results of any existing forecast version.
In level-by-level planning, forecast versions are saved at the level for which they were carried out.
In consistent planning, forecast versions are saved for the current planning object. If your actual
planning is based on several planning objects (for example because you entered the planning table
with gaps in the characteristics sequence, you cannot save the forecast result as a forecast version.
To base the forecast on previously corrected historical values, and not on the original historical
values, set the Corrected values indicator in the forecast profile. The system then calculates the
forecast results using the corrected historical values of the forecast version that is currently
displaying in the planning table.
You can delete forecast versions in a particular planning version of the information structure;
moreover, you can opt to delete forecast versions based on a particular forecast model (that is, a
particular combination of forecast parameters).
To delete one or more forecast versions using mass processing, choose Planning -> Mass
processing
-> Reorgan. forecast. This function allows you to delete forecast versions in either Flexible Planning
or the material forecast.





SAP AG LO935 6-10
SAP AG 1999
Qtr Qtr
0
10
20
30
40
50
60
70
80
1st 2nd 3rd
Qtr
4th
Qtr
Corrected
sales in $
Click and Drag
Forecast Results
Interactive Business Graphic


You can monitor and modify both the historical data and the forecast results in an interactive
business graphic.
If you correct the forecast results in the business graphic, you have the option of copying them into
the planning table.





SAP AG LO935 6-11
SAP AG 1999
0
1
2
3
4
5
6
7
8
Tolerance lane
= ep V *1.25* MAD
ep = ex-post forecast
z Background correction
z Manual identification and average calculation
today
Automatic Outlier Control


Automatic background correction of outliers in historical data
To correct outliers automatically in the historical data on which the forecast is based, select Outliers
in the forecast profile. The system calculates a tolerance lane for the historical time series, based on
the sigma factor. Historical data that lies outside the upper or lower band of this tolerance lane is
corrected to the ex post forecast value.
The width of the tolerance lane for outlier control is defined by the sigma factor. The smaller the
sigma factor, the greater the control. The default sigma factor is 1; this gives a remaining probability
of 10% for data correction. SAP recommends that you set a sigma factor at between 0.6 and 2.
If you run the forecast online, historical data that has been automatically corrected by this function is
indicated in column "C" of the Forecast: Historical Values dialog box.
Automatic correction of historical data online
Alternatively, you can automatically correct historical data online, without having selected Outliers
in the forecast profile. To do this, select "C" for each historical value you want to correct and choose
Correct. The system then calculates the average of all selected historical periods and displays it as
the new corrected historical value.







SAP AG LO935 6-12
SAP AG 1999
Average month defined as 20 workdays
(forecast profile)
M1 M2 M3
Original 1900 2100 2300
Days 19 21 23
Corr. 2000 2000 2000
M4 M5 M6
Uncorr. 2000 2000 2000
Days 22 20 18
Original 2200 2000 1800
History History
Forecast Forecast
Workdays Correction


Average number of days per forecast period
y You can base the forecast on an average number of days per forecast period. For example, if your
forecast period is "month," you can run the forecast on the assumption that the number of
workdays in each month is 20 by entering "20" in the No. days field of the forecast profile (see
above). The system then corrects the forecast data based on the actual number of workdays in the
period. The actual number of workdays in the period is defined in the factory calendar.
Forecast periods
y The period indicator on which you base the forecast can be different than the storage periodicity.
You set the storage periodicity in Customizing by choosing Set parameters of info structures and
key figures. You enter the forecast period in the Period ind. field of the forecast profile





SAP AG LO935 6-13
SAP AG 1999
Statistical Forecast: Unit Summary
z Carry out a forecast
z Outline the use of forecast profiles
z Store and load forecast versions
z Base the forecast on the number of workdays in
a period
You are now able to:







SAP AG LO935 6-14
Exercises


Unit: Statistical Forecast


Carry out the forecast
Outline the use of forecast profiles
Store and load forecast versions


Management wants to create a sales plan based on the historical data for
the invoiced quantity. They also want to see the difference between
calculating the forecast at the aggregate and disaggregate levels.


1-1 Create a sales plan in the active version A00 for division 04 for the next 12 months
using the forecast tool. Base this plan on historical values, specifically, sales
forecast qty. for the past 12 months. Let the system automatically determine the
model selection. As you perform this task, answer the following questions.
1-1-1 What are the two options for specifying the forecast and historical date
ranges?




1-1-2 List three of the seven options for model selection when running your
forecast.





1-1-3 Change at least one of the historical values before executing the forecast.






SAP AG LO935 6-15

1-1-4 What are the three methods for correcting historical outlier values? Two of
these methods are explained in the on-line help for the Correct Outlier
Indicator on the Forecast: Historical Values screen.




1-1-5 Run different forecast models and write down the results like basic value,
trend value, MAD and error total for the different models.









1-1-6 Save your plan. Enter again and evalute your forecast version.
The forecast version contains all historical date, all parameters you have
used for the last forecast and the last result.





SAP AG LO935 6-16
Solutions


Unit: Statistical Forecast

1-1 Create a sales plan in the active version A00 for division 04 for the next 12 months
using the forecast tool. Base this plan on historical values, specifically, sales
forecast qty. for the past 12 months. Let the system automatically determine the
model selection. As you perform this task, answer the following questions.
Note: If you are following the solutions, you can complete the steps and then
return to step 6 to answer the questions.
From the Flexible Planning menu:
1. Planning o Change
2. Enter your groups planning type ZS6##-Sales.
3. Enter sales organization 1000, division 04.
4. Select the active version.
5. Place your cursor on the Sales Forecast Qty field in the planning table.
6. Edit o Forecast
7. Confirm the period intervals for the forecast and the historical data (you may
have to change the interval for the historical data). Also confirm you are
using automatic model selection.
8. To manipulate historical data, select [Historical].
9. To perform the forecast, select [Forecasting].
10. Accept the parameters that are displayed on the Parameters for Automatic
Selection window, select [Forecasting].
11. Scroll through the Results window. Feel free to manually change any forecast
values.
12. Press enter to copy the results into the planning table.





SAP AG LO935 6-17

1-1-1 What are the two options for specifying the forecast and historical date
ranges?
1. Use period intervals. Enter the exact periods for the forecast and the
historical data. For example, the forecast period range can be entered
as 04.98 to 04.99. The historical period range can be entered as 03.97
to03.98.
2. Use number of periods. Enter the number of forecast periods and
historical periods. For example, enter 12 for the number of forecast
periods and 12 for the number of historical periods.

1-1-2 List three of the seven options for model selection when running your
forecast.
The seven models are:
Constant Seasonal
Trend Seasonal Trend
Automatic Selection (the system determines the appropriate model)
Historical Weighting

1-1-3 Change at least one of the historical values before executing the forecast.
There are three options for changing the historical values, all from within
the Forecast: Model Selection window, all of which are accessed by
pressing the [Historical] button from the Forecast: Model Selection
window:
1. Manually type over the existing values.
2. Use the interactive graphics to click and drag each bar to its correct
value. Copy these results back to the table.
3. Select the periods to correct by checking the C column. Then press
the [Correct] button. This will replace the selected periods with the
average value.

1-1-4 What are the three methods for correcting historical outlier values? Two of
these methods are explained in the on-line help for the Correct Outlier
Indicator on the Forecast: Historical Values screen.
1. Manually correct the values either by changing them in the Corr.
Value column of the Forecast: Historical Values screen or using the
interactive graphics.
2. Select the values to correct by placing a check in the C column and
pressing the [Correct] button. This will calculate the average of the
corrected historical values and will replace selected values with this
value.
3. Select Outliers in the forecast profile and enter the Sigma factor for
outlier control. Run your forecast using this forecast profile.





SAP AG LO935 6-18

1-1-5 Run different forecast models and write down the results like basic value,
trend value, MAD and error total for the different models.

1-1-6 Save your plan. Enter again and evalute your forecast version.
The forecast version contains all historical date, all parameters you have
used for the last forecast and the last result.
1. Planning o Change
2. Enter your groups planning type ZS6##-Sales.
3. Enter sales organization 1000, division 04.
4. Select the active version.
5. Place your cursor on the Sales Forecast Qty field in the planning
table.
6. Edit o Forecast o Version







SAP AG LO935 7-1
SAP AG 1999
Events
z Defining an event
z Assigning an event
z Displaying an event
Contents:







SAP AG LO935 7-2
SAP AG 1999
On completing this unit, you will be able to:
Events: Unit Objectives
z Outline the role of events in SOP
z Create and use events
z Analyze the result in the planning table







SAP AG LO935 7-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Events: Course Overview







SAP AG LO935 7-4
SAP AG 1999
Events: Business Scenario
z Your marketing department has decided to run an
promotion on your light bulbs. They estimate that
sales quantity (invoiced quantity) will increase by
25% for the first month and 40% for the second
month the promotion will run. The promotion will
start on the first of the month after next (your
second planned month).







SAP AG LO935 7-5
SAP AG 1999
W
07/97
W
08/97
W
09/97
W
10/97
W
11/97
Time
Corrected Planned Sales
Original Planned Sales
Period W 1 W 2 W 3 W 5
+10%
Corrected planned sales 110 120 110 95 100
+20% +10% -5%
W 4
Proportional event
Normal planned sales 100 100 100 100 100
100 %
%
Start of event
Events


Events allow you to predict the impact of one-time events that cannot be deduced from historical
data. Examples of events include:
y Price changes such as promotions
y Special deals with major customers and vendors
y Competitor sales activities
y Management overrides
y Facts based on market intelligence
You define an event either as a series of percentage changes ("proportional" events) or as one or
more whole numbers ("cumulative" events). In the above example, the event has been defined as a
percentage.
The impact of the event is shown in the corrected key figure values of the planning table.





SAP AG LO935 7-6
SAP AG 1999
Assignment Event list
Material 1
.
.
Material 5
Easter promotion
Mid-season sales
.
.
Special contracts
Material 5
.
.
Material 20
Characteristics
Key figure
Info structure
Planning
versions
Start date
1999
Events: Assignment to Information Objects


In addition to the amount of the change, an event contains the following information objects:
y Period unit (day, week, month, or other period)
y Date on which the event is to start
y Characteristic values combination (e.g. sales organization and sales district)
y Key figure (e.g. invoiced sales value)
y Planning version
This information determines how the event is displayed in the planning table.
The period unit of the event does not have to be the same as the period unit of the information
structure. The system assigns the event values to the correct periods in the planning table
automatically





SAP AG LO935 7-7
SAP AG 1999
Insert event
lines
Planning type
Info structure
Invoiced sales
Actual sales
Proport. Event
Correct. sales
Cumulative Event
Planning type
Events: Display in the Planning Table


In order to view an event in the planning table, you must first assign it to a planning type and then
plan that planning type.
Cumulative event data is disaggregated to the detailed level using the constant proportional factors,
not on the basis of current planning data.
Proportional events are displayed at the detailed level only.
The data on event lines is calculated and displayed automatically in the planning table at runtime. It
is not saved on the database when you save the planning version.





SAP AG LO935 7-8
SAP AG 1999
Events: Unit Summary
z Outline the role of events in SOP
z Create and use events
z Analyze the result in the planning table
You are now able to:







SAP AG LO935 7-9
Exercises


Unit: Events
Topic: Defining, Assigning, and Displaying Events


Outline the role of events in SOP
Create and use events in a planning type

Your marketing department has decided to run a promotion on your light
bulbs. They estimate that sales quantity (invoiced quantity) will increase
by 25% for the first month and 40% for the second month the promotion
will run. The promotion will start on the first of the month after next
(your second planned month).

1-1 Create an event PROMOTION## based on the above business scenario. You will
use the following parameters:
Create a monthly, proportional event.
It will effect the key figure invoiced quantity.
It will effect the active version.
The promotion will start on the first day of your second planning month.
Your event will be assigned to sales organization 1000 and division 04.

1-2 Add the event key figures to your planning type ZSALES-##. Store the corrected
forecast in key figure sales.
1-3 Review your plan using your planning type ZSALES-## and the active version.
Look specifically for sales organization 1000 and division 04. Change the key
figure sales forecast qty in all periods by adding for example a very small number.
Save your plan and enter it again to see the correction due to your event.


Using aggregate planning the corrected invoiced quantity is only
calculated when you save your plan. Only changed quantities are
calculated.






SAP AG LO935 7-10
Solutions


Unit: Events
Topic: Defining, Assigning, and Displaying Events
1-1 Create an event PROMOTION## based on the above business scenario. You will
use the following parameters:
Create a monthly, proportional event.
It will effect the key figure invoiced quantity.
It will effect the active version.
The promotion will start on the first day of your second planning month.
Your event will be assigned to sales organization 1000 and division 04.
From the Flexible Planning menu
Tools o Event o Create
Enter your new event PROMOTION##. Press the green check.
Enter a description and select proportional and event length month. Press Enter.
Change the 100% to 125% in the first month and 140% in the second month.
Goto o Create Assignment, or select [Assignment]
Enter your info structure S6##. Press
Select sales organization 1000, division 04, key figure invoiced quantity, your
active version and for the assignment date the first day of your second planning
month.
Press Flag assignment.
Select list of assignments to check which characteristics combinations were
assigned.
Save the event.






SAP AG LO935 7-11

1-2 Add the event key figures to your planning type ZSALES-##. Store the corrected
forecast in key figure sales.
From the Flexible Planning menu
Tools o Planning type/macro o Change
Enter your planning type ZS6##-Sales
Place the cursor on sales forecast qty and select [event remark].
Select key figure sales and press Enter.
Save your planning type.

1-3 Review your plan using your planning type ZSALES-## and the active version.
Look specifically for sales organization 1000 and division 04. Change the key
figure sales forecast qty in all periods by adding for example a very small number.
Save your plan and enter it again to see the correction due to your event.
From the Flexible Planning menu
Planning o Change
Enter your planning type ZS6##-Sales
Enter sales organization 1000, division 04 and select the forecast version you
assigned in the event.
Change Sales Forecast Qty using the distribution function and add 0.000001 to
each column. Save your plan.
Enter the plan again and check the result.


Using aggregate planning the corrected invoiced quantity is only
calculated when you save your plan. Only changed quantities are
calculated.







SAP AG LO935 8-1
SAP AG 1999
Production Planning
z Production macros
z Rough-Cut planning profiles
z Work center hierarchies
z Resource leveling for capacity, cost and materials in
the planning table
z Customizing settings
Contents:







SAP AG LO935 8-2
SAP AG 1999
On completing this unit, you will be able to:
Production Planning: Unit Objectives
z Create a production plan
z Explain the use of rough-cut profiles
z Outline the use of work center hierarchies for
different planning levels
z Explain the Customizing settings for rough-cut
planning







SAP AG LO935 8-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Production Planning: Course Overview







SAP AG LO935 8-4
SAP AG 1999
Production Planning: Business Scenario
z Once the sales reps are comfortable with their
sales forecast, your planners must create a
production plan, based on the sales forecast.
Management would like a PRODUCTION view of
this data that your planners can work with. This
production plan will be adjusted according to the
capacity of a bottleneck work center and will be
passed to demand management.
z Before you can create a production plan, you need
to create a planning type that includes macros
such as stock balance and target days supply.







SAP AG LO935 8-5
SAP AG 1999
W29/99 W30/99 M08/99 M09/99
Sales 50 70 220 250
Production 50 70 220 250
W29/99 W30/99 M08/99 M09/99
Sales 50 70 220 250
Production 60 70 250 250
Target stock level 10 10 40 40
W29/99 W30/99 M08/99 M09/99
Sales 50 70 220 250
Production 80 40 330 265
Target days supply 3 0 11 11
Synchronous to sales Synchronous to sales
Target stock level Target stock level
Target days supply Target days supply
Production Macros in Standard SOP


There are four strategies in Standard SOP for automatically generating a production plan:
y Production quantities are the same as sales quantities in each period ("synchronous to sales")
y Production quantities are such that target stock levels are reached
y Production quantities are such that target dayssupplies are reached
y Production quantities are such that the stock level at the end of each period is zero.
You can also enter production quantities manually.
Stock levels and dayssupplies are calculated and displayed automatically whenever you regenerate
the planning screen.
Opening stock levels are taken into account.
To set opening stock levels manually in Standard SOP, choose Goto -> Opening stock level.





SAP AG LO935 8-6
SAP AG 1999
Operator
LO
L1
L2
L3
L4
PR
RW
ZS
Description
Stock balance
Target stock receipts
Receipts
Issues
Target stock / issues
Target supply / production
Days supply
Historical total
Special Macro Operations


The R/3 System comes with eight special operators with which you can calculate production, stock
balance, dayssupply, or a historical total.
Each of these operators is based on an internally defined formula. For detailed information on these
formulas, see the Extended Help.
To define a macro with one of these operators, select Macro -> Record and then the pushbutton
Special operation. All you need to do is specify which lines in the planning type are to represent
which operands in the macro. For example, you might define the sales line as goods issues and the
production line as good receipts.





SAP AG LO935 8-7
SAP AG 1999
Raw material 13
Work center group WCG 12
Work center group WCG 19
Costs
Week 1
Duration
Week 2
Week 3
2
10
2
4
20
3
4
20
Pallet
Day
Day
USD
2
Resource
Unit
Rough-Cut Planning Profiles


You use rough-cut planning profiles to plan critical resources. These might be:
y Bottleneck work center
y Material capacities
y Costs of goods transportation or a marketing campaign
The following resource types are supported:
y Work center capacities
y Materials
y Production resources/tools
y Costs
Rough-cut planning profiles can also give you an aggregate (summarized) picture of resources: i.e.
y Workdays (rather than hours or minutes)
y Work center groups and product groups (rather than individual work centers or products)
An aggregate view of resource loads is particularly desirable for medium- and long-term planning.
The base quantity is the number of units for which the resource is required. You cannot change the
base quantity once you have saved the rough-cut planning profile. Different lot size ranges may have
different base quantities.





SAP AG LO935 8-8
SAP AG 1999
A
A
B
C
D
Planned quantity
x
Time per piece
=
Capacity
requirements
Work center
Labor
=
Available
capacity
Determination of Capacity Load


Resource leveling is carried out with reference to a plant. If your information structure does not
contain the characteristic "plant" or if no plant is uniquely identifiable from the characteristic values
defined in your rough-cut planning profile, you need to set a planning plant in Customizing for Sales
& Operations Planning (in Set parameters for info structures and key figures and Set planning plant
for SOP).
What to maintain in the rough-cut profile:
y the time span of one planning period in the resources table, expressed in days
y the status of the rough-cut planning profile (as in a routing)
y the usage of the rough-cut planning profile (as in a routing)
y the lot size range for which the profile is valid
y the key figure causing the resource load (if the rough-cut planning profile is defined for an
information structure)
You define the determination of capacity load in the rough-cut planning profile. The available
capacity is read from the bottleneck work center defined in the recource table of the rough-cut
profile. The capacity load is calculated multiplying the planned quantity by the total time maintained
for the work center in the rough-cut profile. The time span of the profile header is just to model the
capacity load to produce x base quantities on the bases of time. For example if you maintain 1 hour
in two periods of the recource table you will create a recource load of two hours for each planned
base quantity.





SAP AG LO935 8-9
SAP AG 1999
Material:
Plant:
Version:
Material:
Plant:
Version:
100 Watt Clear
0001
A00
100 Watt Clear
0001
A00
Annual planning 1997 Active Annual planning 1997 Active
M12/1997
200
200
0
Sales
Production
Stock level
M10/1997
100
100
100
M11/1997
200
200
100
Unit
Box
Box
Box
Available
Requirements
Load
200
50
25
200
100
50
H
H
%
Available
Requirements
Load
500
50
10
500
100
20
H
H
%
Assembly line 1
Machine
Assembly line 1
Labor
Resource Leveling: Capacity Load


In Standard SOP you can carry out rough-cut, rate-based, or detailed resource planning in the
planning table. The results are based on either a rough-cut planning profile or a routing.
In Flexible Planning you can only use the rough-cut approach.
The system computes available capacity, capacity requirements, and capacity load and displays them
per period for every work center and capacity category.
You see the total requirements planned in SOP for a particular work center and capacity category.
For example, you may plan to produce several materials at the same work center. To find out the
source of the capacity requirements in any period, choose Views -> Capacity situation -> pegged
requirements.
The split planning screen for capacity leveling shows you if capacities are sufficient to meet
projected targets. You can adjust your production quantities until capacity utilization is optimized.
The new capacity loads are computed instantly when you choose Enter.





SAP AG LO935 8-10
SAP AG 1999
Production
series
AM2
Production
series
AM2
Production
series
AM3
Production
series
AM3
Overal
production
sector
Overal
production
sector
Work center hierarchy Product group hierarchy
Production
line 1
Production
line 1
. . .
Production
line n
Production
line n
Line 1 Line 3
Light switches Lightbulbs
Line 2
Resource Leveling


You can carry out resource leveling either on a high level or at SKU level in both Flexible Planning
and Standard SOP.
Dont create the rough-cut profiles for different levels for the same material, because the resource
loads will add up.





SAP AG LO935 8-11
SAP AG 1999
Planning Plant
Los Angeles
Sel. ID
...
Profile
Usage 1
Status 4
Profile
Usage 3
Status 4
Priority 1 =
Priority 2 =
Parameters Parameters of of
Info Info Structure Structure
Scheduling Scheduling
Parameters Parameters
Routing Routing
Selection Selection
Capacity
key figure
Customizing of Resource Leveling


A unique plant reference is required to carry out capacity leveling. If you are in Flexible Planning
and no unique plant can be identified from the planning hierarchy, the system checks to see if a plant
has been defined for the information structure in the Customizing step Set parameters for info
structures and key figures. If no plant has been entered here, the system bases capacity leveling on
the universal SOP plant defined in the Customizing step Set planning plant for SOP.
The priority which rough-cut planning profile or routing is read depends on the Customizing
settings you have made in:
y Configure scheduling parameters
y Define routing selection





SAP AG LO935 8-12
SAP AG 1999
Production Planning: Unit Summary
You are now able to:
z Create a production plan
z Explain the use of rough-cut profiles
z Outline the use of work center hierarchies for
different planning levels
z Explain the Customizing settings for rough-cut
planning







SAP AG LO935 8-13
Exercises


Unit: Production Planning
Topic: Create a Planning Type for Production

Create planning type for production
Create a production plan
Create a rough-cut planning profile
Check the capacity load of your planned quantities


Once the sales reps are comfortable with their sales forecast, your
planners must create a production plan, based on the sales forecast.
Management would like a PRODUCTION view of this data that your
planners can work with. This production plan will be adjusted according
to the capacity of a bottleneck work center and will be passed to demand
management.
Before you can create a production plan, you need to create a planning
type that includes macros such as stock balance and target days supply

1-1 Create a planning type ZPROD-## for your info structure S6##.
Be sure your planning type has the following features:
Include your group number in the description of your planning type.
Allow the production planner to plan the next 12 months.
Create a line to display the sales forecast. Do this by adding the key figure
Invoiced Quantity to your planning type and changing the description to Sales
Forecast Qty. The production planner should normally not change the sales
quantities, so define this line as an output line.
Include the lines Stock level, Target stock level, Production, Days supply, and
Target days supply.
Define Days supply and Target days supply so that an average is calculated
when these lines are aggregated.
Define Stock level and Days supply as output lines.
Save your planning type






SAP AG LO935 8-14
1-2 Change your planning type ZPROD-## and create three production macros.
1-2-1 Record the macro STOCK using two special operations Stock balance and
Days supply.
Stock Balance consists of
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.
Days supply consists of
Days supply: Days supply
Issues: Sales Qty forecast
Stock: Stock level.


The system provides prompts in the bottom left-hand corner of the
steps to recording a macro and the special operations.

1-2-2 Record the macro TARGET using the special operation Target stck/receipts
.Use the description Production/Target Stock ##.
Target stock/receipts consists of
Target Stock: Target stock level
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.

1-2-3 Record the macro PRODUCTION using the special operation Target
supply/production .Use the description Production/Target Supply ##.
Target supply/production consists of
Target days supply: Target Days supply
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.

1-2-4 Save the planning type.

1-2-5 Change the planning type and make the STOCK macro the default macro.

1-2-6 Save your planning type again.





SAP AG LO935 8-15



Unit: Production Planning
Topic: Create a Production Plan


Create a production plan


You decide that your sales plan (the one you created in the events unit)
will form the basis for your production plan.




1-1 Using your new planning type ZPROD-##, change your active version.
1-1-1 Check that the stock balance macro is running correctly.



The macro days supply is part of the default macro, but negative
days supply are not displayed.

1-1-2 Distribute target stock of 100 and target days supply of 20 days for each of
the next 5 periods.

1-1-3 Run the macro PRODUCTION/TARGET STOCK. Explain the result.

1-1-4 Run the macro PRODUCTION/TARGET SUPPLY. Explain the result.

1-1-5 Save your plan.





SAP AG LO935 8-16



Unit: Production Planning
Topic: Create a Rough-cut Planning Profile


Create a rough-cut planning profile



Now you want to analyse the capacity situation for your planned
production quantities. Create a rough-cut planning profile to define the
capacity load of your bottleneck work center on division level.


1-1 In Customizing specify key figure PRODU for capacity planning of your info
structure S6##.
1-2 Create a rough-cut planning profile for your info structure S6##.
1-3 Assign the rough-cut planning profile to Sales Organization 1000, Division 04.
Enter Sales Organization 1000, division 04 and press Enter.
1-4 Maintain the following profile:

Time span 1 workday
Base quantity 1
Status 4
Use 1
From lot size 1
To lot size 100000

1-4-1 Using an alternative session, display in the IMG, Resources Planning
customization settings to determine whether this rough-cut profile is
allowed.


Selection Indicator 03 is always used for the capacity analysis in
flexible planning.






SAP AG LO935 8-17

1-5 Returning to your Rough-Cut Planning Profile. Enter the bottleneck workcenter
L-1000 in plant 1200 and the unit hours. You need 1 hour during the first time
span to produce the base quantity of cartons.


In these time spans you define the capacity requirements for the base
quantity to be produced on your work center. If your production
process for the base quantity lasts several days, you can enter
capacity requirements in the subsequent timespans. All entries are
summed up to calculate the capacity requirements for one base
quantity.

1-6 Save your rough-cut planning profile.





SAP AG LO935 8-18



Unit: Production Planning
Topic: Check the Capacity Load of your Planned
Quantities


Check the capacity load of your planned quantities



Use your rough-cut planning profile to get a rough overview of whether
you have created a feasible production plan.

1-1 Copy your active version to version 1##.


If all course members were to plan the same version and the same
work center, all capacity loads would aggregate.
1-2 Change the plan for the new version 1##. Specify Sales Organization 1000 and
Division 04 and perform a capacity check.
1-3 Level the capacity load.


If you have stored your planned version, the capacity requirements
are also stored. In order to recalculate the capacity load with a
changed rough-cut planning profile you have to change the
planned production quantities.






SAP AG LO935 8-19
Solutions


Unit: Production Planning
Topic: Create a Planning Type for Production

1-1 Create a planning type ZPROD-## for your info structure S6##.
From the Flexible Planning menu:
Tools o Plng.Type/Macro o Create
Planning type: ZPROD-##. Do not copy an existing planning type
Specify Info structure: S6##
Be sure your planning type has the following features:
Include your group number in the description of your planning type.
Text: Planning type for Production ##
Allow the production planner to plan the next 12 months.
Enter Future periods: 12
Create a line to display the sales forecast. Do this by adding the key figure
Invoiced Quantity to your planning type and changing the description to Sales
Forecast Qty. The production planner should normally not change the sales
quantities, so define this line as an output line.
To add the field Invoiced quantity, Edit o Assign structure or [Add structure
row]
Select Invoiced quantity
To change the description to Sales Forecast Qty, you can type over the
existing description. Or Edit o Row attributes
Select Freely defined text and enter the text Sales Qty Forecast
Change the row attributes to Output line
Set the cursor to the next line
Include the lines Stock level, Target stock level, Production, Days supply, and
Target days supply.
Define Days supply and Target days supply so that an average is calculated
when these lines are aggregated.
Edit o Row attributes
Change the row attributes to Average calculated





SAP AG LO935 8-20
Define Stock level and Days supply as output lines.
Edit o Row attributes
Change the row attributes to Output line
Save your planning type

1-2 Change your planning type ZPROD-## and create three production macros.
1-2-1 Record the macro STOCK using two special operations Stock balance and
Days supply.
Stock Balance consists of
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.
Days supply consists of
Days supply: Days supply
Issues: Sales Qty forecast
Stock: Stock level.


The system provides prompts in the bottom left-hand corner of the
steps to recording a macro and the special operations.
Macro o Record
1. Macro: STOCK (this is not case sensitive)
Description: Stock balance and days supply
2. Select [Special operation]
3. Select Stock balance
4. Choose receipts: Double-click on Production
5. Choose issues: Double-click on Sales Qty forecast
6. Choose stock: Double-click on Stock level
This completes the first special operation, however without saving add a
second special operation
7. Choose first line: Select [Special operation]
8. Select Days supply.
9. Choose days supply: Double-click on Days supply
10. Choose issues: Double-click on Sales Qty forecast
11. Choose stock: Double-click on Stock level
12. Save the macro. Exit the macro.





SAP AG LO935 8-21
1-2-2 Record the macro TARGET using the special operation Target stck/receipts
.Use the description Production/Target Stock ##.
Target stock/receipts consists of
Target Stock: Target stock level
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.
Macro o Record
1. Macro: TARGET (this is not case sensitive)
Description: Production/Target Stock ##
2. Select [Special operation]
3. Select Target Stck/receipts
4. Choose target stock: Double-click on Target stock level
5. Choose receipts: Double-click on Production
6. Choose issues: Double-click on Sales Qty forecast
7. Choose stock: Stock level
8. Save the macro. Exit the macro.
1-2-3 Record the macro PRODUCTION using the special operation Target
supply/production .Use the description Production/Target Supply ##.
Target supply/production consists of
Target days supply: Target Days supply
Receipts: Production
Issues: Sales Qty forecast
Stock: Stock level.
Follow the similar steps to above. Save the macro. Exit the macro.
1-2-4 Save the planning type.
1-2-5 Change the planning type and make the STOCK macro the default macro.
Goto o Planning type info
Enter STOCK as the default macro.
1-2-6 Save your planning type again.





SAP AG LO935 8-22



Unit: Production Planning
Topic: Create a Production Plan

1-1 Using your new planning type ZPROD-##, change your active version.
From the Flexible Planning menu
1. Planning o Change
2. Enter your new planning type ZPROD-##.
3. Leave the characteristics blank.
4. Select Inactive version. Choose the version you created with the forecast tool
earlier in the course.
1-1-1 Check that the stock balance macro is running correctly.
Without production quantities the sales quantities cause negative stock
levels


The macro days supply is part of the default macro, but negative
days supply are not displayed.

1-1-2 Distribute target stock of 100 and target days supply of 20 days for each of
the next 5 periods.
Select the months to distribute:
1. Click on the first and last column.
2. Edit o Distribute, or select [Distribute].
3. Select = in the Op field (Operator) to distribute the value
4. Enter 100 into the Target stock level and 20 into the Target days
supply key figure.
5. Press Enter.
1-1-3 Run the macro PRODUCTION/TARGET STOCK. Explain the result.
1. Edit o Macro
2. Select PRODUCTION/TARGET STOCK
3. Press Enter.
Production quantities are determined by the sum of the sales qty forecast
and target stock level.





SAP AG LO935 8-23

1-1-4 Run the macro PRODUCTION/TARGET SUPPLY. Explain the result.
Production quantities are determined by the sales qty forecast and the
necessary stock to cover the target days supply of the next month

1-1-5 Save your plan.





SAP AG LO935 8-24



Unit: Production Planning
Topic: Create a Rough-cut Planning Profile

1-1 In Customizing specify key figure PRODU for capacity planning of your info
structure S6##.
Tools o Business Engineer o Customizing o Implement. Projects o
SAP Reference IMG
Logistics General o Logistics Information System (LIS) o Planning o Master
data o Set parameters for info structures and key figures
Double-click on your info structure S6##
Enter PRODU as the capacity figure.
The capacity check is now performed for the key figure Production.
1-2 Create a rough-cut planning profile for your info structure S6##.
From the Flexible Planning menu
Tools o Rough-cut plng.prfl. o Create
Enter your info structure and press Execute
1-3 Assign the rough-cut planning profile to Sales Organization 1000, Division 04.
Enter Sales Organization 1000, division 04 and press Enter.
1-4 Maintain the following profile:

Time span 1 workday
Base quantity 1
Status 4
Use 1
From lot size 1
To lot size 100000






SAP AG LO935 8-25

1-4-1 Using an alternative session, display in the IMG, Resources Planning
customization settings to determine whether this rough-cut profile is
allowed.

Selection Indicator 03 is always used for the capacity analysis in
flexible planning.
Create an alternative session
From the main SAP menu,
Tools o Business Engineer o Customizing o Implement. Projects o
SAP Reference IMG
Logistics - General o Logistics Information System (LIS) o Planning o
Functions o Resources Planning o Define routing selection
Check that you have for selection ID 03 with priority 1 a rough-cut
planning profile 3 for usage 1 and status 4.

1-5 Returning to your Rough-Cut Planning Profile. Enter the bottleneck workcenter
L-1000 in plant 1200 and the unit hours. You need 1 hour during the first time
span to produce the base quantity of cartons.
Select [Choose] or double-click on the first line of the resource table.
Select work center. Press Enter.
Enter work center L-1000, plant 1200, unit h. Press Enter.
Enter 1 hour in the first time bucket.


In these time spans you define the capacity requirements for the base
quantity to be produced on your work center. If your production
process for the base quantity lasts several days, you can enter
capacity requirements in the subsequent timespans. All entries are
summed up to calculate the capacity requirements for one base
quantity.
1-6 Save your rough-cut planning profile.





SAP AG LO935 8-26



Unit: Production Planning
Topic: Check the Capacity Load of your Planned
Quantities

1-1 Copy your active version to version 1##.
From the Flexible Planning menu
Planning o Version management o Copy
Enter your info structure S6## and press Enter.
Enter your version for the production plan as source version and the version 1##
as target version and select [copy]
Say [Yes] to target version reset.


If all course members were to plan the same version and the same
work center, all capacity loads would aggregate.
1-2 Change the plan for the new version 1##. Specify Sales Organization 1000 and
Division 04 and perform a capacity check.
From the Flexible Planning menu
Planning o Change
Enter your planning type ZPROD-## and press Enter.
Enter Sales Organization 1000, division 04 and select [ inactive version].
Select version 1## and press Enter.
Select Views o Capacity situation o Rough-cut planning o Show
The plan displays the capacity categories of your selected work center, and their
available capacity.
The capacity requirements are calculated using your rough-cut planning profile.
The capacity load shows the percentage of allocated available capacity.
1-3 Level the capacity load.
If the capacity load exceeds 100% you have to rearrange your production plan.
Change the planned production quantities in order to obtain feasible results.


If you have stored your planned version, the capacity requirements
are also stored. In order to recalculate the capacity load with a
changed rough-cut planning profile you have to change the
planned production quantities.







SAP AG LO935 9-1
SAP AG 1999
Mass Processing
z Mass processing tasks such as copy, macro, and
forecast
z Steps necessary to perform mass processing
z Execution at different planning levels
z Transfer to CO-PA
z Opening stock
z Transfer to Demand Management
Contents:







SAP AG LO935 9-2
SAP AG 1999
On completing this unit, you will be able to:
Mass Processing: Unit Objectives
z Explain why to use mass processing
z Perform mass processing
z Check a mass processing job
z Copy data from and to CO-PA
z Transfer a production plan to Demand
Management
z Explain how plants are determined







SAP AG LO935 9-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Mass Processing: Course Overview







SAP AG LO935 9-4
SAP AG 1999
Mass Processing: Business Scenario
z Your sales force has been forecasting sales
quantity and a production plan was created. Now it
is time to transfer this planned production
quantities to demand management so your
production department can start producing
products based on what the sales force will sell.







SAP AG LO935 9-5
SAP AG 1999
Copy key figures from one info structure to another
Macros
Forecasting
Transfer to Demand Management
Copy/delete planning versions of one info structure
Calculate opening stock levels
Possible Mass Processing Tasks


You can carry out some of the more complex planning activities in the background, for example,
activities including several actions or involving large volumes of data. This planning mode is known
as "mass processing".





SAP AG LO935 9-6
SAP AG 1999
Create profile Schedule job Create job Define activity
Planning type Planning type
Action Action
Profile Profile
Objects Objects
Activity Activity
Info structure Info structure
Version Version
12
9
6
3
11 1
7 5
8 4
2 10
Steps in Mass Processing


Four planning activities can be carried out using the sequence depicted above:
y Executing a macro
y Forecasting
y Copying key figures from one info structure to another
y Transfer to or from CO-PA
y Transferring SOP data to Demand Management
These activities, when carried out with mass processing, are based on a planning type.
You can carry out several planning actions within one job as long as they have the same planning
type. For example, you might run a mass processing job that executes several macros at the same
time.
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.
A planning job has one of three statuses:
y Initial ( ), Started or completed with errors (E'), or Completed successfully (S')
Planning jobs are reusable.





SAP AG LO935 9-7
SAP AG 1999
Key figure assignment
Characteristics assignment
Profile
Activity
Create job and schedule
C
o
p
y

I
S

I
S
T
r
a
n
s
f
e
r

t
o
D
e
m
.

M
g
t
C
o
p
y

t
o

C
O
/
P
A
F
o
r
e
c
a
s
t
M
a
c
r
o
Detailed Steps in Mass Processing


This slide shows the settings you must maintain to perform the different tasks.
To maintain the assignments, profiles and activities choose Flexible Planning -> Settings
To create a job and schedule it, choose Flexible Planning -> Planning -> Mass processing
Before you run a mass processing job, use this report to see which characteristic value combinations
will be processed: Planning -> Mass processing -> Revise. You can exclude from the report any
characteristic value combinations that you do not wish to process with this job.





SAP AG LO935 9-8
SAP AG 1999
Job queue
Job overview
Revise
Schedule
Job
Job
Forecast
Job 1
finished
Job 1
Material 1 forecasted
Material 2 forecasted
.
.
.
.
Material 100 forecasted
12
9
6
3
11 1
7 5
8 4
2 10
Job
Forecast

Execution


The job overview lists your jobs and their system status.
If you want to start the job again set the status to active again (Mass processing -> Change).
After a mass processing job has run, you can see which characteristic values combinations were
processed using Planning -> Mass processing -> Revise. The mass job report shows you not only the
status of the job, but also the status of each characteristic values combination. If the job contained
errors (status E), you know for which characteristic value combinations you need to repeat the job.
The Step column indicates the sequence in which different actions were carried out: for example,
forecast = 1 and macro = 2. Options of the mass job report:
y View the status message of a characteristic values combination. Select it and choose Edit ->
Display message.
y Sort the report in ascending or descending order. Choose Edit -> Sort ascending or Edit -> Sort
descending.
y Find a characteristic values combination. Choose Edit -> Find and enter the desired search criteria.
y Download the report to a PC file. Choose List -> Save as PC file, select the desired format, and
enter the desired path and file name.
y Delete a characteristic values combination from the report. Select it and choose Edit -> Delete.





SAP AG LO935 9-9
SAP AG 1999
Changed plan
100 0
100 100
40

40 Sales organization
Distribution channel
Material
50
20 10 15 5 21 11 16 6
30 20
54
32 22
20.5 10 15.5 5
30.5 20.5
51
Detailed level Aggregate l.
Original plan
Macro Calculation at Different Planning Levels
Example: Macro operation +1


Level of macro calculation
In online processing, the system calculates the results in one of two ways:
1) At the current level of the planning table: the Aggr. planning indicator in the planning type info
is switched on.
2) At the detailed level: the Aggr. planning indicator in the planning type info is switched off.
In background processing, the system calculates the results at the planning level defined in the
variant.





SAP AG LO935 9-10
SAP AG 1999
Job 1
Material 1
Material 2
.
.
.
.
Material 100
Job 2
Material 3
Material 4
.
.
.
.
Material 200
Activity 1
Constant profile
Activity 2
Trend profile
Assignement of Forecast Profiles to Materials







SAP AG LO935 9-11
SAP AG 1999
CO-PA
Flexible Flexible
Planning Planning
Key figures
assignment
Characteristics
assignment
CO-PA profile
CO-PA
CO-PA CO-PA
Data Exchange Between CO-PA and Flexible
Planning


You can now transfer data both to and from Profitability Analysis (CO-PA). For example, you might
use the sales plans you receive from CO-PA as the basis for creating sales and production plans in
Flexible Planning. Having finalized these plans, you might pass the results back to CO-PA, which
works out the cost of producing the planned number of units. This function is supported for both
consistent and level-by-level planning. The system converts between units automatically; that is,
currency units, units of measure, and period units.
You trigger the transfer of data from Flexible Planning to CO-PA in Flexible Planning using mass
processing. You trigger the transfer of data from CO-PA to Flexible Planning in CO-PA with
transaction KE1K, either online or in the background..
To transfer data maintain the Customizing activity ->Log. General->LIS->Planning-> Functions-
>Mass processing->Transfer LIS/CO-PA
Create a key figures assignment profile
Create a characteristics assignment profile
Create a CO-PA profile





SAP AG LO935 9-12
SAP AG 1999
90 boxes
Jan. Feb. Unit
Sales
Production
Stock
Box Box
Box Box
Box Box
Zero
column
90
Opening Stock


The so-called "zero column" has no particular period unit. Opening stock levels are displayed here.
You can enter other opening values in this column. The zero column is used only, if you dont have
historical data in your planning type (like in Standard SOP, or in Flexible Planning if no historical
periods are selected in the planning type, or if the historical periods are ready for input).
With mass processing, you can set the opening stock levels of one or more materials or product
groups.
The results are visible in the zero column of the planning table at run time. In consistent planning,
the results are automatically aggregated. In level-by-level planning, they are set at the level you
specify in the planning job.
There are three ways to set opening stock:
y Read current stock
y Calculate average stock
y Apply a user method defined in Customizing





SAP AG LO935 9-13
SAP AG 1999
SOP
Flexible planning
Standard SOP
Standard SOP
- product group
- material
Demand Management
xyzxyzxyzxyz 11
abcabcabcabc 22
xyzxyzxyzxyz 11
abcabcabcabc 22
abcabcabcabc 22
xyzxyzxyzxyz 33
xyzxyzxyzxyz 11
abcabcabcabc 22
xyzxyzxyzxyz 11
abcabcabcabc 22
abcabcabcabc 22
xyzxyzxyzxyz 33
xyzxyzxyzxyz 11
abcabcabcabc 22
xyzxyzxyzxyz 11
abcabcabcabc 22
abcabcabcabc 22
xyzxyzxyzxyz 33
3 3 basic basic
transfer transfer
options options
Transfer to Demand Management


You can carry out the transfer of data to Demand Management either online or in the background.
There are three basic options for transferring SOP data to Demand Management:
y You transfer material data from the info structure. Use mass processing to transfer a range of
materials.
y You transfer material data from a product group. The data is either transferred direct from the
materials, or as proportions of the product group.
y You transfer one materials data. The data is either transferred direct from the material, or as a
proportion of the owner product group.
A material can be a member of more than one product group. This means that it can be transferred to
Demand Management more than once. The system issues a warning if you try to transfer a material
from a product group that has not been marked as the MRP product group for that material.
When you carry out the transfer, planned independent requirements are created in Demand
Management.





SAP AG LO935 9-14
SAP AG 1999
Statement of
demand
Independent
Requirements
.
.
.
Demand
Management
Demand
Management
Key figure is transferred
when the flexible planning
version is saved
Customizing:
zKey figure
zPlanning version
zDemand version
Customizing:
zKey figure
zPlanning version
zDemand version
Sales organization
Division
Sold-to party
Material
Plant
Sales plans
Production plans
.
.
.
Flexible
Planning
Flexible
Planning
Synchronized Data Transfer to Demand Mgmt


You can have the system create or change independent requirements in Demand Management every
time you save in Flexible Planning. For this purpose, you make the following Customizing settings
in Set parameters of info structures and key figures.
y Field name of the key figure to be transferred
y Planning version in Flexible Planning from which the data is to be transferred (Sync. version)
y Demand version to which the data is to be transferred





SAP AG LO935 9-15
SAP AG 1999
Automatic Determination of Plants for Transfer to
Demand Management
1. Plant as defined in planning hierarchy
2. Plant as set in Define proportional distribution
across plants
3. Generic distribution quotas as set for plants
4. Equal distribution among all plants specified in
the material master record


It is possible to transfer data to Demand Management from information structures of Flexible
Planning without the characteristic "plant." The system uses the plant distribution quotas you set in
the Customizing activity Define proportional distribution across plants to transfer the data.
Plant distribution (sometimes known as the warehouse split) works as follows:
1) If a plant or plants can be found for the material in the planning hierarchy, data is transferred to
Demand Management for these plants.
2) If no plant can be found in the planning hierarchy, the system checks to see which plants have
been maintained for the material in the material master record. It then checks to see whether
distribution quotas have been maintained for the material in Define proportional distribution
across plants. The transfer to Demand Management is then based on these quotas.
3) If no distribution quotas are found for the material, the system checks to see whether you have
set generic distribution quotas; that is, distribution quotas that apply to all materials. If so, the
transfer to Demand Management is based on these quotas. If generic quotas exist for some but
not all plants maintained in the material master record, the system assumes that the distribution
quotas of plants without generic quotas are 0.
4) If no distribution quotas are found at all - neither material-specific nor generic ones - the system
splits the data equally among all the plants in the material master record.





SAP AG LO935 9-16
SAP AG 1999
Mass Processing: Summary
z Explain why to use mass processing
z Perform mass processing
z Check a mass processing job
z Copy data from and to CO-PA
z Transfer a production plan to Demand
Management
z Explain how plants are determined
You are now able to:







SAP AG LO935 9-17
Exercises


Unit: Mass Processing
Topic: Transfer to Demand Management


Explain how to transfer quantities from flexible planning to demand
management.


Your sales force has been forecasting sales quantity and a production plan
was created. Now it is time to transfer this planned production quantities
to demand management so your production department can start
producing products based on what the sales force will sell.


1-1 Create a background job with the mass processing functionality that transfers the
production quantities you have planned to demand management.
1-1-1 Create a transfer profile. Be sure your profile contains the following:
Name the transfer profile Demand ##, where ## is your group number
Use the strategy Material direct from info structure.
Use the info structure S6## as table.
Use the key figure production (PRODU).
A requirements type is not required.
Specify your group number for the demand program version.
Do not set the Active flag.

1-1-2 Create an activity for this job.
Use T## for the key, where ## is your group number.
Use 1 for the Act. Sequence, your planning type ZPROD-##
and the transfer profile DEMAND##.
Use the action UEBERGABE Transfer to demand management.






SAP AG LO935 9-18

1-1-3 Create the mass processing job, for sales organization 1000 and division 04.
Use the active version. Transfer at plant level.

During this step, the information message No variants found will
appear. This is advising you that you will need to create the variant
to be used when running the background job. Press Continue. In the
subsequent Variants: Change screen assignment screen also press
Continue.

1-1-4 Schedule the job to run immediately.

1-1-5 Monitor the job.



Note: Double-clicking on the spool list displays basic spool list
parameters. It does not display the list itself.

1-1-6 Display the results in Demand Management.






SAP AG LO935 9-19
Solutions


Unit: Mass Processing
Topic: Transfer to Demand Management
1-1 Create a background job with the mass processing functionality that transfers the
production quantities you have planned to demand management.
1-1-1 Create a transfer profile. Be sure your profile contains the following:
Name the transfer profile Demand##, where ## is your group number
Use the strategy Material direct from info structure.
Use the info structure S6## as table.
Use the key figure production (PRODU).
A requirements type is not required.
Specify your group number for the demand program version.
Do not set the Active flag.
From the Flexible Planning menu:
Settings o Mass processing o Transfer profiles
Select [New Entries].
Create transfer profile Demand ##.
Select strategy 9: Material direct from info structure.
Enter your groups info structure.
Select field name PRODU production.
Leave Reqmts Type blank.
Use your group number for the version. This version refers to the version
you will create in demand management, not your plan version.
Be sure to leave the Active flag blank. Selecting Active makes the demand
version active; meaning it will automatically be selected in the next MRP
run.
Save your profile.





SAP AG LO935 9-20

1-1-2 Create an activity for this job.
Use T## for the key, where ## is your group number.
Use 1 for the Act. Sequence, your planning type ZPROD-##
and the transfer profile DEMAND##.
Use the action UEBERGABE Transfer to demand management.
Settings o Mass processing o Activities
Press [New Entries].
Create activity T## where ## is your group number. Use Act. Sequence 1.
Enter your planning type ZPROD-##.
Use the action UEBERGABE Transfer to demand management.
Use the transfer profile you created above, Demand## where ## is your
group number.
Save the activity.

1-1-3 Create the mass processing job, for sales organization 1000 and division 04.
Use the active version. Transfer at plant level.

During this step, the information message No variants found will
appear. This is advising you that you will need to create the variant
to be used when running the background job. Press Continue. In the
subsequent Variants: Change screen assignment screen also press
Continue.
Planning o Mass processing o Create
1. Job number: Demand ## where ## is your group number.
Job name: Transfer to demand management
Press Execute.
2. Info structure: your groups info structure
Version: active version.
Press Execute.
3. Double-click on your production planning type.
4. Create the variant Demand## where ## is your group number.
5. Enter Sales Organization 1000, Division 04.
Select your planning activity T##.
Select aggregation level plant, because you have to transfer at plant
level.
Press Continue.






SAP AG LO935 9-21
A dialog box will display the message Please check whether material and
plant are in the execution level. Press [Continue].
Enter a description for your variant. Save your variant. Press the green
arrow to go back.
You should see the message Planning job created successfully.

1-1-4 Schedule the job to run immediately.
Planning o Mass processing o Schedule
Job number: Demand##
Press Execute.
Press Immediate.
Press the Save button at the bottom of the screen. You should see the
message Background job scheduled successfully.

1-1-5 Monitor the job.
Planning o Mass processing o Job overview
Press Enter
You should see your job Transfer to demand management. If there is an
X in the Active column, press Refresh until the X moves into the
Finished column.
To see the output of the job, click once on the job name and press Spool
List. Select the spool. Press [Display]. You should see a list of
characteristics that were sent to demand management.


Note: Double-clicking on the spool list displays basic spool list
parameters. It does not display the list itself.
1-1-6 Display the results in Demand Management.
From the top level R/3 menu:
Logistics o Production o Master planning o Demand management
Planned indep.reqmts o Display
Enter any material and Plant 1200.
Select your demand version ##.
Compare the result with the planned quantities of your planning version
1## using the planning type ZPROD-##..






SAP AG LO935 10-1
SAP AG 1999
z Prerequisites for product allocations
z Allocation procedures and objects
z Info structure for product allocations
z Discrete allocations
z Cumulative allocations
Contents:
Allocations







SAP AG LO935 10-2
SAP AG 1999
On completing this unit, you will be able to:
Allocations: Unit Objectives
z Outline the principles of allocation
z Maintain the allocation determination
procedure
z Explain the difference between discrete and
cumulative allocation







SAP AG LO935 10-3
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Allocations: Course Overview







SAP AG LO935 10-4
SAP AG 1999
Allocations: Business Scenario
z The quantities your company is producing are
lower than market demand. In order to prevent the
first customer from exhausting your stocks, you
define product allocations for customer groups or
customers.







SAP AG LO935 10-5
SAP AG 1999
Managing demand against constrained supply
1/99 2/99 3/99 4/99
SUPPLY DEMAND DEMAND
What is Product Allocation?


Product allocation functionality allows you to manage the supply of scarce products to customers so
that each customer receives an allocated amount.
You can maintain allocations for customer groups or sales organizations etc. as well as for individual
customers.
The system can perform availability checks in conjunction with product allocation checks.
The product allocation control process permits the user to manage allocations at a specific material
level up to various material groupings. Product allocation encompasses internal allocations to sales
organizations and channels, as well as external customer groups and specific customers.
The system also supports the reality that there are different phases of allocation control during the
overall constraint period.





SAP AG LO935 10-6
SAP AG 1999
Item 10
Bulb L-40F 100 BOX
Customer: Star Markets
Req. Delivery Date: 20.01.99
Flex. Planning
Allocation
Flex. Planning
Allocation
; ATP check is OK
: Allocation fails
Only 80 left
On time delivery
20.01.99 80 BOX
Complete delivery
01.02.99 100 BOX
Delivery proposal
20.01.99 80 BOX
01.02.99 20 BOX
Sales Order Processing


Product allocation encompasses allocations to all characteristics of the sales order, including sales
organizations and channels, external customer groups, and specific customers.
For other charcteristics you have to use the user exit INCLUDE Fv45vfzy user exit_quota_key_va
(transaction SE38).





SAP AG LO935 10-7
SAP AG 1999
Material
Master Rec.
Procedure
Allocated qty.
Demand
Procedure:
Obj.1 12.98
Obj.1 06.99
Obj.2 12.99
Obj.3 12.04
S140
Material
Component
Work center
Committed qty.
Definition of Product Allocation


To use product allocations, you must:
y Define an allocation procedure and an allocation object (allocation reason) in the Customizing
activity SD->Basic functions->Availability check and transfer of requirements->Availability
check->Availability check against product allocation->Maintain procedure and Define object.
y Link the procedure to an info structure in the Customizing activity Availability check against
product allocation->Specify hierarchy.
y Link your objects to a procedure in the Customizing activity Availability check against product
allocation->Control product allocation.
y Maintain the procedure in the material master records (basic data) of the materials you want to
allocate.
y Maintain planning hierarchy and updating rules for your allocation info structure.
y Switch on allocation for the relevant requirement category and schedule line category in the
Customizing activity Availability check against product allocation->Define flow according to
requirement category and Process flow for each schedule line category .





SAP AG LO935 10-8
SAP AG 1999
Alloc. Object 2
Characteristics
Allocation Obj.
Region
Sales organization
Customer
(Customers)
Alloc. Object 1
Info structure
North South
#
Characteristic value specified
in the planning hierarchy
Collective characteristics
maintained in the planning hierarchy
Custom Defined Allocation Structure


Flexible Planning comes with the info structure S140 for product allocation. You can also create
your own info structure for product allocation.
You create your planning hierarchy with the allocation objects on the highest level. Establish the
proportional factors to get allocation percentages for specific characteristic values.
The allocation check is performed always on the detailed level of the hierarchy.
You can specify a masking symbol for each info structure in the Customizing activity Availability
check against product allocation->Specify hierarchy . The masking symbol stands for collective
characteristics. After you create the planning hierarchy, you can add collective characteristics to it by
chosing the Customizing activity Permit collective product allocation in info structures. This creates
a default entry for the specified nodes in the hierarchy.
No deviating masking symbols are allowed for different procedures linked to the same info structure.
If an info structure has been assigned several times, assignment is permitted with or without a format
template.





SAP AG LO935 10-9
SAP AG 1999
JANUARY
WEEK 1 2 3 4 5 6
Work center problems Component shortage
Updating
date
Product Allocation Object Validity


The system takes into account different allocation control phases during the overall constraint period.
You can assign several allocation objects to the allocation procedure. Each object has its own
validity period. On the basis of the updating date for the key figure of the info structure, the system
determines the relevant object. The system then uses this object to determine the corresponding
planning hierarchy which contains product allocations.
Objects are always valid from the end date of the last object. To switch off the allocation for a
certain period, define a dummy object und set it to inactive.
The system allows only three updating dates: delivery date, material availability date, and planned
goods issue date.
You can maintain time dependent conversion factors for your allocation objects in the Customizing
activity Control product allocation





SAP AG LO935 10-10
SAP AG 1999
Customer reqts. 5,000 4,000 4,000
Product allocation qty. 3,500 3,000 3,000
Reqts. not covered 1,500 1,000 1,000
Incoming orders qty. 1,200 0 0
Open product alloc. 2,300 3,000 3,000
Alloc. Object: Bulbs Sales Org: 0001
Dist. Channel: 01 Cust. Grp: 02
1 / 99 2 / 99 3 / 99
K
e
y

f
i
g
u
r
e
s
Characteristics
Allocation Planning Table


The planning type for the standard info structure S140 is COMMIT. It comes with predefined
macros for product allocation.
Note: You must plan allocation quantities in version 000 (actual data).





SAP AG LO935 10-11
SAP AG 1999
1/99 2/99 3/99 4/99
Current
Period
750
500
250
0
A
l
l
o
c
a
t
i
o
n

Q
t
y
O
r
d
e
r

Q
t
y
Available Allocation: 500PC
*Unused 250PCs from 01/98
are not available
Discrete Allocation


There are two allocation methods in the system:
y Discrete allocation
y Cumulative allocation
Without setting the indicator ATP consumption in the Customizing activity Maintain procedure, the
system will use the 3.0F product allocation method (discrete ATP check).
Using this method, the system offsets the quantity confirmed in the sales document against the
product allocation quantity. It uses only the product allocation quantities from current and future
periods (unused product allocation quantities from past periods are not taken into account). When
you use the discrete method, you cannot use the following product allocation functions:
y Consumption periods
y Allocation steps





SAP AG LO935 10-12
SAP AG 1999
1/99 2/99 3/99 4/99
Current
Period
1500
1000
500
0
Available Allocation: 750 PC
*Unused 250PCs from 01/98
are available
Cumulative Allocation


Setting this indicator ATP consumption in the Customizing activity Maintain procedure the system
uses the cumulative allocation method. This method involves a checking logic that corresponds to
ATP cumulation logic. The system includes unused product allocation quantities from previous
periods when calculating the available product allocation quantity for the current period.
Cumulative allocation allows you to use:
y Allocation steps: Here you can define several product allocation steps with different info
structures.
y Consumption periods: Here you define a number of past and future periods to be used as the valid
consumption period.
y The number of past periods identifies the number of periods before the product allocation date in
the order that can be used for calculating unused allocations. The unused product allocation
quantities of these past periods are then cumulated before the product allocation for the current
period is checked.
y The number of future periods identifies the number of periods after the product allocation date in
the order that can be used for the future allocations. If the requested quantity is not confirmed
within the future periods, it will remain unconfirmed.





SAP AG LO935 10-13
SAP AG 1999
1/99
40 40
20 20
40 40
40 40
2/99 3/99 4/99 5/99
60 60
40 40
Order 100 Car. Order 100 Car.
-2 month +1 month
Allocation Window Logic


You can use the consumption periods in the following ways:

past periods future periods Result

2 1 Above example
999 999 Unlimited product allocation (default value)
999 0 Unlimited cumulation of unused
quantities of past periods and no
future product allocation quantities
0 999 No cumulation of unused product
allocation quantities of past periods,
unlimited future product allocation quantities
For the cumulative method you can use different info structures to check at multiple allocation steps.
Example:
y Step 1: Check order quantity against the customers product allocation quantities
y Step 2: Check order quantity against plant capacity for the defined periods





SAP AG LO935 10-14
SAP AG 1999
Allocations: Unit Summary
z Outline the principles of allocation
z Maintain the allocation determination procedure
z Explain the difference between discrete and
cumulative allocation
You are now able to:







SAP AG LO935 10-15
Exercises


Unit: Allocations



Maintain the allocation determination procedure


The quantities your company is producing are lower than market demand.
In order to prevent the first customer from exhausting your stocks, you
define product allocations for customer groups or customers.



In this unit, each group is assigned their own customer in Sales
Organization 1000, Distribution Channel 12.

Group Number Customer group Customer
01 02 1002
02 02 1012
03 02 1033
04 02 1174
05 02 1175
06 02 1300
07 02 1670
08 02 1671
09 02 1900
10 02 1901
11 02 2004
12 02 2140
13 02 2200
14 02 2300
15 01 2500
16 02 14000
17 02 22000
18 02 99999





SAP AG LO935 10-16
1-1 Check in the Material Master whether the material L-40F is allocated.

1-2 In the IMG, check whether the procedure is maintained for discrete or cumulative
allocations in Customizing.

1-3 In the IMG, check which consumption periods are maintained for info structure
S140 in Customizing?



1-4 Which object is linked to the procedure and how long is it valid in Customizing?




1-5 Maintain in Flexible Planning customer requirements and allocations quantities for
your customer. Use planning type COMMIT and inactive version 000.
Set the following planning parameters:

Product allocation object: Work center
Sales Organization: 1000
Distribution Channel: 12
Customer group: Your customer group
Customer: Your customer
Plan for key figure Customer reqmts of 100 cartons and an ProdAllocQty of 50
cartons for each of the next 6 months, and then save your plan.





SAP AG LO935 10-17
1-6 Create a sales order.
Logistics Sales and distribution Sales Order Create
On the selection screen, enter the following data:
Order type: OR
Sales Organization: 1000
Distribution Channel: 12
Division: 00
1-6-1 Enter your customer, a PO number, the material L-40F and an order
quantity of 40 cartons.
1-6-2 Check the availability of the material:
Your sales order appears in the ATP view as simulated requirements. You
also see the cumulated ATP quantity on this line. The confirmed quantity
will be taken from Plant 1200, storage location 1000.
1-6-3 Return to the single-line entry overview, and change the order quantity to
200 cartons.
If you now check the availability a information window Production
allocation check found changes to the confirmation. Check the product
allocation quantities and the confirmed quantities.

Accept the delivery proposal by clicking [copy] to the right of it.
Check the scheduled lines and write down the confirmed quantities and their
dates.
Save your sales order.
1-7 Change your allocations plan in Flexible Planning and check the updating of the
sales order. Use planning type COMMIT and version 000.
Set the following planning parameters:
Product allocation object: Work center
Sales Organization: 1000
Distribution Channel: 12
Customer group: Your customer group
Customer: Your customer

1-7-1 Why is synchronous updating used?








SAP AG LO935 10-18
Solutions


Unit: Allocations




In this unit, each group is assigned their own customer in Sales
Organization 1000, Distribution Channel 12.

Group Number Customer group Customer
01 02 1002
02 02 1012
03 02 1033
04 02 1174
05 02 1175
06 02 1300
07 02 1670
08 02 1671
09 02 1900
10 02 1901
11 02 2004
12 02 2140
13 02 2200
14 02 2300
15 01 2500
16 02 14000
17 02 22000
18 02 99999






SAP AG LO935 10-19

1-1 Check in the Material Master whether the material L-40F is allocated.
Logistics o Materials management o Material master o Material o Display
o Display current
Enter L-40F and press Enter.
Select Basic data 1 and press Enter.
Check the entry for product allocation: Procedure BULBS
1-2 In the IMG, check whether the procedure is maintained for discrete or cumulative
allocations in Customizing.
Tools o Business Engineer o Customizing o Implement. Projects o
SAP Reference IMG
Sales and distribution o Basic functions o Availability check and transfer of
requirements o Availability Check o Availability Check Against Product
Allocation o Maintain procedure
The ATP consumption indicator for procedure BULBS is set, so cumulative
allocations are used.
1-3 In the IMG, check which consumption periods are maintained for info structure
S140 in Customizing?
Availability Check Against Product Allocation o Define consumption periods
For info structure S14, backward consumption of 3 month and forward
consumption of 10 month is maintained. Not used allocations of the past are
cumulated for the current period before product allocation is checked.
1-4 Which object is linked to the procedure and how long is it valid in Customizing?
Availability Check Against Product Allocation o Control product allocation
Select procedure BULBS and press [Continue]
The object WORK CENTER is valid until the 31.12.2004.
It must also be included in the planning hierarchy of the info structure to link the
allocated materials to the planned quantities for the customers.





SAP AG LO935 10-20
1-5 Maintain in Flexible Planning customer requirements and allocations quantities for
your customer. Use planning type COMMIT and inactive version 000.
Set the following planning parameters:

Product allocation object: Work center
Sales Organization: 1000
Distribution Channel: 12
Customer group: Your customer group
Customer: Your customer
Plan for key figure Customer reqmts of 100 cartons and an ProdAllocQty of 50
cartons for each of the next 6 months, and then save your plan.
Logistics o Logistics Controlling o Flexible planning o Planning o Change
Enter the planning type COMMIT (linked to info structure S140)
Enter your customer and select inactive version 000
Select the next 6 months and use the distribute function =
Save the plan.
1-6 Create a sales order.
Logistics o Sales and distribution o Sales o Order o Create
On the selection screen, enter the following data:
Order type: OR
Sales Organization: 1000
Distribution Channel: 12
Division: 00

1-6-1 Enter your customer, a PO number, the material L-40F and an order
quantity of 40 cartons.
1-6-2 Check the availability of the material:
Environment Availability
Your sales order appears in the ATP view as simulated requirements. You
also see the cumulated ATP quantity on this line. The confirmed quantity
will be taken from Plant 1200, storage location 1000.





SAP AG LO935 10-21
1-6-3 Return to the single-line entry overview, and change the order quantity to
200 cartons.
If you now check the availability, an information window Product
allocation check found changes to the confirmation appears. Check the
product allocation quantities and the confirmed quantities.
Goto Product allocation
Accept the delivery proposal by clicking [copy] to the right of it.
Check the scheduled lines and write down the confirmed quantities and their
dates.
Goto o Item o Schedule lines
Save your sales order.
1-7 Change your allocations plan in Flexible Planning and check the updating of the
sales order. Use planning type COMMIT and version 000.
Logistics o Logistics Controlling o Flexible planning o Planning o Change
Set the following planning parameters:
Product allocation object: Work center
Sales Organization: 1000
Distribution Channel: 12
Customer group: Your customer group
Customer: Your customer

1-7-1 Why is synchronous updating used?
For product allocations, synchronous updating is used to ensure that you
can not save the sales order without updating the info structure.







SAP AG LO935 11-1
SAP AG 1999
Planning Method
Stat. Forecast
May May
Master Data
Events
Allocations
Info
Structure
Mass Processing
Job
Production Planning
Planning
Functions
Planning Types
Conclusion







SAP AG LO935 11-2
SAP AG 1999
Course Objectives
You are now able to:
z Create sales and production plans
z Use the forecast tool
z Create planning types, macros and events
z Perform resource planning and rough-cut
capacity analysis
z Transfer planning results to the Demand
Management
z Outline the differences between Standard SOP
and Flexible Planning
z Use mass processing







SAP AG LO935 11-3
SAP AG 1999
Recommended Follow-up Activities
z Go through the exercises using IDES data
or your own data
z Read on-line documentation
z Read IMG documentation
z Read release notes







SAP AG LO935 11-4
SAP AG 1999
Quantities and dates
.
.
.
Order and rate proposals
BOM explosion
Scheduling at work
centers
Production controlled
by run schedule
headers
Production order
control
MPS/MRP
MPS/MRP
Repetitive
Manufacturing
Repetitive
Manufacturing
SFC
SFC
Statement of
demand
SKUs/
configurable materials
Demand
Management
Demand
Management
.
.
.
Sales organization
Distribution channel
Division
Plant
Material
Sales plans
Production plans
.
.
.
SOP
SOP
Logistics Planning Systems







SAP AG LO935 11-5
SAP AG 1999
SD
Sales order in August 1998:
Laptop DD-415
SD
Sales order in August 1998:
Laptop DD-415
Demand Management
Planned independent requirements
Consumed with sales orders at SKU level
Demand Management
Planned independent requirements
Consumed with sales orders at SKU level
SIS Updating
Sales order for August 1998:
sales organization EAST,
distribution channel WHOLESALE,
material LAPTOP DD-415
SIS Updating
Sales order for August 1998:
sales organization EAST,
distribution channel WHOLESALE,
material LAPTOP DD-415
Flexible Planning (SOP)
Sales plan 1999
Event planning
Resource leveling
Planned production quantities 1999
Flexible Planning (SOP)
Sales plan 1999
Event planning
Resource leveling
Planned production quantities 1999
Information Flow


The above graphic represents the flow of information from the SD module through the Sales
Information System and Sales and Operations Planning to Demand Management.





SAP AG LO935 Appendix-1
SAP AG 1999
Appendix
z This section contains supplementary material to be
used as reference
z This material is not part of the standard course
z Therefore, the instructor might not cover this during
the course presentation






SAP AG LO935 Appendix-2
SAP AG 1999
R/3
MCP20001 Read external data
MCP20002 Calculate initial macro
" default macro
" final macro
MCP20003 Apply user-defined
functions
MCP20004 Display user-defined
header info
MCP20005 Check authorizations
MCP20006 Customize header info
in EXCEL downloads
MCP20007 Choose user-defined
characteristic values (F4)
User
Exit
Functional Enhancements


You can develop your own functional enhancements for planning using a project in Customizing
(transaction CMOD). With a functional enhancement, you can add your own elements to application
logic, screens, and menus. The above functional enhancements are possible for SOP:
y To include external data in the planning table (MCP20001), you must insert a line for this purpose
in a planning type (Edit -> User exit data). External data can be data from elsewhere in the R/3
System or from a third-party system.
y If you write a complex macro with user enhancement MCP20002, you must define this macro in a
planning type. The macro name must begin with the string USER.




SAP AG LO935 Appendix-3
SAP AG 1999
Additional User Exits
z MCP20011 Process data records to be updated
z MCP20012 Exclude function codes
z MCP20013 Set planning table parameters when accessing
z MCP20014 Maintain a key figure text for a charcteristic
z MCP20015 Set the field names material/plant
z MCP20017 Influence the enqueue of key figures
z MCP20018 Provide entries for a level of planning hierarchy


After you have changed data in the planning table you can use MCP20011 to analyze, enhance, or
change data records before they are stored in the database e.g. to fill character key figures.
Use MCP20012 to inactivate function codes such as Disaggragate line.
Use MCP20013 to initialize the planning table, e.g. select periods, change line status to output
only, enter key figure values (e.g. prices).
Use MCP20014 to maintain different key figure descriptions for different characteristic values.
If the system cannot the determine material/plant for your data element for the transfer to Demand
Management, specify your field names in user exit MCP20015.
If the Key-figure-restricted DB update is switched on (transaction MC7F) the user exit MCP20017
allows you to further reduce the number of key figures to be locked.
Use MCP20018 to define possible entries for the maintenance of a planning hierarchy.




SAP AG LO935 Appendix-4
SAP AG 1999
User Methods
z Automatic creation of a planning hierarchy
z Reduce planning records
z Reorganize actual data
z Set opening stock
z Copy between info structures


You can create your own user methods in Copy Management for the above functions. Do this in
Customizing step Define user methods.
A user method is a program or programs written by your company to perform a clearly defined,
highly specific task when certain conditions are fulfilled. For example, a method allows you to
perform complex transformations on statistical data. It consists of administrative information and an
ABAP/4 FORM routine which you write yourself.

You might also like