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

Re: Multiple Rows for Current time in PCo Tag Retrieve Query

$
0
0

Other options if your values are coming in different Rowsets at different time then the point to observe is that

 

Suppose 3 Tags Tag1,Tag2,Tag3 updated at time T1,T2,T3 and values are coming in different row set when Get Response in Multiple Rowsets is checked. The your output when you seen in XMl then it will be some what like below

 

<Time>T1<Time>

<Tag1>value<Tag1>

<Tag2>NA or 0<Tag2>

<Tag3>Na or 0<Tag3>

 

<Time>T2<Time>

 

<Tag1>Na or 0<Tag1>

 

<Tag2>Value<Tag2>

 

<Tag3>Na or 0<Tag3>

 

<Time>T3<Time>

 

<Tag1>Na or 0<Tag1>

 

<Tag2>Na or 0<Tag2>

 

<Tag3>Value<Tag3>

 

looking to the above example you can see that at time T1 tag1 has values rest tags do not so on for other time. So you can write an xpath to get the values of tags where values is not NA or 0. This will give you unique values.

 

 

This example may clarifies your doubt


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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