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

Re: MDO Query Action Block In MII Transaction

$
0
0

Hi Swaroop,

 

Thanks. I have configured my mdo action block like:-

 

mode-"Select"

attributes-"count(*)"

mdo-path of mdo

filterexpr- stringif(condition,

"[DATE_TIME] >='%#Transaction.StartDateTime#%' AND

[DATE_TIME]<='%#Transaction.EndDateTime#%'",

"[DATE_TIME] >='%#Transaction.StartDateTime#%' AND

[DATE_TIME]<='%#Transaction.EndDateTime#%'")

 

On execution, I get the foll error:-

 

3:1 - type check error: the left hand side >>DATE_TIME.< (TIMESTAMP) and the right hand side >>'%2015-04-21T09:58:14%'<< (CHAR) of a comparison operator are not comparable

 

Startdatetime and ENDdatetime are both transaction variables of datetime type.

 

Is there a syntax issue wrt to above(% wildcard or etc.)? How can I handle such in MDOs?

 

Thanks

Rajeev


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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