Professional Documents
Culture Documents
PPDS Course
PPDS Course
AP220
Production Planning
Detailed Scheduling
ã SAP AG 2001
n SAP APO
n Release 3.0A
n Februar 2001
n Materialnummer 50041881
ã SAP AG 2001
Trademarks:
n Some software products marketed by SAP AG and its distributors contain proprietary software
components of other software vendors.
n Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered
trademarks of Microsoft Corporation.
n 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.
n ORACLE® is a registered trademark of ORACLE Corporation.
n INFORMIX®-OnLine for SAP and INFORMIX® Dynamic ServerTM are registered trademarks of
Informix Software Incorporated.
n UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
n HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide
Web Consortium, Massachusetts Institute of Technology.
n JAVA® is a registered trademark of Sun Microsystems, Inc.
n JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for
technology invented and implemented by Netscape.
n 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.
AP230 2 days
LO060 5 days
Global ATP
PP-PI BC555 2 days
Process Manufacturing
liveCache
Administration
ã SAP AG 2001
Prerequisites
Recommended
ã SAP AG 2001
Target Group
Duration
3 days
?
ã SAP AG 2001
Contents:
l Course Goals
l Course Objectives
l Course Content
l Course Overview Diagram
l Main Business Scenario
ã SAP AG 2001
Preface
Appendix
ã SAP AG 2001
11 Course Overview
1
6 Optimizing Scheduling
ã SAP AG 2001
Planning
Strategy planning
Customer
Operational aggregated planning (tactical planning)
Supply Chain Design
Chain Collaboration
Aggregated sales and
demand planning (internal
and external)
Operational detailed planning (operational
planning)
Partner
Partner
Ext. procurement Production Outbound delivery
planning planning planning
External
Ext. procurement Production Outbound procurement at
delivery customer
Execution
ã SAP AG 2001
Customer
Supply Chain Design Operational aggregated planning (tactical planning)
Network Design (ND)
Chain Collaboration
Aggregated sales and
demand planning Demand
Planning (DP)
Supply Network Planning
(SNP)
Operational detailed planning (operational
planning)
Partner
Partner
Ext. proc. planning Production Outb. del. planning
PP/DS, SNP planning Deploy, TP/VS,
PP/DS SNP ATP,
Outbound External
External procurement Production
delivery procurement at
e.g., LES, MM e.g., LES, MM e.g., LES, MM customer
Execution
ã SAP AG 2001
ã SAP AG 2001
n Simultaneous material and capacity requirements planning: You can define resources as finite
resources in the resource master (resources critical for planning). At these resources, operations of
orders are only created if there is enough capacity available for the order quantity on the order date.
If there is not enough capacity available, the system searches for a new date, taking the capacity
situation into account.
n Automatic planning immediately: If you set this indicator for a product (PP/DS tab in the product
master), the system starts a single-level planning run for this product for each change made that is
relevant to planning (for example, a new sales order). At the same time (immediately) a multi-level
ATP check is performed for the product and for the assembly/components for which automatic
planning immediately is defined.
n Planning with exact times: Dependent requirements and orders are created with a time.
n Bi-directional propagation of order changes: If you make time-related changes to orders at, for
example, finished-product level, you can specify that the system is to automatically move the
assembly orders. If, however, there is not enough capacity at that time for the assembly orders, an
exception message can be generated or the order is not moved at finished product level. In the other
direction, moving assembly orders can have an effect on finished product orders.
n Planning alternative resources: If not enough capacity is available at a resource, the operation can
be rescheduled at alternative resources (maintained in the PPM).
n Schedule optimization: During planning, it may be that orders were generated whose order
sequence is not optimum. Therefore, you can change the sequence and resource assignment of
existing orders in the optimization run.
ã SAP AG 2001
Products manufactured X
in-house at bottleneck
resources
Products that are not X
critical for planning
(Non-critical) products X
planned with reorder
point planning
(Non-critical) products X*
planned with KANBAN
ã SAP AG 2001
n Notes on KANBAN products: If you work with KANBAN production control in R/3, it can be used
as " KANBAN in connection with planning". Receipts are generated during planning. They are only
for forecast purposes. If a KANBAN container is set to empty, the planned order coming from
planning is reduced and a new planned order is created via KANBAN. If you use the KANBAN
replenishment strategy "KANBAN with material requirements planning“, you can plan in APO but
the KANBAN container is set to empty in R/3.
PP Selection of
production process model
Scheduling
Order/
Availability check against
stock
unassigned receipts
ã SAP AG 2001
n The APO System first attempts to cover the requirements with existing stock or orders. It assigns the
requirements to the receipt elements using pegging relationships. If no receipt elements are found, a
production planning run can be started to generate planned orders.
n Using the procurement type defined in the product master, the system determines how the product is
to be procured. If you have defined several production process models (for products produced in-
house) or several procurement options (for products procured externally), the system determines the
alternative with the most favorable costs.
n Scheduling is carried out until the operations have been scheduled in a manner that allows capacity
and component availability to be taken into account. The planning results are transferred to the R/3
System. If some components are not planned in APO, planning is completed in the R/3 System.
Convert Convert
n Material requirements planning deals with current and future requirements. The planned
requirements quantities trigger planning (in consumption-based planning, for example, planning is
triggered when the reorder point is not reached). Requirements elements for material requirements
planning are, for example, sales orders, planned independent requirements, dependent requirements.
n If the production planning run discovers shortage quantities, procurement proposals are generated:
purchase requisitions and planned orders are internal planning elements which can be changed,
rescheduled or deleted at any time.
In the case of in-house production the system creates planned order for planning production
quantities. When planning is complete, planned orders are converted to production orders.
Dependent requirements for the planned order are converted to reservations for the production
order.
In external procurement, the system generates a purchase requisition for planning external
procurement quantities. When planning is complete, the purchase requisition is converted to an
order. If a material exists for a scheduling agreement, scheduling agreement delivery schedules
can also be generated directly during the production planning run.
n When planning is complete, in-house production or external procurement must be triggered. For this,
Planned orders are converted to production orders if you are working with discrete manufacturing
(order-based production)
Planned orders are converted to process orders if you are working with process manufacturing
Planned orders are used as a basis for production if you are working with repetitive manufacturing
(period-based instead of order-based)
Purchase requisitions are converted to purchase orders
Sales order /
Finished Planned ind. reqmts
product Planned order
Dependent requirements
Assembly 1 Assembly 2
Planned order
Dependent requirements
Raw material 1 Raw material 2 Raw material 3
Purchase requisition
ã SAP AG 2001
n The production planning run from the point of view of a BOM (components in PPM):
The production planning run first determines the independent requirements for the finished
product, which covers sales orders and planned independent requirements. If there are not enough
stock or receipt quantities to cover this requirement, the production planning run generates a
planned order.
The PPM of the planned order for the finished product is exploded and dependent requirements are
generated for the assemblies. Dependent requirements are requirements derived from the BOM
structure.
At the next BOM level, the production planning run generates requirements for each assembly. If
there are not enough stock or receipt quantities, the production planning run generates a planned
order.
The BOM of the planned order for each assembly is exploded and dependent requirements are
generated for the raw materials.
At the lowest BOM level, the production planning run determines the requirements again. If there
are not enough stock or receipt quantities, the production planning run generates a purchase
requisition for the external procurement of the raw material.
Availability date
Assembly 1 10 20 30
Assembly 2 10 20
Raw
material 1 Purchase requisition
ã SAP AG 2001
n When the lot size of the planned order has been determined and the PPM has been exploded, the
production planning run calculates the dates of the planned orders. The operation times in the PPM
as well as any goods receipt processing times maintained in the product master are taken into
account.
The dependent requirement dates of the planned orders are moved to the dates of the assigned
operations (PPM). A material order appropriate for the operation is then possible.
n The system assumes material staging according to component assignments in the PPM to the
operations in the PPM. The dependent requirement dates of the BOM components are moved to the
production start dates of the operations to which they are assigned.
Resource availability
Sales order
Available 1st loading attempt
Desired date Confirmed
Occupied Final loading
and quantity qty/date
30
Resource 3 (finite) 30
20 20
Resource 2 (infinite)
10
Resource 1 (finite)
10
Time
ã SAP AG 2001
n If a product is not available, the requirement (the sales order or dependent requirement, for example)
triggers production directly: If it triggers an order for in-house production, APO creates a planned
order for the desired quantity in PP/DS. All of the operations of the PPM are scheduled at the
resources of the PPM, and the system takes the capacity restrictions into account (available capacity
and orders that may have already been scheduled).
If the capacities are already exhausted on the desired date, the system uses simultaneous material and
capacity requirements planning to find a date on which the planned order can be created. You use the
strategy profile to define how the system is to schedule (search for a slot, infinite planning ...).
n Prerequisite:
Maintain resources critical to planning as finite resources in the resource master. At these
resources, operations of orders are only created if there is enough capacity available for the order
quantity on the order date.
Maintain the strategy profile with which you want to trigger the scheduling of planned orders in
planning under Global Settings in Customizing for PP/DS, in the Strategy profile field. The
default strategy profile in the delivery system is SAP002 (search for a slot backward).
Header Header
l Main product l Quantity
l Quantity l Dates
l Dates l Source
l Plant l Status
l PPM l Exception messages ...
l Status
l Exception messages ...
Receipts Receipts
Operations Activities
Activities
Material components
l Quantity
l Dates ...
ã SAP AG 2001
n In APO a planned order is generated automatically in planning if there is a material shortage and
in-house production is to be triggered. MRP controllers can also create planned orders manually.
The planned order header contains the product number, the location (plant, MRP area), the
planned order quantity, the planned order dates, master data, status information (output fixed,
input fixed, conversion indicators) as well as exception messages.
Additionally, the operations of the PPM as well as the BOM components (with quantity and date)
are constantly copied to an APO planned order to which the individual activities/operations are
assigned in the PPM. The planned order components are a source of the dependent requirements
that are used in planning for further calculations.
n A purchase requisition is generated automatically in planning if there is a material shortage and in-
house production is to be triggered.
The purchase requisition header contains the product number, the location (supplier or other plant)
the purchase requisition quantity, the purchase requisition dates, status information, and exception
messages.
If you have also maintained a goods receipt or goods issue time in the product master, it is
scheduled via a resource that is maintained in the location master (plant): In this case, the purchase
requisition receives an activity in which the goods receipt or goods issue time is scheduled.
n Furthermore, a scheduling agreement delivery schedule can be generated automatically in planning
if there is a material shortage and external procurement is to be triggered, however, procurement is
to be executed using scheduling agreement delivery schedules instead of purchase requisitions. If
you want to generate scheduling agreement delivery schedules, you only have to transfer a delivery
schedule generated in R/3 (which is marked as APO relevant in the additional data of the item) to
APO via the R/3-APO interface. The use of the delivery schedule must not be explicitly allowed in
APO.
PP/DS SNP
Create, Create, Create, Create,
change change change change
Receipts
Mo Tu We Th
Requirements
Production horizon
(per product)
Capacities and material are planned Capacities are planned in time bucket
based on exact times (to the second) profiles in an aggregated manner
Consideration of order sequences Order sequences not considered
Optimizer: Can optimize the sequence Optimizer: Optimizes lot sizes,
of existing orders and operations determines source of supply
ã SAP AG 2001
n If you decide to plan using both Supply Network Planning (SNP) and Production Planning and
Detailed Scheduling (PP/DS), the production horizon is used to separate the areas of responsibility
for these two planning functions:
Supply Network Planning is used for medium-term to long-term planning across the whole
logistics chain (especially if several plants and distribution centers are available). Requirements
for a defined bucket (for example, day) are aggregated. In this case, it is irrelevant whether a
requirement is in an early shift or late shift since the requirements are only roughly planned, and
even the time positions of breaks are not taken into account. Furthermore, you are not only able to
perform time aggregated planning in SNP, but also period aggregated planning (if desired). You
can define bucket resources to be used for SNP which can represent, for example, the available
capacity of a whole warehouse. Since you create separate PPMs for SNP (which are usually
copied from PP/DS-PPMs), you can describe production at these bucket resources. Order
sequences play no role in the time area of SNP planning.
PP/DS is used for short-term planning in which orders must be scheduled to the minute and order
sequences must be taken into account (sequence planning and optimization).
n As soon as a requirement is within the production horizon, it is no longer planned in the SNP
planning run, but rather in the production planning run in PP/DS. Orders can be manually created or
changed in PP/DS across the complete time axis, irrespective of the production horizon. During
automatic planning (the production planning run) in PP/DS, only orders within the production
horizon are created. In SNP, however, orders cannot be created or changed in the production horizon.
Orders that are in the production horizon and thus planned by PP/DS are still displayed in SNP as
aggregated requirements for the defined bucket.
SNP
Create
Production horizon
100 Scheduling according
to the PPM for SNP
Today
Production horizon
100
Today
Delete
PP/DS
Production horizon
ã SAP AG 2001
n In this graphic, an order is created in Supply Network Planning using the production process model
defined in SNP. Production process models are created (the SNP-PPM can be copied from PP/DS-
PPM, which is generated via the R/3-APO interface from the R/3 routing/BOM). Bucket resources
(used only in SNP) or mixed resources (which can be used both in PP/DS and SNP-PPM) are
planned in Supply Network Planning. Orders are aggregated for each defined bucket.
n As soon as the start date of the order enters the production horizon, the SNP order is no longer
planned by SNP. The SNP order must be converted into a PP/DS order so it can be planned by
PP/DS. To do this, background conversion is available in the PP/DS menu, which can be used to
schedule periodically. The conversion creates the order again in PP/DS using the production process
model defined there. Before the conversion, the aggregated requirements are displayed in SNP as
planned production. After the conversion in PP/DS, the orders are still displayed as aggregated
requirements in SNP.
n The production horizon is defined as a number of days from the current day into the future in which
PP/DS is to be used to plan. The production horizon can be defined in Customizing for Supply Chain
Planning, in the IMG activity, Display Global Parameters and Default Values. You may also define
a production horizon for each product per location in the product master. This definition takes
priority over the Customizing definition.
R/3 Initial
APO
data transfer (first
Transaction data transfer) Transaction data
Real time
ã SAP AG 2001
n The selection of transaction data to be transferred to APO is specified in an integration model you
define in R/3. All transaction data is represented in orders in APO, which can be differentiated using
the ATP category.
n First the initial data transfer of transaction data takes place via the APO-core interface. As a rule, the
change transfer between R/3 and APO automatically follows for transaction data objects that
belong to an active integration model. New transaction data or changes to existing transaction data is
automatically transferred. (For transaction data of the APO component SNP, you can define in
Customizing whether a real-time or periodic publication is to be performed.)
n The transaction data objects in APO are not identical to those in R/3. All transaction data in R/3 is
transferred to APO as orders that can be distinguished by ATP category.
n In the standard system, planned independent requirements can only be transferred from R/3 to APO.
The publication of planned independent requirements that you require if you only perform demand
planning in APO must be triggered from demand planning in APO with a specific transaction.
n In APO (PP/DS Customizing) you can specify that planned orders and purchase requisitions are only
to be transferred from APO to R/3 if the conversion indicator is set.
R/3 A APO
10 Pos. 1 BOM/ A PPM transfer 10 20 30
20 Pos. 2 routing (Products A, C, D
30 Pos. 3 B C D are APO-relevant) C D
Start
A A
Planned order Planned order Planned order
Create or change
planned order 10 20 30
Planned order
number
B, C, D C D
CIF: Create or change planned order
R/3: "Mapping"
R/3: Create or change dependent
requirements
ã SAP AG 2001
n A planned order is created in APO with an APO order number and then transferred to the R/3
System. The planned order is created in R/3 based on the R/3 number range, and the R/3 planned
order number is transferred back to APO so that the planned order has the same R/3 planned order
number in both systems.
Note: When a planned order is transferred to R/3, the planned order components and operations are
transferred, however, the planned order is only created with a start and end date in R/3, whereby the
start and end dates of the APO order are copied (the start of an APO order is the same as the start of
the first APO operation, and the end of the APO order is the same as the end of the last APO
operation). When you create the R/3 planned order, the dependent requirements are generated again
because of the R/3 number, and the dependent requirement numbers are not transferred back to APO
(the numbers are different). Therefore, the components are scheduled on the start date of the order
(whereby you can also have a component staged later in the planned order coming from APO via the
lead-time offset in BOM item maintenance in R/3).
Components that are only planned in R/3 and not in APO are added to the R/3 planned order
(mapping) when the planned order is transferred. If components are added manually to the APO
planned order (that exist in an active integration model but not in the BOM!), they also appear in the
R/3 planned order. If components are deleted manually in the APO planned order, these components
are not transferred to the R/3 planned order. If engineering change management is used to replace
component D with E in R/3, for example, this component will be replaced by E in the R/3 planned
order and in the APO planned order.
n The process flow for changes to an APO planned order are the same.
n The conversion of planned orders to production orders is triggered from APO. You set the
conversion indicator in APO for the planned orders you want to convert. The orders are transferred
to the connected R/3 System where the planned orders are automatically converted to production
orders (production order creation).
In Customizing for PP/DS (Global Settings -> Maintain Global Parameters and Default Values),
you can also define that planned orders are not to be transferred to R/3 unless the conversion
indicator is set for them (for example, if the planned order is not required in R/3 as the planning
(C) SAP AG AP220 1-21
instrument since all components are planned in APO and the production order is only required to
execute production in R/3).
ã SAP AG 2001
n Planning is not necessarily executed for all materials in APO. Planning for critical materials can take
place in APO, while less critical materials (such as consumption-controlled purchasing materials)
can be planned in R/3.
n Materials that have been planned in APO may not be planned again in R/3 - the planning result from
APO is transferred directly to R/3 in planned orders. Despite this, dependent requirements must be
determined for materials that have a BOM in R/3 (normally as a result of material requirements
planning). You therefore assign these materials a special MRP type with the MRP procedure "X"
("without MRP, with BOM explosion"). (This MRP procedure is available as of Release 4.0; if you
work with earlier Releases, use MRP type "P4" with a planning time fence of 999 days).
n It is also possible to use the MRP type XO to select materials relevant for APO in the integration
model. If you give materials that are to be planned in APO a special plant-specific material status,
you can use the material status to limit the selection further.
n In general, you should be careful about separating APO-relevant materials from those that are not
APO-relevant: for effective planning in APO, you must be sure that all materials important for the
planning process can actually be planned in APO (For example, with capacity planning, if the
capacities in APO are to be planned for the different resources, all materials whose production uses
these resources must be planned in APO).
Individual
Individual conversion
conversion Production
Planned
order order
Purchase
requisition Order
Collective
Collective conversion
conversion
Planned Production
orders orders
Purchase
requisitions Orders
ã SAP AG 2001
n You can trigger the conversion of planned orders and purchase requisitions to production orders or
orders directly in APO. You set the conversion indicator in APO for the orders you want to convert.
The orders are transferred to the OLTP system and converted automatically. The converted orders
are sent back to the APO System with a different ATP category (purchase requisition to purchase
order). If a planned order is converted to a production order, the dependent requirements of the
components are converted to reservations.
n You can convert planned orders and purchase requistions in one of the following two ways:
Individually in interactive planning: In the product view and the product planning table, you can
select orders to be converted and then choose Set conversion indicator. When you save the
planning results, the orders to be converted are transferred to the R/3 System, where the
conversion will be automatically triggered. The converted orders are sent back to the APO System
with a new ATP category.
Using mass conversion and selection criteria (Choose Production Planning -> Manufacturing
Execution -> Conversion of Orders/Purchase Requisitions): You can set the conversion indicators
for a large number of orders or for several products. You can restrict the selection of orders to be
converted by entering the product, location, production planner and the offset for the opening
period. The opening period, which is defined in the product master on the PP/DS tab, controls
which orders are to be converted. The opening period is a number of workdays starting from the
current date. The APO System only sets the conversion indicators for orders whose order start
dates are within this period. The opening period is used both for in-house production orders and
external procurement orders.
n Prerequisites: On the PP/DS tab in the product master, you have maintained an opening period for
each product at the location level.
Offset time
Purchase requisition
Opening
period
Planning
Planned order
Production orders/
process orders Order header
Operations
Orders
Material components
Production resource/tool
Costs PlanK
Plnd 100 20
Actual
50
n APO orders contain three dates: production start, production finish, creation date. The creation date
is the date on which a planned order is to be converted to a production order or a purchase requisition
to an order. This date is based on the opening period defined in the R3 material master (SchedMargin
key field). The opening period from the SchedMargin key of the R/3 material master is transferred to
the APO product master in the R/3 APO interface (Opening field in the Horizons group box).
n As soon as the creation date of a planned order is passed on to a time horizon selected in mass
conversion, it can be converted in mass conversion. The time interval (offset time) entered in mass
conversion is always valid as of today's date. Planned orders whose creation dates are in the past are
automatically selected too.
n Planned orders are usually converted to production orders (in-house production), purchase
requisitions to purchase orders (external procurement).
n In in-house production, the order type in R/3 determines whether it is a production order or a
process order. The order type is taken (in the sequence of highest priority) from the production
scheduling profile in the R/3 material master, the MRP group in the R/3 material master, and the
plant parameters in R/3-Customizing. The R/3 System decides whether a production order or a
process order is to be generated for the product.
n When the planned order is converted to a production order or process order, the planned order is
deleted. The related dependent requirements (material components) and any capacity requirements
are redirected to the newly created production order. The dependent requirements become
reservations.
C1 B1
A
C2
B2
C3
Time
Current date
ã SAP AG 2001
n The MRP controller uses the collective conversion function to convert the planned orders of a
product structure on the time axis, step by step.
n Within the whole product structure, only those planned orders whose planned creation dates are
within an opening period to be specified are offered for conversion.
n In Customizing for PP/DS (Global Settings -> Maintain Global Parameters and Default Values),
you can also define that planned orders and purchase requisitions are not to be transferred to R/3
unless the conversion indicator is set for them (if, for example, in in-house production the planned
order is not required in R/3 as the planning instrument because all components are planned in APO).
R/3 APO
A Set conversion A
Planned order Planned order Planned order
indicator:
10 20 30 Trigger 10 20 30
conversion of
B, C, D Planned order C D planned order C D
conversion A
A Planned order
Production order
10 20 30
10 20 30
Mapping C D
B C D and save
A A A
Production order Production order Planned order
10 20 30 Transfer back with 10 20 30 10 20 30
production order
B C Order reservation C C
D number D D
Dependent reqmt
ã SAP AG 2001
n In production order creation triggered automatically from APO, the usual R/3 steps are performed:
the components are copied from the R/3 planned order, the R/3 routing is read again, R/3 lead time
scheduling takes place (which is important for generating a standard cost estimate even when using
APO). In an R/3 standard cost estimate, the operations are scheduled according to the R/3 scheduling
parameters set. Components are scheduled based on the component assignment in the R/3 routing.
n A result of this temporary production order (which is not yet saved) is that the operation dates do not
correspond with the scheduling situation of the APO order. Therefore, as a last step before saving the
production order in R/3, "mapping" takes place, which is a process that adjusts the operations in the
R/3 production order to the dates of the APO operations. Note: To ensure that the order duration is
the same in R/3 and in APO, make sure that all R/3 routing operations are transferred to the APO
PPM in the R/3-APO interface.
When you save, the dependent requirements of the planned order are converted to order
reservations of the production order in R/3 (status: Movement not allowed).
Note: In R/3 Customizing for Production Orders, you can specify that a component availability
check is to be performed when the production order is created. If the components in the integration
model are indicated as relevant for the APO availability check, the ATP check takes place in APO.
At this time, you cannot save the R/3 production order depending on the inspection results or a user
decision. Note: If the conversion of a planned order to a production order is triggered in R/3 and not
in APO, the operation dates planned in APO might not be transferred to the R/3 production order.
n The converted orders (status "created") are sent back to the APO system along with the production
order number and the changed ATP category (ATP category for production order instead of planned
order). Only components that are contained in an active integration model are transferred. In
addition, only those operations executed at resources contained in an active integration model are
transferred.
R/3 APO
A A A
Production order Production order Production order
10 20 30 Transfer back with 10 20 30 10 20 30
production order
B C D number C D C D
Mapping
Production order release
A A A
Production order (released) Production order Production order
10 20 30 Transfer back with 10 20 30 10 20 30
production order
B C D number C D C D
Mapping
A
Production order
Print shop
Material floor
staging papers
list 10 20 30
print
C D
Print picking
Materiallist or material
staging list staging list
print
Component
Materialwithdrawal
staging listfor product B: Reduce order
Material reservations
staging list and
Reduce order reservations and
print componentprint
stocks for product B
component stocks for product B
ã SAP AG 2001
n In APO, mapping and an order number change take place between the R/3 production order
transferred and the APO planned order still in APO: the ATP categories of the APO order (up to now
the ATP category for the planned order) as well as the APO order requirements (up to now ATP
category for dependent requirements) are adjusted to the R/3 production order. The APO order is
assigned the number of the R/3 production order.
n The R/3 production order is released in R/3 (individual or collective release). When the R/3
production order is released, the shop floor papers can be printed and the goods movements are
posted for production (the order reservations are assigned the status "movement allowed"). In the
R/3-APO interface, the release is treated the same way technically as a production order change in
R/3 (see later slide): The R/3 production order is tranferred to APO again and mapping is performed
in APO, whereby the ATP category of the order is changed to an ATP category for a released
production order. The ATP category for component requirements and for order reservations change
(status "movement allowed").
The component availability check for the release is technically identical to the check for order
creation. Note: You can also have production orders released automatically in APO integration
(settings via the production scheduling profile in the R/3 material master).
n Printing shop floor papers: This is done in R/3.
n Printing the picking list or material staging list (in R/3): This is done in R/3.
n Withdrawing components: The goods issues for the components to the production order are posted
in R/3, the requirements (order reservations) and the component stock are reduced both in R/3 and in
APO.
Quantities,
Order header dates
Operations
Material components
Prod. resource/tool
Plan 100 20
Costs Plnd 50
Actual
ã SAP AG 2001
n The production order is a complex data structure that contains information on planning, storage,
production, scheduling, and accounting. The production orders allows you to produce specific
materials or an activity in a specific quantity.
n The planning data includes information on which product is to be produced in which quantity, which
and how many components are to be used, and which capacities are required for production.
n The storage data includes storage locations and storage bins for component withdrawal.
n The production data contains the required operations and production resource/tools as well as all
confirmed actual quantities and actual times of production.
n The scheduling data includes the start and finish dates per order as well as the operation dates and
operation times.
n The accounting data includes information on production costs such as material and personnel costs.
ã SAP AG 2001
n In discrete or order-based production, the products are produced in separate, individual production
lots and passed through the workshop (less period-based production).
n As soon as a planned order comes from higher-level planning levels, shop floor control puts the
information into the production order and adds order-related data to ensure complete order
processing (production order creation). The release of the production order authorizes the shop floor
papers to be printed as well as production to be executed.
The production order specifies which material is to be produced, as well as where, how and on which
date it is to be produced. It also specifies which resources must be used and how the order costs are
to be settled. This results in order-based production.
n Discrete manufacturing is characterized by constantly changing products.
n Another characteristic of discrete manufacturing is the different sequence of work centers that the
products come across during their production. The sequence is specified in the routing, which can
often be very complex. There are time lags between the individual stations. Semi-finished products
are often put in intermediate storage before being processed further.
n In discrete manufacturing, the material is staged with reference to the individual production lots.
n Confirmations of the individual operations serve to document work progress and fine-tuned control.
Costing is order-related and individual lot-related.
Line 2
ã SAP AG 2001
n In repetitive manufacturing/flow manufacturing production plans are created and processed based
on periods and quantities (not order-based).
n Planned orders of order type PE (run schedule quantities) specify the production quantities and dates.
These planned orders are not converted to production orders. A printed list of these planned orders
authorizes production. The product is not produced in separate lots, but rather a total quantity with a
certain production rate is produced in a specific period (such as days).
n In repetitive/flow manufacturing, a product is usually produced repeatedly over a longer period of
time. The production quantities are not necessarily high.
n The products usually run in a constant flow (often without intermediate storage) across the
production lines, and several products can be produced on one production line. The routings are
often simple.
n Required components are staged at the production line collectively. For a certain period, as many
components are staged as necessary to cover the requirements at the production line.
n At the end of any period (for example, a shift) the produced quantities can be confirmed all at once.
The costs are collected in a period-oriented manner for each product.
n Repetitive manufacturing is used with the following goals in mind:
• To create and process production plans in a period-based manner (fewer individual lots and
order-related processing)
• To reduce production control efforts and simplify actual data entry, while still being able to
fully use the PPS instruments
• To reduce controlling efforts
?
rotation and membrane pumps (for example, for producing
ultra high vacuums)
Customers
Its customers come from a range of areas: from the electronics
branch, to the semiconductor industry, chemical, pharmaceutical
and process engineering, as
well as the automobile industry and universities.
ã SAP AG 2001
n The Precision Pump Company has been on the market since 1971 and, as the world market leader,
offers a number of high-tech standard pumps. Its product catalog contains turbomolecular,
centrifugal, rotation and membrane pumps. The Precision Pump Company has customers from the
electronics branch, the semiconductor industry, chemical, pharmaceutical and process engineering,
as well as the automobile industry and universities. The company was recently ISO-certified and has
been indexed on the New York stock index Nasdaq 100 since 1998.
Especially in the fast growing business of turbomolecular pumps, the company showed significant
increases in returns in the last fiscal year: many steps in the semiconductor industry, from wafer
production to the finished chip, only function under high vacuum. In this area final pressures of
< 10-10 mbar, which are in the ultra high vacuum range, are required.
In the current fiscal year, the Precision Pump Company plans to enter the booming DVD growth
market. DVDs are rewriteable optical storage mediums that have much more storage capacity than
a CD. Central requirements for the coating machines used to produce these rewriteable DVDs are
allotted to vacuum technology.
By intensively co-engineering with manufacturing companies, Precision Pump Company has
optimized a range of products for these special requirements.
Products
l Its product catalog includes desktop PCs, notebooks,
workstations, servers, handhelds, microelectronics,
?
software, printing and memory systems, network
management products, accessories
Customers, Markets
l Its customers and markets range from the trade and
service industries, public sponsers, financial services,
transportation, telecommunications and media, all the way
to small and medium-sized businesses and the consumer
ã SAP AG 2001
n Maxitec Computers was founded on 2 October 1992 when MSN Computers Ltd. and TEC Computer
Systems merged. Maxitec Computers serves the consumer and business market in 164 countries
around the world with a complete pallet of best-in-class computer products, which are produced in
efficient, modern plants in Europe and the US. Maxitec Computers, with its headquarters in Dresden,
Germany, has approximately 22500 employees in 34 countries around the world and is number one
among IT vendors.
n In all of the key markets around the world, independent retailers take care of customers. The
customer base includes most of the 1000 largest companies in the world, more than 2000 leading
distributors, and over 100000 sales partners and retail outlets. Its own sales organization employs
over 2500 sales professionals. A network of service and system integration partners are available
worldwide to take care of the product range.
n Global collaboration between MSN and TEC allows for access to leading computer technologies
worldwide and additional employees in the area of customer service. This enables Maxitec
Computers to support its customers fully in realizing worldwide IT strategies.
n Economies of scale in purchasing and supply management contribute greatly to the success of
Maxitec Computers. A product and supply organization is responsible for sourcing, development,
production, and sales order processing. Material purchasing in particular profits from the joint
venture, due to the worldwide network of both corporate groups.
n Maxitec Computers is an independent customer and sales-oriented company. Both MSN Limited,
Tokyo and TEC Systems, Walldorf have 50 percent of the European joint venture; furthermore, they
have agreed to cooperate in the computer field worldwide. With this joint venture, both companies
want to maintain access to the strategically important market of IT hardware.
Contents:
ã SAP AG 2001
ã SAP AG 2001
2
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
ã SAP AG 2001
Requirements
strategies
Quantity 100 Quantity ?
Date 05/10 Date ?
SD
Planned
indep. Sales
reqmts order
Production /
Purchasing Customer
Planned
ind.
reqmts
Production Planning
ã SAP AG 2001
Create
Create Execute
ã SAP AG 2001
n This example shows demand management in R/3 and production planning in APO.
n Demand management can take place manually in R/3, it can be based on a forecast, or it can refer
back to R/3 Sales and Operations Planning (SOP) functions. It results in planned independent
requirements, which are transferred to the APO System. Planned independent requirements must
therefore be included in the integration model.
n The planned independent requirements are the starting point for production planning in APO.
Furthermore, storage location stock is to be included in the planning.
n Production planning results in planned orders being created. The conversion of planned orders to
production orders in R/3 is triggered from APO via the conversion indicator for APO orders. Shop
floor control takes place in R/3, whereby activities in R/3 (for example, confirmations) are also
transferred back to APO.
n To ensure that the materials are not unnecessarily planned again in R/3, the MRP type must indicate
that they are to be excluded from material requirements planning (MRP type X0).
Create Execute
ã SAP AG 2001
n This graphic gives a complete overview of Demand Planning and Production Planning in APO.
n Demand planning takes place in the Demand Planning component in APO. It refers, for example, to
a forecast taken from past values in BW or R/3 and executed in APO. Planned independent
requirements are generated on APO as a result of Demand Planning.
n The planned independent requirements are the starting point for production planning in APO. Along
with the requirements, any available warehouse stock maintained in R/3 is also to be considered in
planning, making it necessary to include storage location stock in the integration model.
n As a result of production planning, planned orders are created in APO. The conversion of planned
orders to production orders in R/3 is triggered from APO via the conversion indicator for APO
orders. Shop floor control takes place in R/3, whereby activities in R/3 (for example, confirmations)
are also transferred back to APO.
n To ensure that the materials are not unnecessarily planned again in R/3, the MRP type must indicate
that they are to be excluded from material requirements planning (MRP type X0).
ã SAP AG 2001
n Requirements strategies represent the business procedure for planning production quantities and
dates. A wide variety of requirements strategies are available offering a number of different
possibilities for planning, ranging from make-to-order production to make-to-stock production.
Depending on the strategy you select, you have the following options:
• Planning specifically for the assembly, if you can plan more easily at component level. Final
assembly takes place in make-to-stock or make-to-order production.
• Stocking up of assemblies by planning at finished product level, but final assembly is not triggered
until the sales order is received. Final assembly takes place in make-to-stock or make-to-order
production.
• Make-to-order production only, without planning the finished product or the components
n Furthermore, you can combine requirements strategies. This allows you to plan a finished product
with a requirements strategy for make-to-stock production as well as plan an important assembly that
is also sold as a spare part.
n The planning strategies available for a material can be found in APO Customizing for Master Data
(in step Determine Requirements Strategies). You can assign a requirements strategy to a material in
the Requirements strategy field. Each requirements strategy contains important control parameters
for the consumption of sales orders (or dependent requirements) and planning.
Process
SD
Sales
order
Procurement Warehouse
Planning Sales from
and / or and stock of
stock
production finished product
Plnd
ind.
req.
Goods issue
Requirement reduction
ã SAP AG 2001
n Use: Make-to-stock strategies are oriented towards planning for the procurement of components
(production or purchasing) by planning the finished product. If it is easier for you to plan at
component level, you can use planning at the assembly level.
Choose a make-to-stock strategy if
The materials are not separated, meaning they are not assigned to a specific sales order
The costs must be tracked at material level and not at sales order level
n You use make-to-stock production when you produce stock without an order to be able to later
supply your customers with goods from this stock immediately. You may want to produce goods
without a sales order if you expect a demand for them in the future. Make-to-stock strategies support
very close customer-supplier relationships, since their purpose is to supply the customer with goods
from stock as quickly as possible. Returns that have been through a quality check as well as other
unplanned goods receipts can be used for other sales orders.
n You can avoid increased warehouse stock in a make-to-stock environment by creating planned
independent requirements in advance to plan your stock. If you do this, you can also decide whether
or not sales orders that exceed your planning are to have an influence on production. In addition,
sales orders should be available relatively early (for example, using scheduling agreements).
Product
Name of requirements strategy master (APO)
Make-to-stock production 10
ã SAP AG 2001
n A wide range of requirements strategies are available for make-to-stock production: make-to-stock
production, planning with final assembly, and planning at assembly level.
n Additionally, production by lot size is also available in the R/3 System. In production by lot size,
both sales orders and planned independent requirements are considered for material requirements
planning, however, planned independent requirements are not consumed by sales orders. Both
requirements can then be procured in a common lot using a suitable lot-sizing procedure (for
example, period lot-sizing) with a common procurement element (such as a planned order). In this
case, the goods issue for the sales order reduces the sales order. The goods issue to the cost center,
for example, reduces the planned independent requirements (in this case, planned independent
requirement reduction takes place according to the make-to-stock production strategy).
If you work with production by lot size in R/3 (R/3 planning strategy 30), strategy 10 (make-to-stock
production) will appear in the APO product master after the master data has been transferred. This
ensures that the planned independent requirement is not consumed by the sales order. The process is
exactly the same as the description of the strategy in R/3.
Material A Product A
MRP 3 Demand
APO
Planning
Req. strategy
Strategy group PP
Proposed strategy
ã SAP AG 2001
n Planning strategies defined in the R/3 material master are transferred to the APO product master via
the R/3 APO interface. However, it must be noted that the logic between the two systems differs
(even the numbers describing the strategies are generally not the same in R/3 and in APO since often
several R/3 planning strategies can be represented in APO with one requirements strategy).
n The R/3 strategy group, which contains a main strategy and sometimes further secondary strategies,
is maintained in the R/3 material master. The main strategy from the R/3 strategy group is constantly
transferred from the R/3 material master to the APO System: If strategy 10, anonomous make-to-
stock production, or 40, planning with final assembly, or 70, assembly planning, are defined as the
main strategy, the APO requirements strategies corresponding to these strategies are transferred.
If you have copied a standard R/3 planning strategy to your own planning strategy in R/3
Customizing and defined this as the main strategy in the strategy group of the material master (this
main strategy is then called Z1 instead of 10, for example), the Customizing strategy behind strategy
Z1 will be analyzed in R/3 so that the R/3-APO interface still transfers a requirements strategy make-
to-stock production in APO.
n In the R/3 material master, a MRP group can also be used to assign a strategy group to the material.
These settings are checked when such a material is transferred to APO. If strategies are found for a
material both via the strategy group directly as well as via the MRP group indirectly, the strategy is
found via the strategy group.
Process
Plnd SD
ind.
req. Warehouse stock Sales
for finished prod. order
Production
Production Is not taken into
account for MRP
ã SAP AG 2001
ã SAP AG 2001
n Use: This requirements strategy is especially suited for the mass production environment and is often
combined with repetitive manufacturing. You choose this strategy if production is to be controlled by
a production plan and sales orders are not to directly influence production. One of the most important
characteristics of this planning strategy is that it allows you to smooth out the demand program.
n Examples from the industry:
Make-to-stock production is used by producers of consumer packaged goods since, for example,
the requirements for ice cream are very easy to plan and an individual order does not influence
production.
Additionally, strategy 10 is used for products with seasonal demand for which production must be
smoothed.
n Prerequisites: You must maintain requirements strategy 10 in the APO product master for the
finished product (Demand tab).
Process
SD
Consumption
Consumption
Plnd
ind. Sales
req. Warehouse stock order
for finished product
Production
Production
n Use: the main goal of planning with final assembly is to be able to flexibly react to customer
demand. The most important advantage of this requirements strategy is that you can quickly react to
customer demand. Smoothing the production plan is less important.
n Process for planning with final assembly
Planned independent requirements are entered at finished product level. This triggers the
procurement and production of the required assembly and components before sales orders are
received.
As soon as the sales order is received, it consumes the planned independent requirement. This
allows you to compare planning with the actual customer requirement. An availability check can
be performed while the sales order is being processed.
n Planning quantities that are not required increase the warehouse stock if they are not adjusted to the
customer requirement ("adjustment"). You can use report /sapapo/RM60RR20 to perform an
adjustment: All planned independent requirements that are not consumed are set to zero for the time
period selected in the report. This report can be scheduled periodically (for example, daily)
The report is comparable to report RM60RR20, which is available in the R/3 System.
n If the customer requirement quantity is larger than the planning quantity, a planned order for the
whole amount of the sales order is automatically created in the next requirements planning run,
which is more than just the quantity that was not planned.
An exact availability check can be performed in the sales order.
How sales orders consume planned independent requirements depends on the consumption mode
and consumption intervals.
Scenario A: Sales orders received are less than the planned quantity within the
consumption period
1. Enter planned
Planned order independent
requirements and
40 40 40 40 40 perform planning
40 40 40 40 40 Time
Plnd ind. reqmts
n The consumption mode determines the direction on the time axis in which the arriving sales orders
are to consume the planned independent requirements.
n Backward consumption (consumption mode 1) allows the customer requirement to consume planned
independent requirements that are chronologically before the customer requirement.
n Forward consumption (consumption mode 3) allows the customer requirement to consume planned
independent requirements that are chronologically after the customer requirement.
n Forward and backward consumption can be combined taking both periods into account (consumption
mode 2).
n The consumption mode and consumption periods can be defined in the APO product master for each
product and plant.
n Note: If consumption mode 1 and the backward consumption period are not maintained,
requirements are only consumed on the same day.
n You can display the consumption of planned independent requirements by sales orders in the
Product View on the Planning tab.
Scenario B: Sales orders received are larger than the planned quantity within the
consumption interval
1. Enter planned
Planned order independent
requirements and
40 40 40 40 40 perform planning.
40 40 40 40 40 Time
Plnd ind. reqmts
ã SAP AG 2001
Scenario B: Sales orders received are more than the planned quantity within the
backward consumption period
1. Enter planned
Planned order independent
requirements and
40 40 40 40 40 perform planning
40 40 40 40 40 Time
Plnd ind. reqmts
ã SAP AG 2001
Material A Product A
Demand
APO
MRP 3
Planning Forecast
consumption mode
1 1
Consumption mode 2 Consumption mode 2
3 3
Consumption settings
from MRP group ? Transfer is the
same
ã SAP AG 2001
n The settings in the R/3 material master for the consumption of planned independent requirements by
sales orders are transferred via the R/3-APO interface. The R/3 consumption mode 4
(forward/backward) is not available in APO (but it is also less relevant in R/3). Therefore,
consumption mode 4 cannot be transferred from R/3.
n In the R/3 material master, an MRP group can also be used to assign consumption to the material.
When such a material is transferred to APO, these settings are checked and, if required, transferred.
If consumption values are found for a material both via the strategy group directly as well as via the
MRP group indirectly, the consumption value is taken from the strategy group.
R/3:
R/3: Strategy
Strategy group
group 40
40 Planning
Planning with
with
APO: Req. strategy
APO: Req. strategy 2020 final
final assembly
assembly
ã SAP AG 2001
n Prerequisites:
Maintain requirements strategy 20 the APO product master (Requirements view)
Set consumption parameters in the APO product master (consumption mode, forward and
backward consumption periods) to enable planned independent requirements to be consumed.
1.
1. Planning
Planning at
at assembly
assembly level
level using
using planned
planned independent
independent requirements
requirements
SD
Make-to-stock/
Make-to-stock/
make-to-order
make-to-order Sales
production
production order
assembly
Final assembly
onn Dep. req./sec. res.
mppttiio
suum
Coonns
C
Warehouse
Warehouse Warehouse
Warehouse
Final
Plnd stock
stock assembly
assembly stock
stock assembly
assembly
Production
Production
ind.
req.
2.
2. Finished
Finished product
product consumes
consumes dependent
dependent requirements
requirements
ã SAP AG 2001
n Use: Planning for procurement at assembly level is ideal, for example, for production with variants
for which different finished products exist (possibly with an irregular requirements pattern which
does not allow for planning). It is more likely that an accurate requirements forecast can be given for
a certain assembly in this case than for variant-richness in the finished product.
The overall goal of planning at component level is to procure components in stock (without sales
orders) to be able to react to customer requirements as quickly as possible.
In such cases, final assembly can be visualized both as make-to-stock production as well as make-to-
order production.
n Process:
The planned independent requirement is entered at assembly level and triggers the manufacture of
assemblies (before the final assembly of the finished product).
When sales orders arrive for the finished product, the BOM (PPM) is exploded for the finished
product. Dependent requirements or reservations for the assembly are also generated for the
finished product by way of planned orders or production orders. They are consumed by
subassembly planning.
If sales orders, planned orders, or production orders cause the dependent requirements or
reservations to exceed the planning requirements of the assembly at finished product level, a
planned order is created for the assembly in the next planning run.
Planned independent requirements that are not consumed increase the warehouse stock of the
components and cause procurement to be reduced or not to take place at all in the next period.
1. Enter planned
Planned order independent
requirements for
40 40 40 40 40 assembly and
40 40 40 40 40 Time perform planning
Plnd ind. reqmts
ã SAP AG 2001
n The consumption logic is determined in the same way as the strategy planning with final assembly,
using the consumption mode and the forward and backward consumption periods.
n However, consumption takes place at assembly level. For this reason, consumption periods are
calculated using the dependent requirements or reservations.
n You can display the consumption of dependent requirements and planned independent requirements
in the Product View on the Planning tab.
Any
Any strategy
strategy
R/3:
R/3: Strategy
Strategy group
group 7070 ++ R/3:
R/3: Strategy
Strategy group
group 7070 ++
Mixed
Mixed MRP
MRP ind.=
ind.= 11 Mixed
Mixed MRP
MRP ind.=
ind.= 11
APO:
APO: Requirements
Requirements strategy
strategy 2020 ++ APO:
APO: Requirements
Requirements strategy
strategy 2020 ++
subassembly planning ind.
subassembly planning ind. subassembly planning ind.
subassembly planning ind.
Subassembly
Subassembly Subassembly
Subassembly
planning
planning planning
planning
ã SAP AG 2001
n Prerequisites:
• Maintain requirements strategy 20 as well as the Subassembly planning indicator in the APO
product master (Demand tab)
• Maintain the consumption parameters (consumption mode, forward and backward consumption
periods) in the APO product master (Demand tab).
• When you display this strategy in connection with a final assembly that takes place in make-to-
order production, you must also set the Always collective reqmnts indicator in the APO product
master (Demand tab).
Process
SD Procurement
Sales and Customer stock,
Delivery
order production finished product
Material A
Planning
SD
Sales Procurement
order Customer stock,
and Delivery
Material A finished product
production
ã SAP AG 2001
n For make-to-order production, each sales order is planned separately and managed in its own section
in the MRP list or the current stock/requirements list
n There is no net requirements calculation between individual sales orders or with make-to-stock
inventory.
n In make-to-order production, exact lot sizes are always used in the standard system as the lot-sizing
procedure and without consideration of additional restrictions (such as, minimum/maximum lot size
or rounding value), regardless of what has been defined in the APO product master. The Lot-size
calulation in sales order planning indicator in the APO product master (Lot size tab) allows you to
specify that a certain lot-sizing procedure is also to be used in make-to-order production.
You can also set this from R/3 in the Check Lot-Sizing Procedure step in Customizing for Material
Requirements Planning. In the Lot size calculation for sales order planning field, you can define the
selection of the lot-sizing procedure for sales order planning.
n The Individual/collective requirements indicator allows make-to-order production to be used as far
into the BOM structure as required.
n The produced quantities cannot be exchanged between the individual sales orders, and inventory
management is carried out for the manufactured quantities directly for the individual sales orders (in
make-to-order stock).
n Make-to-order stock and the requirement are reduced by a goods issue to the sales order. As soon as
the sales order is complete and the make-to-order stock has been used up, the individual customer
segment disappears from the current stock/requirements list or MRP list.
n The production and procurement costs are managed specifically for the sales order in a billing order
or project.
SD
Production: Sales order:
Sales Delivery
20 pieces 20 pieces
order for
material A:
20 pieces
Planning
SD
Sales Production: Sales order:
Delivery
order for 15 pieces 15 pieces
material A
15 pieces
ã SAP AG 2001
n Process:
Sales orders are planned as requirements for production under the sales order number. The
quantities produced for the individual sales orders cannot be changed. Each quantity is maintained
specifically for the individual sales order. In material requirements planning, a separate planning
segment is generated for make-to-order production.
Starting from the sales order, single-item planning can be done as far into the BOM structure as
required, which means even assemblies and components are specifically procured for the pegged
sales order and inventory management is carried out for this sales order.
The production and procurement costs are managed for the sales order in a billing order or project
at the sales order item level. This ensures a detailed analysis of the planned and actual costs.
n The net requirements calculation is done for each sales order individually, but there is no exchange
between different sales orders.
n The procurement element or planned orders are created with a reference to the sales order and
managed in an individual customer segment. This direct reference is also retained in the production
order.
Product
Name of requirements strategy master (APO)
30
Planning without final assembly
40
Planning with planning product
ã SAP AG 2001
n Finished products are not produced until a sales order has been received. This means the make-to-
order production strategies always support a very close customer-supplier relationship, since their
sales orders are closely connected to production.
n Make-to-order production is also used in the environments production with variant configuration
and assemble-to-order.
• Stocks are to be listed separately for each sales order. This means that they are uniquely assigned
to certain sales orders.
• The costs must be tracked at sales order level and not at product level. Note: You may, however,
also display logistical make-to-order production and collect the costs at an R/3 product cost
collector for each product (instead of for each sales order item).
• Make-to-order production strategies are always to be combined with the lot-size key EX (lot-for-
lot). Rounding values should not be used. If you maintain rounding values, they have no effect due
to the make-to-order characteristics of these strategies. Consider the Lot-size calculation for make-
to-order planning indicator in the APO product master (Lot size view).
Material A Product A
MRP 3 Demand
APO
Planning
Requirements
Strategy group PP strategy
Proposed strategy
20
Main strategy 50 30 Planning without final
assembly
60 40 Planning product
ã SAP AG 2001
n Planning strategies defined in the R/3 material master are transferred to the APO product master via
the R/3 APO interface. However, it must be noted that the logic is different in the two systems (even
the numbers describing the strategies are generally not the same in R/3 and in APO since often
several R/3 planning strategies can be represented in APO with one requirements strategy).
n Note on the Integration with Supply Network Planning (SNP): The planning strategies planning
without final assembly and planning with planning material are only supported in PP/DS and not in
Supply Network Planning.
n Use: This planning strategy is used when planning of the (superior) product is not required or not
possible.
Prerequisite: You are able to:
• Procure all of the required components within the whole replenishment lead time
• Sales orders are received very early (with reference to the replenishment lead time)
Process
SD
Sales
Make-to-order order
Make-to-order
stock
stock
ã SAP AG 2001
R/3:
R/3: strategy
strategy group
group 20
20 Make-to-order
Make-to-order
APO: req. strategy
APO: req. strategy production
production
R/3
R/3 ++ APO:
APO: R/3
R/3 ++ APO:
APO:
set
set indiv./collective
indiv./collective set
set indiv./collective
indiv./collective
indicator
indicator indicator
indicator
ã SAP AG 2001
n Voraussetzung:
Pflegen Sie Strategiegruppe 20 im R/3-Materialstamm (Sicht Disposition). Im APO erscheint in
diesem Fall keine Bedarfsstrategie, da die APO-Bedarfsstrategien anders als die R/3-
Planungsstrategien lediglich die Vorplanung steuern. Der Kundenauftrag wird über die R/3-APO-
Schnittstelle mit der Bedarfsklasse übertragen, die z. B. aus der R/3-Hauptstrategie gezogen wird.
Redirecting to make-
to-stock production
Assembly Assembly
Assembly 22
Assembly 11
Redirecting to make-
to-stock production
Individual/collective indicator
for dependent requirements in
Component
Component 33 Component
Component 44 the product master
Individual requirement
(inheritance)
Collective requirement
(redirecting dep. requirements
to make-to-stock production)
ã SAP AG 2001
n The individual/collective requirements indicator in the APO product master defines whether a
component is procured for a specific customer requirement in an individual segment.
n If the Always collective requirement indicator is set, the material is produced or procured for
different requirements. The requirements can be found in the net requirements segment.
n If the Individual customer requirements indicator is set, the components are planned in the same way
as the subordinate assembly.
n This graphic shows an example in which two sales order planning segments are created for sales
orders A and B for assembly 1. There are dependent requirements in both individual customer
segments. For assembly 2, however, both dependent requirements appear in the normal net
requirements planning segment.
n The individual/collective requirements indicator can only be maintained in the product master in
APO.
Product A
Material A APO
Demand
MRP 4
Dependent reqmnts
Dependent reqmt
Always collective reqmnts
Indiv./collect. 2 Only collective
Possible ind. cust. reqmnts
Order network (fix. peg.)
Product A
Material A APO
Demand
MRP 4
Dependent reqmnts
Dependent reqmt
Always collective reqmnts
Indiv. and collect.
Indiv./collect. Possible ind. cust. reqmts
1 Only individual
Order network (fix. peg.)
ã SAP AG 2001
n The settings for individual/collective requirements for dependent requirements are transferred from
the R/3 material master to the APO product master via the R/3-APO interface: If the
individual/collective indicator has the value "2" (only collective requirement),the Always collective
requirement indicator is set in the APO product. The Possible ind. cust. reqmnts indicator is set for
no value or a value of "1".
n Setting the individual/collective indicator via the R/3 BOM has no effect in the R/3-APO interface or
in APO.
1.
1. Planning
Planning at
at finished
finished product
product level
level using
using planned
planned indep.
indep. reqmts
reqmts
r
r de
ne d o rsion
n ve
Pla t con r
Plnd
ho u a to
ind. wit indic Make-to-order
Make-to-order
Production planning run
req. production
production
Warehouse
Warehouse Warehouse
Warehouse stock,
stock,
Procurement
Procurement
stock,
stock, assembly
assembly assembly
assembly
ã SAP AG 2001
n Use: Just as with make-to-order production, planning without final assembly is a strategy in which a
product is specially produced for a customer. In addition to make-to-order production, however,
certain assemblies must have already been produced or procured before the sales order is received
for the finished product. Production does not extend to the finished product level at first. The product
is produced up to the production stage before final assembly, which means the assemblies and
components are stored until the sales order is received. Final assembly is triggered when the sales
order is received. It makes sense to use this strategy when a large part of the value chain process is in
the final assembly.
n Planning that is not dependent on sales orders is performed using planned independent requirements.
They are entered for the finished product. For these requirements, the production planning run first
generates planned orders for the finished product which cannot be converted to a production order
(in R/3, planned orders without a conversion indicator and the order type “VP“ and in APO, planned
orders without conversion indicator). The conversion cannot take place until the sales order is
received and triggers final assembly. At assembly level and component level the production planning
run generates planned orders if there is a material shortage. These planned orders can be converted to
a production order or a purchase requisition since production and procurement are already to be
triggered for the lower production levels before the sales order is received.
n The planning without final assembly strategy allows for short delivery times (since production can
access available assemblies and components immediately), without the product having been
assembled ahead of time.
er
to -ord r
ke - rde
Consumption
Consumption Ma ned o
n
SD
pla
Plnd
ind. Make-to-order
Make-to-order
assembly
Final assembly
production Sales
req. production
order
Final
Warehouse
Warehouse Warehouse
Warehouse
stock
stock assembly
assembly stock
stock assembly
assembly
2.
2. Consumption
Consumption by
by sales
sales order
order
ã SAP AG 2001
n Final assembly is triggered when the sales order is received. The sales order appears within a sales
order planning segment in which planning is performed separately for the sales order. The next
production planning run generates a planned order which can be converted for the newly created
sales order in the sales order planning segment. This makes final assembly possible. In the planning
segment, however, the planned order quantity of the planned order without the conversion indicator
(and in R/3 with the order type “VP”) is reduced in accordance with the new requirements situation.
n The sales order is managed within one sales order planning segment with this strategy. If you do not
want to do this, the sales order can also be managed in the net requirements planning segment (R/3
planning strategy 52). If you do this, you must work with the lot-sizing procedure "exact lot size".
Additionally, neither the rounding value nor the rounding profile may be maintained as either the
minimum or maximum lot sizes. Furthermore, stocks are not taken into account (as in R/3). To
display this strategy in APO, you must set the planning segment indicator to 2 (planning without
final assembly, without individual requirements) in Customizing for Requirements Strategies for the
requirements strategy planning without final assembly. At this time, however, the strategy cannot yet
be set since consumption has not yet been realized. It will be realized in a later release .
n This strategy as well as the strategy planning with a planning material are the most commonly used
strategies in a make-to-order production environment.
Capacity
reqmts plng
Subcontracting
External procurement
Planned order in
planning Stock transfer
segment
Cannot be converted!
ã SAP AG 2001
n Planned orders in the planning segment for which the conversion indicator is not set (and in R/3
with the order type VP) can be procured via external procurement, subcontracting, stock transfer, or
direct production.
n They cannot be converted to production orders or purchase orders.
n Capacity requirements planning can be performed for planned orders in the planning segment.
R/3:
R/3: Strategy
Strategy group
group 50
50 Planning
Planning without
without
APO:
APO: Reqmts strategy 30
Reqmts strategy 30 final
final assembly
assembly High value
chain and/or
configuration
Storage level
Assembly
Assembly Assembly
Assembly
Limited
value chain
Individual/collective
Individual/collective ind.
ind. ==
Always
Always collective
collective reqmt
reqmt
ã SAP AG 2001
n Prerequisites:
Maintain requirements strategy 30 in the APO product master (Requirements view)
Maintain the Always collective requirement individual/collective indicator for the assemblies in
the APO product master (Requirements view) that are to be procured and stored before the sales
order is received.
1.
1. Planning
Planning with
with planning
planning product
product using
using planned
planned independent
independent reqmts
reqmts
er Not
d ord nd. produced!
nne s. i
Plnd Pla onver
c Planning
Planning product
product Make-to-order
Make-to-order
ind. w/o
Production planning run
req. stock
stock
Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock,
Procurement
Procurement
non-variable
non-variable part
part 11 non-variable
non-variable part
part 22 variant
variant part
part
ã SAP AG 2001
n The requirements strategy planning with planning product is used when different finished products
are identical with regard to essential assemblies.
n A planning product that contains the common assembly and its BOMs is defined for this purpose.
n Planning takes place for the planning product and triggers the production and procurement of the
components of the planning product.
n Examples from the industry: this strategy allows for the planning of different sizes or packages for
a product. For example, you want to sell a product in packages that:
• Contain 1 or 2 liters
• Contain, for example, detergent, chocolate cookies, medicine with a high non-variable part in
different packaging forms (variant part)
Consumption
Consumption
SD
Plnd Sales
Planning
Planning product
product Make-to-order
Make-to-order
ind. order
stock
assembly
stock
Final assembly
req.
Final
Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock,
non-variable
non-variable part
part 11 non-variable
non-variable part
part 22 variant
variant part
part
2.
2. Consumption
Consumption by
by sales
sales order
order
ã SAP AG 2001
n When a sales order is received for the product to be sold, you can check whether or not the planning
quantities of the planning product are sufficient in sales order processing (availability check as
planning check).
n The sales order for a finished product which refers to the planning product reduces the planning of
the planning product and triggers the final assembly at the same time.
n The sales order is managed in a make-to-order planning section for this strategy. If you do not want
to do this, you can also manage the sales order in the net planning section. At this time, however, the
strategy cannot be used since consumption has not been realized. It will be realized in a later release.
Scenario: Sales order received for finished product, sales order consumes planned
independent requirements of the planning product
1. Enter planned
Planned order independent
requirements for
40 40 40 40 40 planning product and
40 40 40 40 40 Time perform planning
Plnd ind. reqmts Planning quantities of the
planning product
n The consumption periods are calculated starting from the sales order for the planning product.
Consumption periods and consumption modes are read, however, from the product master of the
planning product.
n Consumption takes place by sales orders that are received for the finished products that refer to the
planning products. These finished products are linked to the planning product via a product
hierarchy.
n To ensure consistent quantity reduction, it is important that all assemblies contained in the BOM of
the planning product are really contained in each finished product that references this product.
Caution is recommended when making changes to BOMs.
n This strategy has the same basic characteristics as the strategy planning without final assembly.
Additionally, many materials can consume the planned independent requirements of a planning
product.
n The "variant" components cannot be planned exactly with this strategy. Instead, proceed as follows:
• Plan the variant components independently using a planning strategy for components. For more
information, see assembly planning.
Planning
Planning product
product Make-to-order
Make-to-order
stock
stock
R/3: BOM
APO Product hierarchy
Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock, Warehouse
Warehouse stock,
stock,
non-variable
non-variable part
part 11 non-variable
non-variable part
part 22 variant
variant part
part
R/3+APO:
R/3+APO:
R/3+APO:
R/3+APO: Einzel/Sammel-Kz.
Einzel/Sammel-Kz.
Indiv./collective
Einzel/Sammel-Kz.
indicator
R/3+APO:
R/3+APO: Einzel/Sammel-Kz.
Indiv./collective indicator
====always
immer
=immer
immer
= immer
always aSammelbedarf
Sammelbedarf
collective
Sammelbedarfreqmt
Sammelbedarf
a collective reqmt
n Prerequisites:
Create a separate material master record for the planning material in R/3. In the R/3 material
master of the planning material, enter strategy 60, the consumption mode and the consumption
periods.
Enter the planning material and strategy 60 in the R/3 material master records of all finished
products that are to be planned with this planning strategy.
Create a BOM for the planning material in R/3 which contains all non-variable parts.
The planning material and its final product were transferred via the APO-CIF interface to APO.
The requirements strategy 40 is automatically assigned to the planning product and its finished
products in APO. Furthermore, a product hierarchy with the planning product is automatically
created as the top node in APO from the BOM for the planning material (see APO Customizing
Master Data -> Hierarchy).
The master data from demand planning (characteristic value combinations) contains the planning
products, not the finished products.
Maintain the individual/collective indicator Always collective requirement for the assemblies in
the APO product master (Demand tab), that is to be procured and stored before the sales order is
received.
ã SAP AG 2001
n In general, planned independent requirements are reduced by goods issue postings in R/3 inventory
management. The movement type assigned, however, must allow the reduction of planned
independent requirements. For each movement type, you can define whether or not a requirements
reduction may take place in inventory management (R/3 Customizing Materials Management ->
Inventory Management and Physical Inventory-> Movement Types -> Copy, Change Movement
Types). The default movement types are set.
n For the strategy make-to-stock production the planned independent requirement is reduced by the
goods issue. The oldest planned independent requirement is reduced first (the system searches from
the past in the direction of the today's date according to planned independent requirements). Planned
independent requirements in the future are also reduced by goods issues as long as there are no
planned independent requirements in the past. For a goods issue to a sales order from stock, the
planned independent requirement of make-to-stock production is also reduced if this has been
defined in the R/3 requirements class (Planned independent requirements reduction for make-to-
stock production indicator).
For the production by lots size strategy, the sales order requirement is reduced by the withdrawal for
the sales order, the planned independent requirement by the sale from stock (compare to make-to-
stock production strategy).
n For the strategy planning with final assembly the planned independent requirement is reduced by
the goods issue. Planned independent requirement reduction takes place in the same way as
consumption (see consumption mode and consumption period in the APO product master). If
backward consumption has been set in the product master with a consumption period of 100 days,
the sales order is used to calculated the next earliest planned independent requirement within these
100 days and it is reduced.
n For the strategies planning without final assembly and planning with planning product, planned
independent requirement reduction takes place in the same way as for the strategy planning with
final assembly.
Time
Consumption
Customer requirements
Planned AFTER
Start End
ind. reqmts
Time
Customer requirements
Report /sapapo/RM60RR20
ã SAP AG 2001
Markets
Customers
?
Higher customer satisfaction
Company
ã SAP AG 2001
Requirements
strategies
SD
Plnd
ind. Sales
reqmts order
Consumption?
Customizing for
requirements strategies
Production /
Customer
Purchasing
ã SAP AG 2001
SD
Sales Receives an assignment mode from R/3 via a requirements class
order
R/3 strategy group with main strategy from R/3 material master
The APO assignment mode is used to control whether a sales order consumes a
planned independent requirement in APO. The assignment mode is determined using
the R/3 requirements class of the sales order. The R/3 requirements class controls the
type of availability check in APO.
ã SAP AG 2001
n The strategy group in R/3 is used to combine several planning strategies. It can be defined in
Customizing for Demand Management in the step "Determine Strategy Group" and assigned in the
R/3 material master (MRP view) via the Strategy group field (or the strategy group can be assigned
to a material via the MRP group in the R/3 material master, MRP view).
n When the sales orders are created, the customer independent requirements type is taken that is
defined in the main strategy of the strategy group assigned to the material as long as the
requirements type is not overwritten by the user parameter or manual entry when a sales order is
created: the customer independent requirements type can be accessed in Procurement view of the the
sales order item in the sales order.
The customer independent requirements type can also be determined via the item type of the sales
order as long as a strategy group is not assigned to the material (in Customizing for Sales, under
Determining the Requirements Type via the Operation).
n The planning strategy represents a useful procedure for planning a material in R/3. It contains, for
example, a requirements type for sales order management. The requirements type is assigned to
exactly one requirements class. The requirements class therefore presents a type of "allowed values"
for the requirements type settings. Changes to the requirements type are therefore made via the
corresponding requirements class.
n The requirements class is used, for example, to control how customer requirements are to consume
the planning requirements.
Requirements classes in the R/3 System are defined for sales order requirements classes in
Customizing for SD.
n The requirements class must be created in APO as the check mode (In APO Customizing for ATP,
choose General Settings). An assignment mode is maintained in the check mode. This specifies
which sales orders consume the forecast (planned independent requirements).
Requirement Costing
Availability
Requirements transfer to R/3
Consumption in R/3
Requirements reduction in R/3
MRP relevance in R/3
Account assignment
A B
XX XX
ã SAP AG 2001
ã SAP AG 2001
n Category: The categories describe the different stock, receipt, requirements, and forecast types in
the APO System. The standard system contains categories that represent the R/3 MRP elements. For
non-SAP systems, further categories can be created.
n Planning segment indicator: Shows the planning segment that is used to cover the requirement.
Planning segment 0: Choose this planning segment for make-to-stock production, that is, when
using requirements strategy 10 or 20. The requirement is covered by the warehouse stock.
Planning segment 1: Choose this planning segment for make-to-order production, that is, when
using requirements strategy 30. The requirement is covered by stock reserved for individual sales
orders.
Planning segment 2: Choose this planning segment if you have created your own planning strategy
for planning without final assembly and without make-to-order production (in accordance with
planning strategy 52 in R/3). This type of strategy allows you to procure components according to
the forecast. Stock at the finished product level is not taken into account for production.
Production of the finished product does not take place until the sales order is received. The
requirement is covered by the warehouse stock.
n Name of the planning version: You can create different planning versions for each supply chain
model in APO in simulation. At any time, however, only one model and one of its versions is active.
Consumption can take place for requirements of an inactive planning version.
n Assignment mode: Specifies how sales orders consume the forecast. For each requirements strategy,
only one comsumption type may be used.
n Category group: Group of different categories that are used.
Sales order
with requirements class 050
Sales order
Sales
Sales order
order Production
Production Planning/
Planning/
Detailed
Detailed Scheduling
Planned order
Planned
Planned order
order
ã SAP AG 2001
n In the R/3-APO interface, you can specify in the integration model that the availability check (ATP
check) in the sales order is not to be performed in R/3, but rather in APO (Availability check
indicator). If you create a sales order in the R/3 System, the system first checks whether there is
enough stock available for this product. It can also check whether receipts (such as production orders
or planned orders) are scheduled before the desired date.
n For non-availability, you can specify in APO that the system is to perform an availability check for
the product in a different location or for an alternative product. Furthermore, if a product is not
available, you can define that the sales order can trigger production directly. In this case, it triggers
an order for in-house production and APO creates a planned order for the desired quantity in PP/DS.
All of the operations of the PPM are scheduled at the resources of the PPM, and the system takes the
capacity restrictions into account (available capacity and orders that may have already been
scheduled). In addition, the availability of the components can be checked (Automatic planning
indicator in the product master of the components). If the capacities are already exhausted on the
desired date, the system uses simultaneous material and capacity requirements planning to find a date
on which the planned order can be created.
n The availability date of the newly created planned order (finish date) is passed back to the R/3 sales
order and copied as the internal confirmation date. Delivery scheduling is used to determine the date
in the sales order on which the customer can receive the product. The sales employee can find this
delivery date in the R/3 sales order. When you confirm this proposed date in the sales order and save
it, the APO planned order, which was only simulated, is transferred back to R/3 and is visible there.
Resource availability
Sales order
Available 1st Loading attempt
Desired date Confirmed
Occupied Final loading and quantity quantity/date
Resource 3
Resource 2
Resource 1
Time
Today
ã SAP AG 2001
n If a product is not available, the sales order can trigger production directly: If it triggers an order for
in-house production, APO creates a planned order for the desired quantity in PP/DS. All of the
operations of the PPM are scheduled at the resources of the PPM, and the system takes the capacity
restrictions into account (available capacity and orders that may have already been scheduled).
If the capacities are already exhausted on the desired date, the system uses simultaneous material and
capacity requirements planning to find a date on which the planned order can be created. You use the
strategy profile to define how the system is to schedule (search for a slot, infinite planning ...).
n Prerequisite:
In the "rules-based availability check", define that production is to be triggered directly for non-
availability (this function can be used in connection with all requirements strategies in planning).
Maintain the strategy profile with which you want to trigger the scheduling of planned orders from
the ATP integration under Global Settings in Customizing for PP/DS, in the Strategy profile for
ATP integration field. The default strategy profile in the delivery system is SAP001 (search for a
slot backward).
ã SAP AG 2001
1-1 Enter planned independent requirements for material T-F11## in the R/3 system for
plant 1200 (Dresden production plant) (## should be replaced by your group
number). Proceed as follows:
1-1-1 Check the material master: Check that strategy group 10 (make-to-stock
production) is set in planning 3 view for plant 1200 in the material master
for personal computer T-F11##.
1-1-2 Enter the independent requirements for material T-F11## in plant 1200 in
the R/3 demand management. Select the week schedule line as the period
schedule line by entering indicator W in the planning period field in the
initial screen of the transaction. Enter the following independent
requirements for personal computer T-F11## in plant 1200:
500 500
Mark the line where you typed the planned independent requirements and
select the Schedule tab.
Now divide the weekly requirements into workdays:
To do this, enter the indicator for Day in the allocation indicator field for
all weekly requirements and select Enter.
Note: For training purposes, the planned independent requirement may also
be created directly in the APO product view by entering a negative quantity.
However, you should not do this here; planned independent requirements
that are created in APO are not automatically visible in R/3. Planned
independent requirements that are created in R/3 are, however, also visible
directly in APO.
1-2 Now view the planned independent requirements for the APO product T-F11## in
location 1200 (Dresden production plant) in the APO product view.
____________________________________________________________
Carry out a plan in the product view to create planned orders for the newly created
requirements.
Note: If the product had been set to automatic planning immediately in the APO
product master (PP/DS tab), planning would have been automatically carried out
for the product when a new requirement was entered.
Field Value
Order type Standard order
Sales organization 1000
Distribution channel 10
Division 00
Ordering party 1171
Issuing plant 1200
Purchase order number 4711##
Desired delivery date 4 days after the second planned
independent requirements date,
as noted above.
Material T-F11##
Quantity 10 pieces
1-3-2 Now view the sales order for APO product T-F11## in location 1200
(Dresden production plant) in the APO product view.
Was the sales order taken into account in some form in planning? Does the
sales order influence the planned independent requirements or the planned
orders?
_____________________________________________________
2-1 Enter planned independent requirements for material T-F13## in the R/3 system for
plant 1200 (Dresden production plant) (## should be replaced by your group
number). Proceed as follows:
2-1-1 Check the material master: Check that strategy group 40 (planning with
final assembly) is set in planning 3 view for plant 1200 in the material
master for personal computer T-F13##.
Which consumption mode and which consumption interval are maintained?
______________________________________________________
500 500
Mark the line where you typed the planned independent requirements and
select the Schedule tab.
Now divide the weekly requirements into workdays:
To do this, enter the indicator for Day in the allocation indicator field for
all weekly requirements and select Enter.
Note: For training purposes, the planned independent requirement may also
be created directly in the APO product view by entering a negative quantity.
However, you should not do this here; planned independent requirements
that are created in APO are not automatically visible in R/3. Planned
independent requirements that are created in R/3 are, however, also visible
directly in APO.
2-2 Now view the planned independent requirements for the APO product T-F13## in
location 1200 (Dresden production plant) in the APO product view.
____________________________________________________________
Carry out a plan in the product view to create planned orders for the newly created
requirements.
Note: If the product had been set to automatic planning immediately in the APO
product master (PP/DS tab), planning would have been automatically carried out
for the product when a new requirement was entered.
2-3 Now create a sales order in the R/3 system and note how it influences the planning.
2-3-1 Create a sales order of 10 pieces for personal computer T-F13## in the R/3
menu for sales and distribution. The date should lie 4 days after the second
planned independent requirements date. Use the following data:
Field Value
2-3-2 Now view the sales order for APO product T-F11## in location 1200
(Dresden production plant) in the APO product view.
_____________________________________________________
After the settlement, the planning must adapt the planned orders to the new
requirements situation as a sales order has been added.
Carry out planning in the product view.
Was the sales order taken into account in some form in planning?
_____________________________________________________
2-4 Analyze the settlement between the sales order and the planned independent
requirement. To do this choose the Planning tab in the Product view.
2-4-1 Which planned independent requirement was consumed with the sales
order?
____________________________________________
3-1 You wish to plan assemblies to reduce the delivery time of personal computers T-
F14##. To do this you must create planned independent requirements for the
assemblies of personal computer T-F14##. We will carry out subassembly planning
on the example of assembly T-B62## (Hard Disk) in plant 1200 (Dresden
production plant).
3-1-1 Check the material master: Check that strategy group 70 (assembly
planning) is set in planning 3 view for plant 1200 in the material master
for assembly T-B62## (Hard Disk).
Also check if the mixed material requirements planning field is set to 1
(assembly planning).
Which consumption mode and which consumption interval are maintained?
______________________________________________________
100 100
Save your entries.
Note: For training purposes, the planned independent requirement may also
be created directly in the APO product view by entering a negative quantity.
However, you should not do this here; planned independent requirements
that are created in APO are not automatically visible in R/3. Planned
independent requirements that are created in R/3 are, however, also visible
directly in APO.
3-2 Now view the planned independent requirements for assembly T-B62## (Hard
Disk) in location 1200 (Dresden production plant) in the APO product view.
____________________________________________________________
Carry out a plan in the product view to create planned orders for the newly created
requirements.
Note: If the product had been set to automatic planning immediately in the APO
product master (PP/DS tab), planning would have been automatically carried out
for the product when a new requirement was entered.
Field Value
Order type Standard order
Sales organization 1000
Distribution channel 10
Division 00
Ordering party 1171
Issuing plant 1200
Purchase order number 4713##
Desired delivery date 4 days after the second planned
independent requirements date
for assembly T-B62##, as
noted above.
Material T-F14##
Quantity 10 pieces
3-3-2 Now view the sales order for APO product T-F14## in location 1200
(Dresden production plant) in the APO product view.
From the product view, carry out planning for personal computer T-F14##
in order to create a planned order for the sales order.
As you have enough stock available, the system has not created a new
planned order. Therefore, for the purposes of this demo, create a planned
order manually for finished product T-F14## (availability date: 4 days after
the second planned independent requirements date).
_____________________________________________________
Note: In this case the availability check will carry out a check for stock in
the sales order. The system can also be set so that production of the end
product is triggered automatically if there is no stock available, and that the
system checks for availability of components. Since the components were
procured through the assembly planning, the system was able to check
against the assemblies and confirm final assembly for the sales order when
assemblies are available.
3-3-3 Now view the planning situation for APO product T-B62## (Hard Disk) in
location 1200 (Dresden production plant) in the APO product view.
_____________________________________________________
After the settlement, the planning must adapt the planned orders to the new
requirements situation as a sales order has been added.
Therefore, carry out planning for assembly T-B62## (Hard Disk) from the
product view.
_____________________________________________________
3-4 Analyze the settlement between the dependent requirement and the planned
independent requirement. To do this choose the Planning tab in the Product view.
3-4-1 Which planned independent requirement was consumed with the dependent
requirement?
____________________________________________
4-1 Enter planned independent requirements for material T-F2## in the R/3 system for
plant 1000 (Hamburg production plant) (## should be replaced by your group
number). Proceed as follows:
4-1-1 Change R/3 material master: Change the strategy group to 50 (planning
without final assembly) in view schedule 3 for plant 1000 in the material
master for pump T-F2##.
4-1-2 Enter the independent requirements for material T-F2## in plant 1200 in
the R/3 demand management. Select the week schedule line as the period
schedule line by entering indicator W in the planning period field in the
initial screen of the transaction. Enter the following independent
requirements for personal computer T-F2## in plant 1200:
Current week
+1
25
Note: For training purposes, the planned independent requirement may also
be created directly in the APO product view by entering a negative quantity.
However, you should not do this here; planned independent requirements
that are created in APO are not automatically visible in R/3. Planned
independent requirements that are created in R/3 are, however, also visible
directly in APO.
____________________________________________________________
Carry out a plan in the product view to create planned orders for the newly created
requirements.
Note: If the product had been set to automatic planning immediately in the APO
product master (PP/DS tab), planning would have been automatically carried out
for the product when a new requirement was entered.
Do the planned orders generated for the pump have a conversion indicator? Is it
possible to trigger the final assembly for material T-F2## already at this stage?
____________________________________________________________
Check the planning situation for assembly T-B1## (casing) in location 1000 in the
APO product view.
Do the planned orders generated for the assembly have no conversion indicator
either like those generated for the finished product? Can assembly be completed at
this stage?
____________________________________________________________
Now create a sales order in the R/3 system and note how it influences the planning.
4-3-1 Create a sales order of 10 pieces for personal computer T-F2## in the R/3
menu for sales. The date should lie 4 days after the second planned
independent requirements date. Use the following data:
Field Value
Order type Standard order
Sales organization 1000
Distribution channel 10
Division 00
Ordering party 1000
Issuing plant 1000
Purchase order number 4714##
Desired delivery date 4 days after the second planned
independent requirements date,
as noted above.
Material T-F2##
Quantity 10 pieces
_____________________________________________________
_____________________________________________________
After the settlement, the planning must adapt the planned orders to the new
requirements situation as a sales order has been added.
Carry out planning in the product view.
Was the sales order taken into account in some form in planning?
_____________________________________________________
Do the new planned orders generated for the pump have a conversion
indicator? Is it possible to trigger final assembly for material T-F2## at this
stage?
_____________________________________________________
4-4 Analyze the settlement between the sales order and the planned independent
requirement. To do this choose the Planning tab in the Product view.
4-4-1 Which planned independent requirement was consumed with the sales
order?
____________________________________________
4-4-2 Are 10 additional pumps produced after the arrival of the sales order or does the sales order reduce the
planned independent requirement (make-to-order planning) by 10 pieces
_____________________________________________________
4-4-3 Is the final assembly of the pumps carried out in make-to-order production or make-to-stock production?
_____________________________________________________
Mark the lines with the planned independent requirements and choose
delete.
Then choose Save.
4-5-2 R/3-Menu path: Logistics → Sales and Distribution → Sales → Order → Change
Choose the sales order number given above.
Choose Enter.
Mark the sales order position and select
Edit → Fast change → Reason for cancellation
Choose Cancelled as requested by customer
Choose Save.
4-5-3 Change R/3 material master: Change the strategy group to 40 (planning with final assembly) in view
schedule 3 for plant 1000 in the material master for pump T-F2##.
You should avoid periodically starting incremental data transfer (transfer of changed fields in the R/3 master data)
at this stage. The incremental data transfer of master data fields is also not set to “Realtime” in this system.
To do this you should change the requirements strategy in the APO product master manually to 20 (planning with
final assembly):
You should also change the automatic planning in planning run indicator on the PP/DS tab back to automatic
planning immediately.
4-5-4 View the planned independent requirements for APO product T-F2## in location 1000 (Hamburg
production plant) in the APO product view.
4-5-5 Carry out planning in the product view to delete the surplus planned orders.
1-1
1-1-1 R/3 Menu path: Logistics → Production → Master Data → Material
Master → Material → Display → Display Current
To trigger planning from the product view, choose the Product heuristic button.
1-3
1-3-1 R/3 Menu path: Logistics → Sales and Distribution → Sales → Order →
Create
To trigger planning from the product view, choose the Product heuristic
button.
Was the sales order taken into account in some form in planning? Does the
sales order influence the planned independent requirements or the planned
orders?
The sales order has no influence on planning, but no settlement has been
made between the sales order and the planned independent requirements
either.
Solutions
To trigger planning from the product view, choose the Product heuristic button.
2-3
2-3-1 R/3 Menu path: Logistics → Sales and Distribution → Sales → Order →
Create
To trigger planning from the product view, choose the Product heuristic
button.
Was the sales order taken into account in some form in planning?
Planned orders have been generated for the sales order and therefore the
sales order was taken into account in terms of planning in the requirements
strategy planning with final assembly.
3-1
3-1-1 R/3 Menu path: Logistics → Production → Master Data → Material
Master → Material → Display → Display Current
To trigger planning from the product view, choose the Product heuristic button.
3-3
3-3-1 R/3 Menu path: Logistics → Sales and Distribution → Sales → Order →
Create
To trigger planning from the product view, choose the Product heuristic
button.
Check whether the planned order from the T-F14## Personal Computer
contains the assembly T-B62## (Hard Disk) as a planned order.
Assembly group T-B62## is part of the planned order for the Personal
Computer T-F14##.
3-4
3-4-1 Which planned independent requirement was consumed with the dependent
requirement?
The planned independent requirement closest to the dependent requirement
in the past has been consumed.
4-1
4-1-1 R/3 Menu path: Logistics → Production → Master Data → Material
Master → Material → Display → Display Current
To trigger planning from the product view, choose the Product heuristic button.
Do the planned orders generated for the pump have a conversion indicator? Is it
possible to trigger the final assembly for material T-F2## already at this stage?
The planned orders for the finished product do not have a conversion indicator.
Final assembly from there is not currently possible.
Do the planned orders generated for the assembly have no conversion indicator
either like those generated for the finished product? Can assembly be completed at
this stage?
Assembly production can be triggered here.
4-3
4-3-1 R/3 Menu path: Logistics → Sales and Distribution → Sales → Order →
Create
To trigger planning from the product view, choose the Product heuristic
button.
(C) SAP AG AP220 2-73
Was the sales order taken into account in some form in planning?
A new planned order was generated for the sales order. The sales order is
therefore taken into account in planning.
Do the new planned orders generated for the pump have a conversion
indicator? Is it possible to trigger final assembly for material T-F2## at this
stage?
Final assembly is now possible.
4-4
4-4-1 Which planned independent requirement was consumed with the sales
order?
The planned independent requirement closest to the dependent requirement
in the past has been consumed.
4-4-2 Are 10 additional pumps produced after the arrival of the sales order or does the sales order reduce the
planned independent requirement (make-to-order planning) by 10 pieces?
The make-to-order planning was reduced after the arrival of the sales order (planned independent requirements).
4-4-3 Is the final assembly of the pumps carried out in make-to-order production or make-to-stock production?
The sales order can be seen in a sales order planning segment. Final assembly is therefore carried out in a make-
to-order production.
Contents:
ã SAP AG 2001
ã SAP AG 2001
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
ã SAP AG 2001
Active
Active planning
planning version
version 000
000 Planning
Planning version
version 11 Planning
Planning version
version N
N
version-dependent
version-dependent master
master version-dependent
version-dependent master
master version-dependent
version-dependent master
master
data
data and
and transaction
transaction data
data data
data and
and transaction
transaction data
data data
data and
and transaction
transaction data
data
ã SAP AG 2001
n The Supply Chain Model (abbreviated as model) represents the entire supply chain network ranging
from suppliers to production and distribution sites, all the way to the customer. It contains locations,
transportation lanes, products, resources, and production process models. Thus, the model is the
basis for all planning functions in APO. It only contains master data.
n Master data from the R/3 System (or a non-R/3 System) is automatically assigned to the active APO
model (model 000) during the master data transfer to the APO System. The active model represents
the supply chain actually used in the enterprise. In this way, all master data transferred is
automatically available for operational planning in the APO model 000. You must assign master data
that you create manually in APO to a model.
n If you want to plan another supply chain (for example, a different distribution center) in the
simulation, you can create an inactive model in APO. If you want to use certain master data in both
the active and inactive model, or in the inactive model alone, you must assign this master data to the
inactive model. You can either use the Supply Chain Engineer (SCE) as the modeling tool in APO or
a manual assignment from within master data maintenance (from the R/3-APO interface, master data
is automatically assigned to the active model only).
n For simulation purposes, you can create several planning versions for each supply chain model,
however, only model 000 and planning version 000 are active. The planning version contains master
data and transaction data. In an inactive planning version, you can, for example, simulate increased
planned independent requirements and plan production based on an increased demand. You cannot
transfer the planning results from the inactive planning version to the active planning version. You
must repeat the planning in the active planning version.
n You can use version management to copy models and planning versions or create them manually.
They must be uniquely identifiable, which means two planning versions in different models must
have different names. The active planning version 000 only exists in model 000.
MRP procedure
MRP Consumption-based
Consumption-based
planning
planning
Based on consumption
ã SAP AG 2001
APO
APO PP/DS
PP/DS Number range (optional)
Customizing:
Customizing: Global
Global Strategy profile
Settings
Settings Categories for PP/DS
BOM explosion
...
HR
HR
SAP APO active planning version 000.
CIF
ã SAP AG 2001
n In the APO delivery system, the following global settings are available in Customizing for PP/DS:
You can use number ranges to assign an internal number to orders created in APO. As soon as an
order reaches R/3 via the CIF interface and is created there, it is assigned an order number in R/3
based on the R/3 number range. The R/3 order number is then transferred back to APO directly so
that the order can be seen in APO with the R/3 order number. Orders are only assigned an APO
order number in APO when they are not transferred back to R/3 (for example, in simulated
planning versions) or when they have not yet been transferred back to R/3 (for example, if they are
transferred periodically and not directly).
You use strategy profiles to control detailed scheduling (for example, to find gaps when
scheduling backwards). You maintain strategy profiles for automatic planning (Multilevel ATP
field) for orders transferred from the R/3 System (R/3 Integration field).
Categories for PP/DS: You use these categories to display the description of the receipt and issue
elements in the reporting dialog boxes in Production Planning and Detailed Scheduling. Since
APO is preconfigured for R/3, you only have to enter categories for an OLTP system if it is not an
R/3 System.
You maintain the categories in Customizing for the Global Availability Check (Global ATP
Check) under General Setting -> Maintain Categories.
BOM explosion (can also be defined for each product in the product master): You specify whether
the production process model (PPM) is to be exploded during planning or whether the BOM and
the routing are to be exploded in the R/3 System. To ensure better system performance, explode
the PPM in APO.
n Core interface to APO in R/3: You have used an integration model in the core interface to transfer
master data and transaction data to APO. You must transfer the master data to be planned in APO as
well as the master data of all your components. The data is transferred in your active model 000 and
your active planning version 000.
Product A
Immediate planning of the product for
PP/DS
planning-relevant changes -
Planning when changing assemblies and components of the
Automatic planning immediately product can also be planned with
Automatic planning immediately (only
Automatic planning in planning run
with exact lot-sizing procedure or fixed
Manual planning with availability check lot size)
Manual planning without availability check
ã SAP AG 2001
n You can specify that the system is to automatically plan products in PP/DS when you change data
relevant for planning (for example, the requirements or stock situation or the production process
model was changed). There are two types of automatic planning (settings are made in the product
master):
Automatic planning immediately: If you set this indicator for a product, the system generates a
planning file entry for this product for each change made that is relevant to planning (for example,
a new sales order). At the same time (immediately) a multi-level ATP check is performed for the
product and for the assembly/components for which automatic planning immediately is defined. If
a product is not available, suitable receipt elements are generated automatically and resource
capacity is taken into account. This results in feasible availability data for the product and its
components. Note: For the finished product for which, for example, a new sales order was created,
internal background planning is started immediately for the product, taking the heuristics from the
product master into account (for example, the optimization procedure). Assemblies and
components for which automatic planning directly has been defined and that get dependent
requirements from finished products, are only planned using exact or fixed lot sizes (based on the
settings on the Lot size tab in the product master), and the heuristics from the product master are
not evaluated. Heuristics in the product master are only evaluated in automatic planning
immediately when automatic planning is not triggered based on dependent requirements, which
come from the planning of a superior assembly, but as a result of other changes relevant for
planning, such as new requirements from R/3 or changes to the master data for the
assembly/component.
Use: For critical products for which production is triggered directly from the ATP check in the
sales order when they are not available and at the same time assemblies and components are also
partially procured (multi-level ATP check). Here the focus for the assemblies or components is
timely coverage only with exact or fixed lot sizes (minimum, maximum and rounding values are
also taken into account) instead of quantity optimizing of the assemblies or components.
Sales order,
planned order If a product is not available, suitable
receipt elements are generated in the
A Automatic planning in planning run next planning run; the resource capacity
is taken into account. Result: feasible
Dependent requirement, plnd availability data for the product and its
order/purchase requisition components.
B C D Automatic planning in planning run
Product A
The product is planned in the next
PP/DS production planning run using the
Planning when changing
heuristic (for example, the optimizing
lot-sizing procedure) defined for each
Automatic planning immediately product in the product master
Automatic planning in planning run
Manual planning with availability check
Manual planning without availability check
ã SAP AG 2001
n You can specify that the system is to automatically plan products in PP/DS when you change data
relevant for planning (for example, the requirements or stock situation or the production process
model was changed). There are two types of automatic planning (settings are made in the product
master):
Automatic planning in the planning run: If you set this indicator for a product, the system
generates a planning file entry for this product for each change made that is relevant to planning.
The product is then planned in the next production planning run using the heuristic defined for the
product in the product master (such as the optimizing procedure or the standard lot heuristic). If
you have not defined any heuristics in the product master, the default heuristic defined under
Global Settings in Customizing is used.
Use: If you do not want to trigger production directly from the ATP check (for example, for less
critical products or to plan a number of products (mass planning)).
Advantage: You can plan when and how often the product is to be planned in the planning run.
You can improve system performance by executing the planning runs when your system is not
especially overloaded.
n Note: The production planning run is not only used in automatic planning in the planning run: you
can also use it to plan products for which manual planning was defined or to use heuristics on
products for which automatic planning immediately was defined. In this case, the products must be
selected in the production planning run.
Prerequisite: You can use the production planning run to plan products in general (if your user has
enough authorization) for which the procurement type (product master) is not external procurement
planning, if the products are within the propagation range, are assigned to a model, and are not
excluded from planning via the customer exit (BADI) src_exit.
Sales order,
planned order
A Automatic planning
ã SAP AG 2001
n You can specify that you must plan products in PP/DS manually if data that is relevant for planning
changes (via manual creation of an order or via interactive planning in the product view). There are
two types of manual planning (settings are made in the product master):
Manual planning with availability check: If you set this indicator for a product (usually a
component), the system searches for the component by a suitable, existing receipt element during
the ATP check. If none is available, the superior order is not created before the dependent
requirement of the component is covered by a receipt (propagation). You may have to create an
order for the component manually to cover the requirements and then be able to create the superior
order on the desired date. Alerts are generated when there are product shortages.
If you set this indicator for a product, the system does not generate a planning file entry for this
product for each change made that is relevant to planning.
Use: If you want to use the function described above in a specific scenario. This procedure is not
intended for mass applications.
Manual planning without availability check: If you set this indicator for a product (usually a
component), the system does not search for the component by a suitable, existing receipt element
during the ATP check. This allows the order for the finished product to also be created if the
component availability is not given. The product is always considered available. Alerts are
generated when there are product shortages.
If you set this indicator for a product, the system does not generate a planning file entry for this
product for each change made that is relevant to planning.
Use: If you want to use the function described above in a specific scenario. This procedure is not
intended for mass applications.
A
Product Interactive individual planning - online
(for a product and its components)
Selection fields
Selection fields
ã SAP AG 2001
n You can execute the production planning run in two ways: either using individual planning for an
individual product or total planning for certain selected data.
n Total planning can be executed as follows:
Online: the production planning run is executed immediately. This type of total planning is only to
be performed for smaller jobs or tests with small amounts of data.
The time for the execution of a report is limited so that time consuming jobs do not influence the
response time of the system in the interactive mode. If a report runs longer than five minutes in the
interactive mode, the system terminates it automatically. It is therefore a good idea to use
background processing for more extensive planning jobs.
Background job: Here you can use variants that contain settings for mass planning. This function
allows you to start the job immediately or determine that it is to be started at a later time so that the
performance of the system is not influenced at times when it is overloaded.
Process
planning results
- Planning of a BOM structure
- Changes can be made manually at every level
n In interactive planning you can trigger planning for an individual product as well as for its
components. Interactive planning can be triggered in the product view, product planning table, and in
the detailed scheduling planning board. In these transactions, you can use the following process
controls to perform interactive planning: If you choose the Product heuristic button, the products
(finished product, assembly and components) are planned with the lot-sizing procedure/heuristics
that you maintained in your product masters. If you want to improve the planning situation
interactively by using other heuristics for certain planning problems without changing the entries in
the product master, you can use the Variable heuristic button: If you do this, a dialog box appears in
which you can choose from different heuristics that you can use to solve the planning problem.
n Process control for the Variable heuristic button: You can use the heuristic profile (Customizing for
Production Planning and Detailed Scheduling) to specify which heuristics can be selected in the
interactive planning menu when you choose the Variable heuristic button. The corresponding
heuristic profile then appears in the overall profile for each planning menu. SAP delivers standard
heuristic profiles for the three different planning menus. You can use one of these default heuristic
profiles or define your own combination for selection in the interactive planning menu via the
Variable heuristic button.
SAP001 (standard heuristic profile for the detailed scheduling planning board): Contains the
detailed planning heuristics, which focus on resources and operations. This heuristic profile is
predefined in the overall profile for the detailed scheduling planning board.
SAP002 (standard heuristic profile for the product view): Contains all production planning
heuristics. The planning focus of these heuristics is on the products. This heuristic profile is
predefined in the overall profile for the order views (for example, the product view).
SAPREM (standard heuristic profile for the product view): To be explained later.
Dependent
requirements
ã SAP AG 2001
n Use: You use the production planning run to perform production planning and detailed scheduling
for a very large number of objects.
n You use the production planning run in change planning to plan products for which you have defined
Automatic planning in the planning run in the product master. You can also use the production
planning run to plan products for which Manual planning has been defined. Additionally, you can
use a heuristic to reschedule products that are to be planned automatically and immediately (for
example, if you first plan automatically and immediately to perform an ATP check and then use a
heuristic to reschedule the products for periodic lot-sizing).
Planning types:
Planned receipts
Planning/production horizon:
ã SAP AG 2001
n In regenerative planning, all materials for a plant are planned. It is best used in a first-time planning
run as well as in a running plant if data consistency cannot be guaranteed due to technical errors.
n In a working plant, it is usually a good idea (especially if you have several materials) to just execute
the production planning run for those materials for which MRP-relevant data has been changed, such
as stock issues, sales orders, or changes to the BOM structure. Change planning (net change
planning) allows you to execute the planning run in short time periods, which in turn allows you to
always work with current planning results.
n You specify the planning run type on the initial screen of the production planning run. Here you can
set the Mark for the planning file entry indicator. This limits planning to the products for which
changes were made that were relevant for planning (change planning run). If you do not set this
indicator, all products selected will be planned.
n Planning horizon: In planning version management, you can enter the number of days (in the
future) starting from the current date on which product receipts and product requirements are to be
planned using production planning and detailed scheduling.
Dependencies: You can also define a production horizon in the product master. The production
horizon entered in the product master has priority over the parameters defined in the planning
version.
Processing steps
Step Function/heuristic Profiles Obj. Select. crit.
01
02
...
ã SAP AG 2001
n You use the following profile to determine the scope of the production planning run:
Planning version: Here you define in which planning version the production planning run is to be
executed.
You use the time profile to specify for which time period the planning is to be executed. Only
orders and operations that are within this planning period can be rescheduled.
Propagation range: You use the propagation range to specify which resources and products can
be changed. You can only reschedule resources and products that are within the propagation range.
If the component planning is for resources outside of the propagation range, the component order
is not created. The assembly orders within the propagation range, however, are still created.
Exception: If Automatic planning immediately is set in the product master for the assembly and
component, the assembly order in the example above is not created if the component order cannot
be created since the component situation is always considered for automatic planning immediately.
Planning run in the simulation mode: You can perform a production planning run and save its
results in a simulation version. You can then decide at a later time whether or not you want to use
the simulation in the operational planning version.
n There are two different parts in the production planning run: Functions (for detailed scheduling in the
graphical control station) and heuristics (for material and capacity requirements planning in
production planning). You use the functions when scheduling and optimizing. You cannot change
functions. Heuristics, on the other hand, can be maintained in Customizing for Production Planning
and Detailed Scheduling.
Processing steps
Step Function/heuristic Profiles Obj. Select. crit.
01 Product heuristic 0001 4
02
...
Selection of products
Product * to *
Location 1000 to
Planner 01 to
Marked for planning
ã SAP AG 2001
n In the production planning run, you can define several sequential processing steps for which the
system executes different heuristics/functions for the defined objects. You can define which objects
are to be processed with which heuristics or functions.
Objects include: resources, orders, operations, products, line networks (iPPE Automotive BOM).
The objects must be compatible with the selected heuristic. For example, products must be the
planning focus of all production planning heuristics. You use different heuristics/functions
depending on which type of problem you are working on. Functions, such as optimization or
scheduling, can also be selected and executed in the production planning run. You can execute
several heuristics or functions sequentially.
n In the production planning run, you can also execute several identical heuristics one after the other, if
they are each for different products. This enables you to consider the sequence of the products when
planning, especially in finite planning (you can specify in Customizing for lot-size heuristics which
requirements per product are to be planned first in finite planning).
n You specify the following for each processing step:
The heuristic/function to be executed in this step
The strategy profile to be used for the heuristic/function (for example, a strategy profile which
uses the strategy "find gaps backwards" when scheduling planned orders). If you want to use the
optimization function, you must enter an optimization profile.
The objects (for example, 4 = products) on which the heuristics/functions are to be executed.
You can also limit planning to further selections.
n If you set the Marked for planning file entry indicator on the initial screen for the production
planning run, you can limit planning to products to which planning-relevant changes have been made
(change planning run). If you do not set this indicator, all products selected will be planned.
Planning
Planning file
file
MRP-relevant
MRP-relevant changes
changes to
to
master gf ile
master data
data p lannin
S et
entry
Read
Material
pro Upd
Reset
du ated
cti
on
pla
n
Planning run
ã SAP AG 2001
Today Changes
4710 0001 x
4711 0002 -
4712 0001 x
4713 0003 -
. .
. .
4710 0001 -
4711 0002 -
4712 0001 -
4713 0003 -
ã SAP AG 2001
n During the planning run, the system checks each entry for a product in the planning file:
- In regenerative planning, it plans all materials without taking the indicators into account.
- In net change planning, it only plans those materials for which the Planning file entry indicator is
set.
n When the planning run has been executed, the entry in the planning file is automatically deleted.
Low-level
Low-level code
code 000
000 Finished
Finished product
product 11 Finished
Finished product
product 22
Low-level
Low-level code
code 001
001 Assembly
Assembly 11 Assembly
Assembly 22 Component
Component 44
Low-level
Low-level code
code 002
002 Component
Component 11 Component
Component 22 Component
Component 33
n The low-level code is the lowest level that a product appears in any BOM. The low-level code of a
product is always larger than the low-level code of all of its predecessors in all BOMs. Die
Dispostufe 0 erhalten alle Produkte auf der obersten Ebene einer Stückliste oder Produkte, welche
keiner Stückliste zugeordnet sind. Dispositionsstufen werden lokationsübergreifend vergeben.
n The low-level code controls the planning sequence: First products with low-level code 0 are planned,
then with low-level code 1, and so on. This allows all products to be planned in the correct sequence
in one run.
n You can display the low-level code of a product in the planning file for each planning version in the
PP/DS menu (Reporting -> Display Planning File Entries).
n At this time, low-level codes are not automatically recalculated when you change master data. You
can automatically trigger a new calculation, however, by starting a heuristic for process control (for
example, heuristic SAP_MRP_001) if recalculation of low-level codes is activated in Customizing
for this heuristic.
You can also trigger a new calculation by starting heuristic SAP_PP_020 (stage numbering).
n It has been ensured that the production planning run is terminated for products with recursive BOMs.
Definition in Customizing:
You can define your own
Heuristics
Heuristics heuristics
ã SAP AG 2001
n Defining your own heuristics: You can use the standard SAP algorithms to define your own
heuristics. You do this in Customizing for Production Planning and Detailed Scheduling under
Heuristics -> Maintain heuristics, by entering an SAP standard algorithm and making the required
settings. You can also use your own algorithms to create heuristics if you have integrated these
algorithms in the APO System.
n Furthermore, you can use table /sapapo/heurfunc in the SAP development environment to realize
new algorithms by including a new function module in this table, a new screen to maintain settings,
as well as a control indicator (when and where this algorithm may be used).
Heuristics can be used for the Heuristics can be started in the following
following planning objects: transactions:
• Resources • Production planning run (online, background)
• Orders • Product view
• Operations • Detailed scheduling planning board
• Products • Product planning table
Standard
Standard heuristics
heuristics
Heuristics Heuristics
Heuristics for
for detailed
detailed scheduling
scheduling
Heuristics for
for
production (graphical
(graphical control
control station)
station)
production planning
planning
Mainly lot-sizing procedures, Used for scheduling, planning focus is
planning focus is on the products on resources and operations
(for example, planning products
and generating orders based on
lot-sizing procedures)
ã SAP AG 2001
n You use heuristics to solve planning problems (using certain algorithms) for certain objects
(depending on the planning focus, either for products, operations, resources, or line networks
(automotive BOM/production line)). You can use your own heuristics or those defined by SAP.
n SAP standard heuristics are available in the following areas:
Production planning: This heuristic is mainly for lot-sizing procedures whose planning focus is
on the products. Period lot-sizing and quantity optimizing are such heuristics. The heuristics
product planning and production planning run after low-level codes are especially important.
These heuristics execute heuristics defined in the product master for each product.
- An exception is repetitive manufacturing: These heuristics generate planned orders for
requirements and take resource capacity into account for all periods. The planning focus is on
resources, line networks, and products.
Detailed scheduling: These heuristics are for scheduling; their planning focus is on resources and
operations. Examples of such heuristics are reduce leadtime and dissolve backlog.
Model mix planning is only available for iPPE (automotive BOMS).
To be entered in Heuristics
Heuristics for
for - Planning run
the product master production
production planning
planning - Interactive planning
SAP_PP_007:
Reorder point
planning
SAP_PP_C001:
Planning standard
lots for conti.-IO Additionally: Exception is REM heuristics
ã SAP AG 2001
SAP_MRP_001:
Product planning Execute heuristics from product
run for product levels master (SEQUENTIAL CONTROL) -
Only difference is for products
SAP_MRP_002:
planned with Automatic planning
Product heuristic immediately function
ã SAP AG 2001
n Use: The production planning run heuristics are only for sequential control and execute heuristics
defined for each product in the product master. If you have not defined a heuristic for a product in
the product master, the APO System uses the heuristic predefined as the product heuristic in
Customizing for Productions Planning and Detailed Scheduling (choose Global Settings ->
Maintain Global Parameters and Default Values).
n Process: Enter the heuristic for process control (SAP_MRP_001 or SAP_MRP_002) on the initial
screen for the production planning run. This allows the production planning run to be triggered after
the low-level code procedure, which takes the lot-size heuristics and lot-size settings in the product
master into account.
Bedarfstermin
Automatische Planung sofort
Planauftrag A
10 20 30
Kundenauftrag
Planauftrag Planauftrag C Sekundärbedarf
Falls „automatische Planung 10 20 30
A sofort“: sofortige Planung
Planauftrag A
Sekundärbedarf 10 20 30
Planauftrag/Bestellanford.
B C Falls „automatische Planung
Planauftrag C
sofort“: sofortige Planung 10 20 30 Alert
Automatische Planung sofort
heute
Szenario: Produkt A hat Dispostufe 0, Produkt C hat Dispostufe 2 (da es in einer anderen
Stückliste in einer tieferen Dispostufe vorliegt)
Bei automatischer Planung sofort werden die Bedarfe sofort geplant
ã SAP AG 2001
n Wenn sowohl das Enderzeugnis als auch die Baugruppe auf „automatische Planung sofort“
eingestellt ist, werden die Bedarfe direkt geplant. Falls der Baugruppenauftrag in die Vergangenheit
fälllt, wird eine mehrstufige Vorwärtsterminierung durchgeführt.
Reqmts date
Planned order A
10 20 30
Sales order,
planned order Plnd order C Dependent
10 20 30 requirements
All products of low-level code 0
A are planned first
Switch to forward
Dependent requirement, 10 20 30 scheduling
plnd order/purchase req.
B C Is planned first, if it is its turn
Alert
according to low-level code
Today
Scenario: Product A has low-level code 0, product C has low-level code 2 (since it is in a
different BOM in a lower low-level code)
SAP_MRP_001: Production planning run based on low-level codes: Therefore, after product A (low-level
code 0), product C (low-level code 2) is not planned until other products have been planned
Result: Since the planned order for product C is in the past, the system switches to forward scheduling but
can no longer move the planned order for product A which was scheduled a while ago before: Result:
Alerts are generally below - Advantage: High performing procedure
ã SAP AG 2001
n SAP_MRP_001: Production planning run based on low-level codes: This heuristic plans all
products in the sequence of the low-level codes: products with lower low-level codes (for example,
low-level code 0) are planned first, products with higher low-level codes are planned later.
Example: If a sales order is received for finished product A, a planned order is generated for product
A (if sufficient stock is not available). As soon as the planned order is created for A, a dependent
requirement is generated for component C. Component C, however, is not planned further at the
same time, but rather when it is its turn in the sorting of the low-level code in the planning run. If
product C is planned later, it may be that the dependent requirement for component C cannot be
covered since sufficient stock is not available, but no planned orders can be created due to capacity
reasons. In this case, an alert is generated for component C (shortage). Propagation back to product
A is not possible, however, and the planned order for product A cannot be moved to the future in the
planning run. This can result in exception messages for this procedure especially at the component
level.
Advantage: The procedure is very fast and can be used for mass applications. It is also a good idea
to use the procedure if only the capacity for final assembly is planned finitely, but the
assemblies/component levels are planned infinitely, or if the production planning run is first to create
planning suggestions that are later to be moved again with the optimizer.
Note: The ATP check for manually planned components with check is not performed.
Reqmts date
Planned order A
10 20 30
Planned order C Dependent
10 20 30 requirements
Sales order,
planned order Planned order A
A Products of low-level code 0 10 20 30
are planned first
Dependent requirement, Planned order C
planned order/purchase 10 20 30 Alert
requisition
B C Immediate planning if
"automatic planning immediately"
Today
Scenario: Product A has low-level code 0, product C has low-level code 2 (since it is in a different BOM
in a lower low-level code)
SAP_MRP_002: Production planning run based on low-level codes: Therefore, after product A (low-level
code 0), product C (low-level code 2) is not planned until other products have been planned
Result: Since the planned order for product C is in the past, the system switches to forward scheduling.
Difference between SAP_MRP_002 and SAP_MRP_001: Production planning run according to low-level
codes makes multi-level planning dependent on settings for components: delays can be moved up to
header level for certain products (automatic planning immediately - Alerts are above)
ã SAP AG 2001
n SAP_MRP_002: Product heuristic: This heuristic plans all products in the sequence of the low-
level codes; products with lower low-level codes (for example, low-level code 0) are planned first,
products with higher low-level codes are planned later.
Example: If a sales order is received for finished product A, a planned order is generated for product
A (if sufficient stock is not available). As soon as the planned order is created for A, a dependent
requirement is generated for component C.
It is only different from heuristic SAP_MRP_001 for components for which automatic planning
immediately was defined. For components with automatic planning immediately, the process is the
same as for heuristic SAP_MRP_001: Components for which automatic planning in the planning
run was defined are planned directly, not with the heuristic defined in the product master, but only
via the fixed lot size (min-max values are considered). This allows you to directly check whether
enough stock is available for the component and, if not, whether there is capacity for a new planned
order to be scheduled up to the time of the dependent requirement. If the planned order cannot be
created until after the dependent requirement, backward propagation is performed upward: The
planned order for finished product A is moved. A new source of supply determination is also
triggered automatically for product A (if several PPMs are valid for product A). The move can be
multi-level if Automatic planning immediately has been defined across several stages. If the
requirement cannot be covered, alerts are generated at the finished product level. This can result in
exception messages for this procedure especially at the component level.
Components for which automatic planning in the planning run has been defined are planned in the
same way as for heuristic SAP_MRP_001. When it is later product C's turn in planning according to
the low-level code, it is planned again. The heuristic in the product master is now used (for example,
optimum procedure).
Components for which automatic and immediate planning has been defined are planned with a
simple lot-size heuristic. Planning with this heuristic is performed according to a multi-stage logic,
which means if a component is not available on time, the order at the highest level is rescheduled.
Planning file entries are generated for components for which it was specified that they are to be
planned automatically in the planning run. The product heuristic can be executed in interactive
Produkt A Produkt B
PP/DS PP/DS
Heuristik Heuristik
Teil von Paket Linie1 Teil von Paket Linie1
Heuristik Heuristik
Zugänge
Bedarfe Zeit
Produkt A Produkt B Produkt A Produkt B Produkt B
Szenario: Mehrere Produkte werden in einem bestimmten Zeitraum auf der gleichen
Ressource produziert. Bei Planung ausschließlich nach dem Dispostufenverfahren
würde zuerst z. B. Produkt A entlang der gesamten Zeitachse finit auf den Ressourcen
eingelastet werden. Dadurch könnte für Produkt B keine freie Kapazität mehr vorhanden
sein.
Lösung: Bei Verwendung von Heuristikpaketen werden die einzelnen Lose (sortiert nach
Zeit) eingeplant, d. h. erst ein Auftrag für Produkt A, dann B, dann A etc.
ã SAP AG 2001
n Konzept der Heuristikpakete (Produktstamm, Sicht PP/DS): Gruppiert verschiedene Produkte, die
mit der gleichen Heuristik geplant werden sollen.
Häufig sollen Produkte nicht unabhängig voneinander geplant werden. Mit dem Heuristikpaket
können Sie definieren, welche Produkte mit welcher Heuristik zusammen geplant werden sollen.
Anwendungsbeispiele:
alle Produkte, welche auf der gleichen Fertigungslinie hergestellt werden
alle Produkte, die in einem Produktionsprozess zusammen gefertigt werden (Hauptprodukt und
Kuppelprodukt)
alle Produkte, die vom gleichen Lieferanten beschafft werden
n Voraussetzung: Tragen Sie bei den verschiedenen Produkten, die zusammen geplant werden sollen,
jeweils den selben Heuristikpaketnamen ein (Produktstamm, Sicht PP/DS, Feld Teil von Paket).
Heuristikpakete werden direkt im Produktstamm (Sicht PP/DS) definiert.
SAP_PP_008:
SAP_PP_012:
Rescheduling:
Deleting fixed pegging
Bottom up conti-I/O
SAP_PP_009: SAP_PP_013:
Rescheduling: Changing order
Bottom up priorities
SAP_PP_009:
Rescheduling:
Top down
ã SAP AG 2001
n Use: Service heuristics are used to execute certain service functions. They can be called interactively
or in the planning run:
n SAP_PP_010: Reschedule top down (moving receipts to requirements): You use this heuristic to
reschedule receipts so that they can, for example, cover later requirements. Moving dependent
requirements for assemblies/components leads to related planned orders at the finished product level
also being moved (if this is not possible, alerts are generated). Note: This heuristic only considers
dependent requirements from stock transfer and in-house production. Planned independent
requirements and sales order are not taken into account.
Application: At the end of the PP/DS production horizon, SNP planned orders can be converted to
PP/DS planned orders using a report to be started periodically. In SNP, planned orders and related
dependent requirements are generated to the day.
n SAP_PP_009: Reschedule bottom up (moving requirements to receipts): You use this heuristic
to reschedule dependent requirements from assemblies/components so that they can be covered by
receipts (if the dependent requirements are too early). Moving dependent requirements for
assemblies/components leads to related planned orders at the finished product level also being
moved (if this is not possible, alerts are generated). Note: This heuristic only considers dependent
requirements from stock transfer and in-house production. Planned independent requirements and
sales order are not taken into account.
Application example: At the end of the PP/DS production horizon, SNP planned orders can be
converted to PP/DS planned orders using a report to be started periodically. In SNP, planned orders
and related dependent requirements are generated to the day. If the assembly order moves to this
production horizon, conversion takes place.
SAP_PP_008:
SAP_PP_012:
Rescheduling:
Deleting fixed pegging
Bottom up conti-I/O
SAP_PP_009: SAP_PP_013:
Rescheduling: Changing order
Bottom up priorities
SAP_PP_009:
Rescheduling:
Top down
ã SAP AG 2001
n SAP_PP_012: Delete fixed pegging: You can use this service heuristic to delete fixed pegging
relationships.
n SAP_PP_013: Change order priorities: If you enter priorities in sales order, they are inherited by
the planned order or production order. Problem: You have a planned order or production order that
has a dynamic pegging relationship to a sales order in the future, with priority 4. If a new sales order
is created between them, a new dynamic pegging relationship is formed. This new sales order has
priority 2. When the pegging relationship is formed again, the priority is not changed in the planned
order or production order. For such a situation, you can use service heuristic SAP_PP_013, which
adjusts the priorities in the planned order or production orders to the priorities of the linked sales
orders.
Sales order/
dependent reqmts
50 50 50
Material A 50
30 20
Pegging edge
50 80 20
Planned order
l Pegging network:
n Assignment starting from receipts for requirements
n Changes must be propagated to all dependent orders, search for order
quantities that are not assigned
l Dynamic pegging (with pegging strategy) and fixed pegging
ã SAP AG 2001
n Pegging is a procedure that establishes a relationship between the receipt and issue elements of a
product in a location. The system uses pegging to assign relevant receipt elements to requirements.
n Pegging strategy: The pegging strategy specifies how requirements are to be covered by receipts.
Example: 1 October: Receipt of 100 pcs / 10 October: Receipt of 50 pcs / 20 October: Requirement
of 100 pcs
When using strategy 01 (First In First Out), the receipt on 1 October is used to cover the
requirement on 20 October. The receipt on 10 October remains available. Advantage of this
strategy: Easy to understand.
When using strategy 00 (Surplus as early as possible and shortage as late as possible) the receipt
that is closest to the requirement on the time axis is used to cover this requirement. In this
example, the receipt on 10 October is not enough to cover the requirement. The requirement is
assigned another 50 units from 1 October. Advantage of this strategy: An excess is made available
as soon as possible.
n There are two different types of pegging relationships: fixed and dynamic pegging. Fixed pegging
enables you to fix a pegging relationship, that is, the pegging relationship will no longer be changed
automatically by the system during planning. You are able to fix a particular quantity of the product
receipt to a specific requirement. To do this, double-click the receipt/requirement element in the
structure tree and choose the pegging structure. Choose fix to convert the dynamic pegging
relationship to a fixed pegging relationship. To change a fixed pegging relationship back to a
dynamic pegging relationship, you can choose Unfix at any time. You can also define that fixed
pegging relationships are to be generated for each product in the product master (Demand tab).
n The dynamic and fixed pegging relationships can be considered or ignored in planning. The various
strategies can be defined in the strategy profile.
Sales order
10 20 10 40 60 (-10)
10 20 10 40 50
30 100
Planned order
Shortage
Dependent reqmt
30 100
20 Surplus
30 50 30
Dependent reqmt
50 50 50
50 30 20 50
80 80 (+10)
Purchase
requisition
ã SAP AG 2001
n The system creates a pegging network of orders linked to one another that represents the
relationships between the receipt and issue elements of a BOM structure.
Prerequisite: Pegging relationships are created if the following requirements are met: same product,
location, account assignment (make-to-stock and make-to-order production), planning version
(active planning version) or, for simulation purposes as well as in characteristic-based planning, the
same compatible characteristics.
n Requirement and receipt elements are assigned according to the time of availability and requirement.
Consequently, dynamic pegging relationships change if there is a change in quantity or in
requirement dates. Pegging thus enables a multi-level transfer of changes.
n Pegging relationships have the following effects:
If an order changes, these changes must be forwarded to all dependent orders. The system uses the
pegging relationships to determine which orders are dependent.
If an existing requirement increases, or a new requirement is created, existing receipt elements
with quantities that have not yet been assigned to specific issue elements (requirements) can be
used. Pegging, thereby, influences the net requirements calculation.
n The pegging structure for an order is a graphic evaluation that is ordered according to the BOM
structure of all related products and describes the relationships between the receipt elements and the
issue elements. It gives an overview of the orders that are required to produce a finished product or
assembly for a certain requirement. Since the dependent requirements and orders of the components
are also represented, the user gets a quick overview of which orders are affected by a change or
where problems may occur.
Receipts
Alert
Time
Requirements
1h 3h 2h 25 h
= Pegging edge
APO Product A
Demand tab
Determining factors: Dynamic pegging
ã SAP AG 2001
n Maximum length of a backward pegging edge (Requirement maximum of (time) before receipt
field): You enter the maximum length of time between a receipt and an issue element permitted for
the system to create a pegging relationship between the two when the issue element is scheduled
before the receipt element. If the difference is larger than the maximum duration defined here, the
system does not create a pegging relationship.
n Maximum length of a backward pegging edge without alerts (Alert if requirement more than
...before receipt field): You enter the time up to which an exception message can be given if a
requirements element is chronologically before a receipt element and a pegging relationship exists
between the two. If the difference is small, the planner may not have to react. The problem might be
solved locally in production. If the difference is large, a relationship may need to be created. In this
case, an exception message is generated for the planner.
n Maximum length of a forward pegging edge (Receipt maximum of (time) before requirement
field): You enter the maximum length of time between a receipt and requirement element that is
permitted for the system to create a pegging relationship between the two when the receipt element is
scheduled before the requirement. This is especially important for perishable goods since the product
cannot be stored long before it is consumed.
n Minimum length of a forward pegging edge for alerts (Alert if receipt more than ...before
requirement field): You enter the time up to which an alert can be given if a receipt element is
chronologically before a requirement element and a pegging relationship exists between the two.
n The format for all entries is HHHHHH:MM, HHHHHH standing for hours and MM for minutes.
This means that a maximum of 999999 hours and 99 hundreds of a minute can be entered. An
uninterrupted time stream is used to calculate the duration, which means a factory calendar and shift
model are not taken into account.
• Fixing dates
ã SAP AG 2001
n You can fix the date and quantity of an existing order to keep an order from being changed if new
orders are scheduled automatically, optimization is performed, or changes are automatically
transferred to a higher level.
n Fixing dates: You can fix the dates of an order by fixing the operation. The date is not changed for a
fixed operation if you have manually rescheduled the operation in the planning board in detailed
scheduling.
n Fixing the order quantity: The order quantity is fixed in the following cases:
Changing the component quantity manually:
- If you change the order quantity of a component, the system automatically sets the Input fixed
and Output fixed indicators.
- If the Input fixed indicator is set, the product requirements of an order are fixed. If the
production process model (PPM) for the order is changed, that is, you change the quantity of a
component, the PPM is not exploded again for the order. The status is the same as a fixing of
the explosion in the R/3 System.
- If the Output fixed indicator is set, the order quantities of the product receipts are fixed. The
quantity of an order with this status cannot be changed or deleted in automatic planning even if
the requirements quantity has changed. The status is the same as for order header fixing in the
R/3 System. Production orders and purchase orders transferred from the R/3 System have the
status Output fixed in APO.
Manually setting the Output fixed indicator: You can do this for each order in the Process order
dialog box.
n Planned orders transferred from APO to R/3 are fixed in R/3. In this case, it does not matter if they
are fixed in APO or not.
C D C D
Time
ã SAP AG 2001
n The planning time fence specifies a time period in which changes to the production plan could have
a negative effect on the requirements plans of the components, capacity plans, customer deliveries or
costs. You can use a planning time fence to prevent automatic changes from being made to
production within a certain time period. Within the planning time fence, only manual changes can be
made to the receipt elements. Automatic changes by a heuristic or an optimizer are not executed
within the planning time fence.
n You can maintain an individual value (such as 15 days) for the planning time fence for each product.
The end of the firm or trade-off zone can be placed interactively on a certain date (such as 1 May) on
the planning interface for each product. The fixed area is determined from the maximum of the
planning time fence and the time fence.
n If the system generates planned orders that are outside of the firm or trade-off zone, they can be
changed according to the planning logic of the system. Within the firm or trade-off zone, changes
can only be made manually by the MRP controller.
n If a new requirement is added to the firm or trade-off zone for example, the system generates a
planned order and puts it at the end of the firm or trade-off zone with the start date (forward
scheduling). This ensures that the existing plan is not influenced.
n Planned orders that end up in the planning time fence due to advancing time are fixed dynamically,
as soon as their finish date (not start date) is in the planning time fence.
n Planned orders that are rescheduled by the MRP controller are considered "fixed" and are not
changed by the system. Planned orders within the firm/trade-off zone are also considered fixed.
Fixed planned orders are marked with a star (*) in reports.
n Prerequisite: If you maintain a certain number of work days in the Planning time fence field on the
MRP tab in the R/3 material master, this value is transferred to the Planning time fence field in the
APO product masters via the R/3-APO interface.
n Note: The propagation of changes within constraint propagation also takes place within the planning
time fence, which means it is also in some way part of manual changes. The use of the planning time
(C) SAP AG AP220 3-35
fence can be switched off for the whole planning version. You can do this in planning version
maintenance.
Bill of
material
A
B1 B2
Automatic
C1 C2 Manual procurement
monitoring proposals
B1
*
Planning levels
End of the
B2 * planning time
C1 * fence
C2 * Not fixed
*
Time
ã SAP AG 2001
n In this graphic, the planned order for product A is within the firm/trade-off zone. It is therefore
considered fixed and not automatically rescheduled.
n The supply plan for the components therefore remains stable.
n If required, the system suggests changes to the plan that are displayed as exception messages in the
reporting lists. The MRP controller can check these messages and decide whether or not to make the
changes.
n Planned orders that are fixed via the planning time fence are fixed dynamically and therefore not
marked for a fixed dates or fixed order quantity.
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n Net requirements calculation is the first step in the production planning run:
The system checks whether the requirements (for example, sales order, planned independent
requirements) can be covered by available warehouse stock or by receipts (orders).
Shortage
Stock
Safety stock
ã SAP AG 2001
n The available MRP stock is compared to the fixed receipts (purchase orders, production orders fixed
planned orders, fixed purchase requisitions, etc) on the one hand, and the requirements including the
safety stock on the other hand (the safety stock is considered a requirement that also has to be
covered).
n The system uses pegging relationships (links) to assign the requirements to available receipt
elements. When enough stock or orders are available to cover the requirements, planning is
complete.
n A shortage results when not enough stock or orders are available to cover the requirements. In this
case, lot-size calculation determines in what amount a receipt is required.
n Net requirements calculation process for fixed orders that are chronologically delayed after a
requirement (and if delayed, are not allowed in the product master due to the Maximum duration of a
backward pegging field): In this case, planning tries to generate a new planned order that covers the
requirement in time (at or before the requirements date). If this is possible capacity-wise, a new
planned order is created, and the fixed late planned order contains an exception messages (alert),
which states that there is a surplus. If the newly generated planned order cannot be scheduled in time
for capacity reasons, (if, for example, the capacities are already committed) and is not scheduled
until after the fixed planned order, the system recognizes that the new planned order would be less
suitable that the fixed planned order and the new order is not created.
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n In net requirements calculation, the system calculates the shortage quantities for each requirement
date. These shortage quantities must be covered by receipt elements. The amount of the receipts is
determined by the system during a planning run in lot-size calculation.
n You determine how the lot sizes are calculated by choosing a lot-sizing heuristic in the product
master (PP/DS view). If you have not entered a lot-sizing heuristic in the product master, the system
uses the heuristic you defined in Customizing for PP/DS as the product heuristic. The lot-sizing
heuristics in the product master perform a fixed, predefined lot-sizing calculation, while also taking
the lot-sizing parameters (such as the maximum lot size, the rounding value, the fixed lot size)
maintained on the Lot size tab in the product master into account.
n If you use the lot-sizing heuristic SAP_PP_002 (planning standard lots), only the lot-sizing
parameters defined on the Lot size tab in the product master are used (for example, the fixed lot size
100 pieces). You can use other lot-size calculation functions when you choose a different lot-sizing
heuristic: If you have chosen, for example, lot-sizing heuristic SAP_PP_004, you can use different
periods of different lot-sizing procedures. In this case, the lot-sizing heuristic SAP_PP_004 also
considers the lot-sizing parameters defined on the Lot size tab in the product master, such as fixed lot
size = 100 pieces or rounding values allowing rounding to be performed.
n The result of the lot-size calculation is the quantity to be produced or procured. You can display and
change this quantity in the procurement proposal.
Static, Optimizing
periodic procedure
SAP_PP_002: SAP_PP_005:
Planning of Part period
standard lots balancing
SAP_PP_C001: SAP_PP_006:
Planning standard Least unit cost proc.:
lots for conti -I/O External procurement
SAP_PP_003:
SAP_PP_014:
Planning of material
Groff procedure
shortage quantities
SAP_PP_004:
Weekly lots in
4 week horizon
SAP_PP_007:
Reorder point
planning
ã SAP AG 2001
SAP_PP_004:
Weekly lots in
Receipts 4 week horizon
Requirements
ã SAP AG 2001
n SAP_PP_004: Weekly lots in 4 week horizon: This heuristic is used to divide the time axis in up to
3 different areas for planning. This allows you to perform lot-size calculations in these time periods
using different lot-sizing procedures. You are given a rough forecast of the future production plan in
the long-term area (weekly lot size), but use an exact lot size in the short-term area.
n The settings for the different lot-sizing procedures are maintained like Customizing for heuristics.
The key for the lot-sizing procedure determines the lot size to be used in the short-term horizon for
the short-term area as well as the end of the short-term area or the beginning of the medium-term
area. You define the length of the short-term period by entering the periodicity (such as month or
week) and the number of periods. You also determine the length of the medium-term area and the
end and beginning of the long-term areas by entering the valid lot-sizing procedures.
Reorder
point
Safety
stock
n Manual reorder point planning belongs to the consumption-based planning procedures. This
procedure is especially simple and is primarily used for B items and C items, products that are
produced in high quantity but which have low value.
n The planning is controlled by a manually entered reorder point (for example, 1000 pcs). In the
production planning run, the system only checks whether or not this reorder point has been reached
(whether the stock is below 1000 pieces). If the stock is below the reorder point, procurement is
triggered in the amount required to reach a defined product storage capacity (Fill to maximum stock).
The procurement element (the purchase requisition or planned order) is scheduled from today's date
via forwards scheduling (here the planned delivery time of the product at the supplier as well as the
goods receipt processing time from the product master are taken into account). If it is a stock
transfer, the goods issue processing time in the delivering location, the transportation duration and
the goods issue processing time in the receiving location are taken into account.
Procurement is not triggered again, however, if receipts that are already fixed (such as fixed purchase
requisitions or planned orders) are in the future for the whole period.
n Prerequisite: In the R/3 material master, you have maintained the fields Reorder point and Max.
stock level and transferred them to the Reorder point and Prod. stock capacity fields in the APO
product master via the R/3-APO interface. Additionally, you have maintained the Reorder point
planning heuristic in the APO product master.
n If, for example, scheduling agreement delivery schedules have been directly generated for externally
procured materials by planning, there is little administrative effort for this type of planning.
n Consumption-based planning only makes sense for materials with similar consumption processes
and, in addition, timely inventory management is required.
ã SAP AG 2001
n Dynamic lot-sizing procedures optimize the total costs, which consist of order costs (lot size fixed
costs) and storage costs.
n Based on different cost criteria, the different dynamic procedures combine current and future
requirements into a lot in such a way that the total costs are optimized.
n SAP_PP_005: Part period balancing: You can use this heuristic to calculate the setup and storage
costs while calculating the lot size. Starting from the date of the product shortage, sequential
requirements are collected in a lot until the total storage costs exceed the setup costs. This procedure
takes lot-size parameters into account.
n SAP_PP_006: Least unit cost procedure: External procurement: You use this heuristic to
optimize order quantities while taking requirements, storage costs and suppliers into account. The
system considers the different delivery periods and discount levels of the suppliers and determines
the costs per unit for each supplier, while also taking the storage costs into account (discount levels
are also taken into account in static, periodic lot-sizing procedures, but not in optimizing procedures
SAP_PP_005). Lot sizes are formed based on optimum discount levels and costs per unit.
n SAP_PP_014: Groff procedure: See online help.
Lot-for-lot
Quantity
Receipts
Reqmts
Time (exact)
ã SAP AG 2001
n For an exact lot size (lot-for-lot) a procurement proposal is created in the amount of the shortage. If
there are several requirements for one day leading to a shortage, procurement proposals are generate
using exact times (to the second). For the corresponding requirements date, the planned warehouse
stock equals 0. If you want to generate a procurement proposal in the total amount of the shortage
quantity (such as one day), you can use the period lot-sizing procedure.
n Fixed lot size: If there is a shortage of a product, the system uses the fixed lot size defined in the
product master record in its calculation. If the quantity of the fixed lot size is not enough to cover the
shortage, several lots in the amount of the fixed lot size are scheduled at the same time until there is
no more shortage.
Use: It is a good idea to choose a fixed lot size for a product if technical issues, such as the pallet size
or tank content, so require.
n If you replenish to the maximum stock level a procurement proposal is created for the amount of a
defined maximum stock level for shortages (Maximum product stock capacity field in the APO
product master). If the shortage quantity of a day is larger than the maximum stock, the lot size
equals the shortage quantity. A balanced stock/requirements situation has priority over the lot-sizing
procedure. Another option is that so much can be ordered that the maximum stock is reached and
further requirements are also covered (in the APO product master, reorder point planning can be
combined with all lot-sizing procedures: for example, the fixed lot size can be set or the rounding
value can be used, for example, minimum lot size, maximum lot size, rounding quantity).
Prerequisite: In the PP/DS view in the APO product master, maintain the heuristic SAP_PP_007
reorder point planning. In accordance with the standard Customizing, this heuristic prefers a
heuristic of replenishing to the maximum stock level (Maximum product stock capacity field in the
APO product master), as soon as a certain reorder point has not been reached (reorder point
planning). Therefore, maintain the maximum stock level in the R/3 material master in the maximum
stock level field. This value is transferred to the Maximum product stock capacity field in the APO
product master via the R/3-APO interface. Also maintain the reorder point in the R/3 material master
in the Reorder point field. This value is transferred to the Reorder point field in the APO product
master via the R/3-APO interface.
(C) SAP AG AP220 3-45
(C) SAP AG AP220 3-46
Static Lot-Sizing Procedure: R/3 Integration
Material A Product A
APO
MRP 1 Lot size
Lot-size data Procedure
EX Lot-for-lot Lot-for-lot
Lot size
HB Repl. to max. Fixed lot size
... level
stock Maximum product
Maximum stock 100 stock capacity 100
Material A Product A
APO
MRP 1 Lot size
Lot-size data Procedure
Fixed lot size 100 pcs Fixed lot size 100 pcs
By period Per. ind.
Customizing lot size FX
Lot-size ind. F Fixed lot size
ã SAP AG 2001
n The static lot-sizing procedures lot-for-lot, fixed lot size and periodic lot-sizing can be transferred
from the R/3 material master to the APO product master via the R/3-APO interface.
n The lot-sizing procedure lot-for-lot in the R/3 material master is transferred to the APO product
master as the "lot-for-lot" lot size.
n The R/3 fixed lot size is transferred to APO as the fixed lot size. The system refers to Customizing
for the R/3 lot-sizing procedure (see the Customizing step "Check Lot-Sizing Procedure"): If the lot-
sizing indictor is defined here as "F" the fixed lot sized is set in APO. The value defined in the R/3
material master is also transferred for the fixed lot size.
n The lot-sizing procedure replenish to maximum stock level is transferred from the R/3 material
master to the APO product master as lot-for-lot since the replenish to maximum stock level
procedure is represented differently in APO. In APO, replenishment to maximum stock level is
possible in connection with consumption-controlled reorder point planning, which is controlled in
APO via a heuristic in the product master that can be combined with any other lot-sizing procedures
(for example, lot size in combination with rounding values). The reorder point and maximum stock
level maintained in the R/3 material master are transferred via the R/3-APO interface as the reorder
point and maximum product stock capacity.
n The Lot-size calulation in sales order planning indicator in the APO product master (Lotsize view)
allows you to specify that a certain lot-size procedure is to be used in make-to-order production or
individual project planning. If you do not set the indicator, an exact lot size is always used and the
system does not consider additional restrictions such as the minimum and maximum lot size or the
rounding value when planning for make-to-order production or project individual planning.
Receipts
Time
Requirements
Period 1 Period 2 Period 3
ã SAP AG 2001
n In the period lot-sizing procedure, the system combines the procurement of requirement quantities
within a time segment to a lot size. The period lengths can be hours, days, weeks, months, or 10 day
"decades" (asian: decades of a month are the periods between the first, tenth and twentieth of a
month ) or periods that can be user-defined according to the planning calendar.
n You can choose the number of periods within which the procurement quantity is to be combined. If
the number is to be larger than one, the number is entered in the No. of periods field in the R/3
Customizing step Check Lot-Sizing Procedure for the lot-sizing procedure selected in the R/3
material master. This value is also transferred to the APO product master.
n You can place the resulting receipt at the period start, period finish, or on the date of the first
requirement, by maintaining the corresponding value in the Scheduling field in the Customizing step
Check Lot-Sizing Procedure . This value is also transferred to the APO product master.
If you have specified in Customizing that the availability date is at the start or finish of the period,
the date of the planned order generated is moved accordingly.
00
0
/1
7/20
07
We
e,
W
07/1
, 07
/24
We,
/
20
00
Time
ã SAP AG 2001
n In the period lot-sizing procedure according to the planning calendar, the system combines the
procurement of requirements quantities within a time segment (for example, between each
Wednesday) to a lot size that is defined using the planning calendar.
n Prerequisite: Maintain the lot-sizing procedure lot size according to planning calendar in the R/3
material master or the lot-sizing procedure period lot-size with the period indicator calendar in the
APO product master. Maintain a planning calendar in the R/3 material master (MRP 2 view) or in the
APO product master (Lot size view). The planning calendar is defined in the R/3 requirements
planning menu (submenu of Master Data) or as the time stream in APO Customizing.
APO
Material A Product A
MRP 1 Lot size
Procedure
Lot size PL Period lot size
Lot-for-lot
Customizing lot size PL Fixed lot size
T Daily D Day
M Monthly M Monthly
ã SAP AG 2001
n The period lot-sizing procedure can also be transferred from the R/3 material master to the APO
System.
n The system refers back to R/3 Customizing, which is behind the lot-sizing procedure in R/3 (see the
R/3 Customizing step Check Lot-Sizing Procedure). If "P" (period lot size) has been defined for the
lot-sizing procedure here, a period lot size will also be set in APO.
Additionally, the Lot size indicator in Customizing determines which period indicator is transferred
to APO: The period indicators D (day), W (week), and M (month) can be transferred. If you want to
use the periodicity H (hours) and transfer the data from R/3, you can use a customer exit to do this
(since the periodicity H is not realized in R/3).
The number of periods within which the procurement quantity is to be combined is also transferred.
n The Scheduling indicator in R/3 Customizing of the lot-sizing procedure is transferred to APO in the
same way: For the setting Availability date=Requirements date, the Availability date indicator in the
product is left blank for the product, for the setting Availability date=Period start the Availability
date indicator is set to X and the period factor to 0, for the setting Availability date=Period end the
Availability date indicator is set to X and the period factor to 1. Additionally, you can use any period
factor (for example, 0.5) to make the availability date of the procurement element exactly, for
example, half of the period in the APO product master. If you want to use a period factor (such as
0.5)and transfer the data from R/3, you can use a customer exit to do this (since the period factor 0.5
is not realized in R/3).
Product A
R/3 Lot size APO
Mat. A Min. lot size 10 pcs
n Use: Rounding is used to adjust units of measure to delivery and tranportation units of measure when
planning product requirements. For example, you must round when orders can only be delivered in
containers of 10 pieces.
n You can maintain the following rounding options in the product master:
Minimum lot size: The minimum lot size specifies a minimum procurement quantity that must be
reached for each lot
Maximum lot size: The maximum lot size specifies a maximum procurement quantity for each lot
Rounding value: You enter a rounding value and can round up to a multiple of its value
n Prerequisite: In the MRP 1 view of the R/3 material master, you maintain a minimum and/or
maximum lot size and/or a rounding value. They are transferred to a field of the same name in the
product master (Lot size view) via the R/3-APO interface.
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n While the procurement proposal is being determined, the system checks whether the receipt is to be
procured via in-house production or external procurement.
n Note on planning externally procured products in APO: You can use planning tools and planning
functions, such as finite scheduling of products (including externally procured products) and
heuristics for purchase order optimization in APO to efficiently plan critical materials that are
procured externally. Purchasing information that is now available in the APO System allows you to
improve cooperation between the plant and suppliers. You can, for example, send suppliers delivery
schedules directly by e-mail when processing scheduling agreements, or have the suppliers confirm
the delivery schedules via the Internet. Another advantage of planning externally procured products
in APO is that you can use resources to schedule externally procured orders in production planning
and detailed scheduling. This allows you to exactly schedule goods receipts, transportation and
goods issues while taking capacity into account.
Procurement Types
ã SAP AG 2001
n While the procurement proposal is being determined, the system checks whether the receipt is to be
procured via in-house production or external procurement. External procurement in APO can be both
procurement from external suppliers or procurement from a different plant. The most important types
of external procurement include scheduling agreements, purchasing info records, contracts,
subcontracting, and consignment. The selection of the procurement type is controlled via the
Procurement type field in the product master (Procurement view):
If you have entered in-house production, the system generates planned orders.
If a product is to be procured externally, the system generates purchase requisitions, or delivery
schedules for scheduling agreements or contracts.
If you have specified that the product can be procured externally or produced in-house, the system
can create planned orders for in-house production, or purchase requisitions, delivery schedules for
scheduling agreements/contracts or stock transfer orders for external procurement.
n Prerequisites:
You have defined the procurement type on the MRP tab in the R/3 material master (E for in-house
production, F for external procurement or X for in-house production or external procurement).
This is transferred via the R/3-APO interface to the product master (Procurement tab).
If a source of supply determination is also to take place for suppliers, you must transfer purchasing
info records, scheduling agreements, and quantity or value contracts from R/3 to APO. A source
list is not required in APO like it is in R/3. The source of supply determination always takes place
in APO via priorities and costs, and not via a source list.
If a type of procurement other than in-house production or external procurement is used, this is
controlled by the special procurement key in the R/3 material master (for example, transfer stock
from other plants, subcontracting). In APO, special procurement is visually represented in a
different manner. Stock transfer from a different plant is realized using a transportation lane
between the delivering and receiving plants.
Selection of source
of supply for
in-house production
and external
procurement
ã SAP AG 2001
n Determination of alternative procurement possibilities: During planning, the system choose the
source of supply based on the following criteria: 1. Meeting due dates: A source of supply is used
which can deliver the required quantity on time. 2. Priority (highest priority = 0): If several sources
of supply can deliver on time, the source of supply with the highest priority is selected. 3. Costs: If
there are several sources of supply with the same priority, the system considers the costs.
n Prerequisite: You have alternative sources of supply for the product (different PPMs for in-house
production, and for external procurement different transportation lanes in the Supply Chain Engineer
due to the transfer of different purchasing info records, scheduling agreements and/or contracts from
R/3).
You have maintained priorities in the product-plan assignment in the PPM.
You have maintained the procurement costs for each alternative:
- For in-house production, maintain the costs in the PPM (Goto -> Costs). You can maintain the
costs for the actual procurement operation (Costs - single-level) and for the complete
procurement operation starting from this level (Costs - multi-level). Single-level costs are only
used in SNP optimization to evaluate a plan, and multi-level costs are used in PP/DS to select
the source of supply (make sure that the costs are comparable for all production levels!). The
costs do not have to be entered in a specific currency or have anything to do with the actual
costs. Only the alternatives for a product are compared.
- For external procurement and stock transfers, you maintain the costs for the manually created
transportation lanes in the Supply Chain Engineer. If you have transferred purchasing info
records, scheduling agreements or contracts from the R/3 System, the costs (purchase price)
maintained there are displayed directly in the external procurement relationships. You can,
however, maintain or change the priorities and costs in the transportation lanes from the
external procurement relationships at any time. SNP procurement costs from the product master
(Procurement tab) are not considered in PP/DS.
ã SAP AG 2001
n Procurement type E (in-house production): If you have maintained several PPMs for in-house
production, the system determines the PPM with the highest priority. If several PPMs have the same
priority, the system chooses the PPM with the most favorable costs based on the costs you have
entered for each PPM. If the most cost effective PPM cannot be used on the requirements date (for
example, because there is no available capacity at the resource on this date and this would cause a
due date violation since the order could be planned until later), the system chooses the next most
favorable alternative. If all PPMs cause a due date violation, the PPM for which the time of
requirements coverage is the closest to the time of the requirement is selected.
n Procurement type F (external procurement): In external procurement, the system determines
the source of supply using the data you have maintained in the transportation lanes and in the
external procurement relationships. It also chooses an alternative based on the priorities and costs.
If the system does not find any transportation lanes/external procurement relationships, it generates a
purchase requisition without a supplier and uses the planned delivery time from the product master
(GI/GR tab).
n If both in-house production and external procurement are allowed (procurement type X), the
APO System chooses the source with the highest priority. If several procurement options have the
same priority, the option with the most favorable costs is used. The costs in the transportation
lane/external procurement relationship and the PPM are compared. If the costs are the same, the
system triggers in-house production.
n Procurement type P (external procurement planning): The product is not produced in the
location, nor are orders created for it. Unlike in-house production or external procurement, the
planning does not take place in APO. Instead, stock shortfalls are replenished by the OLTP system.
n Note: If you have specified quota arrangements and entered a quota arrangement heuristic in the
Heuristics field on the PP/DS tab in the product master, the requirements quantities are distributed
according to the defined quotas. The quota arrangement items are planned according to the heuristic
defined at the quota arrangement item level. The quota arrangement therefore has the highest
priority.
(C) SAP AG AP220 3-55
(C) SAP AG AP220 3-56
Steps in the Production Planning Run (4)
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n For assemblies produced in-house, a PPM is exploded: When exploding PPMs for products, the
system determines component requirements as well as the net duration and resource consumption of
activities. The system takes restrictions into account (for example, min-max relationships, scrap, etc.)
The valid PPM is determined and exploded for each planned order in the planning run.
Goal
Plan explosion
(product master) Selection of BOM
(PPM explosion, BOM/routing explosion R/3, runtime object)
ã SAP AG 2001
n The PPM is exploded in the planning run for each new planned order of an assembly. The valid PPM
is determined in the following steps:
In the product master, the system checks whether the plan explosion is to take place via the PPM
in APO, via the BOM/routing in R/3 (which is not recommended), via the runtime objects or via
the iPPE (for customers who use an R/3-DI System, Automotive, Aerospace&Defense, High
Tech).
For the PPM explosion, the system checks which PPM PP/DS-PPM uses.
The system checks which PPM is valid for the order quantity and the order date (Finish date
?????)
If several PPMs meet the selection criteria, the PPM is selected based on the following points:
1. meeting deadlines 2. priorities and 3. costs.
n The validity of a PPM is also specified by the Active indicator. The PPM must be active to be used
in the production planning run.
Lot-size calculation
Procurement type
PPM Explosion
Scheduling
ã SAP AG 2001
Availability date
Operations
Stock transfer 10
GR processing time
to a different
plant GI processing time GR processing time
Assembly of
a different 10 20
plant
10 GR processing time
GR processing time
ã SAP AG 2001
n When the lot size of the planned order has been determined and the PPM has been exploded, the
production planning run calculates the dates of the planned orders.
The dependent requirement dates of the planned orders are moved to the dates of the assigned
operations (PPM). A material order appropriate for the operation is then possible.
n The system assumes material staging according to component assignments in the PPM to the
operations in the PPM. The dependent requirement dates of the BOM components are moved to the
production start dates of the operations to which they are assigned.
ã SAP AG 2001
n During detailed scheduling, the system determines to the second the exact start and finish dates for
the activities of orders or operations at the resources, and schedules the orders and operations at the
resources. Capacity availability and pegging relationships can be considered simultaneously. In
addition to the desired scheduling date of the operation or order, detailed scheduling is based on the
net durations and resource consumptions of the activities that the system calculates during the
explosion of the production process model on the basis of the quantities to be produced.
n Detailed scheduling constraints can be specified in:
• Production process model (PPM): Along with the resource consumption and activity duration
(defined per base quantity of the main product), you can also specify, for example, whether there
are time relationships between the activities of different operation, how large the minimum and
maximum time intervals are between the activities, and whether activities can be interrupted by
non-working times (breaks).
• Resource: Along with the working and non-working times, you can also specify the rate of
capacity utilization for the resource, whether the resource can be occupied by several activities at
the same time (multi-resource ), or whether it can only process once activity at a time (single-
resource), how large the capacity of the multi-resource is, whether the resource is to be scheduled
finitely or infinitely.
• Strategy profile: Here you specify the detailed scheduling strategy with which the system performs
scheduling or rescheduling.
ã SAP AG 2001
n You use the detailed scheduling strategy to specify which rules the system uses to schedule or
reschedule orders and operations, and which scheduling constraints (for example, product and
resource availability) it considers when doing this. Additional operations may be affected by the
scheduling or rescheduling of an operation that you have selected for scheduling. The system must
also reschedule these operations so that the schedule remains consistent. Rescheduling an order can
therefore trigger a chain reactions of further rescheduling.
n Scheduling direction: Specifies in which direction the system searches for a scheduling date,
starting from the desired scheduling date.
n Offset time: Time period in which you can move the earliest start date for an operation or order from
the current date or current time into the future or past.
n Find slot: Schedules an operation in the first slot with sufficient capacity in the scheduling direction.
n Insert operation: Schedules an operation in an existing schedule on or as close as possible to the
desired date.
n Finite scheduling: Considers the existing capacity load on the resource caused by the operations
already scheduled.
n Schedule to non-work times: Schedules operations manually, that is, using drag and drop, to non-
working times. This strategy is only relevant for the planning table.
n Scheduling sequence: Specifies in which sequence the operations or orders for an operation group
or order group are scheduled.
n Consider order-internal relationships: Considers the relationships and the time constraints
between activities and operations.
n Consider pegging relationships: Considers fixed and dynamic pegging relationships between
orders.
20
Resource 2
10
Resource 1
Today t
Available
Occupied
New order
ã SAP AG 2001
n Resource availability: In general, you can only process activities during the working times of a
resource, and you can therefore only schedule these activities in regular working times. You can
schedule activities finitely or infinitely, that is, with and without consideration of the resource
capacity and the existing resource load. If necessary, it must be possible to interrupt any activities
that last longer than a related working time so that they can be scheduled.
n Dates and planning directions: Starting from the desired date, the system searches for a scheduling
date in the set planning direction for the last activity (planning direction backwards) or for the first
activity (planning direction forwards) of an operation or an order. In doing so, the system considers
the settings in the strategy profile, in the PPM and in the resources. When the first activity is
scheduled, the next activity in the planning direction is then scheduled, and so on until all activities
of the operation or the order are scheduled. The system basically cannot schedule an application-
specific activity before the earliest possible date or after the latest possible one.
20
Resource 2 20
10
Resource 1 10
Today
20
Resource 2
10
Resource 1
Today t
Available
Occupied
New order
ã SAP AG 2001
20
Resource 2
10
Resource 1
Today t
Available
Occupied
n In the alert monitor profile, you define for which products and resources and for which situations the
system is to display alerts. Resource overload alerts are only displayed if you have defined a resource
as a finite resource.
ALERTS:
Resource Overload
20
Resource 2
10
Resource 1
Today t
Available
n You define in the alert monitor profile, for which products and resources and for which situations the
system displays alerts. Resource overload alerts are only displayed if you have defined a resource to
be a finite resource.
l Finite scheduling
n Specifies that during scheduling the system takes already
existing resource load into account
n Display of alerts depends on resource and strategy indicators
Finite resource
alert alert
No rescheduling / No rescheduling /
Infinite resource
no alert no alert
ã SAP AG 2001
l Always consider
Resource 1
Resource 2
Min : 12:00:00 AM h
Resource 3
t
Today
Occupied
Order
ã SAP AG 2001
n Time relationships between activities: Time relationships can exist between activities that control
which minimum and maximum time intervals the activities can have. The system always considers
the obligatory end-start relationships between activities for an operation. For example, when you
have entered a minimum interval of one hour between two activities in an operation, the system
cannot schedule these activities in such a way that the time interval is less than one hour. Order-
internal relationships are the predecessor/successor relationships of activities and the time constraints
for the sequence of activities.
n In the detailed scheduling strategy, you can specify whether or not the system considers the time
relationships between activities for various operations.
Production Transport
Storage Handling
ã SAP AG 2001
Resources Calendars
Handling resource
Resource inbound
Resource outbound
Storage resource
Time zone
Calendars
n Production
Geographical data n Warehouse
n Shipping
ã SAP AG 2001
n The time zone is used in PP/DS to convert times if the order dates are not to be displayed in the time
zone of the user, but rather in a different time (settings in the product view)
n The geographical data is only used in PP/DS to display the locations in the Supply Chain Cockpit.
Activity
Mode 1
Mode 2
30 min
60 min
Resource 1
Time
ã SAP AG 2001
n Resource selection when using alternative resources: You can enter several alternative resources
in the PPM (via alternative mode maintenance) at which the activities can be executed.
1
Resource 1 and 2 are Resource 1
alternative resources
Resource 2
Time
2
Alternative resources Resource 1 1
(alternative modes) are filled.
The resource which allows Resource 2
for the earliest finish date is
selected.
3
Resource 1 1
Resource 2 2
Resource 1 6 3 1
Resource 2 5 4 2
n During scheduling, the system selects the mode (and the resource) as follows:
In interactive planning as well as in the planning run, the system automatically chooses an
operation for the mode with which it, depending on the planning direction,
- Can start the operation as late as possible (for backward scheduling)
- Can finish the operation as early as possible (for forward scheduling)
- If several modes with different priorities can meet the scheduling criteria, the system chooses
the mode with the highest priority.
During manual scheduling in the DS planning board, an operation is already scheduled in a certain
mode. You can select another mode for the operation by using Drag&Drop to shift the operation
to a resource of another mode. In addition to the modes that can only be scheduled manually with
priority Z, you can also schedule the modes that can be scheduled by the system with priorities A
to O. You can only change the mode in the DS planning board.
n Prerequisite: You have maintained more than one mode for each activity in an operation in the
PPM. You have assigned the same priority to modes that are linked.
Requirements time A C B A A
Time
Setup Setup
A Setup time C time B time A A
Operations of products A to C in paint shop (scheduling during production planning run)
ã SAP AG 2001
n Setup time adjustment: The duration of the setup activity for an operation may depend on the setup
status of the resource at the time of rescheduling, which means it depends on which operation was
processed prior to this at the resource. When scheduling or rescheduling an operation at a single
resource, the system automatically adjusts the duration of the setup activities for the operation to be
scheduled to that of its predecessor.
n Prerequisites:
You have defined a setup matrix (with setup keys or setup groups as setup transitions) in the
PP/DS master data menu.
You enter the setup matrix in the resource you want to use to represent sequence-dependent setup
times (you can only use single resources since setup matrixes cannot be entered in multi-
resources).
If you work with R/3 work centers that have two capacity categories (for example, machine and
labor), you receive two resources in APO. In this case, only enter the setup matrix in the resource
that is only used as the primary resource in the PPM (this is the R/3 work center capacity category
indicated as the scheduling basis), not in the one used as the secondary resource.
• You have maintained the following data in the PPM for operations that are to be setup at the single
resource depending on sequence.
• Setup key or setup group The setup group/setup key in the PPM are copied from the R/3 routing
if they have been maintained there.
• For the operation, you have defined a setup activity (activity type S (setup)) and also set the
Setup activity indicator so that the setup time is read from the setup matrix and not from the
mode. In the case of setup activities for which you do not set the indicator, the system uses the
setup time from the mode, and not from the setup matrix; that is, the duration of the setup
activity is constant and is not dependent on the sequence. An operation may only consist of one
setup activity. If an operation covers several activities, the setup activity must be the first
Setup matrix
l Parameters in the setup
Setup Setup Setup matrix:
status 1 status 2 status 3
n Type of setup transition
ã SAP AG 2001
n A setup matrix is a matrix that contains, for each possible setup transition at a single resource, the
setup duration and the setup costs that are necessary to change the setup status of the resource to
another setup status.
n In the setup matrix you define all transitions between the various setup statuses of the resource. A
setup status is defined by the setup group or the setup key for the operation being processed at the
resource.
• You use setup groups to define the standard setup transitions at the resource.
• You use setup keys to define the exception setup transitions for a standard setup transition.
n For performance reasons, it is recommended that you define setup matrices that are as small as
possible, with only a few setup transitions. Therefore, you should do the following:
• Maintain the setup statuses using setup groups and setup keys only to a degree of detail that is
necessary
• Use as few exceptional setup transitions as possible
• Use setup groups/setup keys for different operations/products with similar setup times and setup
costs.
APO
Report
Customizing: Setup group
Capacity req. plng Setup group 1 Color
Setup group Setup key Description
1
category 10 White
Setup group 20 Yellow
10
key
ã SAP AG 2001
n Completeness of setup matrix: The setup matrix must contain all setup transitions that can occur at
the resource. You do not have to define each setup transition explicitly. Using an asterisk (*), which
you enter in a setup transition instead of a setup group, you can define generic setup transitions in the
setup matrix. However, the asterisk (*) only replaces the setup groups that you also use in the setup
matrix explicitly to define setup transitions, and not all setup groups that you defined for the
location.
• Using the setup groups A, B, C and the setup key a, you have defined the following setup
transitions in the setup matrix: AB, AC, Aa.
• Using a setup transition ** in the setup matrix, you include the following setup transitions: AA,
BA, BB, BC, CA, CB, CC. These are the missing combinations for the setup groups used
explicitly in the setup matrix. If you have also defined the setup groups D, E and F in the location,
the setup transitions with these setup groups are not included when using the generic setup
transition **. You have only explicitly used the setup groups A, B and C in the setup matrix.
• By entering a setup transition *a, you are including the following setup transitions: Ba, Ca. These
are the missing transitions for the setup groups used explicitly in the setup matrix according to
setup key a.
n Initial setup statuses: If, for example, you reschedule an operation in the DS planning board at a
time in which no operation is scheduled in the display period, the setup status of the resource is not
defined for the system since no operation has been processed on it yet. In such cases, you can enter
setup transitions in the setup matrix between an initial setup status for the resource and the possible
setup statuses. You define such transitions by not entering a setup group or a setup key for the
preceding setup status.
Activity: Setup
Activity: Production
CIF
Operation 20 Operation 20: Paint 10 (white)
Setup group category: 1
(color) Primary
Activity: Setup W1906_1000_001
Setup group key: 10 resource
Activity: Production W1906_1000_002
(white)
ã SAP AG 2001
n Transfer of setup keys, setup groups, and setup matrices from R/3 Customizing: Setup keys,
setup groups, and setup matrices cannot be transferred from an R/3 System by means of the CIF
interface. You can transfer these objects to another system using the following reports:
/SAPAPO/SETUP_GROUP_COPY (setup groups and setup key),
/SAPAPO/SETUP_MATRIX_COPY (setup matrices).
A prerequisite for transferring them is that the locations for which these objects were created are
available in the target system. This is also true for the plan numbers which you can specify in the
setup matrices for campaigns. These plan numbers must also exist in the target system. You define
the target system by specifying the RFC destination of the system.
n After you have transferred setup data from R/3 Customizing via the special report to APO or have
maintained it manually in APO, you transfer the product masters and resources from R/3 to APO. As
soon as the resources are available in APO, you maintain the setup matrix you want to use in the
resources in the resource master in APO. Note: Setup matrices in the resource master are not
transferred from the R/3 work center since you can only maintain global setup matrices in R/3, but
cannot decide for each work center which setup matrix to use. In the R/3 resources in Process
Industries (PI), you can maintain matrices, however, these are only rough matrices in which you can
define transition times between products, but not between setup conditions. Therefore, the setup
matrices from the R/3 resource master cannot be transferred in PI.
As soon as you have maintained the setup matrix in the APO resource master, you can start to
transfer the R/3 routings. The setup group keys (for example, white) are automatically transferred
from the R/3 routing to the corresponding operation of the APO_PPM. In the APO-PPM, a setup
time is no longer displayed. The setup time in APO is taken dynamically from the setup time matrix
of the resource.
ã SAP AG 2001
R/3-System
Lieferplan
Lieferant: Müller
Laufzeit:
01.01.2000 - 31.12.2000
APO-System
Lieferplan im
R/3-System Lieferant Müller
Produkt
Schraube-01
Fremdbeschaffungsbeziehung Transportbeziehung
ã SAP AG 2001
Requirements date,
component
Planned delivery time: scheduling
via calendar to delivery location (infinite) Scheduling step 1 (infinite)
GR processing time
Today Time
The planned delivery time of a product is the total delivery time of a product (including good issue
times, production times at supplier) required by a supplier.
ã SAP AG 2001
n Scheduling of externally procured products: The goods receipt processing time as well as the
planned delivery time are subtracted from the requirements date. Scheduling step 1:
n The planned delivery time is the supplier's delivery time for a certain product.
In APO, the planned delivery time is scheduled via the production calendar of the supplier location
(this may, for example, take the plant vacation dates of the supplier into account). If the supplier
has not maintained a production calendar, the planned delivery time is assumed to be in calendar
days, just as in R/3 (Gregorian calendar, Monday to Sunday).
The planned delivery time can be maintained in the external procurement relationships
(purchasing info records, contracts, scheduling agreement), transferred from R/3. If no entry has
been made or zero has been entered there, the planned delivery time is taken from the product
master (transferred from R/3).
The planned delivery time is no longer considered once the order has been created. If the date is
changed manually and causes the planned delivery time to be is violated, an Alert is displayed.
n The goods receipt processing time is the time between the delivery of a product and its availability
as warehouse stock. This time is used, for example, for load transfer time or quality control.
Note: To allow the goods receipt to be planned for PP/DS, a handling resource with which the goods
receipt processing time can be scheduled must be defined in the location.
For a goods receipt in Supply Network Planning, one day is 24 hours. In PP/DS, one day is 24
working hours. This means that a handling resource must be available 24 hours a day for the goods
receipt to actually take only one day. If the availability of the resource is less than 24 hourse (for
example, because of breaks), a one-day goods receipt processing time can be distributed over several
days. Therefore, the handling resource entered in the location can or is to be defined as an infinite
multi-resouce with 24 hours of operating time.
GR processing time
Operations order in delivery location
Delivery time (from transportation lane)
Scheduling, step 2
10 20
(finite scheduling is possible!)
GI processing GR processing time: via handling resource in location master
time (finite possible)
Capacity for operation 20 occupied at supplier
Switch to forward
Availability date, component
scheduling
10 20
Today Time
ã SAP AG 2001
n Scheduling, step 2: The activities goods receipt in the plant, transportation, goods issue at supplier
(or other plant) as well as perhaps the operations at the supplier (supplier PPM) are scheduled.
Either the planning calendar or the resources are used to schedule:
If the resources are used to schedule (handling resources from location), the same scheduling
functions are used that are used in in-house production. This allows limited capacities to be taken
into account in scheduling (for goods receipt processes in the plant as well as goods issue
processes at the supplier, if desired). Each resource has an available time and available capacity.
The system uses this information to determine the dates and move the orders while taking the
working times and capacities into account during planning.
Resources are used to schedule if a resource is entered in the Handling resource inbound (for GR)
or Handling resource outbound (for GI) fields in the location of a resource.
If the planning calendar in the supplier location is used to schedule, the activities are fixed
(there is no fixing of the order quantity in the order header, but rather an activity fixing). A
production planning run can delete such orders and create them on a different desired date. When
you move orders to assembly level, however, the Consider Pegging strategy does not allow the
system to consider that purchase requisitions linked to dependent requirements are also to be
automatically moved; this keeps activities from being moved to non-working times during
planning. This type of scheduling restricts planning. To allow the planning function as much
flexibility as possible, you should schedule using resources.
You use the planning calendar to schedule if no resource has been entered in the location.
Note on stock transfers from different plants: At this time, the transportation lanes as well as the
delivery times must be maintained manually in APO for stock transfers between plants.
Products do not have to be created at the supplier (exception: when working with supplier PPMs
or subcontracting).
Dispatch calendar:
ã SAP AG 2001
n Resource load: All resoruces types can be used: Single resources, multi-resources, bucket resources,
single-mixed resources, multi-mixed resources. Goods receipts, transportation, and goods issues can
consume bucket capacity along with duration.
n The system calculates the bucket consumption from the following sources:
• Goods receipt: The bucket consumption comes from the location-dependent material master, the
resource from the location.
• Transportation duration: The bucket consumption comes from the product-dependent
transportation mode.
• Goods issue: The bucket consumption comes from the location-dependent material master, the
resource from the location.
n The bucket consumption, which can be maintained in the product master or transportation lanes,
always refers to a base unit of measure. If the available capacity of the resource is maintained in a
unit other than the base unit of measure of the product (for example, Kg instead of pieces), a
conversion factor must be defined in the product master.
n The resource consumption for multi-resources or multi-mixed resources is always one.
ã SAP AG 2001
5 5 5 5 5
1-5 Now
view the
planning
situation for
the APO
product T-
F2## in
location
1000
(Hamburg
production
plant) in the
APO
product
view.
Consider
the
component
list for the
planned
order for
product T-
F2## and
check the
requiremen
ts/receipts
situation for
all
component
s.
Were all
component
s
scheduled
in the
planning?
_________
_________
_________
_________
_________
(C) SAP AG ________ AP220 3-90
Exercises
Once you have carried out the planning run for your plant 1000 in
Hamburg, you should evaluate the dynamic pegging.
2-1-1
Double-click
on the last
planned order for
pump T-F2##. In
the following
order tree (on the
left side) double
click on the
product number
Pump T-F2##.
Is this planned
order pegged
with a demand?
View the Pegging
structure for the
order in the
Pegging
structure tab
(C) SAP AG AP220 3-92
page.
Optional exercise (not part of the standard course – can
be completed by the participants after the end of the
course)Unit: Simultaneous Material and Capacity
Requirements Planning (scheduling)
Once you have carried out the planning run for your plant 1000 in
Hamburg, you should evaluate the dynamic pegging.
3-1-1 Then
check the
scheduling
details for the
second planned
order for pump T-
F2## in plant
1000 in the APO
product view.
Which operations
are carried out in
the planned
order on which
resources?
When are they
carried out?
Paste the data
into the table
below
To view the
resource
start/end times
(C) SAP AG AP220 3-94
for the
operations,
Operatn. Operation Resource Start End
description date/time date/time
20
30
40
50
60
The resources on
which operations
30 to 60 are
carried out are
defined as finite
resources in the
resource master.
The resource, on
which the output
is assigned in the
PPM, can be
directly viewed in
a column of the
items list in the
product view.
1-1
1-2-1 Why have planned orders for the planned independent requirement for the
pump already been created?
Since “automatic planning immediately” is defined on the PP/DS tab for
product T-F2## in the product master, single level planning is triggered
automatically when a new requirement is entered.
1-2-2 When is the start and end of the planned order for the final assembly of
pump T-F2##?
Take the deadlines from the planned order header.
How many operations have been scheduled on the various resources in the
planned order?
In total, the six different operations from the PPM have been scheduled in
the planned order.
1-2-3 Why were planned orders already created for the dependent requirements
for product T-B3## (hollow shaft)?
The dependent requirements for the hollow shaft were planned immediately
since product T-B3## (hollow shaft) is also set to “automatic planning
immediately” in the APO product master.
Has component T-T4## (blank for shaft) also been planned automatically
and immediately?
The externally procured product T-T4## (blank for shaft) is not defined in
the APO product master with “automatic planning immediately”. Since all
dependent requirements for the blank are covered by the inventory level,
external procurement for the blank is not triggered.
1-3
1-4
1-4-1 APO Menu path: Production planning → Automated Production Planning
and Optimization → Production planning run
Is there dynamic or fixed pegging? With which demand is the planned order
pegged?
There is dynamic pegging.
2-1-2
2-1-3 Do new alerts appear online? Which alert appears? Why does the new alert
appear?
Alerts now appear which signal a “surplus” of the product, as the planned
order quantity exceeds the requirements quantity.
2-1-4
Now investigate whether pegging links are based only on planned orders or also
based on stock.
To do this access the APO product view again for product T-B1## (casing).
In the order tree (on the left side) double click on product number Pump T-
B1##.
Which scheduling strategy did you use for scheduling the planned orders?
3-2 Demo by instructor (course participants finish the exercise here). APO Menu path:
Production planning → Interactive production planning → Product view
3-2-1 Why did the system schedule the planned order at the time you entered (in
the participant exercise the system scheduled the planned order earlier)?
Because infinite planning was selected in the strategy, the system has
scheduled the planned order at the desired deadline even though there is no
free capacity.
Contents:
l Product View
l Product Planning Table
l Reporting and Planning Options in the Product View and
Product Planning Table
ã SAP AG 2001
ã SAP AG 2001
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
ã SAP AG 2001
Receipt Issue
l Requirements elements: sales
l Receipt elements: planned
orders, planned independent
orders, production orders,
requirements, dependent
purchase requisitions ...
requirements ...
n The product view is a current overview of the stock, the receipts, and the requirements for a product
in a specific location for a specific planning version.
n The system reads the information every time the product view is called up.
n Target/source: The other location from which, for example, the stock is transferred, depends on the
order category. In the case of purchase orders it is the supplier, for sales orders it is the customer, and
for stock transport orders it is the other location to/from which you are transferring stock.
n A quantity alert appears on the stock/requirements list in the case of product availability violations.
When interpreting alerts, you must distinguish between product receipts and product requirements
since the alerts have different meanings.
n In the case of product receipts: A green traffic light means that the total quantity of the product
receipt is being used for requirements (no surplus), and a yellow traffic light means that there is
surplus for the product receipt.
n In the case of product issues: A green light means that there are no quantity violations (no shortfall).
A red light means that there is a quantity violation (shortfall).
ã SAP AG 2001
n The planner uses the product planning table to maintain the production plan (transaction:
/SAPAPO/PPT1). The planner can check the production quantities all at one time and make changes
or create new production quantities if necessary. The planner can determine the current capacity load
utilization of the resouces as well as the availability situation of the products. Furthermore, a pegged
capacity check can be performed.
ã SAP AG 2001
n You can use the report /SAPAPO/PT_DELETE_USER to delete your user settings.
n You can add additional customer screens by making entries in the table /SAPAPO/PT_FRDYN in
the product planning table. To display additional lines in the Periodic Product View, you can use
BADI /SAPAPO/PPT_INFROW.
Navigation
tree
Grouping by:
• Planner
• Product group
• Location
• Resource
• Source
• Goal
Subnodes for:
• Make-to-order
• Bill of material
ã SAP AG 2001
Layout Tree
Selection of
subscreens:
• Product grid
• Resource grid
• Resource-prod. grid
• Individual prod. view
• Individual order view
• Alert Monitor
• Graph. plan. board
• Quantity graphic
• Days' supply graphic
• Planning monitor
ã SAP AG 2001
Product grid
For each
product, lines
for:
• Available quantity
• Day´s supply
• Receipts
• Requirements
• Planning
• Detailed
• Aggregated
ã SAP AG 2001
Resource-
product grid
For each
resource:
• Load in percent
• Orders sorted by
products
ã SAP AG 2001
Alert Monitor
• Order alerts
• Resource alerts
• Days' supply
alerts
Link to navigation
ã SAP AG 2001
ã SAP AG 2001
Stock
100
80
40
10
Mo Tu We Th Time
20 40 30 30 -20
Requirement
Day´s
Day´s supply
supply 3.3
3.3 days
days
ã SAP AG 2001
n Use: To avoid product shortages, the planer can use days' supply to determine how long stock and
receipts can cover the requirements and then act accordingly. The days' supply in APO shows the
number of calendar days until the stock goes below zero.
n Since the days' supply can be calculated individually for each pegging area, it may be that there are
several days' supplies for the same product in the same location and the same planning version
because there are different account assignment objects. How the days' supply is displayed depends
on where you call it.
In the product view, a value is displayed for each of the days' supply types (maximum three). The
days' supply of the pegging area with the lowest days' supply is displayed. Only one minimum
days' supply alert is displayed for this pegging area. Alerts as well as the days' supplies calculated
for other pegging areas can only be displayed in the Alert Monitor.
In the Alert Monitor, you can display all alerts for all pegging areas of a product. Along with the
values defined as the minimum days' supply, the days' supply calculated for each pegging area is
also displayed. On the initial screen of the Alert Monitor, you can branch to profile maintenance,
where you can overwrite the days' supply types to be calculated according to your settings in
Customizing.
n Prerequisites:
You have defined days' supply types and the minimum days supply in Customizing for Production
Planning and Detailed Scheduling.
You have entered the days' supply types that the system is to calculate in Customizing for Supply
Chain Planning under Global Parameters and Default Values.
Category
CB (safety stock)
CC (unrestricted use)
... Category list Customizing PP/DS
Stock
Receipt Days' supply types
AY (dependent requirements) Requirement SAP1 Days' supply
BM (sales order) Forecast SAP2 Receipt days' supply
...
ã SAP AG 2001
n To calculate the days' supply, you can specify in Customizing exactly which stock and receipt
categories are to be compared with which forecast and requirements categories. These are called
days' supply types. The system can calculate up to three different days' supply types. Since there is
more than one days' supply type, the planner can compare the effects that different categories have
on product availability and check if action is necessary.
n There are two standard days' supply types you can copy if you want to create new days' supply types:
SAP1 (contains all of the stock as well as all of the requirements and forecasts that are currently
defined in the R/3 System)
SAP2 (contains all of the stock as well as all of the receipts, requirements and forecasts that are
currently defined in the R/3 System)
n You can copy the standard days' supply types and then delete the categories that you do not want to
include in the days' supply calculation.
n When you call the product view or the Alert Monitor, the days' supply for each pegging area is
calculated as follows: days' supply = (stock + receipts) / (stock + forecast)
n Which receipt or issue elements are taken into account depends on the categories you have defined
for the days' supply in Customizing for Production Planning and Detailed Scheduling.
l For shortfall of
l
l minimum days'
supply
ã SAP AG 2001
n Minimum days' supply: Value that triggers alerts in Production Planning and Detailed Scheduling
to make the planner aware of critical situations concerning product availability. You can define up to
three values (in calendar days) for the days' supply in Customizing for Productions Planning and
Detailed Scheduling. The value should give you enough time to react to the problem and avoid a
product shortfall.
n The system automatically calculates the days' supply when you call the Alert Monitor or the product
view. The calculated days' supply is compared with the values you entered as the minimum days'
supply. As soon as the days' supply drops below one of these values, an alert is generated. Different
priorities are assigned to the values that trigger different alerts:
Error: This alert has the highest priority. You enter the lowest number in calendar days that still
allows you to react in time to avoid a product shortfall. For a product with a replenishment lead
time of 4 days, for example, you could enter 5 days as the absolute minimum days' supply.
Warning: This alert has medium priority. The number of calendar days entered should be higher
than for the error alert. This gives you more time to react (in the example above, for example, 10
days).
Info: This alert has the lowest priority. The number of calendar days you enter should be higher
than for both of the other alerts.
n When determining a days' supply type, you can also define a user exit for the minimum days' supply
to, for example, allow different miniumum days' supplies to be defined for certain products. The
definition of the user exit overwrites the values for the minimum days' supply. For more information,
see the document on user exit APOCV001.
l Product View
l Product Planning Table
l Reporting and Planning Options in the Product
View and Product Planning Table
ã SAP AG 2001
After carrying out the planning for your plant 1000 in Hamburg,
you now check the planning results in the APO product view.
C
ha
ng
e
th
e
di
sp
la
y
to
ti
m
e
(C) SAP AG zo AP220 4-19
ne
of
Werkzeuge des Produktionsplaners - Solutions
Contents:
ã SAP AG 2001
ã SAP AG 2001
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
ã SAP AG 2001
Res01 P Loc 01
Order Chart
03/15/1999 03/16/1999
OrderNo Products
22 00 02 04 06 08 10 12 14 16 18 20 22 00 02 04 06 08
Chart objects
000001294 P
000001335 P
000001357 P
Product histogram
03/15/1999 03/16/1999
Product
22 00 02 04 06 08 10 12 14 16 18 20 22 00 02 04 06 08
300
Product 01 200 Different
100
Order No: 000001294 charts
Graphical object
Message bar (operation, order)
ã SAP AG 2001
ã SAP AG 2001
n For more detailed information on navigation in the DS planning board, see the application help.
ã SAP AG 2001
n In the planning table, you can reschedule operations and orders manually using drag and drop.
n You can change the planning situation with: change resources (such as capacity, work times),
change orders (quantities, dates).
n You can load the alternative resources for selected operations or orders from the production process
model to the planning board. You can then reschedule operations to the alternative resources.
n Deallocate orders: You can use this function to deallocate operations or orders, that is, remove them
from the resource schedule. After deallocation, the operations or orders are assigned the status
deallocated, but still retain their dates. You set this function, for example, if you want to specify the
production dates of operations for important orders first, and then later schedule the operations for
less important orders.
ã SAP AG 2001
n Fix operations, orders, and time intervals: Fixed objects can only be rescheduled manually using
drag and drop.
• Fix operations or orders: You cannot reschedule fixed operations or orders. (By fixing an order,
you fix all operations in that order)
• Fix time intervals for resources: You cannot change the schedule in fixed time intervals, that is,
operations that lie completely or partially within a fixed time interval are fixed. You cannot
schedule operations in fixed time intervals. This function is not available in the production
planning run.
During optimization, the system also considers whether the operations, orders or time intervals are
fixed.
n Using Undo fix, you remove selected operations or orders from the resource.
n Operations that cannot be rescheduled: You cannot perform rescheduling for the following
operations:
• Operations that have been finally confirmed
• Operations that have been started or partially confirmed: You can only reschedule operations that
have been started or partially confirmed after you have interrupted the operations in the detailed
scheduling planning board.
• Operations that you fixed in the production planning run or in the DS planning board
• Operations that are scheduled in non-working times: The system automatically fixes operations
that are scheduled in non-working times.
• If you want to reschedule operations that you have either fixed or scheduled in non-working times,
you must undo the fix for these operations in the detailed scheduling planning board.
l Alert Monitor
l Resource load
l Product stock
l Network view - orders / operations
l Evaluation lists
n Operation list
n Order alert list
n Production overview
n Detailed scheduling strategies
ã SAP AG 2001
n The Alert Monitor displays scheduling problems that occur during scheduling; for example, resource
overload or delivery date exceeded. In the Alert Monitor profile, you define for which categories of
alert, that is, for which scheduling problems alerts should be displayed.
n For the resource load, the product stock and the network views you can define static charts that are
displayed permanently in the planning board, or dynamic charts, that you can display or hide in the
planning board.
n In an operation list, all the operations within the evaluation period that are scheduled at the selected
resources are listed.
n In an order alert list, all alerts for orders that are scheduled at the selected resources are listed.
n In a production overview, the quantities and status of selected products are listed, for example, which
quantities of a product have been released or confirmed.
n Detailed scheduling strategies: You use the detailed scheduling strategy to specify which rules the
system uses to schedule or reschedule orders and operations, and which scheduling constraints (for
example, product and resource availability) it considers when doing this.
Additional operations may be affected by the scheduling or rescheduling of an operation that you
have selected for planning. The system must also reschedule these operations so that the schedule
remains consistent. Rescheduling an order can therefore trigger a chain reactions of further
rescheduling.
50 50 50 50
50
30 20
50 80 20
ALERTS:
- Material shortage
- Sequence in dynamic
pegging violated
ã SAP AG 2001
n Pegging relationships between activities: Pegging relationships can exist between the activities of
different orders. An activity produces a material which then undergoes further processing by an
activity of another order. The pegging relationship requires with a certain time tolerance that the
material be available at the right time, that is, that the supplying activity is scheduled at the
appropriate time.
In the strategy profile, you can specify whether the system considers pegging relationships.
Prerequisite: If the system is to consider pegging relationships, you also have to set the detailed
scheduling strategy so it considers the time relationships between the operations in an order.
n Dynamic pegging not considered strategy: The APO System does not consider the dynamic
pegging relationships to other orders when rescheduling. The order is rescheduled, but the
corresponding receipt element is not rescheduled with it. This could lead to a product availability
violation.
n The APO System creates alerts in the case of material deficits, if you have defined this in the Alert
Monitor.
50 50 50 50
50 30
20
50 50 80 20
ã SAP AG 2001
n The system only performs scheduling or rescheduling if it can also reschedule the operations for
which pegging relationships exist within the propagation range in such a way that no pegging
relationships are violated. The system does not consider dynamic pegging relationships to operations
outside the propagation range.
50 50 50 50
50 30
20
Fixed
pegging edge
50 80 20
ALERTS:
- Material shortage
- Sequence in fixed pegging
violated
ã SAP AG 2001
n Do not consider fixed pegging: The system does not consider the fixed relationships to other orders
when rescheduling. The corresponding receipt element is not rescheduled, which could lead to a
product availability violation.
n The APO System creates alerts for product deficits if you have defined this in the Alert Monitor.
Fixed 50 50 50 50
pegging edge
50 30
20
50 50 80 20
ã SAP AG 2001
n Consider fixed pegging: The system only reschedules the order if it can also reschedule the orders
to which a fixed pegging relationship exists without violating the pegging relationship or product
availability.
n In order for the system to consider pegging relationships, you must also specify that the system is to
consider order-internal relationships.
n Consider fixed pegging within the propagation range: The system only considers the pegging
relationships for orders within the propagation range when rescheduling an operation. The system
does not consider dynamic pegging relationships to operations outside the propagation range.
Desired date
4
6 5 3 2 1
Today Time
4
6 5 3 2 1
Today Time
6 5 3 4 2 1 Operation to be inserted
Today Time Scheduled operations
ã SAP AG 2001
n Insert operation:You can use this finite scheduling mode to schedule an operation in an existing
schedule on (or as close as possible to) the desired date, even when there is no slot in the schedule
for this date, or only a slot that is too small. If necessary, the system creates a slot that is large
enough by shifting the neighboring operations that lie in the planning direction onto the resource. In
this way, the sequence of operations that have already been scheduled remains unchanged, and
operations that have already been scheduled are not rescheduled on alternative resources (alternative
modes).
n You can only use this scheduling mode for single resources that are to be finitely scheduled. You
specify in the scheduling parameters for the resource whether that resource is finite or infinite. In the
case of infinite resources, the system always schedules an operation infinitely on the desired date,
that is, without considering the existing resource load.
n The date on which the operation is inserted depends on the resource schedule on the desired date and
on the planning direction that you set:
• No operation has been scheduled on the desired date: In this case, the system schedules the
operation to be inserted on the desired date. If necessary, operations that were already scheduled
are shifted as follows:
When the planning direction is backwards, the operations scheduled before the desired date are
shifted into the past. When the planning direction is forwards, the operations scheduled after the
desired date are shifted into the future.
• An operation has already been scheduled on the desired date: In this case the operation to be
inserted is inserted, depending on the planning direction, immediately after (when the planning
direction is forwards) or immediately before (when the planning direction is backwards) the
operation that has already been scheduled. If necessary, the operations that have already been
scheduled are shifted, as described previously.
n If the system cannot generate a sufficiently large slot, for example, because otherwise the
relationships would be violated, all operations remain where they are. The operation is not inserted.
Today Time
6 5 3 2 1
Today Time
6 5 4 3 2 1
Operation to be inserted
Today Time
Scheduled operations
ã SAP AG 2001
Before rescheduling
Selected
operation
Selected A10
resource
Resource 1 A10 B10
After rescheduling
Time axis
Relationship
ã SAP AG 2001
Standard
Standard heuristics
heuristics
Heuristics
Heuristics for
for Heuristics
Heuristics for
for detailed
detailed scheduling
scheduling
production
production planning
planning (graphical
(graphical control
control station)
station)
ã SAP AG 2001
n You use heuristics to solve planning problems (using certain algorithms) for certain objects
(depending on the planning focus, either for products, operations, resources, or line networks). You
can use your own heuristics or those defined by SAP.
n The detailed scheduling heuristics are for scheduling; their planning focus is on resources and
operations. Examples of such heuristics are reduce leadtime and dissolve backlog.
Heuristics
Heuristics for
for
detailed
detailed scheduling
scheduling
ã SAP AG 2001
n Sequence scheduling: You use this heuristic to schedule selected scheduled operations in a
particular sequence in the production planning run and in the DS planning board. This heuristic uses
the function module /SAPAPO/HEUR_PLAN_SEQUENCE. Activities: You specify the scheduling
sequence in the heuristic settings. When you start the heuristic for the selected operations, the system
deallocates these operations and then schedules them again one after another in the set sequence. For
further information regarding prerequisites and activities for using the detailed scheduling heuristics,
see Detailed Scheduling Heuristics.
n Dissolve backlog: You can use this heuristic to reschedule the backlog in the production planning
run and in the DS planning board. You can automatically reschedule the operations that lie in the
past in the planning period to the current date or in the future. The current date and current time is
the default for the earliest possible start date for the operations to be rescheduled. You can use the
offset time in the heuristic settings to shift the earliest possible start date into the past or into the
future. This heuristic uses the function module SAPAPO/HEUR_RESOLVE_BACKLOG.
n Manual sequence scheduling: You can use this heuristic in the DS planning board to create a
scheduling sequence of your choice for a group of selected scheduled operations and then schedule
the operations in this sequence. You create the sequence of operations manually on a graphical list
interface when calling up the heuristic.
Due to the fact that you create the operation sequence manually when calling up the heuristic, you
cannot use this heuristic in the production planning run.
Heuristics
Heuristics for
for
detailed
detailed scheduling
scheduling
ã SAP AG 2001
n Lead time reduction: You can use this heuristic to reduce the lead time for orders in the production
planning run and in the DS planning board that have operations at selected resources. The system
fixes the selected resources and thereby all the operations that are scheduled at these resources.
Starting from each fixed operation, the system schedules the other operations of the affected order in
such a way that time intervals between the operations of that order are as small as possible. This
heuristic uses the function module /SAPAPO/HEUR_REDUCE_LEADTIME. For further
information regarding prerequisites and activities for using the detailed scheduling heuristics, see
Detailed Scheduling Heuristics.
n Schedule deallocated operations: You can use this heuristic to reschedule selected deallocated
operations in the production planning run and in the DS planning board. This heuristic uses the
function module /SAPAPO/HEUR_DISPATCH. For further information regarding prerequisites and
activities for using the detailed scheduling heuristics, see Detailed Scheduling Heuristics.
n Merge orders (container resources): You can use this heuristic to merge planned orders you have
selected in the DS planning board. The system increases the order quantity of an existing order to the
sum of all selected individual orders and deletes the other selected orders. All of the pegging
relationships are transferred to the merged order. This heuristic uses the function module
/SAPAPO/HEUR_MERGE_ORDERS.
Prerequisites for merging orders: All orders must reference the same production process model; all
orders must be planned orders; all orders must be synchronized (start and finish times are identical);
all orders must be scheduled at a multi-resource with storage characteristics; synchronization must be
activated in the master data of the resource.
Product
Productview,
view,
PP/DS
PP/DSmenu
menu product
product
planning
planningtable
table
l The overall profile is
used to call up the
Overall
Overallprofile
profile Overall
Overallprofile
profile planning table
APO
APO -- planning
planning board
board
ã SAP AG 2001
l Overall profile
n Planning version
n Sub-profiles:
M DS planning board profile
M Time profile
M Propagation range
M Work area
M Strategy profile
M Optimization profile
M Alert Monitor profile
ã SAP AG 2001
n You specify the settings for the planning board in the overall profile.
n The overall profile contains the following sub-profiles in which the settings are grouped
thematically:
DS planning board profile: Layout of the planning board
Time profile: Planning period, evaluation period (= display period)
Propagation range: Resources and products that you or the system can schedule
Work area: Resources that are transferred to the planning table.
- From these resources the system determines the objects that are displayed in the different charts
of the planning table. The work area is only relevant for the planning table that you call up
directly in the PP/DS area menu.
Strategy profile: Detailed scheduling strategies
Optimization profile: Settings for the optimization
Alert Monitor profile: Settings for the Alert Monitor (alert categories, alert situations)
- The objects for which alerts are created in the planning board are the resources and products in
the propagation range and the resources that you specify using the work area. In the Alert
Monitor profile, you can define additional objects.
ã SAP AG 2001
Once you have carried out the planning run for your plant 1000 in
Hamburg, you must reschedule the sequence of the existing
orders.
1-3
Chec
k in
which
sequenc
e the
planned
orders
from the
producti
on
planning
were
created.
To do
this, use
the
detailed
scheduli
ng
planning
board.
1-3-1 Call up the
variable view of
the detailed
scheduling
planning board.
Choose the
“Pump” overall
profile and
confirm using
Enter.
Access the
detailed
scheduling
planning board
(C) SAP AG AP220 5-26
using the
selection criteria
given above, and
The Machine Scheduler’s Tools - Solutions
1-1
1-1-2
1-2 APO Menu path: Production planning → Automated Production Planning and
Optimization → Production planning run
1-3
1-3-1 APO Menu path: Production planning → Interactive production planning
→ Detailed Scheduling Planning Board
1-3-2
1-3-3
1-3-4
Contents:
l Concept and use of optimization in PP/DS
l Mathematical optimization procedure in PP/DS
l Overview of APO optimization architecture
l Process: Orders in optimization
ã SAP AG 2001
ã SAP AG 2001
1 Course Overview
66 Optimizing Scheduling
6
ã SAP AG 2001
ã SAP AG 2001
2: O
p
sequ timizatio
ence n
optim (PP/DS:
1: Pl izati
anni on)
ng (g
plan
ned eneratin
orde g
rs)
Aggregation
ã SAP AG 2001
n Planning generates planned orders which are scheduled at resources based on available capacity. The
orders may not necessarily be scheduled in an optimum sequence. Therefore, you can perform an
optimization run at the end of planning to, for example, optimize the sequence with regard to setup
times.
Transport
Tab. search Planning
ã SAP AG 2001
n In APO, the following optimizers are available: optimizer for CTM, optimizer for PP/DS, optimizer
for Network Design, optimizer for Sequence Planning, optimizer for Supply Network Planning,
optimizer for Transport Planning.
n In Supply Network Planning, optimization problems are usually of the nature that they can be
solved with an "exact mathematical solution procedure" (which can be solved using linear
equations). For this reason, linear programming is used for optimization in Supply Network
Planning. Linear programming is able to calculate an "exact solution".
n In Production Planning and Detailed Scheduling (PP/DS) however, there are usually more
complex optimization problems for which no "exact solutions" can be found. Therefore, linear
programming is less suited for PP/DS. Instead, solutions are more able to approximate an "optimum
or exact solution". Approximate optimization procedures are therefore more suited to be used in
PP/DS (genetic algorithm/constraint-based programming). This allows the optimization system
to find a suitable solution faster.
n The different optimizers can be installed on the same server on which the APO application, the
LiveCache, and the database are all installed (but you can also install them on different servers). The
APO application server and the optimizer are linked via a TCP/IP connection. Here you specify
whether the optimizer is to be called on the APO application server or on a different server
(transaction sm59).
ã SAP AG 2001
n Use: Optimization allows you to optimize the production dates/sequences and the resource
assignment of existing operations/activities which were generated by the production planning run or
manual planning. The optimizer does not create or delete orders.
The purpose of optimization is to generate feasible production plans and increase the efficiency of
production. Several optimization parameters (such as setup times, due date violations) can be
weighted in such a way that the optimized schedule comes as close to the desired results (for
example, minimum setup times) as possible. The following parameters can be taken into account in
optimization:
• Total lead time (from the start of the first operation to the end of the last operation in a schedule
within the optimization horizon). The total lead time makes a statement about the compactness of
the orders within the optimization horizon.
• Sum of setup times
• Sum of setup costs
• Maximum delay costs (maximum delay of an order compared to its requirements or due date).
• Sum of delay costs (delay compared to requirements or due dates)
• Sum of mode costs
30
ã SAP AG 2001
n Optimization principle: Optimization evaluates a schedule (that is, the dates/sequence and resource
assignment of operations/activities) using an objective function.
The objective function is the sum of differently weighted times and costs that are especially critical
for planning. During optimization, the system tries to reduce the value of the objective function, that
is, find a schedule in which the different times and costs - based on their weighting - are as small as
possible.
In general, it is not possible to meet all the scheduling goals to the same extent. Shortening the setup
times (by changing the order sequence) can, for example, lead to a violation of the due dates.
A C A Requirements time
Setup
1) A Setup time C time A Orders for products A, B, C
Setup
2) A A time C
Setup times
x Time 1
Time 2
x
Delays
ã SAP AG 2001
n N = number of operations
n M = number of machines
n Possible sequences: (N!)M
n 10 operations and 5 machines =
(10!)5 = 6 X 10 31 possible sequences !!!
ã SAP AG 2001
APO
What can we live
Cache
do?
Metaheuristics
Model generator
Resource decomposition
CIF
ã SAP AG 2001
n The model generator preprocesses the data from the liveCache for the optimization. The core model
is the set of preprocessed data. The core model data is transferred to the optimizer.
n There are two optimization procedures you can choose from in PP/DS:
Constraint programming (CP)
Genetic algorithms (GA)
n You can use metaheuristics to reduce the complexity of the optimization problem. By decomposing
the big problem, metaheuristics generate less complex problems that can be more easily solved.
Optimization is performed for the reduced problems consecutively. By using metaheuristics, a better
quality of solution is achieved in a given run time. Without decomposition, the processing time
required to ensure a certain quality level would increase to the power of three (cubic) as the problem
size increases.
n Parallelization allows you to perform optimization on several optimization servers. You can also
perform optimization on a separate server just for optimization, while planning in APO on a different
server.
n Prerequisites: The master data for optimization is maintained in Customizing for Basic settings (for
example, the network connections to the optimization server and the maximum number of users).
live
Cache
Model generator
Metaheuristics
ã SAP AG 2001
Solutions:
Feasible, good
Unfeasible, bad
ã SAP AG 2001
n CP is suitable for complex scheduling problems in which many interdependencies and constraints
have to be considered, and where it is difficult for the planner, for example, to find a feasible
solution by scheduling interactively in the planning board.
n At every step of the optimization process, CP checks all hard constraints (constraints given by the
PPM or the resources). The system calculates successive solutions with the additional constraint so
that the quality of the solution is better than that of the predecessor.
n Unfeasible or bad solution are removed. This results in
The search space being reduced
Dead ends being detected early
n Complete back tracking is possible while a solution is being created.
n Propagation can be limited by metaheuristics (decomposition).
n Although dynamic propagation needs time, it improves the quality of the solution.
n CP uses a high performance constraint propagator in conjunction with branch and bound techniques
(ILOG).
Task: Set up four queens in a way that they cannot hit each other. While
doing this, count the number of thought process steps you need to
achieve this.
4 Queens
ã SAP AG 2001
n Task: Set up four queens on the chess board in a way that they cannot hit each other. Count the
number of steps/thoughts you needed to solve this problem.
n Directions: In chess, one queen can reach all the fields of a chess board in the horizontal, vertical
and diagonal directions. Place one queen on the board and then decide where to put the other three
queens so that they do not hit each other, one after the other.
ã SAP AG 2001
ã SAP AG 2001
ã SAP AG 2001
ã SAP AG 2001
Select parents
ã SAP AG 2001
n Genetic algrorithms are a class of algorithms which, as the name suggests, are based on genetics.
n GA begins the optimization process by creating an initial population of possible solutions. In
successive passes GA produces offspring solutions that are based on the initial parent solutions with
slightly modified parameters.
n Modifications are generated by crossover/reproduction or by mutation. Typical mutations are:
Exchanging the sequence of activities
Changing the resource allocation of activities
n At the end of successive passes an objective function is applied to determine the fitness of the
offspring solutions. At this point, the worst solutions are discarded and the best ones are kept as new
parents. This process continues through many generations until the predetermined run time is
reached. At this point, the best solution is chosen based upon the objective function.
n GA is suitable for detailed scheduling problems in which the planner is faced with the problem of
finding a very good solution, and not just a feasible one. Feasibility should not be the problem when
looking for a solution. Typically, GA is used in solving scheduling problems once most of the
constraint issues have been resolved by the production planning process. A practical example is
scheduling a sequence of activities with minimum setup time being the primary objective.
Resources
Time
Current window
Gliding window
1. Optimize schedule only in current window
2. Move window by a time delta
3. Repeat process
ã SAP AG 2001
n When using time decomposition, the schedule is not optimized in one step for the complete
optimization horizon, but in many steps. In each step only a part of the schedule within a small
"gliding” window is optimized, whereby the "gliding" windows overlap.
n The size and overlapping of the gliding windows are determined by the metaheuristic and is
dependent on the complexity of the optimization problem.
n Disadvantages of the window size:
When using a small window, the quality of the solution is decreased.
When using a large window, the run time to achieve a certain quality level is increased.
Server 1 Server 2
CIF
R/3 live
Cache
n The APO application, APO database, APO liveCache and the APO optimier can all be installed on
the same server.
n However, you can also install the APO optimizer on a separate server. If you do this, you must
specify in the TCP/IP connection (transaction sm59), that the optimizer is not to be started on the
application server, but on an "explicit host".
n Parallel processing: You can connect several optimization servers to the APO application server in
parallel. This would make it possible, for example, to use the SNP optimizer on a different server
than the PP/DS optimizer.
n For more information on the architecture and installation of the optimizer, see the installation guide.
ã SAP AG 2001
n To achieve an optimized schedule, the start dates of the activities and the resource assignment are
varied during the optimization.
n Optimization constraints: Different scheduling constraints are taken into account during optimization
that are either
Hard constraints, which the system must adhere to (for example, working times of a resource: the
system may only schedule activities during working times)
Soft constraints, which the system tries to adhere to but may violate to find a solution that
adheres to the hard constraints (for example, requirements dates of sales orders: the system may
schedule receipts after the requirements date. These delays, however, can be minimized during
optimization).
n Note: Optimization does not take the planning parameters in the resource and the detailed planning
strategies into account.
ã SAP AG 2001
Resource B
Resource C
Resource D
Resource E
Non-working times
Fixed operations
Operations, that may be rescheduled
Relationships
Transferred resources: B, C, D
Optimization range
ã SAP AG 2001
n When you call up optimization you set the optimization horizon (start and end) and the start date
for the optimized schedule. The optimization function reschedules orders and operations that are:
Completely within the optimization horizon (defined by a start and an end date)
Not fixed
At resources which were transferred to optimization
- If you have selected resources in the planning board, only these selected resources are
transferred to the optimizer. If you have not selected any resources in the planning board, the
system transfers the resources that you specified in the work area for the planning board and the
optimizer.
In particular, the system can only reschedule an activity to alternative resources during
optimization when these resources are included in the resource selection for optimization.
n The relationships of the fixed orders and operations to the non-fixed orders and operations determine
if and by how much these orders and operations can be shifted during optimization. The optimized
schedule is, therefore, adjusted to accommodate the fixed orders and operations.
n The system does not change planning outside of the optimization window during planning. Activities
outside of the optimization window are fixed during optimization. However, the fixed activities
determine by their relationships to the non-fixed activities in the optimization range, whether and
how far these activities can be rescheduled during optimization. The optimized schedule is,
therefore, adjusted to accommodate the fixed activities.
n Earliest start date for the optimized schedule: Before the optimization, you specify the earliest
date on which the optimization function can schedule the activities. You cannot enter an earliest start
date that lies in the past.
Fixed activity
Resource 1 Activity A
* (paint)
Activity B
Resource 2 (assemble)
Time
ã SAP AG 2001
n Activities, operations and orders can be fixed during optimization. The system does not reschedule
fixed objects during optimization. However, the fixed objects determine by their time relationships
or pegging relationships to non-fixed objects whether, and by how far, these objects can be shifted
during optimization. The optimized schedule is, therefore, adjusted to accommodate the fixed
objects.
n The following objects are always fixed:
Activities that are do not lie, or only partially lie, within the optimization range
Started, partially confirmed or finally confirmed operations
Operations that you fixed in the production planning run or in the DS planning board
Sales orders
n You can fix the following objects for the optimization as required:
Selected order types (for example, in-house production orders or external procurement orders)
Orders that only lie partially in the optimization range
Released orders
Orders that contain fixed, started, partially confirmed or finally confirmed operations
n You enter the corresponding settings when calling up optimization, or in the optimization profile on
the Order processing tab.
ã SAP AG 2001
n Optimization uses an objective function to evaluate a schedule (that is, the dates/sequence and
resource assignment of operations/activities).
The objective function is the sum of the different weighted optimization criteria that reflect the
central scheduling problems for production planning: The optimization function tries to reduce the
value of the objective function during the optimization run, that is, it tries to find a schedule in which
the value of the various criteria, according to their weighting, are as low as possible. In general, it is
not possible to fulfill all the criteria to the same extent. For example, a reduction in the setup time
could lead to an increase in the total lead time.
n The following parameters can be taken into account in optimization:
• Total lead time
• Sum of setup times
• Sum of setup costs
• Maximum delay costs
• Sum of delay costs
• Sum of mode costs
n The weighting that you apply to the various times or costs when defining the objective function
reflect the importance of each problem for your schedule. For example, if a very important
scheduling objective of yours is to have low setup costs, you weight the setup costs in the objective
function particularly highly. During optimization, the system tries to reduce the value of the
objective function, that is, find a schedule in which the different times and costs - based on their
weighting - are as small as possible. In general, it is not possible to meet all the scheduling goals to
the same extent since some of the goals compete, such as when a reduction in the setup time leads to
an increase in the total lead time.
A C Requirements time B A
Setup Setup
C time A A time B
Optimization result (with light weighting of delays)
Setup Setup
A A time B time
C
tup
t ime Optimization result (without weighting of delays)
m se
imu
Op t Time
ã SAP AG 2001
n Use: You can optimize the schedule for single resources based on the sum of the setup times and
sum of the setup costs. The system determines sequence dependent setup times and setup costs from
the setup matrix (which can only be maintained for single resources).
n Prerequisites:
• You have modeled the single resources and the operations that are processed at these resources
exactly as with the setup time adjustment (see the unit Simultaneous Material and Capacity
Requirements Planning).
• You strongly weighted the setup times or the setup costs in the objective function.
n Scope of function: In the objective function, the system interprets the values for the setup times and
setup costs from the setup matrix as follows:
• You enter the setup time in a unit of your choice (for example, hours or minutes) in the setup
matrix. The system uses the setup duration in seconds in the objective function. If you enter, for
example, a setup duration of 10 minutes in the setup matrix, the system uses the value of 600
(seconds) in the objective function.
• You enter the setup costs without unit of measurement in the setup matrix. In the objective
function, the system directly uses the value entered in the setup matrix. If you enter, for example,
the value 10 for the setup costs in the setup matrix, the system uses the value of 10 to calculate in
the objective function.
n Important: In the objective function, the setup costs with a value of 10 correspond to a setup
duration of 10 seconds. You must consider this relationship between setup times and setup costs
when defining the objective function, that is, when specifying the weighting for the setup times and
the setup costs.
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1906_1000_001 Primary resource W4711_1000_001
Secondary resource W1906_1000_002 Secondary resource W4711_1000_002
ã SAP AG 2001
n Use: You can use optimization to optimize the schedule according to the sum of the mode costs for
the activities. The mode costs for an activity are the costs that are incurred when executing an
activity in a particular mode; they are calculated as follows from the fixed and variable costs:
Mode costs = Fixed costs + Variable costs x Duration of activity
n You maintain the fixed and variable costs depending on the mode priority; as the priority decreases,
the costs must either increase or remain the same. The system uses the activity duration in seconds to
calculate the mode costs.
n To reduce the costs for an activity, the system can choose a mode with lower costs for the activity
during optimization, that is, it reschedules the activity to an alternative primary resource with lower
costs and to the corresponding secondary resources.
n Prerequisites:
• You defined the fixed and variable costs depending on the mode priority in the optimization
profile or when calling up the optimization on the Costs tab. If you do not enter any mode costs,
the system uses the system default value.
• You strongly weighted the mode costs in the objective function.
A C Requirements time B A
Setup Setup
C Setup time A time B time A
Operations of products A to C at paint shop according to schedule (starting situation for optimization): planned
orders for A were created first, then for B and C
Setup Setup
C time A A time B
Optimization result (with light weighting of delays)
Setup Setup
A A time B time
C
p time Optimization result (without weighting of delays)
setu
im um
Opt Time
ã SAP AG 2001
n Use: You can use optimization to optimize the schedule according to the costs that are associated
with the delayed completion of orders or activities. The following optimization criteria is available:
Sum of the delay costs in the optimization horizon as well as the maximum delay costs for a single
order or a single activity.
n A delay occurs if a receipt is later than a requirement or if the latest allowed start or finish date of an
activity lies before the actual start or finish date.
n The costs of the delay of a single order or activity depend on the order priority and the duration of
the delay; this is calculated as follows:
Delay costs = Costs dependent on priority x Duration of delay
n When a receipt delivers several requirements with a delay, the system uses the biggest delay for this
receipt for one of the requirements.
n You maintain the priority-dependent costs depending on the order priority in the optimization
profile; as the priority decreases, the costs must either decrease or stay the same. The order priority
can be specified by the sales order, the planned requirement or - depending on the product - by the
product master. Depending on the planning version, you specify from where an order obtains its
priority in Model and Version Management. An activity inherits its priority from the order. The
system uses the delay duration in seconds to calculate the delay costs. This allows you to consider
order priorities above the delay costs in the optimizer.
n To reduce delay costs during optimization, the system tries to schedule orders and activities that have
a high priority with the smallest possible delay (if necessary, at the expense of orders and activities
with lower priority for which greater delays are not as crucial).
n Prerequisites:
• You defined the priority-dependent costs depending on the order priority in the optimization
profile or when calling up optimization on the Costs tab. If you do not enter any costs, the system
uses the default value.
l Optimization algorithms
n Constraint-based programming
n Genetic algorithm
l Run time
l Objective function weighting
n Total lead time
n Sum of setup times
n Sum of setup costs
n Maximum delay costs
n Sum of delay costs
n Sum of mode costs
ã SAP AG 2001
n You maintain the settings for optimization in the optimization profile in Customizing for PP/DS.
You can change the optimization procedure, the runtime and the weightings interactively before
starting an optimization run.
n How suitable an optimization procedure is in finding a good solution, depends on the scheduling
problem (constraint propagation, genetic algorithm).
n Basically, you determine the quality of the solutions by setting the run time for the optimization.
n Which weights of optimization criteria you use to obtain good solutions depends on the scheduling
situation and the organizational goals.
n In general, the optimization function considers constraints given by the resources (for example, the
calendar), the production process model (for example, time constraints) and the order (for example,
due dates). However, you can "switch off " a part of the hard constraints. For example, if you remove
the calender the resources are available 24 hours each day.
ã SAP AG 2001
Campaign optimization: You can perform campaign optimization for bottleneck resources in
optimization. During campaign optimization, the system optimizes the duration and sequence of
campaigns with respect to the following optimization criteria: Sum of earliness costs, sum of delay
costs, sum of setup times, sum of setup costs. Already existing campaigns can be retained,
extended or dissolved during campaign optimization. Following campaign optimization, the
system optimizes the overall schedule while retaining the optimized campaigns.
Multi-agent optimization: Multi-agent optimization is available so that you can optimize on one
optimization server with several processors in parallel. During multi-agent optimization, the
system uses all the processors in parallel for optimization; it can execute the optimization on each
processor using a different (user-defined) objective function. Each "agent" optimizes the same
given scheduling problem with "its" objective function.
ã SAP AG 2001
ã SAP AG 2001
11 Course Overview
1
6 Optimizing Scheduling
ã SAP AG 2001
ã SAP AG 2001
n Rückmeldung: Die Rückmeldung zum Fertigungsauftrag wird stets im R/3 durchgeführt. Mit der
Rückmeldung werden die Kapazitätsbedarfe im R/3 und APO angepaßt.
n Lohnscheinrückmeldung: Es werden stets gesamte Vorgänge/Aufträge rückgemeldet.
n Gutmeldung: Wenn Sie Teilmengen eines Vorgangs rückmelden, wird der Vorgang zum
rückgemeldeten Ist-Endedatum verschoben (in der Regel wird kein Ist-Ende vorgegeben, wodurch
der Vorgang zur heute-Linie verschoben wird). Wenn Sie ein Verschieben des Vorgangs erst zur
Endrückmeldung des Vorgangs wünschen, können Sie einen Customer-Exit benutzen.
Die Dauer des Gesamtvorgangs bleibt gleich, nicht jedoch die Restdauer: Der teilrückgemeldete
Vorgang hat einen Starttermin, einen Termin Reststart sowie einen Endetermin. Die Differenz
zwischen Restart und Endetermin Vorgang ist die Restdauer. Kapazitätsbedarfe wurden bei der
Rückmeldung nicht reduziert (sie werden erst mit dem technischen Abschluß bzw. der
Löschvormerkung reduziert), wohl aber die Restdauer: Der Termin Reststart wird beim Rückmelden
auf die heute-Linie verschoben. Lediglich die Restdauer liegt in der Zukunft und erzeugt damit
Kapazitätsbedarfe in der Zukunft. Kapazitätsbedarfe zwischen dem Starttermin und dem Reststart
sind noch vorhanden, liegen jedoch in der Vergangenheit.
Rückgemeldete Vorgänge sind im APO fixiert. Mit der Endrückmeldung zum Vorgang
verschwinden auch im APO alle Restkapazitätsbedarfe zum Vorgang.
n Ausschußmeldung: Falls die Endrückmeldung eines Vorgangs mit einer Ausschußmeldung
verbunden wird, erfolgt eine Restmengenpropagierung (Restmenge der Outputmenge wird
angepaßt), falls die Restmengepropagierung im R/3 (ab Rel. 4.6c im Customizing Fertigungsauftrag:
Rückmeldeparameter) als auch im APO (im Produktstamm oder PP/DS-Customizing unter den
globalen Einstellungen) aktiviert wurde. Die entsprechenden Einstellungen zur
Restmengenpropagierung sollten im R/3 und APO analog gepflegt werden.
n Auftragsrückmeldungen werden in der R/3-APO-Schnittstelle als Einzelvorgangsrückmeldungen
übertragen. Daher gelten für die Auftragsrückmeldung die gleichen Regeln.
ã SAP AG 2001
n Bei der Zeitereignisrückmeldung wird auf Basis eines Zeitereignisses rückgemeldet, so daß der
Reststart eines Vorgangs auf das rückgemeldete Datum/Uhrzeit gelegt wird.
n Hinweis zur Mengenpropagierung durch Ausschuß-Rückmeldungen: Sie können festlegen, daß
eine der folgenden Alternativen eintritt:
Propagierung aus: Nur die Menge des rückgemeldeten Vorgangs wird angepaßt.
Propagierung ein: Abweichungen zwischen geplanten und tatsächlichen Vorgangsmengen werden
auch an Nachfolgervorgänge mit Materialflußbeziehung weiterpropagiert und entsprechend
angepaßt. Außerdem wird die Outputmenge des Fertigungsauftrages angepaßt.
Abhängigkeiten: Damit eine Änderung von einem Vorgang an einen Nachfolgervorgang
weiterpropagiert werden kann, muß für die Beziehung zwischen den Aktivitäten dieser Vorgänge
das Materialflußkennzeichen gesetzt sein.
n Komponentenanpassung durch Rückmeldung: Wenn die vollständig rückgemeldete
Vorgangsmenge von der Planmenge abweicht, kann das System die Mengen für die Input- und die
Output-Komponenten anpassen. Sie können festlegen, daß die Input- und Output-Komponenten
nicht angepaßt werden sollen
ohne Rückmeldevorgang angepaßt werden sollen (d.h. Komponenten werden nur für
Nachfolgervorgänge angepaßt)
mit Rückmeldevorgang angepaßt werden sollen (d.h. Komponenten werden sowohl für den
rückgemeldeten Vorgang als auch für die Nachfolgervorgänge angepaßt). Hinweis: Eine solche
Einstellung ist nur im APO, nicht aber im R/3-Customizing möglich.
n Restnettodaueranpassung durch Rückmeldung: Die aktuellen Start- und Endezeiten einer Aktivität
sowie die zeitliche Länge einer Aktivität variieren oft von den geplanten Zeiten und Längen. Daher
können Sie wie folgt einstellen, ob und wie das System die geplanten Dauern einer Aktivität
anpassen soll an die aktuellen Daten:
R/3 APO
A A
Fertigungsauftrag
10 20 30 10 20 30
Ausgangssituation
Komponente B ist nicht
B C D APO-relevant C D
A A
Fertigungsauftrag
10 20 30 10 20 30
Komponente B2 (nicht
B, C, D C, D
APO-relevant) sowie C2
B2 C2 (APO-relevant) wird
C2
hinzugefügt
ã SAP AG 2001
ã SAP AG 2001
n Die Umsetzung von Bestellanforderungen in Bestellungen können Sie direkt im APO anstoßen,
indem Sie für die betreffenden Bestellanforderungen das Umsetzungskennzeichen setzen. Die
Aufträge, deren Umsetzung Sie im APO-System anstoßen, werden an das angeschlossene R/3-
System geschickt und dort automatisch umgesetzt. Die umgesetzten Aufträge werden mit geänderter
ATP-Kategorie (aus PReq für Bestellanforderung wird z.B. PchOrd für Bestellung) an das APO-
System zurückgeschickt.
n Das Erzeugen eines Lieferavis erfolgt im R/3: Sobald das Lieveravis im R/3 angelegt ist, wird dieses
automatisch in das APO-System übertragen. Die Einteilungen im APO werden daraufhin um die
avisierte Menge reduziert.
n Das Buchen des Wareneingangs erfolgt im R/3: Sobald der Wareneingang gebucht ist, wird dieser
Wareneingang automatisch in das APO-System übertragen. Der APO erhöht daraufhin den Bestand
und reduziert die Einteilungen.
n Das Lieferavis wird im APO (wenn es verwendet wird) um die Wareneingangsmenge reduziert.
Ebenso werden die Einteilungen entsprechend reduziert.
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
Product A Product B
REM heuristics =
Alternative to process control
heuristics SAP_MRP_001 and
SAP_MRP_ 002 for planning
requirements
ã SAP AG 2001
Requirements Requirements
situation 16 h
Available capacity
Time
Horizon
ã SAP AG 2001
-50
-40 -30 -20
-50
-100 -80 -80
-150
-200
-190
-250 -230
-250
-260
-300
ã SAP AG 2001
200 120
150
100 80 80 80
Order50situation after the REM
40 heuristic
30
run 50
0
L1 L2 L1 L2 L1 L2 L1 L2 L1 L2
80 80
80
60
60
40
20
0
L1 L2 L1 L2 L1 L2 L1 L2 L1 L2
ã SAP AG 2001
Heuristics
Heuristics for
for - Planning run
production
production planning
planning - interactive planning
SAP_MRP_001:
Production planning
run by low-level codes
SAP_MRP_002:
Product heuristic
ã SAP AG 2001
ã SAP AG 2001
ã SAP AG 2001
n You can make the following global settings for each planning version in planning version
management:
PP/DS Change planning active indicator: If automatic planning has been set for the product in the
product master, a planning file entry is created for each relevant change in PP/DS (such as a new
requirement) so that the product can be planned again in the next planning run with net change
planning.
Use: You set this indicator if you want to work with PP/DS in this planning version. However, if
you do not want to plan with PP/DS, do not set this indicator.
PP/DS Automatic planning active: If this indicator is set, planning is performed for each product
for which automatic planning immediately is set in the product master. If this indicator is not set,
only a planning file entry is generated for this product, so that the product can be planned again in
the next planning run with net change planning.
PP/DS No order without source of supply indicator: If this indicator is set, no order is created for
a product in PP/DS if a valid source of supply cannot be found. If this indicator is not set, an order
is created without requirements and operations if a valid source of supply cannot be found for a
product.
PP/DS: Standard planning horizon (days) field: You can enter the number of days (in the future),
starting from the current date, on which product receipts and product requirements are to be
planned using production planning and detailed scheduling. You can also define a production
horizon in the product master. The production horizon entered in the product master has priority
over the parameters defined in the planning version. SNP performs planning outside of the
production horizon.
PP/DS: Determine priority (order priority) field: ("blank" = for make-to-order planning from
sales order, otherwise from product, "1" = always inherited from requirement, "2" = always
inherited from product): In make-to-order planning, the priority is always inherited from the sales
order. In make-to-stock production, the priority is taken from the product master.
Reqmt Reqmt
ã SAP AG 2001
n In product master tolerances for over- and underdelivery can be maintained. That means that a
pegging is been build if the quantity fits to the range.
n Underdelivery tolerance limit: The tolerance level in percent of how much less of an order quantity
may be delivered. Delivery tolerances are often required in a make-to-order environment where
every customer has different requirements. If the batch size is slighty smaller than the order quantity,
the customer may tolerate, for example, 5% less than they ordered.
n Overdelivery tolerance limit: The tolerance level in percent of how much more of an order quantity
may be delivered. Delivery tolerances are often required in a make-to-order environment where
every customer has different requirements. If the batch size is slighty larger than the order quantity,
the customer may tolerate, for example, 5% more than they ordered.
n Consume total stock indicator: Pegging takes only place between stock and requirement if the stock
can be completely pegged with the requirement: Example: Stock of 12 pieces, requirement element
of 10 pieces. Pegging will not take place, because stock would not be pegged completely with the
requirement element. Exception: If you have maintained an overdelivery tolerance limit of 20 %,
then the stock would be pegged for the requirement element. A overdelivery for the requirement
element would be carried out.
n Consume total order quantity indicator: Pegging takes only place between order and requirement if
the stock can be completely pegged with the order: Example: order of 12 pieces, requirement
element of 10 pieces. Pegging will not take place, because order would not be pegged completely
with the requirement element. Exception: If you have maintained an overdelivery tolerance limit of
20 %, then the order would be pegged for the requirement element. A overdelivery for the
requirement element would be carried out.
n Use: metal, paper, wood industry. Example: Steel coil of 100 tons can not be devided for pegging
reasons. Pegging has to be carried out for the total quantity.
Planning log:
Application log for errors in planning in ABAP as well as
information messages in planning (for example, errors
during order creation, PPM is not valid, planning run has
started)
Scheduling log:
Application log for errors in scheduling in the LiveCache
as well as information messages on scheduling in the
LiveCache (for example, rescheduling an order)
ã SAP AG 2001
n The system automatically generates a planning log or a scheduling log for a planning run or planning
session (for example, with the product view or detailed scheduling planning board). You call up the
logs by choosing Production Planning -> Reporting -> Planning Run Reporting.
The system collects messages that it generates in interactive scheduling or in the production
planning run in the planning log.
In the scheduling log, the system collects information relevant for scheduling that it generates in
interactive scheduling or in the production planning run during scheduling. This may include
scheduling problems at the resources, or quantity and product-related information in the planning
log on, for example, missing components.
n Termination of scheduling: In complex scheduling situations in which many constraints and
dependencies must be considered, the duration of scheduling can be very long. The system is set
internally to terminate scheduling after 10 minutes. You can set another maximum scheduling
duration in the strategy profile.
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n The net requirements calculation is the first step in the production planning run:
The system checks whether the requirements (for example, sales order, planned independent
requirements) can be covered by available warehouse stock or by receipts (orders).
Quantity float
ã SAP AG 2001
n To take uncertainty in requirements development into account, there are different options for
scheduling floats:
As a quantity float: safety stock, dynamic safety stock planning in SNP
As a time float: safety days' supply, target days' supply
n For more information on quantity and time-based floats, see the appendix.
n As a quantity buffer, you not only can enter a static (time cannot be changed) safety stock, but can
also work with dynamic safety stock planning when using Supply Network Planning (SNP). Safety
stocks that vary in time can be determined here in connection, for example, with the requirements
situation (the service level, for example, which is not used anywhere else in PP/DS, is used to
calculate in the APO product master).
The safety stock calculated in SNP can also be used in Production Planning and Detailed Scheduling
as well as in Capable-to-Match if this has been set in Customizing for PP/DS under Make SNP
Figures Available.
Stock
MRP Requirement
available
stock
Safety stock
Receipt
Safety stock
(is not available for MRP) Time
R/3 Product A
APO
Mat. A Lot size
ã SAP AG 2001
n Static safety stock: For each requirement for which the MRP available stock is not sufficient, the
production planning run generates a procurement element to procure the quantity that is required.
The safety stock, as an MRP not available stock, does not go into the net requirements calculation.
n This type of safety stock is independent of the requirements quantities, and is therefore static.
n You cannot make a percent of the safety stock available. The production planning run fills the safety
stock again when there is a shortage as soon as there is even a slight shortage.
n Prerequisite: In the MRP 2 view of the R/3 material master, you define the niveau of the safety
stock. This is transferred to the Safety stock field in the product master (Lot size view) via the R/3-
APO interface.
4 June 6 June
Receipts
Time
R/3 Product A
APO
Mat. A Lot size
n The safety days' supply is a safety time/safety buffer (compared to lead-time offset/preliminary time
in the component data of a BOM item). Its purpose is to avoid problems with production supply
which may be caused, for example, by late deliveries.
n The safety days' supply causes the procurement proposals to be placed before the requirements dates
by the specified number of workdays. The actual requirements dates are not changed. This ensures
that the warehouse stock of a product can cover the requirements without new receipts.
n Example: Requirement for 100 pieces on 6 June, safety days' supply = 2 days, receipt is created with
4 June as the availability date
n Prerequisite: In the MRP 2 view of the R/3 material master, you define the safety time. This is
transferred to the Safety days' supply field in the product master (Lot size view) via the R/3-APO
interface.
Time
Reorder days' supply
Reqmts of 2 days First requirement
on the time axis
Product A
Lot size
APO
Procedure
Order point
Reorder point proc. Reorder days' supply 2
Quantity
determination
2 Target days' supply 5
Target stock level procedure
ã SAP AG 2001
n Target days' supply: Number of days that the warehouse stock and the planned receipts of a
material are to last to cover the requirements existing at the time of planning within a specified
interval (called the target days' supply). However, this interval (target days' supply) is not calculated
starting from the chronologically first requirements element, but rather the interval already begins a
defined number of days (reorder days' supply) before each requirement. All of the requirements are
read within the target days' supply. In lot-size calculation the amount of the generated procurement
elements is increased so that all requirements are covered within the interval and the days' supply is
ensured (via the number of days defined in the target days' supply interval). This is called the lot-
sizing procedure reorder point. If you want to generate deviating order quantities, you can also work
with rounding possibilities (for example, rounding value, minimum lot size).
For the requirement that is chronologically next on the time axis, the system proceeds in the same
way. If, in this case, there are target days' supply requirements in the overlapping next interval for
which an order was already generated, they are not taken into account again. This allows
overproduction to be avoided and is ensured via the link (pegging) of requirements and receipts.
n Prerequisite: Choose Reorder point procedure in the Lot size view of the APO product master.
Choose reorder point procedure 2 (reorder days' supply from location product master), since the
other reorder point procedures are not support in PP/DS at this time. Enter the number of days for the
reorder days' supply. Choose target stock level procedure "blank" (target days' supply from product
master), since the other target stock level procedures are not support in PP/DS at this time. Enter the
number of days for the target days' supply.
The reorder days' supply and the target days' supply are only used by the lot-sizing procedure
reorder point.
n Target stock level procedure: blank (target days' supply from product master), 1 (target days' supply
(time-dependent maintenance)), 2 (target stock level (time-dependent maintenance)), 3 (maximum
from TS/TD (time-dependent maintenance)), 4 (target stock level equals prod. stock capacity), 5
(maximum from prod. stock capacity/TD), (product master)), 6 (total from prod. stock capacity/TD
(product master)), 7 (no target stock level)
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n In the net requirements calculation, the system determined the shortage quantities for the
requirements dates. These shortage quantities must be covered by receipt elements. The system
specifies the number of receipts during a planning run in lot-size calculation.
n You determine how the lot sizes are calculated by choosing a lot-sizing procedure in product master
maintenance.
n The result of the lot-size calculation is the quantity to be produced or procured. You can display and
change the procurement quantity in the procurement proposal.
R/3 Product A
APO
Mat. A Lot size
APO Customizing:
Rounding Rounding profile 0001 Is the rounding
profile
profile known?
ã SAP AG 2001
n Rounding profile: Scaled roundings can be represented using the rounding profile.
A rounding profile can contain threshhold values and rounding values in different levels. The
rounding value is the value that the system rounds up to as soon as the threshold value has been
exceeded. If the threshhold value is not reached, the system rounds to the next smaller level. If the
smallest level is reached, the system rounds to a multiple of the rounding value if the requirements
quantity is larger than the threshhold value. Otherwise the requirements quantity is not changed.
n Example: The order is to be in layers (1 layer is equal to 5 pieces) or pallets (1 pallet contains 8
layers that each contain 40 pieces).
Therefore, the following rounding profile is defined: level 1: 2 -> 5, level 2: 32 -> 40:
If a requirement is above 2 units, the system rounds up to 5, if a requirement is above 32 units, the
system rounds up to 40. If the requirement is below the first threshold value, the original
requirements value remains the same. If the first threshold value is exceeded, the system always
rounds up.
n Prerequisite: You define a rounding value in the MRP 1 view of the R/3 material master. The
rounding profile is transferred to a field of the same name in the APO product master (Lot size view)
via the R/3-APO interface. You define the rounding value in R/3 Customizing for Material
Requirements Planning or in APO Customizing under Master Data -> Product in the IMG activity
Maintain Rounding Profile. The R/3 Customizing data for the rounding profile is not transferred via
the R/3-APO interface. The definition of the rounding profile must therefore be transferred to APO
Customizing separately.
ã S
ã SAP AG S2001
P AG
Assembly scrap
-- Increased
Increased total
total quantity
quantity of
of the
the order
order
-- Increased
Increased net duration and resource
net duration and resource consumption
consumption of
of activities
activities
-- Increased requirements quantity of all components
Increased requirements quantity of all components
-- Maintained
Maintained in
in product master of
product master of the
the finished
finished product/assembly
product/assembly
ã SAP AG 2001
n If scrap is produced during the manufacture of a product, the quantity to be produced must be
increased accordingly to reach the desired yield quantity. Scrap that can be planned is integrated in
planning, production, and material calculation (R/3). You can model scrap planning in different
ways. The different scrap types have different effects:
n Scrap at assembly level (assembly scrap): In the product master (Lot size tab), you describe how
much scrap is produced during the manufacture of a product, depending on the production process. If
scrap is produced, a larger quantity must be produced to reach the required yield. The system
performs the quantity checks automatically.
The system calculates the total quantity to be produced from the desired yield and assembly scrap,
based on the following formula:
Total quantity = Yield x 100% / (100% - Scrap in %)Example: You create an order and enter 100
pieces as the yield. You have entered an assembly scrap of 20% in the product master. The system
therefore generates an order for 125 pieces.
Along with the total quantity, the following is also increased accordingly:
- The quantity of the components required to produce the product
- The net duration of activities for quantity dependent processing time
- The resource consumption of activities for quantity-dependent resource consumption
n The scrap calculation is only relevant for products produced in-house. The system performs scrap
calculation automatically using the desired yield and the scrap data and increases the quantity to be
produced and the component requirements. It is a good idea to use the procedures above
alternatively, since otherwise too much scrap is calculated.
Activity scrap
- Decreases operation quantity of operations that follow
- Increases net durations and resource consumption of activities
- Increases requirements quantity of components
- Maintained in PPM
ã SAP AG 2001
n Scrap at activity level (activity scrap): Here you describe in detail how much scrap is produced per
processing step. This allows you to model scrap depending on the production process.
n If scrap is produced for an activity, the activity must process a larger quantity to get the required
yield. The activity therefore consumes more components. For quantity-dependent processing times
and quantity-dependent resource consumption, the net duration and the resource consumption of the
activities increase. The activity scrap therefore influences APO scheduling as well as costing in the
R/3 production order.
The system performs the quantity corrections when exploding the PPM and calculates the total
quantity to be produced by an activity according to the following formula:
Total quantity = Yield x 100% / (100% - Scrap in %)
n You can specify the following for the yield to be staged by the activity in the PPM:
It is the order quantity. The total quantity of the activity is calculated based on the order quantity.
It is the yield required by the successor activity. If a successor activity must process a certain total
quantiy, this total quantity must be delivered by the predecessor activity as the yield. This allows a
scrap-related quantity increase to be passed on to the predecessor activity.
n Prerequisites:
In the production process model of the product, you have entered the scrap in percent for the
activities that produce scrap.
To allow a scrap-related quantity increase for an activity to be transferred to another activity, you
must have set the Material flow indicator for the relationship between these activities.
n You should either define scrap at assembly level or activity level, otherwise too much scrap is
calculated!
Activity scrap
ã SAP AG 2001
n Activity scrap: The scope of function is described using the following examples:
n Scrap without material flow: An order includes three consecutive operations that consist of one
processing activity (three activities). You have not set the Material flow indicator for the
relationships between the activities, that is, the activity quantities are to be calculated for each
activity individually, based on the order quantity. You have entered the following scrap data for the
activities:
Scrap for activity 1: 5%, scrap for activity 2: 7%, scrap for activity 3: 5.5%
The quantity to be produced for the order is 100 pieces. The system uses this data to calculate the
quantities to be processed or required in the activities:
Quantity for activity 3: 100 pieces / 0.945 = 106 pieces, quantity for activity 2: 100 pieces / 0.930
= 108 pieces, quantity for activity 1: 100 pieces / 0.950 = 105 pieces
n If each of the activities requires special components, these components must be staged according to
the activity quantities, for example, 105 pieces for activity 1, 108 pieces for activity 2 and 106 pieces
for activity 3.
n Scrap with material flow: Example as above except that you have set the Material flow indicator
for the relationships between the activities, which means the quantity to be processed in an activity is
to be staged as yield by the higher-level activity. You have entered the following scrap data in the
PPM for the activities:
Scrap for activity 1: 5%, scrap for activity 2: 7%, scrap for activity 3: 5.5%
The quantity to be produced for the order is 100 pieces. The system uses this data to calculate the
activity quantities:
Quantity for activity 3: 100 pieces / 0.945 = 106 pieces, quantity for activity 2: 100 pieces / 0.930
= 106 pieces, quantity for activity 1: 114 pieces / 0.950 = 120 pieces
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
n While the procurement proposal is being determined, the system checks whether the receipt is to be
procured via in-house production or external procurement.
n Note on planning externally procured products in APO: You can use planning tools and planning
functions such as finite scheduling of products (including externally procured products) and
heuristics for optimizing order quantities, to efficiently plan materials that are critical in APO and
procured externally. You can use purchasing information that is available in the APO System to
improve cooperation between the plant and suppliers. When processing scheduling agreements, for
example, you can send releases to suppliers directly by e-mail or have the supplier confirm the
releases via the Internet. Another advantage of planning externally procured products in APO is that
you can use resources to schedule externally procured orders in production planning and detailed
scheduling. This allows you to exactly schedule goods receipts, tranportation, and goods issues while
taking capacity into account.
ã SAP AG 2001
n If a material is to be drawn from different sources of supply, the individual sources of supply can be
assigned a quota. This quota is valid for a certain time period and specifies how the receipts are to be
distributed among the individual sources of supply.
n You can use quota arrangements in in-house production as well as in external procurement. Sources
of supply may be, for example: a supplier or outline agreeement, a different plant from which you
procure or certain production process models.
n There are two quota arrangement procedures available:
Each lot is assigned to exactly one source of supply
One lot is split among different sources of supply
n In addition, the quota arrangement can be fine-tune controlled by further functions:
Combination of requirements: Specifies for which time period a requirement is combined for the
quota arrangement.
Minimum splitting quantity: If a requirement is split based on a quota arrangement, each
individually distributed requirements quantity must at least correspond to the predefined minimum
quantity.
n Prerequisites:
You have defined the quota arrangement header and the quota arrangement items for the
corresponding suppliers/plants (you maintain this via the Supply Chain Engineer or the menu).
In general, the quota arrangement runs as the assignment quota arrangement (without splitting).
However, if you want to use the quota arrangement with splitting, you must choose a special quota
arrangement heuristic (SAP_PP_Q01) for the product in the product master. In this case, a split is
performed for the individual quota arrangement items, which are then planned with the heuristic
B 75 3000 - 40
B 75 3000 - 40
ã SAP AG 2001
n This procedure assigns each lot exactly one source of supply, if you have not defined a maximum lot
size in the product master.
n The order proposal is completely assigned to the source of supply which has the smallest quota
rating. The quota rating specifies the sequence in which the sources of supply are used.
n The quota allocated quantity is the total quantity for which the sources of supply have been
procured.
n You can use the quota base to control the quota arrangement without having to change the quota
arrangement, for example, if a new source of supply is to be added to the quota arrangement. In
contrast to the quota allocated quantity, this quantity can only be maintained manually and is used to
balance the individual items when changes have been made to the quota arrangements.
n The quota is a proportion weighting that specifies which part of a requirement is to be taken by a
source of supply.
B 30 300
C 20 200
D 10 100
ã SAP AG 2001
n You can using the splitting quota arrangement to split procurement among different sources of
supply.
n The quota allocated quantity of a quota arrangement item or the quota rating also plays a role for the
splitting quota. Splitting takes place in the following sequence: first the system checks whether the
individual sources of supply have received their quotas. If this is not the case, the system assigns the
quantities based on the assignment quota arrangement. If there is a balance due to the quotas, the
system automatically switches to splitting quota arrangement (calculated via the average deviation
from the medium value of the quota ratings): The quantity is then calculated according to the
formula above using the quota.
n Determining a minimum quantity for splitting: The minimum quantity for the splitting quota
specifies the minimum quantity that a lot must have to be split.
If the requirements quantity is less than the minimum quantity, the source of supply that is next
based on the quota calculation is selected, that is, the allocation quota arrangement logic is used and
not splitting. However, if this causes the minimum quantity for splitting for a source of supply to be
exceeded, a new splitting can be used.
Note: Splitting technically occurs via requirements, even if the result of splitting is split orders and
not split requirements.
Incoming quota 60 % 40 %
arrangement
Plant
Stuttgart
Outgoing quota 40 % 30 % 30 %
arrangement
n There are incoming and outgoing quota arrangements, depending on whether you consider the
perspective of the source location or the target location:
Incoming quota arrangements: The target location of the transportation has been specified. A
quota arrangement specifies for a material the quantity (proportionally) that is to be transported
from possible source locations. Possible source locations are all locations that are the starting point
for a transportation lane to a target location.
Outgoing quota arrangements: The start location of the transportation has been specified. A
quota arrangement specifies for a material the quantity (proportionally) that is to be transported to
target locations. Possible target locations are all locations to which a transportation lane, starting
from the start location, has been specified.
n How quota arrangement items are planned depends on whether or not you have defined that the
quota arrangement heuristic is to be used to plan the product in the product master.
If you have defined this heuristic for the product, the requirements are split among the quota
arrangements. All quota arrangement items are planned separately based on the heuristic you have
defined in the Supply Chain Engineer. Since the system plans each item separately, it can
consider planning parameters, such as the lot-sizing procedure, procurement times, rounding
profiles or supplier calendars of the different sources of supply.
If you have not defined a quota arrangement for the product, the system first creates lots and then
distributes them among the different suppliers/plants during source of supply determination. You
cannot take the above planning parameters into account for this method. If you want to plan the
quota arrangement items individually, you must therefore define the quota arrangement heuristic at
product level.
Product C Product B
Req. of material to be
Stock of material
provided/stock transfer
Subcontractor A
Delivery /
provided
Goods
receipt
Own plant
Req. of material to be
Subcontractor B provided/stock transfer
ã SAP AG 2001
Requirement for assembled casing (includes two Planned order for assembled casing
component casings as well as screw) (product A) generated
ã SAP AG 2001
6. When you save the planning results in APO, the orders are transferred to the R/3 System. The
R/3 System generates a subcontracting purchase requisition. The planned order at the supplier and
the stock transfer order in your plant are assigned the same number as the subcontracting purchase
requisition in the R/3 System.
7. The order is executed in the R/3 System. Subcontracting purchase requisitions created in APO
are treated the same way as those created in the R/3 System:
a. You convert the subcontracting purchase requisition to a subcontracting purchase order.
b. You post the transfer from normal stock to subcontracting stock in the R/3 System.
In the R/3 System, the stock is considered special stock since it is still classified in the plant.
The same stock is considered normal stock in the APO System, since it is in the location of the
supplier.
c. The ordered product is manufactured by the supplier and delivered to the ordering party. You
post a goods receipt in R/3 for the subcontracting order. The component stock is reduced
automatically when the ordered product is posted as a goods receipt.
If you only post a goods receipt for part of the order, the order quantity is automatically reduced in
the APO System and in the R/3 System accordingly.
ã SAP AG 2001
n There are two ways to plan subcontracting in APO - with and without a supplier. When planning
with a supplier, the production order is generated at the supplier, and when planning without a
supplier, the production order is created in the target location. The main difference is in how the
product to be provided is planned. When planning with a supplier, the requirements and stocks of the
product to be provided are effective in the source location and can be planned (MRP) for each
supplier individually. When planning without a source location, however, the requirements and
stocks are only effective for MRP in their own plant. You cannot plan the transportation of products
to be provied to the suppliers.
n It is a good idea to use subcontracting without planning in the source location if the products to be
provided are not to be planned individually and if only one supplier is available per product. If
planning takes place in R/3, a production process model (PPM) must not exist in APO. In this case,
nothing must be maintained manually in APO.
n Prerequisite: The product may not be maintained in the source location.
n The following master data must be created:
• For the ordered products, a transportation lane must be created from the supplier to your plant. The
source of supply type indicator must be set to external procurement with subcontracting.
• In the target location, a PPM must be created. In addition, at least one operation and one resource
must be available for the PPM. Both must be assigned to the model and the PPM must be active. If
a routing exists in R/3, the PPM can also be created via CIF. You can also create a routing with a
dummy work center in R/3 and then create the PPM via CIF.
n Process:
A subcontracting purchase requistion is created in a planning run or manually. This is represented
in APO by a transport order and a planned order. Both orders are assigned the number of the
purchase requisition in R/3. The purchase requisition has the components from the planned order
in R/3.
Lot-size calculation
Procurement type
PPM explosion
Scheduling
ã SAP AG 2001
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
Activity: Production
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
ã SAP AG 2001
n Resource selection when using alternative resources: You can enter several alternative resources
in the PPM (via alternative mode maintenance) at which the activities can be executed.
n Prerequisites: You have maintained more than one mode for each activity in an operation in the
PPM. You have assigned the same priority to modes that are linked.
8
In the strategy profile, several Res 1 7 6 3 1
steps can be defined:
Res 2 5 4 2
Step 1: Find slot backward with
reverse, Res 3
lowest mode priority: 1
Today Time
Res 1 7 6 3 1
Res 2 8 5 4 2
Res 3
Today Time
ã SAP AG 2001
n It may also be that you do not want alternative resources to be used in the same way, for example,
because one alternative resource is not to be used for cost reasons or is only to be used for other
purposes.
9
Step 2: Find slots backward with Res 1 7 6 3 1
reverse, 5 4 2
Res 2
lowest mode priority: 2
Res 3
Today Time
Res 1 7 6 3 1
Res 2 8 5 4 2
Res 3 9
Today Time
ã SAP AG 2001
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
ã SAP AG 2001
n Mode priority: You can define several modes for an activity, that is, several sets of resources at
which the activity can be carried out. In general, these alternatives are not the same. For example,
you may want to load a fast, expensive machine more than you want to load the slower, inexpensive
replacement machine. This means you can assign priorities to the modes: A mode with priority A
has the highest priority (for example, the special machine), a mode with priority B has the next
highest priority (for example, the replacement machine), and so on up to priority O. One of the
modes you assign to an activity must either have the priority A or B. Different modes may have the
same priority.
You assign the priority Z to the modes you only want to schedule manually in the DS planning
board. You manually schedule the resources you only want to use, for example, in exceptional
situations for production (test or training machines). You can schedule modes of all priorities
manually in the DS planning board.
n During planning (for example, when creating an order), the system automatically executes the mode
selection according to the availability date. If several modes with different priorities can meet the
scheduling criteria, the system chooses the mode with the highest priority.
n However, if you do not want the orders to be automatically executed at resources of a lower mode
priority, you can start an optimization run after planning. The optimizer can reschedule existing
orders while taking date criteria and the costs of alternative modes into account (the lower the mode
priority, the higher the additional costs).
n Disregarding alternative resources with low priority: You can configure the detailed scheduling
strategy in such a way that the system does not consider modes of low priority during automatic
mode selection. This means you can instruct the system to schedule modes with a minimum priority
only. You can also specify that the system must retain the current modes during rescheduling in the
detailed scheduling strategy.
PPM product A
Activity Mode 1 Mode 2 Purpose of alternative modes in PPM: to
Resource 1 Resource 1 maintain alternative resources for production
10 R2 R3
Resource 1 Activity 20
Resource 2 Activity 10
Resource 3 Activity 10
Resource 4 Activity 20
n Mode linkage types (definition in the relationships in the PPM): Define which connections exist
between modes of two activities. The following linkage types are possible:
1. Linkage between modes with the same mode names: Example:
Activity 1 2
Mode abc abc
The modes with the same mode names are linked for the activities 1 and 2.
2. Linkage between modes with the same primary resources. Modes of two activities are linked
if they have the same primary resources. In this case, the mode name has no meaning.
Activity 1 2
Mode abc def
Primary resource 123 123
The modes with the same primary resource are linked.
n Mode linkage: After rescheduling activity 10 from resource 2 (mode 1) to resource 3 (mode 2),
activity 20 must also be rescheduled due to mode linkage. The new mode 2 determines the resource
for activity 20.
PPM Product A
Mode linkage
Operation 10: Pre-assembly
Activity: Setup
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
Activity: Production
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
ã SAP AG 2001
n In mode linking, the selection of a mode for an activity also specifies the modes for the activities that
are chronologically before and after it (for which a time relationship exists in the PPM). This is
particularly true for the activities of an operation that are always processed on the same primary
resource (mode linkage via the primary resource).
n If you want to make the mode selection for an activity dependent on which mode is used for an
activity of another operation, you can link the modes for these activities. Mode-linked activities
cannot be scheduled on random modes independently of each other. This is particularly true for the
activities of an operation that are always processed on the same primary resource (mode linkage via
the primary resource).
n The following link categories are available:
• Linking of modes that have the same mode name: You can only use this link category to link
activities from different operations.
• Linking of modes that have the same primary resource: This link category is mandatory for
linking the activities of one operation. However, you can also use this link category to link
activities that belong to different operations.
n Alternative modes must be maintained manually in the PPM in APO.
PPM Product A
No mode linkage
Operation 10: Pre-assembly
Activity: Setup
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
Activity: Production
Mode 1 (for example, new resource) Mode 2 (for example, old resource)
Primary resource W1904_1000_001 Primary resource W1905_1000_001
Secondary resource W1904_1000_002 Secondary resource W1905_1000_002
ã SAP AG 2001
n Prerequisite: You have maintained more than one mode for each activity in an operation in the PPM. You have assigned
the same priority to modes that are linked. In the case of linked primary resources, the modes for the activities with the
same primary resource must have the same priority. This is relevant for the activities in an operation and in the case of
mode linking across operations. In the case of mode linking between modes of the same name, the modes with the same
name must have the same priority. This is only relevant for mode linking across operations.
n Prerequisites: You have to make the following settings in the production process model (PPM) to link the modes of two
activities when scheduling:
• Create a relationship between the activities that have to belong to different operations and assign the link category
"3" (same mode number) to this relationship.
• Define at least one mode with the same name for each of the activities.
• Assign the same priority to the linked modes The system can automatically schedule modes with priorities A to O.
You cannot use the mode link functions for modes that are only scheduled manually (mode priority "Z").
• Create a relationship between the activities and assign the link category 2 (same primary resource) to this
relationship. The system automatically activates the primary resource link in the operation when you create the
mandatory start and end relationship between the activities of an operation.
• Define at least one mode with the same primary resource for each of the activities. In the operation, all activities must
have at least one mode with the same primary resource.
• Specify the same resource consumption for the primary resource in the modes to be linked if the primary resource is a
multi-resource. The same resource consumption is only required when linking to multi-activity and multi-mixed
resources. In the case of single-activity and single mixed resources, the activity always uses the complete resource.
That is, the resource consumption is always 1 for single-activity resources.
Secondary resource 1
For example, labor capacity required for the activity produce
Secondary resource 2
For example, tools required for the activity setup
ã SAP AG 2001
n Cover flag in the relationships in the PPM (constant loading of resources): During planning and
optimization, this flag keeps a resource from being occupied by activities of different orders in the
time period between two activities.
n Use: If a resource is to be constantly used by two activities of an order.
n Dependencies: This indicator is set automatically if the relationship is in the same operation and the
primary resources are linked. Within an operation, only linear, covered activity relationships may
exist. Therefore, the system will not allow you to make entries in this field in such situations.
If you want to use the cover flag to connect activities between operations, you must maintain the
cover flag in the PPM.
Single Activity
Multi Activity
Bucket
ã SAP AG 2001
Multi-activity
resource with Act. order 1
3 individual
capacities Act. order 5
ã SAP AG 2001
n Use: Using the synchronization procedure, the system creates blocks of activities at a multi-activity
resource or at a multi-mix resource during the planning process. These blocks can be processed
simultaneously as they are of equal length and they also have a further common characteristic. The
blocks are created as the system schedules each activity to be newly scheduled to the multi-resource
as follows:
• If the desired start or finish date of the activity to be scheduled lies between the start and finish date
of an activity that is already scheduled, is of the same length and has a further common
characteristic, the system schedules the activity on the start date of this activity, assuming that
sufficient capacity exists.
• If there is not sufficient capacity available on this date, the system schedules the activity to be
scheduled before the activity already scheduled in the case of backward scheduling or after the
activity already scheduled in the case of forward scheduling. In both cases, no overlapping is
allowed.
n The system always schedules activities with different durations or with different characteristics with
no overlaps.
n Example: Using the synchronization procedure, you can represent the loading of an oven. As the
oven can only be filled or emptied all at once, it has to be completely filled with products that have
to be kept at the same temperature for the same length of time. Therefore, you can only schedule
baking activities with the same duration and which have to be carried out at the same temperature.
Baking activities that require either a different duration or which require the oven to be set to a
different temperature can only be carried out either before or afterwards and overlapping is not
allowed.
l Time
Multi-activity
Resource with
Act. order 1
3 individual
capacities Act. order 5
Activities
are scheduled on 3
individual capacities
ã SAP AG 2001
n Prerequisites: The following prerequisites must be met for the system to synchronize the reservation
of a multi-activity resource:
• You use the multi-activity resource in the modes of the activities only as a primary resource.
• In the production process model, you have assigned a setup group/key to each operation to be
carried out at the multi-resource.
• Using the setup key or the setup group, you assign a certain characteristic value (for example, a
certain temperature) to the activities of an operation. The same setup key or group means the same
characteristic values, for example, the same temperature, and different setup key or groups means
different characteristic values.
• Notice that the setup key is used differently for multi-resources than for single resources:
• For single resources, the setup key or group classifies the setup status of the resource. The
system valuates the setup status of the resource during the setup adjustment or during the setup
optimization using the setup matrix.
• For multi-resources, the setup key or the setup group represents any value of a characteristic
(for example, a certain temperature) you want to use to synchronize activities.
Product A 10 20 10 20 10 20 10 20
Dependent
reqmts
Product A 10 20 10 20 10 20 10 20
10 20 Product B 10 20 10 20 10 20 Case
4a
Discrete output also Continuous output also
for product B for product B
10 20 Case
4b
A Final assembly Planned order product B, if
operation 20 is longer than
operation 10 of product A
B C D Assembly production
ã SAP AG 2001
n Case 4 a and b: Component production is always scheduled in a way that the component
requirements are covered by component production at all times. Scheduling also attempts to move
component production as close as possible to the component requirements (to start as late as
possible).
n You can display continuous input/output in the following transactions: product view, product
planning table (Periodic product view, if the Distributed quantities indicator is set in the user
settings. In this case, additional lines appear with the distributed quantities), DS planning board.
Case 4
Offset
(lead-time)
When using an offset
(lead-time)
Problem in case 4: Continuous input of product A (finished product), but also continuous
output of product B (assembly): Final assembly is required to have assemblies
available at the same time as production
A Final assembly
B C D Assembly production
ã SAP AG 2001
n Offset: with the lead-time offset, the dependent requirements date of a certain component can be
moved.
n Prerequisite: In the R/3 BOM, maintain a positive value in the BOM item of the
assembly/component in the Lead-time offset field on the Basic data tab. This value is transferred to
the Offset field in the APO PPM (logical input component) via the R/3-APO interface. If you have
maintained a negative lead-time offset, a negative offset is transferred.
1 Course Overview
6 Optimizing Scheduling
ã SAP AG 2001
Resource 1
Resource 2 ALERTS:
Violation of an order
internal
Min : 12:00:00 AM h relationship
Resource 3
t
Today
Available Min : 12:00 h
ã SAP AG 2001
n You can specify, for example, that the system is to add an operation to an existing schedule while
rescheduling (Add operation planning mode). To create a sufficiently large slot, the system shifts the
neighboring operations into the future. The inserted operation and the operations that were shifted
may have time relationships or pegging relationships to other, dependent operations that must be
observed. The system also automatically shifts the dependent operations.
n You can use the propagation range to restrict the resource on which the system may perform such
subsequent rescheduling for scheduling in the detailed scheduling planning board.
n The propagation range specifies which resources and products can be scheduled in Production
Planning and Detailed Scheduling. This includes:
Creating, changing and rescheduling orders for these products
Changing the capacity and the planning parameters of these resources
Rescheduling operations from the orders belonging to these resources
l Do not consider
ALERTS:
Resource 1 Violation of an order
internal relationship
Resource 2
Today t
Min : 12:00:00 AM h
Available
Occupied
Order
ã SAP AG 2001
Resource 1
Resource 2
Today t
Occupied
ã SAP AG 2001
n In the detailed scheduling planning board, you can use drag and drop to schedule operations in the
non-working times of a resource, that is, in times where the resource is not scheduled to work. By
using this strategy, you do not have to change the resource data directly when you want to finish an
operation after the end of the regular working time, for example, after the end of the last shift.
n During the non-working time, the same capacity and the same rate of resource utilization is available
as was available in the regular working time that directly preceded this. For more information, see
Scheduling in Non-Working Times.
In the detailed scheduling planning board, working times are shown in white, regular non-working
times (such as breaks and weekends) in gray (if you have specified that non-working times are to
be displayed in the DS planning board profile), and downtimes (for example, through machine
shutdowns) in dark gray.
You can show and hide non-working times in the DS planning board.
You can show and hide downtimes in the DS planning board. You cannot schedule operations in
downtimes.
Procedure: Choose Settings -> Strategy to call the strategy profile and set the Non-working times
indicator in the detailed scheduling strategy. Choose Enter. Using drag and drop to shift the
desired operation to the non-working time.
Result: The system schedules the operation on this date when all other prerequisites are met, for
example, when no constraints are violated by the schedule.
n The system fixes the operations that you schedule in non-working times, that is, the operations can
no longer be rescheduled. Even when you withdraw the Non-working times indicator, the operations
remain fixed. To be able to reschedule the operations again, you must undo the fix.
1. Step
Insert operation
4
7 6 5 3 2 1
Today Time
2. Step
Reschedule predecessor 4
and successor
7 6 5 3 2 1
Today Time
3. Step
Check current temporal
constraints:
If contraints are violated: 7 6 5 3 4 2 1
-> move sequence into the
future Today Time
ã SAP AG 2001
n Insert an operation:You can use this finite scheduling mode to schedule an operation in an existing
schedule on (or as close as possible to) the desired date, even when there is no slot in the schedule
for this date, or only a slot that is too small. If necessary, the system creates a slot that is large
enough by shifting the neighboring operations that lie in both directions onto the resource.
n You can only use this scheduling mode for single activity resources that are to be scheduled finitely.
In the scheduling parameters for the resource, you specify whether that resource is finite or infinite.
In the case of infinite resources, the system always schedules an operation infinitely on the desired
date, that is, without considering the existing resource load.
Resource 5 50
Resource 4 40
Bottleneck
Bottleneck
operation
operation
Resource 3 (bottleneck) 30
Resource 2 20
Time
Time buffer
buffer
(positive
(positive value)
value)
Resource 1 10
Time
Bottleneck (definition as a finite resource) sets takt: time buffers are to ensure that the takt
setter is not interrupted in its takt by delays in material supply
ã SAP AG 2001
n In Production Planning and Detailed Scheduling, if you want to protect an operation or the primary
resource, on which the operation is processed, from unforeseen delays in planning, you can schedule
using a resource-specific time buffer. The time buffer represents a type of safety time: Using the time
buffer, the system keeps a larger time interval between the operation and the predecessor operations
during scheduling. Possible delays in the predecessor operations can be caught by the time buffer
and a standstill in resources due to material shortage can thereby be avoided. Here, predecessor
operations are the operations that have a time relationship or a pegging relationship to the operation.
n When planning with a time buffer, the system must maintain - depending on the type of relationship
- the following minimum intervals between the operations: In a pegging relationship, the receipt date
must be earlier than the requirements date by the duration of the time buffer. In a time relationship,
the minimum time interval defined in the production process model (PPM) is increased between the
operations by the duration of the time buffer. If you do not specify a minimum interval in the PPM
for a relationship, the system uses 0 as the minimum interval; during scheduling with time buffers,
the minimum interval is therefore the duration of the time buffer. In the PPM you can specify for a
cross-operation relationship if the system can use the time buffer during scheduling. (In relationships
within one operation, in principle, you cannot carry out scheduling using time buffers).
n General prerequisites:
You specified a time buffer in the primary resource in which you want to carry out scheduling
with time buffers. You also have to set the detailed scheduling strategy so the system considers the
time relationships.
• Special prerequisites for planning with time buffers in time relationships
• In the PPM for the cross-operation time relationships, in which you want to schedule with time
buffers, you specified that the system can use the time buffer during scheduling (reference subtype
2). In relationships within one operation, you cannot carry out scheduling using time buffers. As a
rule, the system uses the reference subtype Standard here.
Resource 1
R2
R3
R4
New orders
displayed after
refresh
ã SAP AG 2001
Change
Planning version Op20 Op40 Op10 sequence
ã SAP AG 2001
ã SAP AG 2001
Op60
Planning version Op10 Op20 Op40
Alert! - Operation 60, 10 and 20
are overlapping. No
changes for op10 op20 and op40
ã SAP AG 2001
ã SAP AG 2001
Scenario 5: New Order Quantity -> Duration of the operation 10 was changed
Time
ã SAP AG 2001
ã SAP AG 2001
View
View 22 View 2
/SAPAPO/CDPS_VIEW2
M The user specifies the
overall profile when
View 3
calling up the planning
View
View 33 /SAPAPO/CDPS_VIEW3
board.
Variable
VariableView
view 1 n Menu paths, view 1 to 3:
M Standard overall profiles
are set by SAP.
M Using the SET/GET
parameters, other overall
profiles can be set.
ã SAP AG 2001
n On the Production Planning and Detailed Scheduling screen, you can directly call up the planning
board with various overall profiles, that is, with different settings. To do this, choose Detailed
scheduling, and then View 1, View 2, View 3 or Variable view.
n When you call up the Variable view, you must enter an overall profile to get to the planning board.
For the overall profile, you can select other sub-profiles.
n In View 1, View 2 and View 3, overall profiles are set by SAP. If you want to work with other overall
profiles, you assign these overall profiles to the SET/GET parameters in user maintenance (System -
> User Profiles -> Own Data).
n In the Variable View, you can always change the work area before starting the planning board. For
Views 1 to 3 you specify in the overall profile whether or not you can change the work area when
calling up the planning board.
l Overall profile
l Strategy profile
l Planning table profile
l Work area
l Time profile
l Optimization profile
ã SAP AG 2001
n For the profiles listed above you can define standard profiles and user-specific profiles that you
identify using a Customizing ID. Standard profiles do not have a Customizing ID.
n As a rule you use your user ID as the customizing ID.
n When you work with the planning board that you call up in order maintenance, the system
automatically uses the settings defined in the user-specific profiles (if you have defined any user-
specific profiles with your user ID as the Customizing ID).
n When you work with the planning board that you call up directly in PP/DS, the system uses the
settings from the profiles that you specify explicitly (either standard or user-specific).
Work area
Products Orders Resources
Orders
Operations Operations
Planning Board
ã SAP AG 2001
n Using the work area, you define which objects are displayed in the planning board you call up
directly in PP/DS.
n The work area is a selection of resources, orders and products from which the system determines the
resources that are transferred to the planning board, according to the following selection paths:
From each product that you specify in the work area, the system determines all orders for this
product. From these orders, the system determines the operations for these orders. From these
operations, the system determines the resources that are used by the operations.
From each order that you specify in the work area, the system determines the operations for the
order, and from these operations, the resources that are used by the operations.
Each resource that you specify in the work area is directly relevant for the planning board.
From these resources the system determines the objects that are displayed in the various charts
(resources chart, products chart, operations chart and orders chart).
n In the overall profile, you can specify if you can change the work area when calling up the planning
board.
n Note: You define the products and resources that you can schedule in the planning board in the
propagation range.
ã SAP AG 2001
n Using the propagation range, you define which objects you can schedule.
n Note: You use the work area to define which objects are displayed in the planning board, which you
call up directly in the area menu for PP/DS.
Evaluation period
Pre-evaluation Post-evaluation
Planning period
period period
ã SAP AG 2001
n The evaluation period is the period that is displayed in the planning table.
n In the planning period, you can change the schedule.
n The schedule for the pre-evaluation period and the post-evaluation period is only displayed, and
cannot be changed.
ã SAP AG 2001
n Problems can occur during scheduling, for example, resource overload or delivery date exceeded.
n In the Alert Monitor profile, you define for which scheduling problems alerts should be displayed.
Alerts are generated when the following objects are affected:
The resources and products in the propagation range
The resources that you specify via the work area
The objects that you specified explicitely in the Alert Monitor profile
n You define the Alert Monitor profile in the Supply Chain Cockpit.
n In the planning board, you can call up the Alert Monitor by choosing Extras.
l Planning direction
n Forward / backward
l Planning mode
n Find slot
n Insert operation
l Planning parameters
n Finite / infinite scheduling
n Schedule to non-working times
l Pegging relationships
n Fixed pegging
n Dynamic pegging
ã SAP AG 2001
DS
DS planning
planning board
board profile
profile
Charts
Charts--Selection
Selectionof
ofcharts
chartsto
tobe
bedisplayed
displayed
Decision
Decisiontable
tablefor
fortable
tablerow
row
Decision
Decisiontable
tablefor
forgraphical
graphicalobject
object
Definition
Definitionof
ofgraphical
graphicalobjects
objects
Representation
Representationof
ofgraphical
graphicalelements
elements
ã SAP AG 2001
n In the DS planning board profile, you specify the layout of the planning board.
n The structure of the DS planning board profile is displayed above:
For each profile you define the representation of all graphical objects (operations or orders) that
you want to display in the planning board.
For each profile, you define the charts (up to 8).
For each chart, you define the descision tables that the system uses to determine the appropriate
presentation of a graphical object in the diagram section and a table row in the table section. You
define one decision table for the selection of rows and one decision table for the selection of
graphical objects.
DS
DSplanning
planningboard
boardprofile
l Windows settings profile
Charts - Selection of charts to be displayed
Charts - Selection of charts to be displayed
n Width of table area in 1/10 mm Decision table for table row
Decision table for table row
n Initial zoom factor for displayed objects Decision table for graphical object
Decision table for graphical object
n You use global settings to control some general properties of the planning board graphics. The global
settings effect all charts in the planning board.
n You can specify that the default graphical basic settings for the planning board are to be adopted.
l Chart object
l Objects displayed
DS
DSplanning
planningboard
boardprofile
profile
n Orders
Charts -Selection of charts to be displayed
Charts -Selection of charts to be displayed
n Operations
Decision table for table row
Decision table for table row
n Network views of orders or of operations
Decision table for graphical object
Decision table for graphical object
n Histogram (product stock/resource load)
l Dynamic / static charts
Definition of graphical objects
Definition of graphical objects
ã SAP AG 2001
n You can define up to 8 charts for the planning board. The chart number defines the position of the
chart in the planning board.
n The chart object defines which fields can be displayed in the table section of the chart and which
objects can be displayed in the diagram section of the chart. For example, you can use the chart
object Resource to define a resource chart displaying the resource name in the table section and
operations in the diagram section, or a resource load chart displaying resource load curves in the
diagram section.
n Charts with histograms and with network views can be static or dynamic. Static charts are
permanently displayed in the planning board. You can show or hide dynamic charts in the planning
board.
n Beside a standard row format (font, alignment background color), you can define up to six more
different formats for the rows in the table section. In the decision table for table rows you define
which row format the system applies to a row, depending on the characteristics of the displayed data.
Resource x x x
Resource load
Chart object
Products x x x x x
Product stock
Order x x x x
Operation x x
ã SAP AG 2001
l Function
DS
DSplanning
planningboard
boardprofile
profile
n Finding the appropriate representations Charts - Selection of charts to be displayed
Charts - Selection of charts to be displayed
of the objects in a chart (operations,
orders, rows) Decision table for table row
Decision table for table row
l
Decision table for graphical object
Structure Decision table for graphical object
n 'If' condition
w Table / field name
w Logical operator
w Comparison value or table / field
name
n 'Then' scenario
w Row format or next decision group
or
w Graphical object ID or next decision
group
ã SAP AG 2001
n In the decision tables, you define for a chart all the decision steps needed for the system to choose
the appropriate representation of an order, an operation or a table row. The choice of graphical
objects or a row format is dependent on particular characteristics. For each chart, you define one
decision table for rows and one decision table for graphical objects.
n In a decision table, you define one or more decision groups to which you assign different numbers.
In the decision groups, you combine various decision steps, to which you also assign numbers. In
each decision group you can group decision steps together in a particular "theme".
n You formulate the decision steps using IF/THEN instructions.
n In the IF part of a decision step, you formulate a statement in which you compare the contents of a
table field with another value via a logical operator. For a comparison value you can enter a specific
value or a table field.
n In the THEN part, you define what the result is when the IF part is true. You can specify how the
object is represented. To do this, you enter a graphical object or a row format. You can also check
for further characteristics. To do this, you enter another decision group to which the system should
go to in order to check this question.
Standard operation DS
DSplanning
planningboard
boardprofile
profile
Charts - Selection of charts to be displayed
Charts - Selection of charts to be displayed
Processing
Setup
ã SAP AG 2001
n Graphical objects represent operations or orders in the planning board. For each planning board
profile, you define all the graphical objects that you want to use in the planning board to display, in
various ways, operations and orders that have different characteristics.
n The graphical object is made up of a graphical element, the order or operations dates and a text label.
For the label, you can define the field, whose contents is used for the text, the font and the position
relative to the graphical object.
n Operations with several activities can be represented by graphical objects composed of several
graphical elements, one graphical element for each activity. For example, set up and processing can
be depicted in different ways.
n For each graphical element of a graphical object you specify:
Whether the graphical element represents an order, an operation or an activity
Whether the graphical element is a line, a rectangle or a symbol
On which dates for the order, operation or activity the graphical element is placed in the planning
board (planned or actual start date or finish date)
If the graphical element is a line or a rectangle, you must specify a start date and a finish date. If
you choose a symbol as a graphical element (for example, a diamond) you enter only one date.
The system positions the symbol in the planning board on this date.
Standard operation
Released operation
Confirmed operation
If ...... then
graph. object 1
or if....... then
graph. object 2
or
...
ã SAP AG 2001
n In the decision table for a chart, you specify which operations and orders should be represented by
which graphical objects.
ã SAP AG 2001
n Push production is used to create a production plan starting with products for which no requirements
exist in the system (push products). Push production takes the predefined planning strategies into
account.
n Push production supports decision-making to solve a clearly defined push problem (material without
consumer) in short-term to medium-term planning. It helps with the decision of what to produce and
in which quantity to produce it to consume a push material. Push production works in the opposite
direction than requirements explosion. It does not change the master production schedule based on
target product requirements by working from the finished product via the intermediate products to
the raw materials (pull). Instead, it works with requirements explosion and searches for a use for
available raw materials and semi-finished products.
n Prerequisite: The Alert Monitor supports you in finding products with a surplus. To do this, the
PP/DS Excess Coverage alert must be activated in the Alert Monitor profile.
You can only jump to push production from the Alert Monitor if the Alert order generates surplus is
activated.
n Push production takes place in two main steps:
• Identify push problem: Which orders generate a surplus?
• Generate consumer for this product
n In the system, you identify a quantity of a product for which no consumer is available (push
product). The system supports you with alerts that detect surpluses.
n You call up push production. Push production can either be called up from the Product View for the
push product (in the change mode) or from the Alert Monitor. The Push Production screen appears
in which all required information and functions for solving a push problem appear. This includes:
Orders with a surplus of push products
All production process models with the product receipts in which the push material is used
All orders that were generated through push production
n You choose an order with a product surplus. The system uses the data in the production process
model to calculate the quantity of possible product receipts based on the quantity of push products
and displays this quantity.
n You choose a product that you want to produce, determine the quantity to be produced, and create an
order or several orders in a simulation.
The system plans according to the set planning strategy.
If there are lot-size constraints, the system calculates the number of orders that must be created to
produce the desired quantity. This calculation is based on the leading product of the selected
production process model. If the number of orders is greater than one, the result of the calculation
is displayed.
You can change the number of these orders.
The system adjusts the total quantity accordingly.
n The system updates the push production view.
n If you want to create the simulated orders, save your planning.
ã SAP AG 2001
1 Course Overview
66 Optimizing Scheduling
6
ã SAP AG 2001
Resources
Bottleneck
Time
Bottleneck
1. Determine bottleneck
2. Schedule bottleneck resources only
3. Fix sequence at bottleneck resource
4. Schedule all remaining resources
ã SAP AG 2001
n Using resource decomposition, the schedule is first optimized for the bottleneck schedule.
n Then the schedule for the remaining resources is optimized. The schedule for these resources is
adapted to the bottleneck schedule.
n Note: Resource decomposition is only used in campaign optimization.
n Prerequisite: You have set the Bottleneck resource indicator in the resource which you want to
optimized first for campaign optimization (metaheuristic Resource decomposition
Ressourcenzerlegung). The Bottleneck resource indicator is only relevant for the metaheuristic
resource decomposition and has no other planning characteristics in APO planning. Therefore, this
field cannot be maintained in R/3 and transferred via the R/3-APO interface.
Temporal constraints
Resource 2 Activity A
FS: [-10min; 180min]
Resource 1 Activity B Activity B
Time
FS: Finish-start relationship
ã SAP AG 2001
ã SAP AG 2001
n While optimization is running, the progress of the values for the individual optimization criteria is
displayed graphically. Another screen section displays the messages created by the system regarding
the network or optimization.
n After the optimization run has ended, you can start a new optimization run as required, with changed
optimization settings. When you return to the DS planning board, the system adopts the result of the
optimization run that was executed last in the simulation version of the DS planning board.
n You can use the Plan Monitor to compare the results of various optimization runs. You can call the
Plan Monitor directly from the DS planning board by choosing Extras -> Plan Monitor.
n For more detailed information, use the extensive F1-help available for optimization.
Sales
order
Backward
pegging
possible
Planned order
with dependent
requirement
Breaks or capacity
used by other orders
Purchase
requisition
ã SAP AG 2001
n If you have started the optimization run interactively (for example, in the DS planning board) or in
the production planning run, the process is as follows:
n Step 1: Processing pegging relationships:
The LiveCache creates new dynamic pegging relationships for the receipt and requirement
elements that lie within the optimization range when you call the optimizer. In doing so, the
system can execute backward scheduling. By default, the system can link a requirement element to
a receipt element that is up to 24 hours late during backward scheduling. You can enter a different
value in the optimization profile or when calling the optimizer. Reason: The value set in the
product master for backward pegging cannot be taken into account in optimization, which is why
you can define a value in the optimization profile.
The newly generated pegging relationships are then either converted to relationships between
receipt elements and requirement elements or to requirements dates for the receipt elements (these
dates represent hard or soft requirements for optimization, and limit the number of possible
scheduling dates).
This means that during optimization, the optimizer does not change the pegging relationships
(same effect as fixed pegging), since they are considered fixed relationships. The optimizer does
not delete, change or create any pegging relationships. It also does not change any quantities or lot
sizes.
n The newly generated pegging relationships are only valid for optimization. After adopting the
optimized schedule in the planning version, the system creates, if necessary, new pegging
relationships.
Fixed activity
Resource 1
* Activity A
Tim
e
End-start relationship:
maximum time interval: 2 hours
ã SAP AG 2001
n Step 2: Processing time relationships: A relationship with a minimum or maximum time interval
can exist between two activities (maintenance in PPM). At the start of the optimization run, the
system evaluates the relationships between the activities and then determines the possible scheduling
dates for the activities.
• Relationship between two non-fixed activities: During optimization, the system must always
adhere to the relationship between two non-fixed activities; they represent a hard constraint.
• Relationship between a fixed and a non-fixed activity: Using the relationship between a non-
fixed activity and a fixed activity, the system determines the earliest or the latest start or finish
dates for the non-fixed activity. These dates represent hard or soft constraints for optimization as
follows:
- Earliest start or finish dates are a hard constraint for optimization.
- By default, latest start or finish dates are soft constraints that the system is allowed to violate
These delays can be minimized during optimization. If required, you can specify that the system
is also to consider the latest dates as hard constraints.
ã SAP AG 2001
n Step 3 (optional): Before optimizing, the system performs a consistency check for the master data
transferred to the optimizer: During this check, for example, the system checks the master data for
incorrect settings. For performance reasons, you should only use this check if you are in the
implementation phase and are configuring the master data. If you do not want to execute the
consistency check, you set the Skip data consistency check indicator on the Enhanced settings tab in
the optimization profile, or when calling up optimization.
n Step 4: The system optimizes the schedule in the optimization range based on the specified objective
function, hereby considering all the constraints. To do this, it varies the dates and the resource
assignment for the activities.
n Step 5 (optional): During optimization the system tends to schedule activities earlier than the
requirement date (scheduling always takes place on the earliest possible date). In order to correct this
early scheduling, the system can automatically execute a follow-up optimization in the optimization
run after the actual optimization has finished. During the follow-up optimization, the system tries to
schedule the activities that were scheduled too early closer to the requirement date. This corresponds
to backward scheduling.
Prerequisites in the optimization profile or when calling up optimization:
• Set the Backward scheduling indicator on the Additional strategies tab.
• Specify whether, during the follow-up optimization, the system can change the resource
assignment established during optimization, or whether it must stay the same.
• Specify whether, during the follow-up optimization, the system can increase the total lead time
achieved during optimization.
n Step 6: The system saves the optimized schedule either in the planning version (production planning
run) or in the simulation version (production planning run, DS planning board), depending on where
you started the optimization.