Joined MDO
You use this function to display a consolidated result from multiple MDO tables. You can select attributes from multiple MDOs, define a JOIN condition and display the results.
Note
Only persistent MDO objects can be used to create a new joined MDO.
The Joined MDO
supports INNER JOIN and LEFT OUTER JOINs between the MDOs.
A database view will be created for every joined MDO with actual MDO tables and columns. You have to define at least one condition for every JOIN. A Joined MDO
consists of the following tabs:
Data Source:
You have to select a connector from a list of MDO connectors that is configured in the system.
Attributes:
You can select the attributes from different MDOs and specify JOIN conditions between the MDOs. You can also specify the Where
clause in the definition. Following are the available screens
in this tab:
Available Objects:
Displays a list of all the persistent MDOs available in the selected MDO connector.
Selected Objects:
You can select the MDOs from the Available Objects
column. You can add, delete, replace, and change the hierarchy of the MDOs in this column.
Available Attributes:
Displays all the attributes for the selected MDO in the Available Objects
column.
Selected Attributes:
You can select the attributes from the Available Attributes
column. You can add, delete and change the hierarchy of the attributes.
Join Expression:
You can create join conditions for the selected MDOs.
Filter Expression:
You can define filter expressions for fetching the attributes.
Layout:
Displays the graphical view of the joins between the MDO objects. This screen reflects any changes done on the Attribute
tab.
Visualization:
For more information, see MDO Visualization.
Security:
For more information, see Manufacturing Data Object.
On the SAP MII Workbench, choose
The DataSource
screen appears.
From the Template Categories
tab, choose Attributes
.
A screen with all the Available Objects
and attributes of persistent and Join MDOs appear.
Add the tables from the Available Objects
column to Selected Objects
column.
Add the selected attributes from the Available Attributes
to Selected Attributes
.
Click the Join Expression
column with secondary mouse button and choose Add
.
Choose the attributes from the drop-down list of Table
column and type from the Join Type
column.
To add conditions to the join, select a row from the Join Expression
tab.
Click the conditions table with the secondary mouse button and select Add
.
Choose the list of attributes of the selected MDOs from the Columns
and the operators from the Operators
column.
Note
You can enter the filter, sort and group expressions manually.
To delete a row from the join table, select a row and click the Joins
table with the secondary mouse button. Choose Delete.
The row along with the conditions will be deleted.