Defining Join Conditions
Context
A join condition determines the combination of individual object records that are included in the results set.
Before an InfoSet can be activated, the join conditions have to be defined in such a way (as equal join condition) that all the available objects are connected to one another either directly or indirectly.
Usually, however, only rows containing a common InfoObject, or rows containing InfoObjects that share the same basic characteristic, are connected to one another.
Procedure
-
Define the join conditions. You can do this using one of the following options:
Via
:We recommend this method because the system searches for all the possible join conditions for any field or attribute that the user specifies, ensuring that the join conditions are defined without errors.
-
The Link Maintenance dialog box appears.
In a tree structure on the left-hand side of the screen, all of the InfoProviders that are already included in the join are displayed along with their fields or attributes. If you double-click on one of these fields or attributes, the system displays on the right-hand side of the screen all of the fields or attributes with which you are able to create a join condition.
-
In the Selection column, set one or more of the indicators for the fields or attributes for which you want to create a join condition. The system generates valid join conditions between the fields or attributes that you specify.
-
You use the
pushbutton to undo all of the join conditions. -
With All Characteristics or Basic Characteristics Only, you can choose the appropriate display variant.
-
When you have finished making your settings, click on the
icon.
With the Mouse:
-
Position the cursor over a row in an InfoObject.
-
Press the left mouse button and, keeping the left mouse button pressed down, trace a line between this row and a row in another object. Providing that the join condition between the two rows that you have indicated is valid, the system confirms the join condition by displaying a connecting line between the two rows.
-
-
Select the join type if required.
-
Left Outer Join:
If you want to use a left outer join operator to connect an object, select the object and choose from the context menu.
-
Antijoin
If you want to use an antijoin operator to connect an object, select the object and choose from the context menu.
More information: Antijoin
-
Inner Join:
You can also switch from an Antijoin or a Left Outer Join to Inner Join from the context menu.
The system displays all the valid join conditions that originate from this object, using unlabeled connecting lines.
-
-
With
, you can find out if all existing objects are directly or indirectly connected with one another. -
Activate the InfoSet.

