Transactional Flow Of PP-PI Production Planning Process Industries. With the component PP-PI (Production Planning for Process Industries), SAP provides an integrated planning tool for batch-oriented process manufacturing. It has been developed in cooperation with IDS Prof. Scheer GmbH, Saarbrücken. It is primarily designed for the chemical, pharmaceutical, food and beverage industries as well as the batch-oriented electronics industry. PP-PI supports: The integrated planning of production, waste disposal, and transport activities within a plant The integration of plants within the company: Vertically by means of an information flow, ranging from central business applications down to process control Horizontally by the coordination of planning between production plants, recycling and waste disposal facilities, and production laboratories. These are following main T-codes used in PP-PI : For Process Industry. Configuration - Create Order Type for Process Order - T.Code CORN - Create Order Type Dependent Parameter - T.Code COR4 - Production Scheduling Profile - CORY - Specify Scheduling Parameter - OPUZ - Create Control Recipe Destination - O10C - Create Process Massage Destination - O13C (Optional) - Create Process Instruction Category - O12C (Optional) Master Data - Create BOM - CS01 - Create Resource - CRC1 - Create Master Recipe - C201 MRP :- MD61/MD01/MD02/MD03/MD04/MD40/MD41/MD42/MD50. Production Execution :- COR1 - Create Process Order Manual - COR7 - Convert Plan Order to Process Order - COR6N / CORZ / CORR - Order Confirmation - CORS - Cancel Confirmation - CORT - Display Confirmation - CO53 - Control Recipe Monitor (Optional)
- CO55 / CO60 - Maintain PI Sheet (Optional) - CO54 - Process Massage Monitor (Optional) - MB31 - Goods Receipt For Order - COIK / MB1A / MIGO :- Goods Issue - KKS1 / KKS2 - Calculate Variance - CO88 - Actual settlement - COOISPI - Order Information System
Data Flow During Process Manufacturing
A production process is triggered by existing production requirements. During material requirements planning, production requirements are converted into planned orders defining the planned basic dates and production quantities. During process planning, planned orders are converted into process orders. The basic dates and production quantities are copied from the planned order. The actual production dates are calculated using the basic dates. You can also create a process order manually. A process order provides a detailed description of the actual production of one or more materials in one production run. A master recipe is used as the basis for a process order. It defines, for example, the planned resources and material components. After a process order has been released for production, the process instructions maintained in the order are bundled into control recipes during process management. The control recipes are either transferred to
a process control system via a specific interface or they are displayed in natural language in the form of a process instruction sheet (PI sheet) which can be maintained by the line operator. In return, process management receives process messages from the process control level and transfers them to different destinations. For instance, it is possible to record actual values of the process to functions for process data documentation and evaluation, post material consumptions or production yields as goods movements, and transfer quality data to results recording of Quality Management.
Material Flow Posting Between Process Orders 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.
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. 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)
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: o o
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: o o o
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: o o
Confirm the second order Calculate the quantity of the bulk material using the quantity proportion planned in the second order
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.
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.