Show TOC

 Control Rule

Definition

Rule that determines which actions are to be performed for planned shipments when the corresponding orders are changed in the ERP system.

Use

You use control rules to determine changes to orders (for example, sales orders or purchase orders) and deliveries in the ERP system, and to automatically adjust the corresponding planned shipments in the Transportation Planning/Vehicle Scheduling (TP/VS) component using suitable actions. However, in TP/VS you can only adjust planned shipments that have not yet been transferred to the ERP system. If you do not define any control rules, the planned shipment remains unchanged in TP/VS .

Structure

Supported Changes in the ERP System

The system can automatically adjust planned shipments for the following types of changes in the ERP system (dependent on the settings in the control rule:

  • Change an order or a delivery

  • Delete an order or a delivery

  • Create a delivery for an order

  • Post goods issue or goods receipts for a delivery

You can specify that the system is to write an alert when an order has been changed in the ERP system for which a planned shipment was already created in TP/VS (see Monitoring of VS Alerts ). You can then check your planning situation in TP/VS and make any necessary changes.

Actions in TP/VS

The following table shows which actions the system can perform for planned shipments in TP/VS :

Action

Explanation

Adjust shipment

If you have not changed the order quantity, the planned shipment remains unchanged.

If you have changed the order quantity, the system updates the total weight and total volume of the planned shipment only.

Deallocate order

The system deallocates the order.

Deallocate order (only for capacity overload)

If you have increased the order quantity so that the resource is overloaded, the system deallocates the order.

Invalidate (retain order)

The system invalidatesthe planned shipment.

The assignment between the planned shipment and the order remains intact.

Invalidate (retain order) (only for capacity overload)

The system invalidatesthe planned shipment.

The assignment between the planned shipment and the order remains intact.

This only happens if you have increased the order quantity in such a way that the resource is overloaded.

Invalidate (deallocate order)

The system invalidatesthe planned shipment and deallocates the order.

Invalidate (deallocate order) (only for capacity overload)

The system invalidatesthe planned shipment and deallocates the order.

This only happens if you have increased the order quantity in such a way that the resource is overloaded.

BAdI

You can use the Business Add-In (BAdI) /SAPAPO/VS_INB_PROC, method PROCESS_EXT_CHANGES to define your own actions.

Selection Criteria

You can use conditions to restrict control rules. For example, you can define control rules for different tendering or transportation statuses, or for transportation service providers. You can also define conditions for new order values by specifying that the control rule is to apply in certain cases only, for example:

  • You have changed the quantity in certain intervals.

  • You have changed shipping conditions or other shipping-relevant information in the order in the ERP system.

    Note Note

    To define control rules, on the SAP Easy Access screen, choose Start of the navigation path Advanced Planning and Optimization Next navigation step Transportation Planning/Vehicle Scheduling Next navigation step Environment Next navigation step OLTP Interface Next navigation step Define Control Rules. End of the navigation path

    End of the note.

Integration

To use this function, integration with the ERP system is required.