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

oraarch growing rapidly. segment XMII_STATSUSER operation UNSUPPORTED

$
0
0

Hi All,

 

I have recently upgraded the UI5 version on MII and my oraarch folder is growing at a very rapid pace.

 

I managed to mount the archives and query them for over a period of five minutes.

 

I managed to get the segments and operations that are being updated/modified. For a period of 5 mins the following were the records generated.

 

SEGMENT_NAME     OPERATION                    OCCURRENCES

-------------------- -------------------------------- -----------

XMII_STATSUSER   UNSUPPORTED                          348
XMII_STATSSERVER UNSUPPORTED                          343
BC_MON_AGREGATES INSERT                               343
XMII_STATSLOGIN  UNSUPPORTED                          116
XMII_STATSFILE   UNSUPPORTED                          116
BC_JMSTOPIC      DELETE                                75
XMII_FILES       UNSUPPORTED                           74
XMII_JOBS        UPDATE                                41
BC_JMSTOPIC      UPDATE                                39
BC_JMSTOPIC      INSERT                                39
COL_USAGE$       UNSUPPORTED                           36
BC_JMSQUEUE      INSERT                                27
BC_JMSQUEUE      UPDATE                                27
CBS_NODE         UPDATE                                25
BC_JMSQUEUE      DELETE                                25
XMII_JOBHISTORY  INSERT                                20
CBS_LOCK         UPDATE                                20
XMII_JOBS        UNSUPPORTED                           17
MON_MODS$        UNSUPPORTED                           15
XMII_STATSSERVER UPDATE                                

9

 

 

I am not sure how to proceed further. And what these segments and operations signify. Or what I can correct to reduce these entries.

 

Please help

 

Regards

Maaz


NWDI deploy, cannot create new project

$
0
0

Hello,

 

We have a weird issue... We are setting up new boxes (dev and consolidation), and try to push our (MII) development from current boxes to there.

As we are using NWDI, pushing from Dev boxes where ok : we forwarded the sca to there.

Now we have an issue when trying to push this to the new consolidation system... I assembled a transport, and when the basis guy try to push this transport with CTS+, we got deploy aborted :

 

61. Client path '/usr/sap/WAS_trans/data/MD2K90003S/xxx~MII_EXT~NAP_MII-DEV_C~20160114095337.sca -> mii~payroll.sda'       |

|      |   Sdu info :name 'mii~payroll', vendor 'xxx.com', location 'NAP_MII-DEV_C', version '32733', software type ('CONTENT', sub type  |

|      |   ''), dependencies :[none]                                                                                                           |

|      |   Deploy status is 'Aborted'                                                                                                          |

|      |   Description:'1. Exception occured during undeployment                                                                               |

|      |   -> Project xxx.com~mii~payroll.mii-project does not exists. Cannot update it.'.

 

Any idea why the project are not created ? Is there an option to force the creation ?

 

Thanks

Olivier

Size of MII entities and corresponding records in XMII tables

$
0
0

Hello MII Community,

 

 

In this blog I’d like to say few words and share some hints regarding a size of MII entities and corresponding records in XMII tables.

 

Imagine you face some memory consumption or performance issue. It can happen because the corresponding MII file is huge and as a consequence it takes much time to process it.

In some cases you should dig to the needed record in XMII_FILES table, which has a BLOB column TEXT that can occupy a lot of space. You can judge about its size based on FILESIZE column. However, this column has been introduced since MII 12.2 SP7 and MII 14.0 SP4 only. In older versions you should use some script to evaluate the size. Below is the example from SQL Server database:

 

select NAME,  datalength(TEXT) as LengthOfBLOBField

from XMII_FILES

where

 

The calculated length is provided in Bytes, same as in standard FILESIZE column.

In case you have other DB vendor, an equivalent datalength() function should be used.

 

In more rare cases you need to check for the same in other XMII tables. Very recently I have had a need to check XMII_JOBPROP table and found a property there, which value (a CLOB column PROPVALUE) occupied more than 1 Gb, and caused an issue.

 

 

Hope you find these hints useful. Your comments, ratings and Likes would be appreciated.

 

 

Best regards,

Alex.

"Error in compiling [/XMII/Menu.jsp] in application [sap.com/xapps~xmii~ear]."

$
0
0

Hi Everyone,

 

Recently we upgraded our MII system from 12.1 SP8 to 12.1 SP12.

After upgrade Menu.jsp page is not loading and throwing below error

 

"Error in compiling [/XMII/Menu.jsp] in application [sap.com/xapps~xmii~ear]."


The NWA log is showing below error


Cannot parse jsp [/usr/sap/TCM/J00/j2ee/cluster/apps/sap.com/xapps~xmii~ear/servlet_jsp/XMII/root/Menu.jsp]. Error is: [[Error in

executing the compilation process: [ Compilation Failed! Exit Code=1^M


But all .irpt page are loading and workbench is working (opened via workbench.jsp).





Thanks

Mahesh

XMII Runner with XML content as input

$
0
0

Hi

 

I have a integration scenario, where in the java tool is sending me the XML content via HTTP to XMII Runner URL (URL which is calling BLS Transactions and this BLS Transaction accepts the XML input and processes the same).

 

But, I am not able to see the input XML in my BLS Transaction on receipt of the request from the java tool.

 

Help required for handling the XML input via HTTP request to MII.

 

Thanks in advance

R. Prasanna

MII 15 SATO CL408e Label Printing with ADS

$
0
0

Has anyone else tried printing to SATO printers using ADS, or created / modified a XDC file for printing to SATO printers?

 

We will be migrating to MII 15 shortly and are looking at replacing our current label printing process with ADS to print to our SATO CL408e label printers.

 

Steps taken:

  1. Created XDP files to test with using Adobe LiveCycle designer
  2. Uploaded the XDP files to web folder in MII
  3. Created a transaction that passes XML data to the ADS action block
  4. Set the ADS action block to use the XDP file from the web folder, set the Print object to true, and the PrintingCopies object to 1
  5. Tried printing to various printers defined in the Windows hosted print server
    • Successfully printed to a Cannon laser printer after copying a XDC file containing the printer stock definitions to the \global\AdobeDocumentServices\lib\ folder on the MII 15 server and setting this file in the action block links XDCFilePath object
    • Tried to do the same with a SATO CL408e label printer, but it didn't print.  The printer queue in Windows showed the print job come in and it was released to the printer without any errors.  I tried printing by using every XDC file available on the server without any success.

 

 

[EDIT 1]

I have been working with SATO to see if this is possible.  Here is what I learned:

  • ADS does NOT have native support for printing to SATO printers.  I looked at the raw data sent to the printer for every XDC file provided by SAP and there were not any that produced a data stream in SBPL.
  • A proposed option is to update the SATO firmware to use Zebra emulation, but this is not feasible for my company.
  • A custom XDC file will need to be created to output SBPL structured code to SATO printers.

 

     I am baffled why there isn't native support for ADS to print to SATO devices.  It doesn't look like there are many new (if any) released standard XDC files since 2007.  If anyone has already created a XDC file to do this, please share.

 

     A guide to programming in SBPL:

     https://www.satoamerica.com/uploads/files/datasheets/SBPL%20Programming%20Reference%20for%20GL408e_GL412e.pdf

 

[EDIT 2: 12/21/2015]

I found SAP note 1444342: http://service.sap.com/sap/support/notes/1444342 that looks promising.

"You want to print forms that were generated by ADS on printers that are not defined with a device type in accordance with Note 685571 (that is, they are not assigned to an XDC file). This was not previously possible. Due to the new component SAPPDFPRINT, interactive forms can be printed on any Windows printer just like all of the other spool requests with the SAPWIN device types."


The SWIN device type allows you to use any printer or fax that the Microsoft Windows Print Manager can use, regardless of whether or not a device type for the printer/fax has been defined in the SAP System. In this case, it is actually the Microsoft Windows Print Manager and Windows driver that format a document producing an output-ready data stream.

 

I will try the steps from the above note on our MII 15 server.  Once I have the software installed and tested, I will add my finding to this post.

 

[EDIT 3: 12/23/2015]

I could not get the SAPsprint service to print PDFs to SATO printers.  My thought was that I could open a PCo connection from an MII transaction and send the ADS Printing PDF output data to SAPsprint using a socket connection:

     XML Data => ADS Printing Action Block => PCo Socket Connection => SAPsprint Service => Printer Queue

 

The job would come in to the SAPsprint service on the MII server, but would not show up in the printer queue.  I changed the PDF Options to enable Print PDF as RAW setting.  The job then showed up in the printer queue, but it wasn't in the required SBPL format for label printing.

 

From my findings, it looks like SAPsprint / SAPPDFPRINT just may not work for SATO printers.  Unless I missed a configuration option, I am out of ideas trying to print PDF forms with MII using this method.

 

We really need a solution for this soon.  A ticket has been opened with the SAP MII team, hoping they can provide some incite into this problem.

 

[EDIT 4: 12/28/2015]

I was able to print a PDF sent to SAPsprint using a socket connection to a SATO CL408e printer using C#.  I found that Adobe Reader needed to be installed on the server.  I am stuck on the PCo tag query part. Command reference here: https://www.ietf.org/rfc/rfc1179.txt

 

From my understanding, LPR/LPD requires the following messages:

 

MII => LPR     <02><Printer Name><LF>

LPR => MII     <ACK>

MII => LPR     <02><NUM BYTES IN CONTROL FILE><SPACE><CONTROL FILE NAME><LF>

LPR => MII     <ACK>

MII => LPR     <CONTENTS OF CONTROL FILE><0>

LPR => MII     <ACK>

MII => LPR     <03> <NUM BYTES IN DATA FILE><SPACE><DATA FILE NAME><LF>

LPR => MII     <ACK>

MII => LPR     <CONTENTS OF DATA FILE><0>

LPR => MII     <ACK>

 

I need to be able to send this information to port SAPsprint port 515 on the MII server using PCo.

 

I created a PCo query that uses:

CALL SEND(address='127.0.0.1', port='515', message=[Param.1]);

 

[Param.1] is being passed in as a link from the transaction.

 

I was hoping to do something similar to this, or if possible reduce the number of socket messages:

ADS_Printing.png

I don't think it is possible to wait for the ACK messages, but data is being sent to SAPsprint now.

 

SAPsprint Log

ERROR 1

Th 16428: (28.12.2015 13:25:40) Receive job for printer F3MDC.SATO

(Berkley protocol).

Th 16428: (28.12.2015 13:25:40) Error: AwaitNullbyte: Nullbyte expected, protocol error on ni 53007200 - aborting.

Th 16428: (28.12.2015 13:25:40) Filename used is dfA8MII15demo

Th 16428: (28.12.2015 13:25:40) Error: Controlfile is missing (protocol or network problem). No printout.



ERROR 2

Th 12748: (28.12.2015 13:28:43) Receive job for printer F3MDC.SATO

(Berkley protocol).

Th 12748: (28.12.2015 13:28:43) Error: Unknown receive job command, buff[0] = 64

 

 

The current problems I am working through are:

 

1. MII is not sending the HEX value of 0x00 which is required when sending the PDF data to SAPsprint.  I tried using null, stringnull, \00, and &#00; in the Links expression editor without luck.  The control file also requires a NULL character at the end of the send data command.

 

2. When I include a control file, I get an "Unknown receive job command, buff[0] = 64" error.  This error means that the second command isn't recognized by SAPsprint. <02><NUM BYTES IN CONTROL FILE><SPACE><CONTROL FILE NAME><LF> This command is working in C#, not sure why it isn't with the PCo Socket Agent.  If I exclude the command file, there is an "Error: Controlfile is missing."

 

[EDIT 5: 12/29/2015]

I'm still not sure how to process the ACKs received from the PCo query and have been unsuccessful trying to resolve the errors mentioned above.  I tried installing the PCo 15 Agent SDK to write my own agent, but we only have a license for VS2013.  The SDK only supports VS2012 and would not let me install it.  The process of sending the PDF information over a socket to the SAPsprint service using a PCo socket agent is messy and complex.  I am giving up on using PCo.

 

I thought about passing the PDF data through a JCo call to SAP.  SAP would connect to the SAPsprint service to print the PDF to a SATO printer, but this would have too much overhead in the system and would need all MII printers to be mapped in SAP.

 

I also thought about having a service continually scan folders for each printer for PDFs and print any that show up, but this is getting out of the SAP support realm and may impact the server resource utilization.


I'm going back to researching how to create an XDC file.  I haven't heard anything from SAP.  If nothing comes my way by the middle of next week, I will be escalating the issue.  Our BASIS person will be starting the MII 15 environment setup and install next week, so this is becoming a higher priority for us.

 

[EDIT 6: 01/06/2016]

SAP responded to my ticket saying the printer manufacturer is responsible for providing XDC files.  I reopened the ticket with SATO and essentially got back to the original answer of SATO providing us with a firmware update to the CL408e printers that will allow reading ZPL and SBPL.  It will be a large effort on our part to update the firmware of all 200+ SATO printers at various plants across the US, but this is going to have to be the route we take.  SATO claims that ZPL emulation is already implemented in the firmware for CL4NX printers, so I will be testing that this week.  If this is works and I am able to test out Zebra emulation on CL408e printers, I will update this question stating the effort involved before closing it.

Localization (MII 12.1)

$
0
0

Hi,

 

We have defined the properties file in the META-INF tab for different languages.

 

The data coming in the irpt pages are as per the language defined in UME for the logged in user.

 

I want to provide an option to user for selecting language in which he wants to see the application.

 

For Ex: I will be having a drop down box in the home page for different langugaes available. Now when the user selects one of the language, I want application to use the selected language properties file in the application.

 

I want user to select the language instead of using the one defined in UME.

 

Is it possible to specifiy which language properties file to use in irpt page?

 

 

Thank You

Regards,

Neha Maheshwari

Dynamic Internationalization / Localization

$
0
0

Hello!

 

We have MII work centers on the manufacturing floor that run under "dummy" accounts (ex: workcenter1 login). That login is set to use a language setting of "es" (Spanish). We have many different users throughout the day who clock in and out of the MII application, but the single dummy account is who is actually logged in. Meaning: each workcenter user does not login / logout throughout the day. The application stays running under the dummy account.

 

I have a requirement to allow users to change the language setting within the application as they see the need. In the example above - the default setting is Spanish, but maybe that particular user is more comfortable reading English. They need to be able to, on the fly, set the new language and have the page render correctly.

 

I have defined 2 bundle files: MII_en.properties and MII_es.properties and placed a few label names inside each. If I change the dummy user's language preference in their account and log out and log back in under that dummy account, the new language takes affect as I'd expect. The labels are read from the correct bundle file.

 

However, if I try to programmatically, within the MII application, set the session variables for Language, Country, locale and Locale - it has absolutely no effect on the page or resource bundle that's chosen! I always see the labels as they were when the user logged in.

 

In "normal", non MII, web development (think: Java/Spring/JSP stack), I can create a dropdown list for the user to choose their session language dynamically and refresh the page. The correct resource bundle gets picked up and the language renders correctly. I don't need the user to log out and log back in.

 

Is this same functionality not available in MII? Am I required to have the user log out and log back in?


SAP MII SSC UI CUSTOMIZATION

$
0
0

In SAP MII SSC (Self Service Composition Dashboard),

There is some issue I am facing while doing some customization on the UI of SSC.

 

 

I added two UI5 drop down with Dynamic Data Source and my requirement is populating the second drop down

as per the selected value of the first drop-down.For that what I need to get the instance of first drop down

along with its selected value and then pass it as a parameter in query so that the second drop down can be populated.

 

The constraint lies in

 

 

1)Getting instance of the drop down to get the selected

 

I have tried adding some custom code to get the drop down instance but no help.Here is the part of the customized added

code

 

 

This is not giving any error but not working.

 

Please help.

How to get latest transported code from NWDI

$
0
0

Hello Experts,

 

We have got our Development environment which is our NWDI repository. We do make all changes at Dev and transport to other environments such as QA and PROD via NWDI. Presently source code at Dev and PROD environments are not in synch. We are waiting for some approval to transport the latest change to PROD. We are planning for a migration and got a new server with latest MII version where we need to deploy the MII source code which is in synch with PROD environment. Since MII is deployed via NWDI (shared project) we can’t export the project from PROD. Is there any way we can get the MII source code from PROD. I mean to say can we get the latest software component (.sca, .jar or .ear files) which is transported to PROD environment. Please let me know how I can get hold of the source code deployed at PROD.

SAP PCo Notification for error logs

$
0
0

Hi everyone is there any way by which we can trigger notification to MII whenever error is logged by PCo.

 

Basically i want to generate notification whenever an error is logged in PCo logs and pass the error details to called MII transaction.

 

Kindly share your views.

New features in MII 14.0 -- Guides

$
0
0

Dear Friends

 

As you all know MII 14.0 was released on 12th November 2012 to customers and is currently in Ramp Up. It will be in General Availability in a few months. In this regard we want to share with you some documents showcasing the new features of MII 14.0. In this discussion I would add the link to these documents as and when we add them to SDN.

 

Please check the documents and provide your comments/feedback on them. We sincerely hope these documents would be of help to you in understanding and using the new features of MII 14.0.

 

Thanks you

Partha

 

MII Alert Framework

MII and CTS+ Integration for configuration transport

JCO Proxy Error when testing a JCo connection to SAP ECC

$
0
0

Hi all,

We've got a new installation of MII (12.2.5 Build(65)) on Netweaver with installed components @ 1000.7.11.1.0 - I'm guessing this is 7.11.1? 


When I try test a connection to SAP ECC using the JCO function action block, I get the following error (I run a simple search for available BAPIs):


JCO Proxy Error: com/sap/xmii/storage/connections/JCOCacheHelper : cannot initialize class because prior initialization attempt failed


Does anyone have a suggestion how to troubleshoot?  My gut feeling is the Netweaver installation is too old.


thanks.

Integer to Binary and Binary to Hexadecimal

$
0
0

Hello everyone,

 

is there a funtion to convert from integer or decimal to binary and a binary to hexadecimal.

 

Thank you for your help

Issue while checking out the existing MII BLS in workbench from NWDI

$
0
0

Hi All,

We are facing an issue while checking out the existing MII BLS in workbench from NWDI. The error is saying "Error while checking out the file <XXXXXXXXXX>.trx.".  Recently we have upgraded our system to 15.1 SP0 patch 4 from 15.0.  

 

While checking out the NWA, we found the following error.

" com.sap.xmii.mdo.core.MDOValidationException: Invalid Table Name. "

This error followed by another error given below.

 

Error while checking out the file <XXXXXXXX>/BLS_TEST.trx

[EXCEPTION]

com.sap.xmii.contentmanagement.exception.ContentManagementException: COULD_NOT_CHECK_DATASET

at com.sap.xmii.contentmanagement.versionmanagement.ContentFileManager.sync(ContentFileManager.java:155)

at com.sap.xmii.contentmanagement.versionmanagement.ContentFileManager.sync(ContentFileManager.java:99)

at com.sap.xmii.Illuminator.gui.workbench.contentmanagement.servlet.ContentCatalog.fileCheckout(ContentCatalog.java:674)

at com.sap.xmii.Illuminator.gui.workbench.contentmanagement.servlet.ContentCatalog.service(ContentCatalog.java:157)

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)

at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:122)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)


SAP MII - Question Shop floor solution based on NetWeaver database

$
0
0

Hello,

 

We have built a MES shop floor solution (LP.MES) on basis of SAP MII 14 and applet-based screens. To store our internal records (e.g. master data, production orders, confirmations, …) we use a separate Microsoft SQL database server (independent of the SAP NetWeaver database) connected to the NetWeaver (Java Stack) via JDBC.

 

Currently we are migrating our solution to MII 15 and UI5-based screens. At the same moment we are planning to use the underlying NetWeaver database (like Sybase, Oracle, MaxDB, Hana, …) instead of using a separate Microsoft SQL database server.

 

My question is: What are the possibilities to use the underlying NetWeaver database?

 

I only know this so far from the ERP NetWeaver (ABAP Stack) to use the ABAP repository as a mid-layer where I can create transparent tables, which are then stored indirectly on the underlying NetWeaver database. When I understood correctly, there is also a mid-layer in Java for table definition available.

 

What is the best practice approach to do this in the MII NetWeaver (Java Stack)? It  would be very appreciated to get some information about where and how tables can be defined and how the tables can be addressed in queries and selects. My understanding is, if we can address the underlying NetWeaver database directly via the NetWeaver itself, we do not need to care about the different database dialects, is this correct?

 

As a second question I need to know, if this is (besides the technical feasibility) possible to use the database for 3rd party solutions according to the SAP license model?

 

Thanks a lot in advance and best regards

 

Sebastian Rothe

PCo to OSISoft PI AF Server Connection

$
0
0

Dear Experts,

 

We have OSIsoft PI AF server 2.7.5.7166 on the floor and we are planning to connect it using PCo 15.0.5.2402, I have installed PI SDK 1.4 on PCo box.

 

The PCo will be sitting on MII server which is different from PI AF Server but on same domain.

 

My question is, since the OSISoft PI AF Server is different from OSISoft PI Data Server will I be still able to connect PI AF to PCo the same way as standard PI Data Server or do we need to connect it using OLEDB connection using additional SDK's for OLEDB or is there any better way of connecting these systems.

 

Looking forward for your valuable advise.

 

Regards,

Adarsh Sidnoor

MultiRowsets response is not working in simulation PCo Server, MII15.0

$
0
0

Hi Experts,

 

I am trying to generate multi-rowsets response in Tagretriev mode and Curent view using simulation PCo server but its returning single rowset.

 

PCO1.JPG

PCO2.JPGPCO3.JPG

Regards,

Kuntal

Find Production Order By Work Centre - poor performance

$
0
0

Hi,

 

I want to retrieve production orders from sap ecc backend with SCADA-System/shop floor system.

 

For this purpose I want to utilize SAP Enterprise Services 'Find Production Order By Work Centre' (ECC_PRODUCTIONORDERSWQR), to get the list of production orders with system status FREE for a work centre, and 'Read Production Order' (ECC_PRODUCTIONORDERBYIDQR), to get the details per production order.

 

I tested the services with SOAPUI and it seems that it will work.

 

But there is a performance problem with service 'Find Production Order By Work Centre'.

Every first service call for a work centre runs into timeout after 30 or more seconds.

At second attempt response is sent within 3 seconds.

There are typically 10 or 20 production order IDs in the response.

 

If I do the request without SelectionBySystemStatusName, then the response is always sent very fast.

But the huge list of all old production orders is useless.

 

Has anybody an idea what could be the reason for this problem?

 

Regards,

Roland

 

Example for Request Message

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">   <soapenv:Header/>   <soapenv:Body>      <glob:ProductionOrderSimpleByWorkCentreQuery_sync>         <ProductionOrderSimpleSelectionByWorkCentre>            <ERPProductionOrderRequiredIndicator>true</ERPProductionOrderRequiredIndicator>            <ERPProcessOrderRequiredIndicator>false</ERPProcessOrderRequiredIndicator>            <SelectionByWorkCentreID>               <InclusionExclusionCode>i</InclusionExclusionCode>               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>               <LowerBoundaryWorkCentreID>80050020</LowerBoundaryWorkCentreID>            </SelectionByWorkCentreID>            <SelectionByPlantID>               <InclusionExclusionCode>i</InclusionExclusionCode>               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>               <LowerBoundaryPlantID>123A</LowerBoundaryPlantID>            </SelectionByPlantID>            <SelectionBySystemStatusName>               <InclusionExclusionCode>i</InclusionExclusionCode>               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>               <LowerBoundarySystemStatusName>FREI</LowerBoundarySystemStatusName>            </SelectionBySystemStatusName>         </ProductionOrderSimpleSelectionByWorkCentre>      </glob:ProductionOrderSimpleByWorkCentreQuery_sync>   </soapenv:Body></soapenv:Envelope>

Agent instance is not starting in PCo 15.0

$
0
0

Hi Experts,

 

I am new to PCo. I am working with PCo 15.0.0.

I have Matricon OPC server and PCo 15.0 installed on same machine.

with admin user I am able to create source system agent instance. I am getting below error when I try to start PCo Management Host service and it set up for Manual Start. let me know if i miss anything and I have installed both softwares on windows vista 32-bit, is this fine?

 

PCOError.JPG

 

Thanks, Shanthi

Viewing all 1775 articles
Browse latest View live


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