Professional Documents
Culture Documents
2) The second step is defining the number range, which the system will use in the internal
batch creation. Use transaction OMAD and select object BATCH_CLT:
If you press “intervals” button, you will see that a number range was automatically created by the
system. However, you can edit or create a new one according to your business needs.
Important: It is not possible to create more than one number range for batches.
It is also possible to use a custom logic to create batch numbers. It can be done in user
exit EXIT_SAPLV01Z_001.
FOR
There are 3 options for field “Automatic Batch Creation in the Order”:
1. No automatic batch creation in production/process order: When this option is set, the
system does not create automatically a batch during the order creation.
2. Automatic batch creation at order creation: The batch number is created automatically
during order creation. However, the system will only create if you activate the “internal
batch number assignment” in customizing transaction OMCZ.
3. Automatic batch creation at order release: The batch is created automatically during
the order release. However, the system will only create if you activate the “internal batch
number assignment” in customizing transaction OMCZ.
The flag “Extended Classification” is used when a custom logic to set the characteristics values
in classification is needed. If you set this flag, you must implement your custom code in user exits
EXIT_SAPMM07M_004 (MM transactions) or EXIT_SAPLV01Z_014 (PP transactions).
FOR Production order the flag “Always Batch Split” is used when the split is allowed for the
components.
<Prerequisite>
Batch management materials need to be created, there should be materials with FERT
(finished goods), HALB (semi-finished goods), ROH (raw materials). MRP views and work
scheduling view should be maintained for the materials. BOM and routing/master recipe
need to be created for the finished goods.
<Steps>
1. Selection Class is created in CL01. The characteristics in the selection class should be part
of the batch class in the material master, but some of the standard characteristics may not
need to be entered in the batch class but only need to be entered in the selection class.
For example, LOBM_RLZ and LOBM_LFDAT.
2. Sorting Rule is created in CU70. The characteristics in the sort rule should be part of the
batch class in the material master, but some of the standard characteristics may not need
to be entered in the batch class but only in the sort rule. For example, LOBM_MENGE and
LOBM_LGORT.
3. Batch Search Strategy setup in COB1. (Production order and process order are using the
same transaction.)
Attention:
You can change the material classification by:
Goto th menu path: Material -> Classification
If you change the classification here, then the system will follow the classification here to do the
batch selection but not use what you have maintained in the selection criteria of the batch search
strategy.
You can copy the result here to the production order.