Define Settings for Batch Allocation Limits

This document explains how you create and maintain the minimum and maximum allocation limits.

Limitations

Allocation limits are only considered when performing batch allocation. You can use the limits for customer orders, distribution orders, and requisition orders only.

Automatic release for picking is not supported, since validation of the limits cannot be performed before actual allocation takes place, and deallocation might be needed if validation fails.

Before you start

The settings for batch allocation must be defined. Refer to these documents:

See Batch Allocation Settings

See Basic Batch Allocation Settings

Follow these steps

Create an object control table

  1. Start 'Available Object Control Parameters. Open' (CMS016). Select Allocation limits and select option 11=Object table detailed lines.

  2. 'Generic Object Control Table. Open' (CMS017/B) is started.

    Set the 'Panel sequence' field to E (T) 1.

  3. Enter program ID (MMS154).

  4. On the E panel enter:

    • Status 20.
    • Priorities from 0 to 9 in the Sequence field. By default, sequence 10 corresponds to priority 0, 20 to priority 1, and so on up to sequence 100, which corresponds to priority 9.
    • The 'Field 1 (2, 3, 4 or 5)' fields with the selected fields from the field group. Press F4 twice to select fields. This starts 'Field Group. Display Permitted Fields' (CRS109).
  5. On the (CRS109/B) panel, in the 'Field group' field, enter MMAL1 – Allocation min/max limits. Selection.

  6. Select fields and redisplay (CMS017/E).

  7. Press Enter until you start 'Allocation Min/Max Limits Sel Table. Open (MMS154).

Create values for the object control table

  1. On the (MMS154/B) panel, define values for the fields in each priority.

  2. The 'Start value 1 (2, 3, 4 and 5)' fields are the first, second, third, fourth and fifth values to be compared with the contents of a control object. Fill in these fields and open the E panel.

  3. Enter the limit quantity, allocation deviation type, and deallocation rule on the E panel.

  4. If the deallocation rule is set to 3 (Deallocation group), also enter the 'Deallocation group' field. This starts 'Field Group. Display Permitted Fields' (CRS109). The valid fields are contained in the MMAL1 field group.

Parameters to set

Program ID/Panel

Field

The field indicates…

(CMS016/B)

Object control parameter

... the available object control parameter, where you can define your objects and values.

(CMS017/B)

Program name

… the program that is used for the object control table. In this case, enter MMS154 here.

(CMS017/E)

Priority

… the sequence in which each information field should be displayed.

To change the sequence, switch the numbers. To add new information fields, enter the numbers and names of the desired information fields.

Example:

To add a new information field between 10 and 20, assign this new field a number between 11 and 19. Press ENTER. The new field is then placed in the correct order.

(CMS017/E)

Field 1, 2, 3, 4, 5

… a field or data element from a specific file.

It is used to create keys or search paths for user-defined tables and also to create the contents of user-defined files.

These fields will be protected if entries are found in (MMS154). That means that you cannot enter these fields if they are 'in use'.

(CMS017/E)

Status

… the status for the generic object control table.

The valid alternatives are:

10 = Preliminary

20 = Definite

90 = Blocked/expired.

(CRS109/B)

Field group

… a grouping of several fields from different files that regulate matrix entries. In this case, the MMAL1 field group will be selected.

Field groups are system-defined and cannot be changed.

(MMS154/B)

Priority

… the table priority from the table in (CMS017). When searching for batch allocation min/max limits, tables are searched in order of priority for a set of rules that correspond to the specified object values. These sets of rules are displayed below as 1, 2 or 3 fields called the 'Start value 1, 2, 3, 4, 5' field.

(MMS154/B)

Start value 1, 2, 3, 4, 5

… the first, second, third, fourth and fifth valid value to be compared with the contents of a control object. If the contents are greater than or equal to this start value, the record will be accepted. If there are several start values, the one that is the closest to the lowest value is valid.

Example:

Start value 1 could be 'Product group'. Select a product group by pressing F4=Prompt.

Start value 2 could be 'Item no'. Select an item number by pressing F4.

Start value 3 could be 'Customer no.' Select a customer number by pressing F4.

(MMS154/B)

Limit type

… defines minimum or maximum allocation limit

0 = Min

1 = Max

(MMS154/E)

De-allocation group

… a set of object values to be used to determine which group of order lines will be affected if the group allocation test fails. Allocated quantity is also aggregated on these values if 'Alloc dev type' is set to 2-Group

These grouping parameters only apply if the 'Dealloc rule' is set to 3 (MMS154/E).

(MMS154/E)

Limit quantity

… the allocation limit quantity. Quantity from a single demand line or aggregated quantity for a group of demand lines within the same order is validated against this limit depending on 'Alloc dev type'.

(MMS154/E)

Allocation deviation type

… defines limit applies to a single demand order line or to a group of demand order lines

1 = Line

2 = Group

(MMS154/E)

Deallocation rule

… defines the demand order lines that are affected if the limit validation fails

1 = Only the line tested

2 = The entire order

3 = The deallocation group

Outcome

A generic object control table is created with allocation min/max limits.

The following tables are updated:

  • CROBJC in 'Generic Object Control Table. Open' (CMS017)
  • MITALD in 'Allocation min/max limits Sel Table. Open' (MMS154)

A generic control table is used to set allocation limits for each demand order line that is selected to be included in a batch allocation run. These rules are user defined.