Entering content frameFunction documentationBatch Creation Locate the document in its SAP Library structure

Use

You can create a batch from within process control by sending a message of category PI_BT_CR to destination PI14.

You need this function if you want to create a batch during production. You can also create batches as follows:

Integration

You can use process instructions in the process control system or PI sheet to request process messages for batch creation. You can define the following process instructions, for example:

Customizing of the SAP reference client contains several sample process instruction categories for batch creation. For general information on process instructions, see process instructions.

Prerequisites

If required, activate internal batch number assignment in Customizing for Batch Management (see IMG, section Logistics - General ® Batch Management). If you do so, you can still assign numbers externally.

Features

When creating the message, note the following:

Material

For the system to be able to create a batch, you must at least include the corresponding material number in your process message. If the material number is missing, the system writes a corresponding system message to the process message log when processing the message; the message itself receives status Destination error.

Batch

If required, transfer a new batch number for external number assignment in the process message. If the process message contains no batch number and you have activated internal number assignment, the system assigns the number when it creates the batch.

If the process message contains a batch number that already exists in the system, the system writes a corresponding system message to the process message log; the message itself receives status Destination error.

Plant

If the plant has been defined as the batch level in Customizing for Batch Management, the system requires a plant to create a batch. It first searches for the plant in the process message. If it does not find it there, it searches for it in the order item.

Process Order and Order Item

You must only include the order number and item in the process message, if you want to use the customer exits for batch number assignment and batch valuation (see IMG, section Logistics - General ® Batch Management).

Consistency Checks:

When processing the process message, the system checks whether the values contained in it are valid and consistent with one another. If the system discovers an inconsistency (for example, an invalid order number or a material number that is not contained in the order), it:

 

 

 

Leaving content frame