Overview of Time Series Supply Planning with HPA

Objective

After completing this lesson, you will be able to describe the Main Features of Supply Planning

Unconstrained Heuristics Basics

The Infinite Heuristic is an unconstrained planning process primarily used to propagate demand, understand dependent requirements, and assess project capacity needs.

The advantage of unconstrained heuristics is speed. Since there are no constraints, the demands and supplies are aligned, making it easy to understand the results. It is also a great tool to run as a check to see if the data model is working correctly before using a constraint-planning operator.

The time-series-based supply planning heuristic (infinite without shortages) takes input key figure values. It uses them to calculate a supply plan and writes the results to the output key figures.

The heuristics calculation process is level by level at the Location Product level. Properties of infinite heuristics are outlined in the figure below.

The figure describes the Unconstrained Heuristics.

Heuristics use the demand signal as an input for calculations. If only location and product dimensions are relevant for the supply chain, key figures with business meaning Independent Demand are sufficient.

If an additional dimension (such as a customer) is needed, the model should use additional key figures with business meaning Consensus Demand.

Heuristics use the Customer TLane Product master data type to determine the locations (distribution centers and plants) from which the product can be supplied to the customer.

In the location thus determined heuristics calculates dependent demand and net demand.

The net demand will be fulfilled using a suitable source of supply. In the case of a multi-tier supply chain, demand can be pushed to other locations using the TLane Product master data type. It can be pushed to the production source and from there to components or, it can be derived as an external receipt.

Heuristics will calculate total receipts, supply, projected stock deficit, shortage, etc., and move period by period through the planning horizon calculating these outputs.

The figure describes the Planning Definitions.

The supply planning heuristic ignores capacity constraints and assumes the required amount can be produced. The receipts are, therefore, the same as the net demand at the ship-from location unless adjusted key figures were used.

Supply Optimization Basics

Optimization aims to fulfill the demands as far as possible within the given constraints. The constraints are modelled at the network level with a cost model. The optimizer creates a feasible solution by planning the required production and transportation amounts while adhering to the modelled supply chain.

Optimization can improve planning results in a variety of business cases.

It is used in both push and pull models balancing the cost drivers to achieve the right product mix with efficiencies across the entire network.

A company usually has alternative sources of supply with different costs. The optimizer decides when and where to produce, procure, store, or deliver. The best sourcing option depends on resource capacities, material availability, and the defined costs.

The figure describes the Cost-Based Planning.

The optimizer enables cost-based planning. Independent of the use case, it always minimizes the total cost of the supply plan. During the optimizing process, it searches through all feasible solutions to find the most cost-effective solution regarding total costs.

A solution is feasible for the optimizer when it respects all the planning constraints, such as the sourcing options and available resource capacities.

A feasible solution can contain non-deliveries, that is, not fully satisfied demands, safety stock constraint violations, or violations of other soft constraints, such as quota arrangements. The optimizer violates soft constraints if they conflict with hard constraints (for example, maximum lot sizes), or if their violation is more cost-effective.

The optimizer will consider all costs, with the most prominent on the demand side being the Non-Delivery and Late Delivery Costs. It is possible to structure costs so that demand from customer A is given greater weight than that from customer B.

From the Supply Side, the most prominent costs are the source of supply costs, namely Transportation, Production, and Procurement. For stock levels, the optimizer considers Safety Stock Violation costs.

These costs are usually based on the amount of the material, for example, the amount transported. But you can also define fixed costs. Fixed costs arise independently of the corresponding amount and are typically used to avoid small transport amounts. In addition to these scenario-defined costs, the optimizer generates internal costs for pseudo-hard constraints, such as violations of manually adjusted values. As these costs are very high, these constraints will not be violated if a feasible solution respects them.

Detailed costs such as setup costs are not considered by the supply optimizer, as these costs become important in operational activities, such as Production Planning and Detailed Scheduling.

Optimization transforms the supply planning problem into a Mixed Integer Linear Program (MILP) mathematical model. The output is a feasible, cost-optimized production, distribution, and procurement plan for the selected supply chain network.

The figure describes the Mathematical Representation of SAP IBP Supply Model.

The complexity of the MILP model must be simple enough to achieve sufficient solution quality within an acceptable runtime.

Too many variables due to a large planning volume or detailed modelling may result in too long runtimes. Additionally, discrete variables (rounding values) are much harder to solve.

Some of the best practices for optimization include restricting the runtime (since you usually don’t solve to optimality but stop after a certain duration with the best solution found so far) and splitting large planning scenarios into multiple steps.

Decomposition options are summarized in the figure below.

The figure describes the Decomposition.

Functional Scope of Time-Series Supply in HPA

With harmonized planning, SAP made huge investments in heuristics and optimizer algorithms to support the new data model. There is one planning area where all the processes should be modelled closely together, so changes were made in the engine to get those processes closer together.

Only certain time-series supply-planning functionalities are enabled with the 2508 release of the Harmonized Planning Area.

Inclusions

In the subsequent releases, more functionalities will become available. Shelf life will be available in OBP, the same as it is now. There will no longer be a shelf life in time series supply with SAPIBP2.

In the first shipment of Harmonized Planning, the heuristic and the optimizer are still bound to their respective processes, which is logical because running processes in OBP and feeding them with orders imply a different level of information granularity than time series. The existing algorithms, order-based optimizers, or heuristics will remain, because sometimes they get different data fed in; they must therefore behave differently. Therefore, in the beginning, there will be these two blocks, united by one data model.

The applications must enable two things at a time. First, the data access to the changed data model was recoded. For example, production looks different in SAPIBP1 or SAP7F, which requires recoding in the planning algorithms or any other function. Secondly, enabling access to the data model through central application mapping is a replacement strategy for potentially existing application mappings.

This largely has ingredients that enable far greater information exchange between applications and dedicated functions to translate time-series data into order data.

It will also provide unconverted data to the planning algorithms because, typically, all supply chain planning algorithms assume that all quantities are in the product's base unit of measure, meaning they need unconverted data.

Properties of Time-Series Key Figures

In the past, SAP provided a mechanism for customers to choose whether a particular key figure was an input or output for time series supply planning.

In the future, there won't be any such configuration for the customer, because this isn't something the customer can decide; the application knows what an input is and what an output is.

This setting is no longer available. The existing forecast-related field will be in the key figure.

The next requirement for the time series key figures is that they should be readable at any planning level, not only at hard-coded time-series-specific planning levels. Previously, the algorithm read the data at the storage level without reading the aggregation settings.

But from now on, we are using the calculation scenario, where the algorithm respects the aggregation that the customer configures in key figure calculation.

Similarly, when we get the output, we disaggregate it according to the customer's settings in the key figure.

Because of this, whatever the planner sees (for example, in Excel UI), the algorithm will calculate the same thing.