MII 12.1 and PCo 2.1.5.1

Hi guys,
Hopefully this will be easy points for someone.  I am trying, for the first time, to connect our MII 12.1 to a newly install PCo 2.1.5.1.
I also have a Phoenix Contact OPC DA server installed on the PCo server and (I think) I have PCo configured to see the Phoenix server.
All I am trying to do now is configure MII to be able to do a TAG query through PCo.  I tried creating a UDC Data Server (no PCo option was available).  I used the PCo server's IP address and, at this point, I have tried a variety of ports (not sure how to tell which is correct).
Can someone please point me in the right direction or point me toward some documentation that might be helpful?
Note that we have successfully been using MII 11.5 talking to UDS and a Phoenix OPC server.  We are trying to get the same kind of thing working with MII 12.1 and PCo.
Thank you!
-Mike

Using the same 11.5 UDC data server configuration in your 12.1 system should also work (12.1 tag query pointing to the already running UDS).
Swapping the data server port and IP address (or just port if they are on the same server) should allow you to toggle your 12.1 application tests between the UDS serviing up the OPC data as compared to PCO.

Similar Messages

  • Upload data from excel file to mii without UDS and PCo

    Hi Experts,
    I am trying to upload data from excel file to mii db without using UDS and PCo. Is there any other ways that we can achieve it.
    I am thinking one solution , writing stored procedure. any other solutions?
    Thanks in advance,
    Eswar.

    Hi,
    Thanks for reply.
    I tried to create OLEDB data server which will point to my excel file in D drive.Its created successfully and i tried to query the datasource using sql query, I am not getting any modes in sql query template.
    can u provide some steps..how to access this file.
    Thanks, Eswar

  • MII 11.5 and PCo 2.1 and Tag Query Error

    Hi,
    I have KEPWare OPC server configured with a single tag, and with the OPC Client open.  I have PCo 2.1 configured with a single agent, and 'legacy' ticked with port 9001.  I have a UDS connector pointing to port 9001, and a tag query in 'currentwrite' mode, and can successfully write a value from the query editor (within MII 11.5) to KEPWare, when tested directly within the MII query editor.
    However, when I call the same tag query from within an MII transaction, and set 'TagName.1' and 'TagValue.1' to the values I want, I get the following error:
    "An item with the same key has already been added. at SAP.Manufacturing.Connectivity.Protocol.Custom.PCoQueryRequestHandler.ProcessRequest(Object handler)"
    I see this error in the PCo log.
    Interesting thing is, that within the transaction editor, when I select the underlying tag query, and the editor asks to generate the XML, and I say Yes, the underlying tag query runs fine (I can see the value getting updated within KEPWare).
    I've also tried with/without subscription items in PCo, plus different settings for 'Cache Mode' in PCo, plus using fully qualified tag name (ie: channel.device.tag as KEPWare sees it), etc, but in all cases I get the above error.
    Any ideas?

    Hi Diana,
    I upgraded to PCo V2.1.4.2, still same issue.  And yes, the data server (UDC) is checked as "Writable"!!
    As mentioned, the tag query runs fine in both "Current" mode and "CurrentWrite" mode.  Only when I call the same query from a transaction do I see this error.  Excerpt from Runner Log below;
    2011-02-23 15:20:32,390 [ServletExec: request: time=1298434832343, uri=/Lighthammer/Runner]
    ERROR  Runner - [9FA68944-67CE-824D-3FA6-D96023119ECE][ERROR]:
    IlluminatorQuery: An item with the same key has already been added. TMP0794C967-0F69-8F04-568C-CD037815D1D0
    2011-02-23 15:20:32,453 [ServletExec: request: time=1298434832343, uri=/Lighthammer/Runner]
    ERROR  Runner - [9FA68944-67CE-824D-3FA6-D96023119ECE][ERROR]:
    ACTION FAILED: End Action IllumTagQuery_0 : () TMP0794C967-0F69-8F04-568C-CD037815D1D0
    If I leave the transaction Tag Query action (that calls the underlying tag query) without any assignment to TagValue.1, then there is no error, and the error as set in the aunderlying tag query is used.  But as soon as I assign values to TagValue.1 inside the transaction, I get the error.  I've tried passing a value via a local paramater etc, same issue.
    Regards
    Kevin.

  • MII 12.1 and NW CE 7.1 on Windows 2008

    Hi ,
       I just need to find out if any one has installed MII 12.1 and NW CE 7.1
        on Windows 2008 R2 and/or Windows 2008 on 64 bit.
       Looking at the PAM for NW CE 7.1, it has both the 2008 versions listed but i'm not sure if I'm reading it correct
       that it is supported or not.
       And has anyone had any issues on these two systems. Otherwise is there a SAP Note somewhere which details this
    Thanks

    Hi Fstoian,
    Thanks for information.
    I want to install MII 12.1 on windows 2008 R2 SQL 2008 R2. I think it is supported as ustated in the last post. Please confirm.
    one more thing i would like to clarify.
    As per SAP note 1229080, its mentioned that navigation path for downloading NW CE 7.1 EHP1 is wrong in installation guide.
    correct path for downloading NW CE 7.1 EHP1 is :-
    hhttp://service.sap.com/swdc -> Installations and Upgrades -> A - Z Index-> N -> SAP NETWEAVER CE-> SAP NETWEAVER CE 7.2 -> Installation -> Platform(Phys. Delivery) -> <operating system> -> <database>
    Here you can see its saying to download from path of 7.2
    could you please through some information on this that i can install MII 12.1 on NWCE 7.2 using SQL / WINDOWS 2008 R2.
    Regards,
    Abuzar.

  • Create MII transaction & MII Web Service and consume them in ABAP

    Hi,
    there is a document from Pradip Ray (SAP Labs India) published on SDN:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208239ac-3161-2b10-f29a-abec6754942e
    He explains how to build a transaction in MII, expose it as a web service then consume it in an ABAP program by generating a ABAP consumer proxy for this service.
    I have done this and it works but the problems started when I tried to generate a second ABAP consumer proxy for a second web service build in MII.
    In the ABAP system , transaction SE80 then display proxy class:  ( e.g. ZMIICO_XACUTE_WSSOAP )
    then go to Properties tab , under sub-screen "External key" you can see the "Name: XacuteWSSoap".
    This is the web service port type name generated at MII and is always the same for all the MII web services. When you try to generate a second proxy for a second MII web service you get the following message  "A proxy already exists for object XacuteWSSoap (namespace http://www.sap.com/xMII) "
    This can be changed by editing the WSDL file but then another problem occurs which is related to the "InputParams" complex type. This tag gets generated with the same name for all the web services in MII.  The generation of the ABAP structure with the following name: INPUT_PARAMS will override the previous one .  This means that the previous ABAP proxy will not work anymore.
    Has any one experimented this ?
    Daryoush Delgari.
    This is the generated WSDL on MII:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions targetNamespace="http://www.sap.com/xMII" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <!--  Types
      -->
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
    + <s:complexType name="InputParams">
    - <s:sequence id="InputSequence">
      <s:element maxOccurs="1" minOccurs="0" name="FromDate" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="PLANT" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="ToDate" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteRequest">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="Rowset">
    - <s:sequence>
      <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
      </s:sequence>
      <s:attribute name="Message" type="s:string" />
      </s:complexType>
    - <s:complexType name="Row">
    - <s:sequence id="RowSequence">
      <s:element maxOccurs="1" minOccurs="1" name="Day" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="Item" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="Resource" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="WorkCenter" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="ShopOrder" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="OrderQty" type="s:long" />
      <s:element maxOccurs="1" minOccurs="1" name="Cured" type="s:long" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteResponse">
    - <s:complexType>
    + <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </types>
    - <!--  Messages
      -->
    - <message name="XacuteSoapIn">
      <part element="s0:XacuteRequest" name="parameters" />
      </message>
    - <message name="XacuteSoapOut">
      <part element="s0:XacuteResponse" name="parameters" />
      </message>
    - <!--  Ports
      -->
    - <portType name="XacuteWSSoap">
    - <operation name="Xacute">
      <input message="s0:XacuteSoapIn" />
      <output message="s0:XacuteSoapOut" />
      </operation>
      </portType>
    - <!--  Bindings
      -->
    - <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="Xacute">
      <soap:operation soapAction="http://www.sap.com/xMII" style="document" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
      </binding>
    - <!--  Service mapping
      -->
    - <service name="XacuteWS">
    - <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
      <soap:address location="http://<host>:port/XMII/SOAPRunner/Default/Amrik/Wolves/WDPro/getCuresByPeriod" />
      </port>
      </service>
      </definitions>

    Hi Daryoush,
    Little surprise for you, I got the solution ;o)
    In fact, editing the WDSL file, you can change the parameter names which will be generated in Web Dynpro. You have to change the tag <complex type ...>.
    For example :
    <s:complexType name="InputParams">
    Could become :
    <s:complexType name="*Zs1*InputParams">
    and later in the code, you should reference the element appropriately
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams"/>
    should become :
       <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:*Zs1*InputParams"/>
    But take care to keep name="InputParams", it's the xlm name which will be used by MII to do the matching...
    Take care also that you have to do the same for output, that means ROW and ROWSET complex type...
    So, to be concrete, here are an example with in bold everything I changed against the original MII WDL file...
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions targetNamespace="http://www.sap.com/xMII" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <!-- Types -->
        <types>
            <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
                <s:complexType name="*Zs1*InputParams">
                    <s:sequence id="InputSequence">
                      <s:element maxOccurs="1" minOccurs="0" name="inputItem" type="s:string"/>
                      <s:element maxOccurs="1" minOccurs="0" name="inputPlant" type="s:string"/>
                      <s:element maxOccurs="1" minOccurs="0" name="inputSearchBy" s:long"/>
                </s:sequence>
                </s:complexType>
                <s:element name="XacuteRequest">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:*Zs1*InputParams"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
                <s:complexType name="*Zs1*Rowset">
                    <s:sequence>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:*Zs1*Row"/>
                    </s:sequence>
                    <s:attribute name="Message" type="s:string"/>
                </s:complexType>
                <s:complexType name="*Zs1*Row">
                    <s:sequence id="RowSequence">
                    <s:element maxOccurs="1" minOccurs="1" name="Item" type="s:string"/><s:element maxOccurs="1" minOccurs="1" name="ItemDescription" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteResponse">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:*Zs1*Rowset"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
            </s:schema>
        </types>
        <!-- Messages -->
        <message name="Xacute*Zs1*In">
            <part element="s0:XacuteRequest" name="parameters"/>
        </message>
        <message name="Xacute*Zs1*Out">
            <part element="s0:XacuteResponse" name="parameters"/>
        </message>
        <!-- Ports -->
        <portType name="Xacute*MyTest*">
            <operation name="Xacute">
                <input message="s0:Xacute*Zs1*In"/>
                <output message="s0:Xacute*Zs1*Out"/>
            </operation>
        </portType>
        <!-- Bindings -->
        <binding name="Xacute*MyTest*" type="s0:Xacute*MyTest*">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="Xacute">
                <soap:operation soapAction="http://www.sap.com/xMII" style="document"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
            </operation>
        </binding>
        <!-- Service mapping -->
        <service name="XacuteWS">
            <port binding="s0:XacuteMyTest" name="XacuteMyTest">
                <soap:address location="http://host/XMII/SOAPRunner/Development/WebServices/GetItems/getItemsTrx"/>
            </port>
        </service>
    </definitions>
    If you want a demo, you can come to my desk ;o)
    Edited by: Olivier Thiry on Mar 12, 2009 1:02 PM
    Damned, the bold tag seems not to work... So all my changes are between star (..)

  • MII 11.5 and sharepoint

    Has anyone ever had MII 11.5 running on the same server as Windows SharePoint services ? 
    I installed MII 11.5 on the same server that is running Wonderware's latest Information Server software and the Wonderware software uses Sharepoint and Microsoft Reporting Services.  I can't seem to get MII to run. 
    Anyone have any ideas?

    I havenu2019t messed with Sharepoint and MII coexisting on the same server, but itu2019s quite possible that there is an ISAPI filter hooked into IIS for Sharepoint and this conflicts with the ServletExec filter.  You may need to have them running on different ports, not just everything on default port 80. 
    By default in 11.5 ServletExec runs on port 8888 and in conjunction with the default website which by default is 80.

  • MII 12.1 and IDoc listener

    Hi.
    I have been trying to setup an idoc listener in MII 12.1, but can not figure out where in NWA to do this an how.
    Have anyone tried that? The help file might not be updated on this point.
    BR
    Poul.

    Hi.
    Thanks, I have found this location but could not se anything happening. To start with i missed the parameter setting MaxReaderThreadCount and needed to restart the listener.
    Now I get something in the log but my username and password is not working..
    Thanks a lot for this
    BR.
    Poul.

  • MII Reports - How and where to view them

    Hi Gurus,
    Few  quick questions on MII reports : Please see if you can answers one , few or all of them .
    1. after the MII composite applications are built, how to view the reports... i.e is SAP recommending to use a different portal (for example the already existing  Enterprise portal) or the the portal on its MII is installed it self .....
    In short which portal is recommended...
    2.  MII 14.0 to be installed on just NW 7.31 with pure java stack or - NW CE 7.3 ... what is advantage of installing MII on CE 7.4 rather than on a pure java stack
    Sincerely,
    Neni.

    Hi Rakesh,
    MII has its own portal where you can create the links for the reports build in MII.(<protocol>://<server>:<port>/XMII/Illuminator?service=Personalization or Click on the the Home link in the home page of MII)
    Also every report has its own URL which then can be called from anywhere.
    So it depends on your business case whether you what to use MII portal or use reports from anywhere else.
    Regards,
    Rohit Negi.

  • Pro*COBOL precomp and .pco demos not installed

    Hi,
    I am new to the Oracle database.
    Installing Oracle 9.2, Standard Edition - downloaded Disk1, Disk2 and Disk3 for Windows NT/2000/XP from the OTN downloads.
    I have COBOL programmes with embedded SQL - I need the Pro*COBOL precompiler (procob).
    It seems like Pro*COBOL did not get installed and I do not have the \procob\ demos folder under %ORACLE_HOME%\precomp\demo\. In fact, the only folder in the \demo\ folder is \sql\.
    I have tried compiling my own COBOL programs, which use the COBSQL preprocessor to call the Oracle procob precompiler. I get the error message:
    * CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
    'procob' is not recognized as an internal or external command,
    operable program or batch file.
    * CSQL-F-021: Precompiler did not complete -- Terminating
    Are Pro*COBOL precompiler and the procob demos installed with the download version of Oracle 9.2? Where can I get them from?
    Many thanks

    Hi, me again.
    The procob demos are not installed by default -- Standard installation.
    With a Custom installation, Pro*COBOL is found under 'Oracle 9i Development Kit 9.x > Oracle Programmer 9.x > Optional Dependencies'. You have to check the box 'Show all components including required dependencies' on the Custom install dialog to be able to expand the components and see the Pro*COBOL precompiler under Optional Dependencies.
    I will get to testing the procob demos now and post back the success/failure of the Pro*COBOL precompiler installation.

  • MII 7.1 and NWDI 7.0 - BUILD_REQUEST_ERROR CBS

    Hi all.
    I'm back here with another problem and I'm not able to find a solution for it.
    I have my development environment connect with NWDI. I've made all configuration with both systems and they were working fine until the follow problem began.
    I can create new project and do some changes in projects already created.
    I'm able to check out objects creating activities and check in activating its.
    My problem is when I click in "Show Activation Requests" in Source Control menu. I'm getting the error below.
    BUILD_REQUEST_ERROR CBS Server Error: The request is not know( internal code: REQ_UNKNOWN).
    Have anyone got this error before?
    I really appreciate any help. If you need more details, please contact me.
    Pedro de Paula

    Hello,
    Could you please share the solution you implemented to fix this.
    Thanks,
    Best regards,
    Prashant

  • Custom development for UDS

    Hi,
    Is it possible to develop custom driver and use with UDS to get data from non-standard data source?
    If possible, is there a blog about it?
    Thanks.

    Cemil,
    For your RS-232 output, in this case you reference a scale, there are some good hardware solutions (Digi One SP Serial to Ethernet converters)  This will allow you to port your scale data over Ethernet to your server.   Now, for processing your scale data, there are various OPC drivers out there (U-CON for example from Kepware)    I mention UCON because it has prebuilt protocols for parsing scale data.  From here you can configure your scale output as an OPC topic.   You can configure your OPC server to keep the old value resident, until a new value comes in.  In this case, with a scale it would update asynchronously when your scale pushes out a new value.  (I just did an application like this)
    Now if youu2019re going with MII 12.1 and Pco great, then you can do event driven transfers.  But if youu2019re like the majority of us, using 12.0 or lower.  Then your best bet is to store the value in some intermediate area such as a relational database, then schedule a transaction to forward it to SAP.  This way you have a store and forward capability.   If you don't have a process historian, there are also several commercially available OPC to RDBS tools out there (Software toolbox makes one called OPC to ODBC)  There are also others out there as well.

  • PCo 2.3 Authorization Error while connecting to MII 14.0

    Hi All,
    We are trying to connect MII 14.0(installed on HP-UX[Unix] system) with PCo 2.3 (installed on Windows 2003 R2 SP2 system). Both MII & PCo servers are on same network. When we are trying to configure the PCo details in MII Data Servers using the link(http://<PCOServerIP:Port>/PCoManagement) , its connecting and we can see the Agents created in PCo. Also when the the PCo connector is enabled in MII, the status is showing green.
    When we try to retrieve the tags using PCo Query TagRetrieveQuery, No tags shows up in MII and an error message is displayed. The MII Log shows lots of errors starting with "Authorization Error PCo". This error shows up when we are configuring the PCo details. To be exact this error shows up after entering the PCo link and clicking on Next button and entering the UserName & Password for the PCo system . Attached is the screen shot of the log error.
    The user-id for the system on which PCo is installed has administrator privileges. The Net. TCP Port sharing services is also started on the PCo server.
    Any other services need to started in the PCo server or anything we missed out? Is there any another service which needs to be activated for Web service?
    PCo is connected to OSISoft PI using PI SDK 1_3_6_364.
    We have tried applying SP's available for PCo 2.3 and still facing the same issue. In-fact we are facing more issues when we apply SP's for PCo. The tag list which shows up on PCo during Subscription Items > Browse, reduces and only few tags which are not required gets displayed in PCo.
    MII Version   : 14.0
    PCo Version : 2.3
    Any suggestions would be greatly appreciated. Thanks.

    Hi Rohit,
    Sorry for the delayed reply. I already checked by ensuring the PCoManagement host and Agent instance services are started. I can see the status as Running "green" when the PCo data server is enabled at the MII end. But the problem is, no tags shows-up in the PCoQuery TagRetriveQuery mode. The logs start with this Authorization Error PCo "You do not have permission to access the Web Service". The PCo Server user-id has local Admin rights.
    Is there any other specific service need to be activated?
    Regards,
    Jeedesh

  • PCo Notification not reaching MII Transaction

    Hi Friends,
    I need some help to send Pco Notification messages successfully to MII. I have created a Pco Notification Agent and created the expression as below.
    if('BA:TEMP.1'>44,  " right", "wrong")
    I tried to test the delivery manually using Notification Test Dialog. When I click on the Deliver button, destination  Transaction at MII gets invoked successfully. But I do not get any value in the input parameter of the transaction. While creating the destination I have mentioned the input parameter correctly.
    Also when click on View Sample button I get the below xml message
    <?xml version="1.0" encoding="utf-8" ?>
    - <NotificationMessage>
    - <Header>
      <Name>TestNotificationMessage</Name>
    - <Description>
    - <![CDATA[ Test Message
      ]]>
      </Description>
      <Destination />
      <CreatedDate>2014-09-04T11:57:47</CreatedDate>
      <ID>1afecce1-67d9-41aa-8296-27a5dc7c1046</ID>
      <Status>Created</Status>
      </Header>
    - <Body>
    - <Values>
    - <Expression1 type="xsd:string" quality="None">
    - <![CDATA[
      ]]>
      </Expression1>
      </Values>
      </Body>
      <Faults />
      </NotificationMessage>
    I am using PCo Version 2.3 and MII version 14.0
    Any help on this very much appreciated.
    Thanks
    Shaji

    Hi Shaji,
    The Expressions in a Notificaion Output are not evaluated against tag values until the Notification is triggered; using the Test Notification Delivery requires you to manually enter a value for each Output value to be delivered.  If you want to test your notifications you will have to start the Agent Instance and have the Trigger fire the notification.
    You can also set a Simulator Destination and have the Notification message delivered to a file in the Simulator Destination directory.  This will give you a way to examine the Notification message contents without having to use MII to capture and save it.
    Regards, Steve

  • What are the best ways (for best performance) in MII to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?

    Hi All,
    Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
    Thanks

    Hi Surya,
    Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
    1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
    From Shop floor:
    shop floor --> SAP MII --> ECC
    1. Use either Web service or fetch data from DB and pass data to BAPI's  for sending to ECC through BLS transaction.
    Regards,
    Praveen Reddy

  • PCO 2.2 - OPC and IP21

    Hi,
      We are looking at connecting to IP21 via PCO OPC DA connector.
      Can PCo only poll the IP21 OPC server for eventing or can one set up the IP21 OPC server to advise PCO on data changes for
      eventing purposes ?
    Also what is required on the server where PCo is installed to enable OPC connectivity, for browsing the IP21 we have established that you need the following dlls in the PCo system directory :
    cimsrvapi.dll
    CimWin32Util.dll
    infoplus21_api.dll
    ip21admin_client.dll
    ip21ezrpcw32.dll
    ip21winrpc32.dll
    libc21.dll
    PCo is running on Windows server 2008 R2 and the IP21 is not on the same box.
    thanks

    Hi ,
        I got it working to be able to get the notification working. Although one still cannot browse the IP21 tags, and all tags are still shown as a name space.
    a. I installed the Matricon IP21 OPC server on the same box as IP21 Historian.
    b. I connected to the IP21 server and configured new aliases in the Matricon IP21 OPC server to look at the IP21 tags
    c. I then configured PCo OPC DA agent to look at the Matricon IP21 OPC server and got the subscriptions to work, and PCo can browse the MAtricon IP21 OPC server tags that I configured , so the browsing seems to work via this OPC server
    d. Then I tried to fire up the OPC DA agent in PCo that I previously configured to look at the Aspentech IP21 OPC server, and the configuration now started to work (still can't browse the tags)
    e. I uninstalled the Matricon IP21 OPC server and the configuration in step d. still worked.
    So the conclusion is that the Matricon IP21 OPC server did some sort of a configuration that made the orginal configuration functional, this however now leaves me the question of what did this driver do to get things working.
    Now I sit with a new challenge I have PCo installed on a seperate server and in a different domain as the IP21 OPC server.
    What I have so far
    1. The Same local user on both the PCo box and the IP21 OPC server with Admin rights
    2. I can see the IP21 OPC server from the PCo box and access it
    But the issue is as soon as I fire up the Agent to run  it fails to start with the following error:
    ConnectivityAgentProxy|"The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    Below is the PCo Log file:
    Date Time| Machine| Thread ID| Process ID| Process Name| Event Type| Source| Message| Stack Trace
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Information|AgentBase|Start ignored.  Agent state = Faulted|""
    2012/02/24 04:12:01 PM|.|6|7888|IP21_OPC_DA|Information|Host|WCF service is started.|""
    2012/02/24 04:12:01 PM|.|6|7888|IP21_OPC_DA|Error|Host|failed to create ConnectivityAgentProxy|"The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.   Server stack trace:     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   Exception rethrown at [0]:     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    at SAP.Manufacturing.Connectivity.IPCoAgentControl.Start()    at SAP.Manufacturing.Connectivity.ConnectivityAgentProxy.Start()    at SAP.Manufacturing.Connectivity.WcfHost.Start()"
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Error|ServiceFaultManager|Manufacturing Fault: REASON = The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. ; SEVERITY = Fatal|""
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Verbose|AgentBase|beginning PublishSubscribe CommunicationMode initialization...|""
    2012/02/24 04:12:00 PM|.|8|7888|IP21_OPC_DA|Verbose|AgentBase|starting...|""
    2012/02/24 04:12:00 PM|.|6|7888|IP21_OPC_DA|Information|Host|implicitly calling start on the hosted IConnectivityAgent service contract|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Information|Host|using default NetTcpBinding endpoint for internal IConnectivityAgent proxy|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Verbose|Host|Service endpoints:|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Verbose|Host|SAP.Manufacturing.Connectivity.Agents.Opc.Da.OpcDaAgent is running with the following endpoints:|""
    2012/02/24 04:11:58 PM|.|6|7888|IP21_OPC_DA|Information|Host|WCF service is starting.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|OpcDaAgent|Creating the OPC DA agent.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|BrowserSessionManager|Created browse manager.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|OpcDaAgent|Creating the OPC DA agent.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|BrowserSessionManager|Created browse manager.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|Host|Running [IP21_OPC_DA] as a windows service...|""

Maybe you are looking for

  • Error in creating Text Variable

    Hi  Gurus, I have one requirement to create a text variable for the user & the user wants to put the description as input to the variable. But when i am creating the variable,the variable type "characteristic Value"  is by default selected and i am a

  • IS VM asupported in SCSM 2007

    A customer asked me this today and I am researching for him. Can anyone tell me is VM is supported in SCSM 2007? Looks like you might need to create in SCOM then sync the connector in SCSM, but wanted to verify

  • Question on Upgrade Process

    I have two GW12 servers, one with the primary domain and po the other has a secondary domain and gwia and dva (Windows 2008R2). Can I have both servers agents down when I upgrade the primary domain/post office to GW2014 and then upgrade the secondary

  • Photoshop CS3 10.0 - Adobe Updater Crashes

    I have Photoshop CS3 V10.0.  Every time I open my Adobe CS3 a "Problem Report for Adobe Updater" window opens, stating "Adobe Updater quit unexpectedly". It asks me to "Click reopen to open the application again" but doing this has no effect. I'm con

  • Can't start mysqld

    Hello world! I'm a newbie in arch (2 days only...) but not in linux. I'm nearly already sure to love it! I've already installed successfully LAMP servers under other linux distrubutions. But trying to install a LAMP on my Raspberry Pi  (version 1 may