Asset Visibility (Self-Service Reporting Using MII)

download Asset Visibility (Self-Service Reporting Using MII)

of 13

Transcript of Asset Visibility (Self-Service Reporting Using MII)

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    1/13

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 1

    SAP MII - Asset Visibility (Self-Service Reporting)

    Applies to:

    SAP MII 12.2 (MDO must be configured), NetWeaver CE 7.11 or NetWeaver CE 7.30

    For more information, visit theManufacturing homepage.

    Summary

    The purpose of this document is to explain how the MII based Asset Visibility composite application isdesigned and how it can be utilized to present equipment status information. The design of this applicationallows end-users to retrieve tag-based data on a web report via a drag and drop interface. User defined

    reports can be created to display asset status and are viewable on either their PC or Mobile device webbrowser. The project content to import into your MII environment is downloadable fromhere.

    Author: Salvatore Castro

    Company: SAP Labs, LLC

    Created on: September 26, 2011

    Author Bio

    Salvatore Castro of SAP Labs has a Bachelors Degree in Computer Engineering and a Masters Degree inComputer Science both through the Rochester Institute of Technology. He is a member of the LoB

    Manufacturing Group under Dr. Frank Schuler.

    https://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttp://sap_assetvisibility.zip/http://sap_assetvisibility.zip/http://sap_assetvisibility.zip/http://sap_assetvisibility.zip/https://www.sdn.sap.com/irj/sdn/bpx-manufacturing
  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    2/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 2

    Table of Contents

    Overview ............................................................................................................................................................. 3Getting Started .................................................................................................................................................... 5

    Using NetWeaver CE 7.11 .............................................................................................................................. 5Administration ................................................................................................................................................. 6Builder ............................................................................................................................................................. 6Using the Builder ............................................................................................................................................. 7

    Defining Object on Your Report ................................................................................................................................... 8Tag Value Object ......................................................................................................................................................... 8Status Light Object ....................................................................................................................................................... 9Thermal Bar Object ...................................................................................................................................................... 9Hyperlink Object ......................................................................................................................................................... 10

    Viewer. ....................................................................................................................................................... 11Related Content ................................................................................................................................................ 12Copyright........................................................................................................................................................... 13

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    3/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 3

    Overview

    The Asset Visibility composite application is based on the MII Composition Environment and allows endusers to configure drag and drop reports for viewing tag based data. The purpose of this application is toreduce the implementation overhead required to build end-user reports on the technical IT staff and enablenon-technical users to create and manage their own reports without having to open the MII Workbench. Theapplication is designed to work out of the box and utilize your exi sting MII Data Server Tag typeconnections to populate the reports with data. There are three sections defined in this application and they

    are the Administration, Builder, and Viewer.

    The Administration page is only necessary to initially configure the application or to reset it if you wish toclear the previously created user-defined reports. It also allows a developer to upload background imagesfor the reports that data can be overlaid on. It looks like this:

    The Builder page is designed to be end-user friendly and allows the user to upload their own content anddefine reports to fit their needs. It will be the primary landing page for end-users of this application who arecreating reports for them and others to use:

    The builder environment allows the user to define multiple display types for the tag data along with providingthe ability to link to other user defined reports and hyperlink.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    4/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 4

    Finally, the Viewer page is where the end-user can view and interact with the report they previously createdon either their PC or Mobile device browser.

    If you click on any of the tag data display objects a trend will appear that shows the past 60 minutes worth ofdata from the historian:

    The Asset Visibility application is based on standard MII Content and requires no customization to be done tothe system. All of the data is stored in Persistent MDO structures enabling the application to remaindatabase agnostic and easier to maintain and manage.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    5/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 5

    Getting Started

    This application is broken up into three different components and this section will go through each of them inorder of usage for getting started with the application. As a new feature in MII 12.2 it is possible to definenavigation links as part of project Meta-Inf Profile content and this application takes advantage of thisfeature. The navigation links will appear in the MII navigation panel as shown below in the Manufacturing ->Asset Visibility path:

    as defined in the Meta-Inf here

    For all users that belong to the SAP_XMII_Developer role the Administration link will be visible to them andfor all users that belong to the SAP_XMII_User role the Builder and Viewer links will be visible.

    Using NetWeaver CE 7.11

    If you are using NW CE 7.30 then skip this section, but if you are running MII 12.2 on NetWeaver CE 7.11then there is one change that you will have to make to the Report.irpt file located here in the MII Workbench:

    SAP/WEB/Manufacturing/CompositeApplications/AssetVisibility/Report.irpt

    Open this file and goto line 150, where you see this entry:

    Modify it to:

    The reason behind this is that the XSLT library in NetWeaver 7.3 is newer and supports the ability to choose

    which XSLT to include whereas in the 7.11 XSLT library, this is not supported. The reason behind thisdesign was to highlight the ability to create your own custom layout XSLT and quickly incorporate it into yourapplication. However, if you would like to use this you will have to update your instance to NW CE 7.30.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    6/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 6

    Administration

    In order to get started with this application the first step is to open the Administration page and press theInitialize button. You will see any error message pop-up but will succeed silently. The next step is toupload any background images you would like to use as the backgrounds to your report. Unless you arefamiliar with the application and have defined a new Layout XSLT, the Layout configuration is not necessary.More information on defining layouts is available later in the document in the building off of the applicationsection. If you have any errors with the Initialize task, its probably related to your configuration of MDO soverify that it is setup properly and that the MDO content exists in the MDO tab under the SAP ->Manufacturing -> Asset Visibility portion of the project.

    This page will allow you to upload and maintain your reporting background images and layouts. Also, as partof a one-time initial setup task you need to press the Initialize Environment button so that information aboutthe default layout can be loaded into your environment and after this completes you are ready to start.

    Builder

    Using the Report Builder should be straight-forward and easy to do and shown in the process diagrambelow:

    When the page first loads it will ask if you wish to work on an existing report or create a new one. From herethe background image is defined and content is placed on top of the layout. This can also be referred to as aFloor-Plan but in this application it will be referred to as a layout. Once content is placed it can be movedand edited by clicking on it again and clicking where it should be moved to which will then bring up theconfiguration wizard. The builder view pulls live data to provide an accurate preview of what the report willlook like in the viewer. The report automatically saves when content is added, modified, or removed so thereis no need to continuously save your work.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    7/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 7

    Using the Builder

    When getting started with the builder environment it is important to have your reporting background imagesready to upload into the environment so that you can quickly build your reports. When you open up thebuilder page and select Create New you will see the following wizard.

    It will not have a background image available to you just yet but this is ok as its not important yet. Afterpressing finish the report definition is created in the system and you can begin defining how it will appear.

    On the browser on the left of the page is information about the report that can be updated and changed atany time and is automatically saved.

    The next step will be to upload a background image so that it can be used as a reference on the report as towhat the various objects mean when dragged onto the report. To upload the image select the UploadBackground Image button and browse for your image using the page the pops -up.

    Once the image has finished uploading the Image to Upload field will reset to and empty text box. Next inthe Report Properties area you can select the background image you previously uploaded and continue tobuild your report. If you specify the Height and Width as Zero here then the default height and width of theselected Background Image will be used instead. This will eliminate any scaling distortion that may occurwhen a lower resolution image is set for larger height and width values. You can change these settings atany time so theres no need to worry about getting it right the first time.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    8/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 8

    Defining Object on Your Report

    The next step is to define the tag system connection and the tag data values to display on the report and thisis done in the Tag Search portion. Once you have found the tag you want, select it in the list by clicking onit once. There is no need to hold down the mouse button, the act of selecting the tag is enough.

    Then move your mouse over the report and single-click where you would like the data to appear and theconfiguration wizard will open. First you have to pick the display type and then specific display details willneed to be set.

    Tag Value Object

    If you select the basic Tag Value option, the text value of the tag will be displayed in the report along withthe rest of the configuration parameters. Also, what happens when the user selects the tag from within theviewer needs to be defined in order to determine how the report can be interacted with.

    Once the configuration is complete the report immediately displays what the configured value will look like in

    the Viewer, but here if you click on the object it will first ask you to move it and then to configure it again. Ifyou accidentally click on it just press the Cancel button and no changes will be made.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    9/13

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    10/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 10

    Hyperlink Object

    The last object that can be setup on the report is the hyperlink object which can be used to either link to otherreports or external hyperlinks. When linking to other reports, the reports appear to allow the user to drill-down into more detail for a specific piece of equipment or provide various views of data for different users.When linking to external hyperlinks the user can seamlessly move to another web based report. TheHyperlink Object is part of the Miscellaneous section of the browser.

    When you select the button and drop the HotZone region on the page the configuration wizard loads theyhave the option to define if they are linking to an existing report or an external URL. If they choose reportthen the drop down list of all of the available reports is visible to them otherwise they can fill in the hyperlinkfield.

    Depending on the Style Type selected for the hotzone object it will appear differently on the report.

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    11/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 11

    Viewer

    Once you are done creating your report you can consume it from either a PC or Mobile device web browser.The navigation link for this page is located here by default for all users belonging to the SAP_XMII_User role:

    Once the page loads it will look like this with a drop down list of the available reports and a View button.

    Select a report you wish to see and press the View button to load it, all of the content objects are nowvisible and their links are interactive based on how you configured them. You can also define a link to theViewer page in the Navigation Quick Links to make it easier for mobile device users to open up this report.The link to the Viewer page is here:

    /XMII/CM/SAP/Manufacturing/CompositeApplications/AssetVisibility/ReportViewer.irpt

  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    12/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    2011 SAP AG 12

    Related Content

    SAP MII & PCo SDN Forum

    SAP MII & PCo SDN Wiki

    http://help.sap.com

    SAP Manufacturing Downloads

    SAP MES Integration Package for ERP

    For more information, visit theManufacturing homepage.

    https://www.sdn.sap.com/irj/sdn/forum?forumID=237https://www.sdn.sap.com/irj/sdn/forum?forumID=237https://wiki.sdn.sap.com/wiki/display/xMIIhttps://wiki.sdn.sap.com/wiki/display/xMIIhttp://help.sap.com/http://help.sap.com/http://www.sdn.sap.com/irj/scn/manufacturing-toolshttp://www.sdn.sap.com/irj/scn/manufacturing-toolshttp://wiki.sdn.sap.com/wiki/display/ESpackages/Integration+of+Manufacturing+Execution+Systemshttp://wiki.sdn.sap.com/wiki/display/ESpackages/Integration+of+Manufacturing+Execution+Systemshttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttps://www.sdn.sap.com/irj/sdn/bpx-manufacturinghttp://wiki.sdn.sap.com/wiki/display/ESpackages/Integration+of+Manufacturing+Execution+Systemshttp://www.sdn.sap.com/irj/scn/manufacturing-toolshttp://help.sap.com/https://wiki.sdn.sap.com/wiki/display/xMIIhttps://www.sdn.sap.com/irj/sdn/forum?forumID=237
  • 7/31/2019 Asset Visibility (Self-Service Reporting Using MII)

    13/13

    SAP MII - Asset Visibility (Self-Service Reporting)

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

    Copyright

    Copyright 2011 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, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

    Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

    Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe SystemsIncorporated 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 ofCitrix 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 Oracle Corporation.

    JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.

    SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentionedherein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

    Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, andother Business Objects products and services mentioned herein as well as their respective logos are trademarks or registeredtrademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.

    All other product and service names mentioned are the trademarks of their respective companies. Data contained in this documentserves informational purposes only. National product specifications may vary.

    These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAPGroup") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors oromissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the

    express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting anadditional warranty.