Boost the PI Sheet
Transcription
Boost the PI Sheet
Boost the PI Sheet Dr. Arne Manthey Solution Manager, SAP AG September 2007 Where can I get the Cool Stuff? BPX Community for Manufacturing Manufacturing Execution for Process Industries State of the Art: Maintaining Process Instructions with XSteps - Available Functional Enhancements Shop Floor Communication with PI Sheets Planned order SAP R/3 Enterprise Master data Manufacturing Operations Process order PI Sheet Control recipe Process Messages R-01 Function modules Material movements Batch management Plant maintenance Quality management Alarm server Customer functions Automatic process messages OPC in SAP: Data access Alarms&Events Example of a PI Sheet Agenda 1. 2. 3. 4. 5. Newly developed standard functions (ECC 6.03) XSteps SXS Library (ECC 5.0 +) Extensions of XSteps for regulated environment (ECC 6.02) Using productivity tools to speed up implementation Techniques for enhancements (XSL stylesheets and function modules) © SAP 2007 / Page 5 New Features and Functions Show comment icon in table cells Set fields mandatory with the help of characteristics (flag ‚Entry Required‘ set ) Enhanced New SAP Style Sheet Icon Deactivated: Phase contains deactivated elements Icon Locked: Phase contains locked elements Icon for Signatures already done: There are signatures present Icon for Deviations: Deviations occurred in the phase Icon for Comments: Comments were created for the phase LED Green: Signature completed LED Yellow: Signature in progress with more than one signer LED Grey: Signature present, not started yet No LED: No Signature present Easy to Adopt – New Monitoring Transactions New transactions for Control Recipe Monitor (CO53XT) Process Message Monitor (CO54XT) Work List for PI Sheets/Work Instructions (CO60 & CO60XT) Using configurable ALV_GRID_XT: Adding additional columns modification-free (via BAdI implementation and customer-defined append structure) PDF Print Function Agenda 1. 2. 3. 4. 5. Newly developed standard functions (ECC 6.03) XSteps SXS Library (ECC 5.0 +) Extensions of XSteps for regulated environment (ECC 6.02) Using productivity tools to speed up implementation Techniques for enhancements (XSL stylesheets and function modules) © SAP 2007 / Page 10 SXS Library: Facts Purpose Collection of best-practice building blocks Speed-up of implementation Required Functionality Release Usage of XStep-based PI Sheets (PP-PI) Since R/3 4.70 Ext. 2.0 Importing of XStep folders Since ERP 2004 Usage of XSteps for production orders (work instruction sheets) ERP 2005 EhP 3 Content of the SXS Library Structure of the SXS Library Folders for different categories of SXS Every SXS has a separate documentary instruction (To be deleted for later use) SXS Sample instructions demonstrate the usage Simulation: Displays a preview of the SXS on the right side Example: Checklist Show the usage of SXS references inside the SXS repository Show how parameters can be used to control the behaviour of an SXS reference (e.g. color) Example: Material List Process Order: Bill of Material SXS reference in process order Process Order: XSteps Simulated XSteps in process order (including generation) SXS Repository 40 character material short text Generation Scope HTML code valuation Example: CSS Adoption HTML long text with CSS manipulation code Change the background color of the PI Sheet Change the background color of the phase container How to get the SXS Library from SDN/BPX https://www.sdn.sap.com/irj/sdn/bpx-manufacturing Downloads Core Manufacturing Name of Download Item (ZIP file) Description Flexible Building Blocks for Shop Floor Instruction Sheets - Library of SXS wihich do not use any custom characteristics or function modules Basic Standard XStep Templates Flexible Building Blocks for Shop Floor Instruction Sheets - Library of SXS which use custom characteristics or function modules. (To be created before importing the library) Advanced Standard XStep Templates Flexible Building Blocks for Shop Floor Instruction Sheets Both basic and advanced libraries Standard XStep Library Agenda 1. 2. 3. 4. 5. Newly developed standard functions (ECC 6.03) XSteps SXS Library (ECC 5.0 +) Extensions of XSteps for regulated environment (ECC 6.02) Using productivity tools to speed up implementation Techniques for enhancements (XSL stylesheets and function modules) © SAP 2007 / Page 18 Usage of Standard XSteps in a Regulated Environment Standard XSteps as Building Blocks for PI Sheets require additional features (regulated environment): Main features: Approval procedure for SXS versions using digital signatures Where-used list for SXS XML export and import of folders, SXS and SXS versions „Nice to have“: Checksum test during XML import Automatic numbering of SXS version Automatic calculation of the valid to-date for released SXS version Approval status scheme for SXS versions Approval status scheme for SXS versions Where-used List for Standard XSteps Agenda 1. 2. 3. 4. 5. Newly developed standard functions (ECC 6.03) XSteps SXS Library (ECC 5.0 +) Extensions of XSteps for regulated environment (ECC 6.02) Using productivity tools to speed up implementation Techniques for enhancements (XSL stylesheets and function modules) © SAP 2007 / Page 23 PI Sheet Productivity Tools: Facts Purpose Quick design of PI sheet content for discussion during blueprint Gives a good impression on the look & feel of a PI Sheet Templates of common elements Tool Type Usage Quick Design PPT Creation of draft Powerpoint presentations Quick Design & Table Layout XLS PI Sheet design in Excel, check of table layout (width) Process Instructions Templates XLS PI Sheet design in Excel. Copy of process instructions into ERP (Pre-XStep) Required Functionality MS Office: Powerpoint & Excel Release - Quick Design (Powerpoint) Quick Design & Table Layout (Excel) Process Instructions Templates (Excel) How to get the PI Sheet Productivity Tools https://www.sdn.sap.com/irj/sdn/bpx-manufacturing Downloads Core Manufacturing Name of Download Item (ZIP file) Description PI Sheet Productivity Tools In the blueprint phase of a PP-PI project it is often difficult to discuss the possibilities and the look & feel of PI sheets with non-IT members of the project team. During implementation of PI sheets it is helpful to have some templates available for common objects. This documentation describes some very useful tools to support the blueprint and implementation of PI sheets. Agenda 1. 2. 3. 4. 5. Newly developed standard functions (ECC 6.03) XSteps SXS Library (ECC 5.0 +) Extensions of XSteps for regulated environment (ECC 6.02) Using productivity tools to speed up implementation Techniques for enhancements (XSL stylesheets and function modules) © SAP 2007 / Page 30 Custom Function Modules for PI Sheets: Facts Purpose Enhancing the PI Sheet with simple or complex custom functionality Synchronous communication with ERP functionality ‘Glue’ for building PI Sheets with MES-like functionality Required Functionality Release Trigger function modules from PI Sheet manually R/3 3.1i + Trigger functions modules by events (Parameter changed, Document logged in, …) R/3 Enterprise + Not new, but the knowledge on the possibilities is not widely spread! Synchronous communication with ERP functions Event: PARAMETER_CHANGED Get Status Function Module Equipment Data (PM) FUNCTION Z_MX_EQUI_STAT. *"---------------------------------------------------------------------*"*"Local Interface: *" IMPORTING *" REFERENCE(I_EQUNR) TYPE EQUNR *" EXPORTING *" REFERENCE(E_STAT_TXT) TYPE CHAR30 *" REFERENCE(E_STAT) TYPE CHAR30 *" CHANGING *" REFERENCE(C_STAT_CODE) TYPE CHAR4 OPTIONAL *" REFERENCE(C_STAT) TYPE CHAR30 OPTIONAL *" EXCEPTIONS *" ERROR *"--------------------------------------------------------------------DATA : it_status TYPE TABLE OF jstat, is_status TYPE jstat, ls_tj30t TYPE tj30t. DATA : w_object LIKE jest-objnr, w_stsma LIKE jsto-stsma, w_num TYPE n. … Set Status Calculations on complex PI Sheet tables Event: DOCUMENT_SAVED Function Module FUNCTION Z_MX_WEIGH_COMP_UPDATE. *"---------------------------------------------------------------------*"*"Local Interface: *" IMPORTING *" REFERENCE(I_RESITEM) TYPE CHAR4 OPTIONAL *" REFERENCE(I_POSNR) TYPE APOSN OPTIONAL *" REFERENCE(I_WEIGH_TYPE) TYPE CHAR30 OPTIONAL *" REFERENCE(I_SUM_AI) TYPE BDMNG OPTIONAL *" REFERENCE(I_SUM_CM) TYPE BDMNG OPTIONAL *" REFERENCE(I_TOL) TYPE BDMNG OPTIONAL *" REFERENCE(I_STAT) TYPE C OPTIONAL *" REFERENCE(I_UOM) TYPE CHAR30 OPTIONAL *" EXPORTING *" REFERENCE(E_STAT) TYPE C *" REFERENCE(E_SUM_CM) TYPE BDMNG *" TABLES *" ET_NET STRUCTURE ZMX_PI_TABLE_NUM OPTIONAL *" ET_NET_AI STRUCTURE ZMX_PI_TABLE_NUM OPTIONAL *" ET_NET_CM STRUCTURE ZMX_PI_TABLE_NUM OPTIONAL *" ET_POSNR STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *" ET_RESITEM STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *" ET_S_WEIGH STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *" ET_SORTF STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *" ET_UOM STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *" LT_SCALE STRUCTURE ZMX_PI_TABLE_CHAR OPTIONAL *"---------------------------------------------------------------------- Net UoM Potency AI [kg] 100 g 50 % 0.050 40 g 75 % 0.030 20 g 100 % 0.020 Sum 0.100 Building Complex Processes 2 3 2 1 3 4 5 3 Custom XSL Stylesheet: Facts Purpose Enhancing the look & feel of the PI Sheet Add functionality Remarks In-house knowledge is highly recommended for: XML, XSLT, HTML, Javascript Required Functionality Browser-based PI Sheet (HTML) Release R/3 4.6c + Example: Material Text in PI Sheet Header Modified XSL Stylesheet … … … Material short text with 40 characters length Examples: Long Text at various Positions Wide header Table title Footer text below table Complex Example: Active Icons Stylesheet modification Javascript Custom function modules Phase Relationships Qualification Requirement Phase Status User Qualification Phase completed (Status CNF) Phase open for work (Predecessor phase 110 has status ‘CNF’) User qualification not sufficient Phase not open (Predecessors not yet completed) Thank you! Dr. Arne Manthey Solution Manager Solution Management Manufacturing SAP AG Dietmar-Hopp-Allee 16 69190 Walldorf T +49 6227 7-50758 M +49 160 3603067 F +49 6227 78-32635 E arne.manthey@sap.com www.sap.com © SAP 2007 / Page 39 Copyright 2007 SAP AG. All Rights Reserved No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, System i, System i5, System p, System p5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W 3C are trademarks or registered trademarks of W 3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence. The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages. Copyright 2007 SAP AG. Alle Rechte vorbehalten Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten. Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® und SQL Server® sind eingetragene Marken der Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, System i, System i5, System p, System p5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, POWER5+, OpenPower und PowerPC sind Marken oder eingetragene Marken der IBM Corporation. Adobe, das Adobe Logo, Acrobat, PostScript und Reader sind Marken oder eingetragene Marken von Adobe Systems Inc. in den USA und/oder anderen Ländern. ORACLE® ist eine eingetragene Marke der ORACLE Corporation. UNIX®, X/Open®, OSF/1® und Motif® sind eingetragene Marken der Open Group. Citrix®, das Citrix-Logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® und andere hier erwähnte Namen von Citrix-Produkten sind Marken von Citrix Systems, Inc. HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C ®, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA® ist eine eingetragene Marke der Sun Microsystems, Inc. JAVASCRIPT ® ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von Netscape entwickelten und implementierten Technologie. MaxDB ist eine Marke von MySQL AB, Schweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, und weitere im Text erwähnte SAP-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Ländern weltweit. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen. Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. Produkte können länderspezifische Unterschiede aufweisen. Die in dieser Publikation enthaltene Information ist Eigentum der SAP. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, nur mit ausdrücklicher schriftlicher Genehmigung durch SAP AG gestattet. Bei dieser Publikation handelt es sich um eine vorläufige Version, die nicht Ihrem gültigen Lizenzvertrag oder anderen Vereinbarungen mit SAP unterliegt. Diese Publikation enthält nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP ®-Produkts. SAP entsteht aus dieser Publikation keine Verpflichtung zu einer bestimmten Geschäfts- oder Produktstrategie und/oder bestimmten Entwicklungen. Diese Publikation kann von SAP jederzeit ohne vorherige Ankündigung geändert werden. SAP übernimmt keine Haftung für Fehler oder Auslassungen in dieser Publikation. Des Weiteren übernimmt SAP keine Garantie für die Exaktheit oder Vollständigkeit der Informationen, Texte, Grafiken, Links und sonstigen in dieser Publikation enthaltenen Elementen. Diese Publikation wird ohne jegliche Gewähr, weder ausdrücklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschließlich, hinsichtlich der Gewährleistung der Marktgängigkeit und der Eignung für einen bestimmten Zweck sowie für die Gewährleistung der Nichtverletzung geltenden Rechts. SAP haftet nicht für entstandene Schäden. Dies gilt u. a. und uneingeschränkt für konkrete, besondere und mittelbare Schäden oder Folgeschäden, die aus der Nutzung dieser Materialien entstehen können. Diese Einschränkung gilt nicht bei Vorsatz oder grober Fahrlässigkeit. Die gesetzliche Haftung bei Personenschäden oder Produkthaftung bleibt unberührt. Die Informationen, auf die Sie möglicherweise über die in diesem Material enthaltenen Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP unterstützt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewährleistungen oder Zusagen über Internetseiten Dritter ab.