[ Process Messages for Automation and Efficiency Robbie Norris Jean Liu [ Eastman Chemical A global manufacturer of chemicals, plastics and fibers headquartered in Kingsport, Tennessee Approximately 10,000 employees and over 20 manufacturing sites around the globe A company dedicated to environmental stewardship, social responsibility and economic growth 2011 Sales revenue of $7.2 billion Traded on the NYSE under symbol EMN Real Experience. Real Advantage. 2 [ Highly integrated, diverse businesses Coatings, Adhesives, Specialty Polymers & Inks Specialty Plastics Fibers Performance Chemicals & Intermediates Real Experience. Real Advantage. 3 [ Where our products are found Building & construction Tobacco 16% Packaging 15% 17% Consumer goods Health & wellness 9% 9% Other 2% Durable goods 8% Energy, fuels & water 3% Electronics 3% Agriculture 3% Real Experience. Real Advantage. Transportation Industrial chemicals 7% 8% 4 [ Learning Points Process Message 101 Capabilities of a Process Message Possible Scenarios for using a Process Message Real Experience. Real Advantage. 5 [ Manufacturing Overview Process Planning Process Management Process Order Control Recipe Process Control Execution Process Control System Other Destinations Real Experience. Real Advantage. Process Messages PI Sheet 6 [ What is a Process Message “Communication structure that is used to transfer process data from process control…” SAP delivers standard messages out of box Goods Issue Posting Goods Receipt Posting Batch Creation Phase Confirmation And many more! Fully Customizable Copy and modify standard messages Create your own messages to do anything (not just data from a PCS) Real Experience. Real Advantage. 7 [ What is a Process Message – cont’d Elements of the Process Message Process Message Category Process Message Destination Characteristics Destinations of a process message 1 - Other SAP components (i.e. function module) 2 - User-defined ABAP table 3 - Users of the SAPoffice mail system 4 - External function modules Real Experience. Real Advantage. 8 [ Why Use a Process Message? Volume of data – No manual entry or limited entry Buffering capability Monitoring capability Order of manufacturing process may not be what SAP expects Good way to avoid or re-process record locks Avoid commit in update tasks Real Experience. Real Advantage. 9 [ Creating a Process Message Process operator on a PCS system Automated Control system Semi-Automatically with SAP OPC/ODA Transaction C057 Within an ABAP Program BAPI_PROCESS_MESSAGE_CREATEMLT Real Experience. Real Advantage. 10 [ Process Message Monitoring Transaction C054 Select by criteria Plant Date/Time Sender Process Order Message Category Statuses Message Processing in the Monitor Change Message Send a Message Delete Message Real Experience. Real Advantage. 11 [ Examples of Process Message Configuration The Message Destination Production Plannning for Process Industries ->Process Management ->Process Messages -> Process Message Destinations Real Experience. Real Advantage. 12 [ Examples of Process Message Configuration - cont’d Message Destination Fields Real Experience. Real Advantage. 13 [ Examples of Process Message Configuration - cont’d The Process Message Category The Process Message Category Characteristics Production Plannning for Process Industries ->Process Management ->Process Messages -> Define and Set Up Process Message Categories Real Experience. Real Advantage. 14 [ Examples of Process Message Configuration - cont’d Assignment of Characteristics to the Destination Fields Real Experience. Real Advantage. 15 [ Control Recipes Process Instructions built into the process order Define processes to be executed by a process operator OR executed by a process control system Process Order must be configured for sending Sent from SAP to a PCS in a ‘process message like’ structure Comparison to a process message Sent from SAP -> PCS on release of process order Monitored with transaction CO53 instead of CO54 (Process Messages) Configured in customizing similarly to a PM Real Experience. Real Advantage. 16 [ Control Recipe Monitoring Transaction C053 Select by criteria Plant Date/Time Destination Process Order Statuses Individual Recipe Display Real Experience. Real Advantage. 17 [ Eastman Architecture SAP ODA Interface Process Messages Control Recipes Process Messages OSI Software PSRLink SAP OPC PIMS (Eastman Custom Apps) PI DCS Real Experience. Real Advantage. 18 [ SAP Delivered Process Messages PI_PROD – Posting a Goods Receipt 101 Movement Scenarios used by Eastman Manual trigger Automated trigger Timer Event Based Real Experience. Real Advantage. 19 [ SAP Delivered Process Messages – cont’d PI-CONS – Goods Issue Posting 261Movement Scenario Used if backflushing is not set up on a process order Triggered automatically and manually Real Experience. Real Advantage. 20 [ SAP Delivered Process Messages – cont’d PI-PHCONS – Confirmation of Phases 261Movement Scenario Triggers backflushing on the process order Triggered automatically and manually Real Experience. Real Advantage. 21 [ SAP Delivered Process Messages – cont’d Other Frequently Used Messages PI_BT_CR – Batch Creation PI_ORDCO – Confirms Order PI_PHST – Set Status of the Phase PI_CRST – Set Status of the Control Recipe PI_BT_CL – Assign Values to Batch Characteristics Real Experience. Real Advantage. 22 [ Business Cases for Eastman Customized Process Messages Used in Business Areas Quality Management Inventory Management Logistics Waste Disposals Advantages Asynchronous updates Ability to reprocess the errors Communication with Remote Systems Real Experience. Real Advantage. 23 [ Eastman Customized Process Messages - QM Quality Management YQA01 - Create Inspection Lot YBATCHCK - Adjust Batch status to Blocked if quality is out of Specification YPKB - Create the Parent-Child relationship between a Bulk Material and a Packaged Material YMD3 – Update quality of the child package material Real Experience. Real Advantage. 24 [ Eastman Customized Process Messages – QM Quality Management YQA01 - Create Inspection Lot Scenario Create In-process Inspection Lots Create Inspection lot for lab analysis prior to Report Production Real Experience. Real Advantage. 25 [ Eastman Customized Process Messages - QM Quality Management YBATCHCK Adjust Batch status to Blocked if quality is out of Specification Scenario Re-evaluate the Batch quality and change Batch Stock status accordingly after silo transfer Real Experience. Real Advantage. 26 [ Eastman Customized Process Messages - QM Quality Management YPKB - Create the Parent-Child relationship between a Bulk Material and a Packaged Material YMD3 – triggered by UD follow up to copy result to child packages Scenario Lab tests not complete prior to the repack process Real Experience. Real Advantage. 27 [ Eastman Customized Process Messages - IM Inventory Management YGMNCHG YPRODADJ YINVADJ YXFER YPRD_NPO Real Experience. Real Advantage. - Change Material Number - Adjust production against Process Order - Adjust Inventory Quantity - Transfer inventory from one material to another material, from one batch to another batch or from one location to another location. - Create Process Order and Post Production 28 [ Eastman Customized Process Messages – IM Inventory Management YGMNCHG Change Material Number Scenario Downgrade a Material Move inventory out of blocked stock if needed (343) Change Material number while in unrestricted Stock(309) Move new material into blocked stock(344) Real Experience. Real Advantage. 29 [ Eastman Customized Process Messages - IM Inventory Management YPRODADJ - Adjust production against Process Order Scenario Re-weigh a package due to damage Calculate the quantity changed Adjust quantity against the original process order Achieve accurate Product Costing Real Experience. Real Advantage. 30 [ Eastman Customized Process Messages - IM Inventory Management YINVADJ - Adjust tank or silo inventory Scenario Estimate Back flush consumption Conduct scheduled physical inventory Determine which movement type to use (911 or 912) Real Experience. Real Advantage. 31 [ Eastman Customized Process Messages - IM Inventory Management YXFER – Create Material Movements Scenario – Change Material Change Batch Change Storage Location Report by-product Report consumption Report production Goods Issue for Cost Center Real Experience. Real Advantage. 32 [ Eastman Customized Process Messages - IM Inventory Management YPRD_NPO – Create Process Order and Post Production Scenario – At the end of a production run, create Process Order and report production for a heel or waste. Real Experience. Real Advantage. 33 [ Eastman Customized Process Messages – Logistics Logistics – Truck and Railcar YRAILXFR – Transfer inventory from Tank Batch to Shipping Batch for shipment YRAILADJ - Adjust the actual shipping weight YRAILWE – Perform weight entry of a Delivery Note Real Experience. Real Advantage. 34 [ Eastman Customized Process Messages - Logistics Logistics YRAILXFR - Transfer inventory from Tank Batch to Shipping Batch for shipment Scenario Use movement type 311 Triggered from SAP application Uses process message so errors can be investigated at a later date Real Experience. Real Advantage. 35 [ Eastman Customized Process Messages - Logistics Logistics YRAILADJ - Adjust railcar shipping weight Scenario The original silo-torailcar transfer quantity was estimated. The new quantity is the actual scale weight for the railcar batch. Determine which movement type to use (911 or 912) Real Experience. Real Advantage. 36 [ Eastman Customized Process Messages - Logistics Logistics YRAILWE – Perform Weight Entry of the Delivery Note Scenario Railcar operator responsible for entering the weight. Shipping office personnel responsible for correcting issues with Delivery Note Real Experience. Real Advantage. 37 [ Eastman Customized Process Messages – Waste Disposal Semi-Automatic Drum Disposal YTXDRWT - Drum Weigh YTXDRLD - Drum Load Scenario Trigger by SAP OPC on Drum conveyor Integrates SAP ODA with Process Messages SAP subscribes to certain drum DCS items/tags of a DA server Value change event of an drum DCS item/tag automatically creates process messages Real Experience. Real Advantage. 38 [ Drum Loading Process Real Experience. Real Advantage. 39 [ Eastman Customized Process Messages – Remote Communication Messages from SAP to Remote Systems OSI_COMM – Destination type 2 Tank or Silo Inventory updates Quality Updates after Automated Usage Decision Material Movements for Trending Real Experience. Real Advantage. 40 [ Best Practices Use SAP delivered process messages whenever possible Production staff should monitor messages daily Buffering capability should exist on the remote system Use automated re-send capability when required Real Experience. Real Advantage. 41 [ Key Learnings Process messages are ‘structures of data’ passed to SAP Control Recipes are process instructions sent to a PCS SAP delivered process messages perform many common functions Copy or create process messages to meet your business processes Real Experience. Real Advantage. 42 [ ] Thank you for participating. Please remember to complete and return your evaluation form following this session. For ongoing education on this area of focus, visit the Year-Round Community page at www.asug.com/yrc [ Real Experience. Real Advantage. SESSION CODE: 3111 43