Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

PCo 2.3 ODBC query from MII 14.0 SP4 Patch 2

$
0
0

We're running SAP MII 14.0 sP4 Patch 2 (Feb 12, 2014) and I'm trying to link via PCo 2.3 to a system ODBC data source.

I'm trying to hit an AIM Foxboro Historian and extract tag data between midnight and 4:00 AM.

 

Using the workbench I create a PCo query. However, when I'm trying to open the "Database Fixed Query Details" tab, the following error message appears: "Query  execution Failed due to following: [Directive #1]: Exception [ArgumentException] - Column 'TABLE_NAME' does not belong to table Tables".

 

All still good, after I "OK" the error message I can test the following query, which returns results:

SELECT  Time, Value FROM hist01.sample/Current WHERE (Source ='[Param.1]') AND (Time between '2013-11-09 00:00:00' AND '2013-11-09 04:00:00')

 

What I get back is a list of TIME,VALUE pairs, as per the query setup, where the historian tag ID is passed through the [Param.1] string.

 

The main issue is when I want to use the above  PCo query template in any transaction, there is always an LH Exception thrown, with the following message.

 

[ERROR] [getTagValues]com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.protocol.ProtocolReaderException: Error reading Header.

 

Did anyone see this message before in these circumstances? How can I define the ODBC connection to allow browsing table names? What is exactly MII/PCo looking for, in order to browse TABLE NAMES in an ODBC dataset? Would this error (inability to query the ODBC table names) render the PCo query template unusable within subsequent transactions asking for table data fully determined by the ODBC query defined in the FIXED QUERY area?

 

Cheers,
Paul.


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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