Quantcast
Channel: SCN : All Content - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all 1775 articles
Browse latest View live

Export Shipment or Delivery from Mii to another process

$
0
0

Hi, is it possible to export an outbound delivery being scanned in MII, and then once its completed and ready for PGI, the MII system can generate some export file (any format [xml,idoc,csv]) that will contain all the data needed for an Advance Ship Notice?

Exported data should have the same content as idoc DELVRY03 or very close to it (item, qty, packaging names, *** data, etc...)

I read a little about PCo but this seems to be more of a query tool.  I'm more looking for a full export of the shipment once its fully scanned to send the data to another process from the MII server, not from ECC instance.


SUM tool execution error.

$
0
0

Hello All,

I run into this issue while deploying MII 15.1 on NW 7.5. Basically I think the mistake that made was to include MII OEE components in original Stack.

My SUM tool is showing following error, not sure how to proceed from here.

 

SUM Error.jpg

Here are error logs that I have in SUM log

 

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:09 AM  Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [16] seconds. Will timeout in [7183] seconds.
May 3, 2016 10:09:09 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:11 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:13 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:15 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.104.5.50,port=50004,localport=50328]. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:18 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:20 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:22 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:24 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.104.5.50,port=50004,localport=50353]. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:26 AM  Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [32] seconds. Will timeout in [7167] seconds.
May 3, 2016 10:09:26 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:28 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:30 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:32 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:34 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:42 AM  Info: com.sap.ASJ.dpl_api.001068 Assuming a subsequent restart of the server due to exception: [P4ConnectionException], message: [Error. Server process is down or disconnected from ICM. Check server process traces and ICM logs for details. Error message: the requested server is not available]
May 3, 2016 10:09:42 AM  Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [0] seconds. Will timeout in [7200] seconds.
May 3, 2016 10:09:42 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:44 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:49 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. Cannot establish connection with any of the available profiles: 
 url=NIWNPR-MII02D:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.104.5.50 and port: 50004
Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:52 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. Cannot establish connection with any of the available profiles: 
 url=NIWNPR-MII02D:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.104.5.50 and port: 50004
Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:55 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:57 AM  Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [15] seconds. Will timeout in [7184] seconds.
May 3, 2016 10:09:57 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:09:59 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:01 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.104.5.50,port=50004,localport=50412]. Check if the host and port specified are correct and
AS Java is up and running.
May 3, 2016 10:10:03 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:05 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:07 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:10 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.104.5.50,port=50004,localport=50432]. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:12 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:14 AM  Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [32] seconds. Will timeout in [7167] seconds.
May 3, 2016 10:10:14 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:16 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:18 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:20 AM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [NIWNPR-MII02D:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
May 3, 2016 10:10:57 AM  Info: com.sap.ASJ.dpl_api.001023 Deployment of [name: 'xapps~mpm~mii', vendor: 'sap.com' (sda)] finished.
May 3, 2016 10:10:59 AM  Info: com.sap.ASJ.dpl_api.001052 +++ Deployment of session ID [81] finished with status [Error] +++. [[ deployerId=3 ]] [[#92: 133.031 sec]] [
===== Summary - Deploy Result - Start =====
------------------------
Type | Status  : Count
------------------------> SCA(s)   - [Aborted] : [1]> SDA(s)   - [Aborted] : [1]   - [AlreadyDeployed] : [5]
------------------------
------------------------
Type | Status  : Id
------------------------> SCA(s)   - [Aborted] : name: 'OEE_MII', vendor: 'sap.com', > SDA(s)   - [Aborted] : name: 'xapps~mpm~mii', vendor: 'sap.com',    - [AlreadyDeployed] : name: 'xapps~mpm~umeactions', vendor: 'sap.com', name: 'xapps~mpm~dict', vendor: 'sap.com', name: 'xapps~mpm~ui', vendor: 'sap.com', name: 'xapps~mpm~ctc~content', vendor: 'sap.com', name: 'xapps~mpm~ear', vendor: 'sap.com', 
------------------------
===== Summary - Deploy Result - End =====
]

SSCE throwing IE scripting errors while using

$
0
0

Hello Experts, I am trying to develop Charts using SSCE. After loading the Display Template. When i go to configure "Query template/Parameters" , It throws IE scripting Errors. Please let me know how to fix it and what is causing this? Screenshots attached.

Connectivity Framework Error

$
0
0

Hi,

I'm trying to connect to MII with PCo as destination system. We have PCo version: 15.1.1.2651 and MII version: 15.1 SP1 Patch 0 (Jan 21, 2016)

Settings of PCo MII destination system is as shown:

Bez názvu.png

error message after Test Connection is:

Výstřižek.PNG

Thank you for your help!

 

Jan Bednář

Is there an OPC Server with UI inbuilt and U-CON driver option?

$
0
0

Hi OPC experts, Please guide me..

 

I am preparing a system architecture, where I want to connect few hardware in field and should be controlled locally and remotely.

 

For that,

 

1. Hardware drivers to be developed using U-CON (User Configurable) driver. (OPC KEPServerEx with U-CON will do)

2. Simple User Interface (Windows) for monitoring and controlling at plant floor. (OPC DataHub with Windows Scripting will do)

3. Hardware from multiple plant floors most also be controlled remotely and monitored (reports, dashboards, etc.,) and also to be connected to ERP system (MII will do).

 

Note: As hardware requires real time control I want to implement control logic locally instead of only from remote (ie.,MII).


My question is:

 

Q1. Is there a OPC Server with both the options of point 1 & 2 ( I want to know either OPC DataHub has the U-CON option or KEPServer has the Window Scripting provision).

 

 

Regards

Parandhaman.GR

create a link and Image in SSCE

$
0
0

Hi Experts,

 

How to create a link (like href="google.com") using  MII 15.0 SSCE? I don't see any control for this.

When I drag the image control, it inserts in the whole div.How to insert image at a particular position like textbox instead total div?

 

Regards,

Guru.

SAP SSCE - Introduction or How To Guide

$
0
0

Hello Community,

 

since im very new to SAP MII i was wondering, if there are some good introduction documents for SSCE?

I would like to get some information or how to guides untill i am able to work with my own data (Connection between MII and PCo is not working yet).

I could find specific problems or solutions here or a overview in the sap help portal.

Is there anything else for beginners to start with?

 

Thanks

Custom action in MII V15, missing input/output parameters for links

$
0
0

I have put together, from another forum post, a UNZIP custom action block and have successfully uploaded and deployed, however when customizing the links on the action block, the input and output parameters defined in the Java do not appear. 

 

With the custom action block in a transaction that is executed interactively the following error is observed.  Without the custom action in the transaction, no error is generated.

  • Transaction Complete.
  • Error executing transaction: Could not service request, Unable to load transaction [TMP72152460-151a-11e6-999b-d2a40a340178.trx]

And the following appears in the system log

<?xml version="1.0" encoding="UTF-8"?><Rowsets DateCreated="2016-05-08T12:43:20" EndDate="2016-05-08T12:43:20" StartDate="2016-05-08T12:43:20" Version="15.0 SP2 Patch 4 (Nov 7, 2014)"><FatalError>Could not service request, Unable to load transaction [TMP72152460-151a-11e6-999b-d2a40a340178.trx]</FatalError></Rowsets> 
[EXCEPTION]
com.sap.xmii.bls.exceptions.TransactionLoadException: Unable to load transaction [TMP72152460-151a-11e6-999b-d2a40a340178.trx]
at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:396)
at com.sap.xmii.servlet.Runner.service(Runner.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.xmii.servlet.ServletRunner.run(ServletRunner.java:80)
at com.sap.xmii.common.LocalServiceConnection.post(LocalServiceConnection.java:147)
at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2493)
at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2470)
at com.sap.xmii.xacute.transaction.TransactionUtilities.ExecuteTransaction(TransactionUtilities.java:1019)
at com.sap.xmii.servlet.Catalog.handleExecuteTempTrx(Catalog.java:350)
at com.sap.xmii.servlet.Catalog.service(Catalog.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)



Reviewing my code, taken from another post, can you identify what is missing that would cause this problem.  Regards, Hank

 

package dataUnzip;

 

//import java.io.ByteArrayOutputStream;

import java.io.*;

//import java.util.zip.GZIPOutputStream;

import java.util.zip.*;

 

import sap.xmii.bls.sdk.*;

//import sap.xmii.bls.sdk.Action;

//import sap.xmii.bls.sdk.IActionInstance;

//import sap.xmii.bls.sdk.Input;

//import sap.xmii.bls.sdk.InvalidVariableException;

//import sap.xmii.bls.sdk.Outputs;

//import sap.xmii.bls.sdk.IActionConfiguration;

 

import com.sap.lhcommon.common.*;

import com.sap.lhcommon.exceptions.*;

import com.sap.lhcommon.util.*;

import com.sap.xmii.bls.exceptions.BlsException;

import com.sap.xmii.bls.sdk.InvalidVariableException;

//import com.sap.lhcommon.common.VariantDataTypes;

//import com.sap.lhcommon.exceptions.DataConversionException;

//import com.sap.lhcommon.util.Base64Util;

public class unzipHandler {

 

 

//             /**

//        To ensure the parameters are always named the same, it is good practice

//        to create a static final string with the parameters name. This also make

//        it easy to use across actions.

//              */ 

        private static final String PARAM_OUTPUT_DATAZIP = "Output"; 

        private static final String PARAM_OUTPUT_MESSAGE = "dataUnzipReturnMessage"; 

        private static final String PARAM_OUTPUT_SUCCESS = "dataUnzipSuccess"; 

//        @Action(name = "dataUnZip", icon = "/com/mii/customactions/datazip/icons/zip.jpg" )

        @Action(name = "dataUnZip" )

// This annotation tells the engine that this is an 

        // action available to execute. 

        @Outputs(names = {PARAM_OUTPUT_DATAZIP, PARAM_OUTPUT_MESSAGE, PARAM_OUTPUT_SUCCESS }, 

                           types = { VariantDataTypes.STRING, VariantDataTypes.STRING, VariantDataTypes.BOOLEAN }) 

        // This annotation tells the engine the output parameters 

        // to be returned. 

            public static void dataUnZip( 

                   IActionInstance instance,

                   @Input(name = "StringData" ) String stringData) 

        throws InvalidVariableException, BlsException {

        // Exceptions can be thrown directly from 

        // the actions without causing critical 

        // execution failures. These exceptions 

        // will be caught and logged by the engine 

        // and will cause the Success flag to be 

        // set to false. 

        // The following code describes how to set an actions output. 

                 try{ 

                           //define the output stream 

                      ByteArrayOutputStream out = new ByteArrayOutputStream(); 

                      GZIPOutputStream gzip = new GZIPOutputStream(out); 

                      //compress and write the data 

                      gzip.write(stringData.getBytes()); 

                      gzip.close(); 

                      //encode the binary data into Base64 and pass to the output as string 

                      String outputString = new String(Base64Util.encode(out.toByteArray()), "UTF-8"); 

                       instance.setActionResult(PARAM_OUTPUT_SUCCESS, true); 

                      instance.setActionResult(PARAM_OUTPUT_MESSAGE, "Zip Successful"); 

                      instance.setActionResult(PARAM_OUTPUT_DATAZIP, outputString); 

               } catch (Exception ex) { 

                    try{ 

                    instance.log(LogLevel.ERROR, ex.getMessage()); 

                    instance.setActionResult(PARAM_OUTPUT_SUCCESS, false); 

                    instance.setActionResult(PARAM_OUTPUT_MESSAGE, "Error on zip operation:"+ex.getMessage()); 

                    } 

                    catch (DataConversionException e) { 

                         instance.log(LogLevel.ERROR, e.getMessage()); 

                    } 

               } 

    }   


Displaying Data as Tree Structure in SSCE

$
0
0

Hi,

I am using SSCE feature of MII to design a dashboard and I am looking to create a tree structure data in one of the blocks.

I am able to create the structure but the all the data is populating at once.

I want the data to populate one after the other by expanding one row at a time. Take a look at the below sample structure.

 

                                     - Row1

                                              - Row2

                                                       - Node1

                                                                + Node2

                                                                + Node3

 

 

On clicking on the '+' and '-' sign, the row should expand and collapse respectively.

Can anyone help me regarding this?

 

Regards,

Shitikantha Nanda

SAP MII Consultant

Integrating SAP MII with 3rd party JMS providers

$
0
0

SAP MII has the capability to connect to a number of JMS providers. The below blog post focuses on steps to connect to ActiveMQ JMS server. However, the steps to connect to any JMS provider remain the same.

 

Setup ActiveMQ server

 

The steps to set up the server are documented on the URL::

 

http://activemq.apache.org/installation.html


After the setup completes the user needs to create a queue to which he needs to send messages using MII JMS action block. The following details are required to configure JMS connection factory at Netweaver level:


1) Hostname(or IP) and port at which ActiveMQ JMS server is deloyed. The default port for ActiveMQ server is 61616.

2) The credentials to connect to the server. The default user id and password are admin.


Setup JMS Connection Factory at J2EE engine

  1. The first step to configuring a JMS connection factory is to deploy the client libraries required to connect to the JMS server. A list of the jar files required by any client to connect to the JMS server should be available in the JMS server documentation. For ActiveMQ server it is activemq-all.jar which comeswith all libraries required.

         In order to deploy the libraries navigate to SAP MMC -> Java Application Server -> AS Java Process Table -> icm node

        

     Right Click and select Java AS Java Telnet. The java console comes up which requires Administrator access for login. Once logged in the user needs to deploy the third party JMS jars. For this run the command:

          > ADD JMSCONNECTOR

          >DEPLOY_JMS_LIBRARY <library name> <path to jar files>

          If the above command fails try changing the location of the jar files.

     The status of the libraries can be checked under Java Class Loader Viewer.



   2. Once the library jars are deployed the user needs to configure JMS Connection Factory Reference. For this navigate to:

     NWA -> Configuration -> Infrastructure -> Application Resources.

    

   3. Select New -> JMS Connection Factory Reference


   4. Fill the details as shown the image below:

         

          JMSConnectionFactory.png

     Library name should be the same as the one specified in (1) above.

 

    5.  Save the Factory Reference

 

    6. Few additional properties need to be specified. This can be done by clicking "Add New Property" button at the end of the page. The additional properties are shown below:

 

     properties.png

The java.naming.factory.initial in case of ActiveMQ server is org.apache.activemq.jndi.ActiveMQInitialContextFactory.The format of specifying java.naming.provider.URL  is tcp://<host ip>:<port> for the system on which ActiveMQ server is deployed.The default value of port is 61616.

 

    7. Save the Resource. The status of the resource should be green.

    8. Navigate to JNDI Browser in NWA.

    9. The entry for path to ActiveMQResourceApplication should be visible as shown in the image below:

          JNDI.png

     The path to the connection factory is jms_vendor_factory_local/sap.com/ActiveMQResourceApplication/AMQConnectionFactory.

 

     MII Configuration


1) Login to MII. Navigate to Data Services - >  Connections

2) Create a new JMS connection of type JMS.

3) Fill in the details like Name, Server URL, JNDI Context Provider and JNDI Factory Context like image shown below. Note that the JNDI factory context will be the path  noted above.


JMS.png

         

    The check-box, "Skip JNDI lookup" has been introduced so that the user can specify whether the Queue(or rather the JMS server) being used exists on the same java application server. In case a separate ActiveMQ has been setup, the box should be checked.

 

4) Once the configurations are complete, the transaction can be run to send the JMS message to the specified queue.

SAP PCo 151 SystemDateTime Issue

$
0
0

Hi Experts,

 

In PCo 151 the date times are not matching with server system date time. I need your thoughts on the same.

 

PCo151.JPG

 

 

When Check in PCo options Date/Time Format its showing correct Current Date/Time. below is the SS

PCo151DateTime1.JPG

On the other hand while test the function "datenow" in notification output expression its giving different result, below is the SS

 

PCo151DateTime2.JPG

 

Strange.. !!

 

Regards,

Kuntal Sarkar

How to Insert a record in tree structure in DUAL Table

$
0
0

Hi,

 

I am using SQL Query to generate a data in tree structure from DUAL Table. Below is the SQL Query.

 

select 'root' as NDE, '1' as PNDE FROM DUAL UNION ALL

select 'Energy' as NDE, 'root' as PNDE  FROM DUAL UNION ALL

select 'Electrical' as NDE, 'Energy' as PNDE FROM DUAL UNION ALL

select 'Fuels' as NDE,  'Energy' as PNDE FROM DUAL UNION ALL

select 'LPG' as NDE, 'Fuels' as PNDE FROM DUAL UNION ALL

select 'FO' as NDE, 'Fuels' as PNDE FROM DUAL UNION ALL

select 'HSD' as NDE, 'Fuels' as PNDE FROM DUAL UNION ALL

select 'Steam' as NDE, 'Energy' as PNDE FROM DUAL UNION ALL

select 'Water' as NDE, 'root' as PNDE FROM DUAL UNION ALL

select 'Raw Water' as NDE, 'Water' as PNDE FROM DUAL UNION ALL

select 'Hard Water' as NDE, 'Water' as PNDE FROM DUAL UNION ALL

select 'Soft Water' as NDE, 'Water' as PNDE FROM DUAL UNION ALL

select 'Oxygen' as NDE, 'root' as PNDE FROM DUAL

 

The tree structure will appear as below.


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Now, If I want to insert a record into the above tree structure under Energy (say: Thermal), how can I do it? Any suggestions please.

 

Regards,

Shitikantha Nanda

unable to get the output of transaction using URLs in the format of XML

$
0
0

Hi All,

 

I am using following URL http://<servername>/XMII/Runner?Transaction=MII_Ran/Arithmetic_transaction&LogType=Info&OutputParameter=* to get the output in XML format. I am unable to get the output of transaction but it gives the following XML ouput.

 

<?xml version="1.0" encoding="UTF-8" ?>

 

-<Rowsets DateCreated="2016-05-10T20:01:29" EndDate="2016-05-10T20:01:29" StartDate="2016-05-10T20:01:29" Version="15.0 SP0 Patch 0 (May 7, 2014)" TransactionID="74">

 

 

-<Messages>

 

 

<Message>TRANSACTION EXECUTED OK</Message>

 

</Messages>

</Rowsets>


Can anyone suggest me how to get the output of transaction.


Regards,

Rana Balusu





Error while creating Gauge in MII 15.0 - SSCE

$
0
0

Hello Community,

 

i have trouble creating a Gauge in MII 15.0 SP6 Patch 2.

It doesn't mather if i create the object in the workbench or in SSCE with PCoQuery data.

I always get this error:

Bild1.png

 

Other visualisations are working...

 

Did anyone ever get a error with creating a gauge or has any idea what the problem might be?

 

Thanks

Stefan

New features in SAP MII 15.1 - Part 1

$
0
0

This is going to be two part series.

 

In this blog I'll exploring SSCE, Energy/water management and remote Pco


 

1) Self Service Composition Environment (SSCE)

 

It is a platform to create, design, configure, and display dashboards based on your needs. It has drag and drop environment.

In SSCE, you can do the following:

 

  • Create dashboards using any SAP MII content (Query Templates, Display Templates, MDO/KPI Objects, and Resource Files), UI elements, and tags from Plant Information Catalog
  • Configure the selected objects. We can configure the display parameters and query parameters on the fly.
  • Display using different layouts of SSCE
  • Customize the created dashboard by adding the saved content to the navigation tree.
  • Dashboard display components are time aware
  • Dashboard is responsive ( upto iPad screen size )

As of 15.1 you can add a 3d file (.vds) to your dashboard, integrate PIC tags with it and assign events.

It requires IE11 or Google Crome.

 

2) Energy/Water Consumption Analysis by using PIC

PIC is a part of catalog services

Parts of Catalog Services :

  1. Category: A category is identifier of a group or tag in enterprise
  2. Property Set : You use the property set to associate properties within the property set to the groups and tags.
  3. Plant Information Maintainance(PIM) : It is used to create hierarchical structure of assets from a high level down to the tag and group level. For any changes a change list would be created.
  4. Plant Information Catalog (PIC): It consists of hierarchal structure of approved tags and groups
  5. Change List : Any changes made in PIM needs to be associated with a change list.
    This changes must be approved by the approver.
    Roles required by the approver : XMII_Approver, XMII_Administrator, XMII_Supervisor

We can use this PIC to calculate the energy/water consumption of equipment,plant or an enterprise.

  1. Create your tree structure in PIM (category, property set )
  2. Associate it with a change list
  3. The change list needs to be approved for this tree structure to be visible in PIC
  4. Create a BaseKPI MDO Object
  5. Add dimensions to the object
  6. Map this object to a data source (transaction or tag query)
  7. Add lifecycle
  8. Deploy and Run
  9. Create new catalog query
  10. Select the category created earlier and give the UOM as given in MDO
  11. In PIM map the MDO to the node on which you wish to do the analysis
  12. Open new dashboard in SSCE
  13. You can drag and drop the Catalog query and MDO (You'll be able to view the data in chart format)

3) Remote PCo / PCo 15.1

Remote configuration of PCo is possible as of MII 15.0

(link : http://<server>:<port>/XMII/PCoManagement.jsp)

Notifications can be created for Tag value in PIC based on expressions that we provide, We can also provide destination of transactions which must be triggered.

New features in PCo 15.1

  • Supports more protocols : OPC UA, OPC DA, OPC HDA, OPC A&E, ODBC, OLE DB, sockets , MODBUS and sdk is also provided for other agents.
  • PCo 15.1 can also be installed on linux system.
  • The MS SQL database is replaced with JSON files.
  • New expression editor
  • Enhanced notification System

 

 

 

In coming part I'll discuss about advances in MDO queries and OEE.


Material Master x-plant matl status

$
0
0

Is there a report to show the x-plant matl status, in the material master for all SAP items?

Connectivity Framework Error

$
0
0

Hi,

I'm trying to connect to MII with PCo as destination system. We have PCo version: 15.1.1.2651 and MII version: 15.1 SP1 Patch 0 (Jan 21, 2016)

Settings of PCo MII destination system is as shown:

Bez názvu.png

error message after Test Connection is:

Výstřižek.PNG

Thank you for your help!

 

Jan Bednář

HANA impact

$
0
0

Hi,

    More of an academic question. But in a typical architecture today we have the ERP backend and that captures process control data every shift or every day. Then we also have historians which are deployed on the shopfloor to capture machine data and then report on it. With the new HANA database which will eventually "simplify" all the tables will a time come where 3rd party historians like OSISoft or AspenTech not be needed anymore? Rather have all the machine data polled straight by HANA and then use FIORI apps for real time reporting ?

 

Thanks

How to Connect SAP MII with trail version of SAP HANA

$
0
0

Hello Everyone,

               I am trying to connect SAPMII (15.0) with Trail version of SAP HANA using HANA SDA Connector.

I have created  trail version account.

Can anyone explain me what are the next steps I should follow to access MII data from HANA colud.

 

 

Thank you,

Rajee.

struggling in ichart - bar type

$
0
0

Dear Experts,

 

We are in process of generating the alerts in MII for Yield at monthly level.

 

Below is my table for which i want to generate the Ichart in MII transaction & sent it in email action block.

 

PlantMonthyield drop 10%yield drop 20%yield drop 30%
XYZJan-16234
XYZFeb-16145
XYZMar-16268
XYZApr-16014
XYZMay-16135

 

Requirement:

 

on x axis --> month

on y axis --> 10% yield drop , 20% yield drop, 30% yield drop

 

Chart should show month wise data for 10%,20%,30% yield drop.

 

When i am creating the Ichart --> bar type, random colors are displayed as the value of Y axis properties.

 

In short i want my bar color in standard format:

 

such as, 

 

For yield drop 10% --> Red

For yield drop 20% --> Green

For yield drop 30% --> Yellow

 

for every month.

 

I want chart in attached format. ( I want to attach the chart in Sent mail action block so i can only use ichart option only , I was able to get the required result by selecting i5chart in dashboard ). 

 

Please guide me how i can get static colors for Y axis.

 

I have searched the SDN for this but not found the perfect answer that can resolve my issue.

 

Regards,Requirement.PNG

Deep Dave

Viewing all 1775 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>