Show TOC

 Material Flow Posting Between Process Orders Locate this document in the navigation structure

Use

You use this function to post material flows between process orders by sending a corresponding process message.

Scenario

A material (for example, bulk material) is manufactured in a process order and is immediately used as a material component in another order where it is further processed (for example, filled).

The following transactions are posted together when the first or the second order is carried out:

  • Confirmation of both orders

  • Goods receipt for the bulk material for the first order

  • Goods issue for the bulk material for the second order

Prerequisites

Both process orders have been released.

No inspection points are used in the inspection during production for the first process order.

The following applies to the material for which you want to post the material flow:

  • The special procurement key Phantom assembly has not been assigned in the material master.

  • No fixed lot size has been defined for the material in the BOM of the second order.

  • The material has not been marked as a variable-size item in the BOM of the second order.

  • The material has not been marked as an alternative BOM item in the BOM of the second order.

  • Discontinued parts has not been activated for the material.

Features

To post material flows, you can use message category PI_MFLOW and destination PI12.

You enter the following actual quantities in the message:

  • If you create the message for the first order, the quantity of the bulk material produced with it

  • If you create the message for the second order, the quantity of the finished product produced with it

The message destination processes the message as follows:

  • It determines the respective missing quantity using the quantity proportions between the product and the bulk material planned in the second order

  • It posts the goods receipt for the bulk material for the first order.

  • It generates a process message of category PI_CONS, which is used to post the goods issue for the bulk material for the second order.

  • It generates a process message of category PI_ORDCO, which is used to confirm the first order at header level.

  • It generates a process message of category PI_ORDCO, which is used to confirm the second order at header level.

Note Note

When you confirm the first order, the system requires the quantity of the header material to determine the activity performed. For this reason, the first order cannot be confirmed if the bulk material is a by- or co-product. In this case, the system writes a corresponding entry in the message log. The other postings are carried out nevertheless.

End of the note.

The following sections describe what you must bear in mind when you create process messages.

Minimum Information to be Contained in the Process Message

For the system to be able to post the material flow, you must at least include the following characteristics in your process message:

  • Date and time when the message was created (PPPI_EVENT_DATE and PPPI_EVENT_TIME)

  • Order number of the first order (PPPI_MFS_PROCESS_ORDER)

  • Order number of the second order (PPPI_MFT_PROCESS_ORDER)

Note Note

When assigning a value to characteristics PPPI_MFS_PROCESS_ORDER and PPPI_MFT_PROCESS_ORDER, you can use the search help in the process order. You can use the search help, to search for a suitable order pair for the material flow according to the following selection criteria:

End of the note.
  • Header material/product or material component

  • Planned and confirmed order dates

  • Material number of the bulk material for which you want to post the material flow (PPPI_MF_MATERIAL)

  • Quantity and unit of measurement of the bulk material (PPPI_MF_QUANTITY and PPPI_MF_UNIT_OF_MEASURE)

You require these characteristics if you create the message for the first order. The quantity entered here is used to:

  • Post the goods receipt for the first order

  • Post the goods issue for the second order

  • Calculate the quantity of the finished product using the quantity proportion planned in the second order

  • Quantity and unit of measurement of the finished product (PPPI_MP_QUANTITY and PPPI_MP_UNIT_OF_MEASURE)

You require these characteristics if you create the message for the second order. The yield entered here is used to:

  • Confirm the second order

  • Calculate the quantity of the bulk material using the quantity proportion planned in the second order

Note Note

The quantity calculated for the bulk material or the finished product is rounded up to the number of decimal places defined in Customizing for the unit of measure.

End of the note.

Additional Data on the Bulk Material

  • Batch number (PPPI_MF_BATCH)

You use this characteristic for materials that are to be handled in batches to specify the batch for which the goods receipt is posted.

If the batch number is not contained in the message, the system uses the batch planned for the material in the order. If no batch number has been maintained there either, the system automatically assigns a batch number, provided that you have activated automatic number assignment in Customizing. Otherwise, the message status is set to Destination error .

  • Storage location (PPPI_MF_STORAGE_LOCATION) !

You use this characteristic to specify the storage location for which the goods receipt is posted.

If the storage location is not contained in the message, the system uses the storage location planned for the material in the order item. Otherwise, the message status is set to Destination error .

Additional Data on the First Order

  • Order item (PPPI_MFS_ORDER_ITEM_NUMBER)

You use this characteristic to specify the order item for which the goods receipt for the bulk material is posted. If the bulk material is a by-product, enter the reservation and reservation item instead.

If the message neither contains an order item nor a reservation item, the system searches for an item that matches the order number and material. If the order does not contain an item for the material, the message status is set to Destination error .

  • Reservation and reservation item of the bulk material

    (PPPI_MFS_RESERVATION and PPPI_MFS_RESERVATION_ITEM)

If the bulk material is a by-product, you use this characteristic to specify the reservation item for which the goods receipt is posted. For primary and co-products, enter the order item instead.

If the message neither contains an order item nor a reservation item, the system searches for an item that matches the order number and material. If the order does not contain an item for the material, the message status is set to Destination error .

  • Final delivery (PPPI_MFS_DELIVERY_COMPLETE)

If you include this indicator in the message, the status of the first order is set to Final delivery and Finally confirmed .

  • Clearing reservations(PPPI_MFS_CLEAR_RESERVATIONS)

If you include this indicator in the message, all reservations for the first order are cleared.

Additional Data on the Second Order

  • Reservation and reservation item of the bulk material

    (PPPI_MFT_RESERVATION and PPPI_MFT_RESERVATION_ITEM)

You use this characteristic to specify the reservation item for which the goods issue for the bulk material is posted.

If the message contains no reservation item, the system searches for a reservation item that matches the order number and material. If the system cannot find a suitable reservation item, the message status is set to Destination error .

  • Final delivery (PPPI_MFT_DELIVERY_COMPLETE)

If you include this indicator in the message, the status of the second order is set to Final delivery and Finally confirmed .

  • Clearing reservations (PPPI_MFT_CLEAR_RESERVATIONS)

If you include this indicator in the message, all reservations for the second order are cleared.

Additional Data on the Confirmation

  • Confirmation text and reason for variance

    (PPPI_CONFIRMATION_SHORT_TEXT and PPPI_REASON_FOR_VARIANCE)

If you include these characteristics in the process message, the values are transferred to both order confirmations.

  • Start date and time (PPPI_START_DATE and PPPI_START_TIME) as well as

    finish date and finish time (PPPI_END_DATE and PPPI_END_TIME)

If you include these characteristics in the process message, the values are transferred to both order confirmations as order start and finish dates.

If you do not include the characteristics, the order uses the date when the message was created (PPPI_EVENT_DATE and PPPI_EVENT_TIME) as the order start and finish dates.