Pi Sheet Sap

Embed Size (px)

DESCRIPTION

pI sHEET

Citation preview

  • Dr. Arne MantheySolution Manager, SAP AG

    September 2007

    Boost the PI Sheet

  • 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

  • Manufacturing Operations

    Control

    recipe

    Master

    data

    Process

    Messages

    SAP R/3 EnterprisePlanned

    order

    Process

    order

    Function

    modules

    OPC in SAP:

    Data access Alarms&Events

    Automatic

    process

    messages

    R-01

    Material movementsBatch managementPlant maintenanceQuality managementAlarm serverCustomer functions

    PI Sheet

    Shop Floor Communication with PI Sheets

  • Example of a PI Sheet

  • SAP 2007 / Page 5

    1. Newly developed standard functions (ECC 6.03)

    2. XSteps SXS Library (ECC 5.0 +)

    3. Extensions of XSteps for regulated environment (ECC 6.02)

    4. Using productivity tools to speed up implementation

    5. Techniques for enhancements

    (XSL stylesheets and function modules)

    Agenda

  • New Features and Functions

    Set fields mandatory with

    the help of characteristics

    (flag Entry Required set )

    Show comment icon in table cells

  • Enhanced New SAP Style Sheet

    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

    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

  • 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

  • SAP 2007 / Page 10

    1. Newly developed standard functions (ECC 6.03)

    2. XSteps SXS Library (ECC 5.0 +)

    3. Extensions of XSteps for regulated environment (ECC 6.02)

    4. Using productivity tools to speed up implementation

    5. Techniques for enhancements

    (XSL stylesheets and function modules)

    Agenda

  • 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

    SXS

    Every SXS has a separate

    documentary instruction

    (To be deleted for later use)

    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

    SXS Repository

    Process Order: XSteps

    Process Order: Bill of Material

    HTML code valuation

    Generation

    Scope

    SXS reference

    in process order

    Simulated XSteps in

    process order

    (including generation)

    40 character

    material short text

  • Example: CSS Adoption

    HTML long text with CSS

    manipulation code

    Change the background color

    of the phase container

    Change the background color

    of the PI Sheet

  • How to get the SXS Library from SDN/BPX

    Downloads Core Manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturing

    Name of Download Item (ZIP file) Description

    Flexible Building Blocks for Shop Floor Instruction Sheets -Basic Standard XStep Templates

    Library of SXS wihich do not use any custom

    characteristics or function modules

    Flexible Building Blocks for Shop Floor Instruction Sheets -Advanced Standard XStep Templates

    Library of SXS which use custom characteristics or function

    modules. (To be created before importing the library)

    Flexible Building Blocks for Shop Floor Instruction Sheets -Standard XStep Library

    Both basic and advanced libraries

  • SAP 2007 / Page 18

    1. Newly developed standard functions (ECC 6.03)

    2. XSteps SXS Library (ECC 5.0 +)

    3. Extensions of XSteps for regulated environment (ECC 6.02)

    4. Using productivity tools to speed up implementation

    5. Techniques for enhancements

    (XSL stylesheets and function modules)

    Agenda

  • 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

  • SAP 2007 / Page 23

    1. Newly developed standard functions (ECC 6.03)

    2. XSteps SXS Library (ECC 5.0 +)

    3. Extensions of XSteps for regulated environment (ECC 6.02)

    4. Using productivity tools to speed up implementation

    5. Techniques for enhancements

    (XSL stylesheets and function modules)

    Agenda

  • 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

    Required Functionality Release

    MS Office: Powerpoint & Excel -

    Tool Type Usage

    Quick Design PPTCreation of draft Powerpoint presentations

    Quick Design & Table Layout XLSPI Sheet design in Excel, check of table

    layout (width)

    Process Instructions Templates XLSPI Sheet design in Excel. Copy of process

    instructions into ERP (Pre-XStep)

  • Quick Design (Powerpoint)

  • Quick Design & Table Layout (Excel)

  • Process Instructions Templates (Excel)

  • How to get the PI Sheet Productivity Tools

    Downloads Core Manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-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.

  • SAP 2007 / Page 30

    1. Newly developed standard functions (ECC 6.03)

    2. XSteps SXS Library (ECC 5.0 +)

    3. Extensions of XSteps for regulated environment (ECC 6.02)

    4. Using productivity tools to speed up implementation

    5. Techniques for enhancements

    (XSL stylesheets and function modules)

    Agenda

  • 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

    Equipment Data (PM)

    Event: PARAMETER_CHANGED

    Function Module

    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.

    Get Status

    Set Status

  • Calculations on complex PI Sheet tables

    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

    *"----------------------------------------------------------------------

    Event: DOCUMENT_SAVED

    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

    1

    2

    2

    3

    33

    4

    5

  • Custom XSL Stylesheet: Facts

    Purpose

    Enhancing the look & feel of the PI Sheet

    Add functionality

    Required Functionality Release

    Browser-based PI Sheet (HTML) R/3 4.6c +

    Remarks

    In-house knowledge is highly recommended for: XML, XSLT, HTML, Javascript

  • 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

    Phase completed

    (Status CNF)

    Phase open for work

    (Predecessor phase

    110 has status CNF)

    Phase not open

    (Predecessors not yet

    completed)

    User qualification

    not sufficient

    Phase Relationships

    Phase StatusUser Qualification

    Qualification Requirement

    Stylesheet modification

    Javascript

    Custom function modules

  • SAP 2007 / Page 39

    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 [email protected]

    www.sap.com

  • 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 W3C are trademarks or registered trademarks of W3C, 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 respect ive 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 Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige Ankndigung gendert werden.

    Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte knnen 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 Lndern.

    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 erwhnte 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 erwhnte SAP-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Lndern 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 knnen lnderspezifische Unterschiede aufweisen.

    Die in dieser Publikation enthaltene Information ist Eigentum der SAP. Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, nur mit ausdrcklicher schriftlicher Genehmigung durch SAP AG gestattet.

    Bei dieser Publikation handelt es sich um eine vorlufige Version, die nicht Ihrem gltigen Lizenzvertrag oder anderen Vereinbarungen mit SAP unterliegt. Diese Publikation enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts. SAP entsteht aus dieser Publikation keine Verpflichtung zu einer bestimmten Geschfts- oder Produktstrategie und/oder bestimmten Entwicklungen. Diese Publikation kann von SAP jederzeit ohne vorherige Ankndigung gendert werden.

    SAP bernimmt keine Haftung fr Fehler oder Auslassungen in dieser Publikation. Des Weiteren bernimmt SAP keine Garantie fr die Exaktheit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links und sonstigen in dieser Publikation enthaltenen Elementen. Diese Publikation wird ohne jegliche Gewhr, weder ausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zweck sowie fr die Gewhrleistung der Nichtverletzung geltenden Rechts.

    SAP haftet nicht fr entstandene Schden. Dies gilt u. a. und uneingeschrnkt fr konkrete, besondere und mittelbare Schden oder Folgeschden, die aus der Nutzung dieser Materialien entstehen knnen. Diese Einschrnkung gilt nicht bei Vorsatz oder grober Fahrlssigkeit.

    Die gesetzliche Haftung bei Personenschden oder Produkthaftung bleibt unberhrt. Die Informationen, auf die Sie mglicherweise ber die in diesem Material enthaltenen Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen ber Internetseiten Dritter ab.