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

Re: MDO select Query throwing error: The token [ was not expected

$
0
0

Hello All,

 

Work around for "SQL syntax error: the token [ was not expected here" in MDO select query.

 

please fellow below steps:

  1. In select query try to select attributes one by one and execute the MDO SELECT query. While testing like this, you will get the error "SQL syntax error: the token [ was not expected here" for some attributes.
  2. Then, In MDO definition try to change the Attribute name which is causing error.Save the MDO definition with (Ctrl+s). Note: In this attribute name change process data will not flushed off.
  3. Now test the MDO select query with the attribute, which caused error. Sometimes you need to change attributes twice, if first changed attribute name is not worked out. Then you will be able to perform MDO SELECT query successfully.

 

In my case, I have created MDO definition with Attribute like this "Operation_Quantity". But It was throwing error.

 

Trail 1: Then I changed it to "Operation_Qty" , Bad luck. didnt work.

Trail 2: Changed to "Oper_Quantity". . it worked.

 

Thanks

Srisailam


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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