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

Re: How to set Dynamic Query Parameters in MDO query

$
0
0

HI Feng,

 

In any MDO Query Template where you want to 'dynamic' values, map a Param.x template property to each MDO Attribute that you need to insert/update. You can also user Param.x template properties in the Filter and Sort expressions. When you assign or use a Param.x property, enclose it in [] like this:

 

example attribute mapping:

 

Capture.PNG

 

example Where clause:

 

where Attribute1 =='[Param6]'  //note that you have to quote strings like this.

 

You can assign a data type to the Params, and assign a default value to a Param. I recommend that you assign a data type to each used Param tha exactly matches the data type of the MDO attribute that you want to map to, or when used in a Sort of Filter expression.

 

There are no MDO Management tools that I know of, you have to build MDO Queries for all Insert/Update/Delete queries, and manage the MDO object from MII Workbench.

 

Regards, Steve


Viewing all articles
Browse latest Browse all 4841

Trending Articles