Show TOC

 Capacity-Driven Order Creation

Use

You can use this heuristic, which is based on the algorithm /SAPAPO/HEUR_CDOC, to create a new planned order or make quantity adjustments to an existing planned order with a view to achieving better capacity utilization for a certain resource.

Restrictions

  • The adjustment of the order quantity is carried out taking the capacity of the selected resource into account. If an order takes up further resources, the capacities of these are not taken into account in the quantity adjustment.

  • The heuristic can only be used for resources with time-continuous capacity (single and multiresources). Bucket resources cannot be scheduled with this heuristic.

  • The heuristic does not necessarily achieve 100% utilization. This means that gaps in utilized capacity may remain even after you have executed the heuristic.

  • In the case of a single resource, the operation that is to be newly created or extended cannot be created on the selected resource over a period in which another operation already lies. This means that the temporal gap in which the operation is to be scheduled must not be interrupted by other operations.

  • You cannot integrate the heuristic into a production planning run .

Integration

You can invoke the heuristic interactively, starting from the following applications:

  • Detailed scheduling planning board

  • Resource planning board

  • Product planning table

  • Order processing view

Prerequisites

You have made the heuristic settings via the IMG activity Maintain Heuristics in Customizing for Production Planning and Detailed Scheduling. The heuristic is supplied in standard customizing with the name SAP_PP_CDOC.

Features

The heuristic can be executed in three versions, depending on the execution type that you specify in the heuristic settings :

  • Heuristic for creating a new planned order

  • Heuristic for increasing the quantity in an existing planned order (extend forward)

  • Heuristic for increasing the quantity in an existing planned order (extend backward)

Activities

When creating a planned order, the system proceeds as follows:

  1. The explodes the selected source of supply . The start date of the gap in utilized capacity is used as the explosion date . A check is made as to whether the source of supply is valid as at this date. The system creates an order with the smallest possible quantity.

  2. The system performs a lot-size calculation for the order to fill the gap as optimally as possible.

    If you work with fixed lot sizes , the system may have to create several planned orders to be able to fill the gap. You can limit the number of planned orders to be created in the Maximum Number of Orders field in the heuristic settings.

  3. The system can perform this quantity calculation using two different procedures , which you can specify in the heuristic settings.

    • Iterative procedure

    • Linear procedure

  4. The system saves the newly created order(s).

Example

Procedure when invoking the heuristic on the detailed scheduling planning board :

  1. In the Resource View, you discover that there is a gap in the capacity utilization of a resource in a certain period. You wish to improve resource utilization during this period.

  2. To execute the heuristic, you can select the following objects on the detailed scheduling planning board:

    • The resource, or

    • An operation, or

    • Two operations at a resource between which the gap to be closed is located.

  3. You invoke the heuristic.

  4. The system may present you with a dialog box in which you can enter additional information for the execution of the heuristic. As a rule, this is only the case when you create a new order, because you then have to choose the source of supply.

    Whether or not the system presents you with the dialog box depends on whether you have set the Do Not Display Dialog Box indicator in the Heuristic Settings and have yet selected an operation in the interactive application. In this case, the dialog box does not appear, since it is already clear that the selected operation is to be extended in order to fill the temporal gap.

    The dialog box is subdivided into the following areas:

    • Execution type and specification of operation dates/times

      In this area, you see whether a new order is to be created or an existing one adjusted. This depends on the heuristic settings . You also specify the operation start and end dates/times where necessary .

    • Selection of source of supply

      when creating a new order, you can choose a source of supply in this overview of possible sources (PPM or PDS). The system shows you all sources of supply in which the selected resource is used.

    • Information on current source of supply

      In this area, all information on the selected source is displayed. This includes, for example, the warehouse stock of the product to be scheduled and the necessary components with their ranges of coverage (time supplies).

  5. When you have completed your input in the dialog box and pressed Enter , the system starts the execution of the heuristic.

  6. Depending on the setting of the heuristic, the system either creates a new planned order or increases the quantity of an existing one, thus filling the gap in utilized capacity.

    Depending on the period chosen, it is possible that the planned order will start as at the planned start date/time (today +/- offset )The possible end of an order is determined by the end of the PP/DS horizon .