The field MATNR (material number) is a key field in both tables. Therefore a join relation has been automatically generated based on the SAP metadata. When the mouse cursor is over the join rectangle, a tooltip will show the field relations.
Double-click the join rectangle to open the Table Join Dialog. In this case the field MATNR of MARA is linked with the field MATNR in MAKT.
To add further relation click Add and select the correspondent fields ob both tables.
is the default join type. When the join-predicate is satisfied, column values for each matched pair of rows of both tables combined into a result row.
In our example all rows from MARA and MAKT will be combined, if the have the same value in the field MATNR.
But material attributes without descriptions or material descriptions without attributes will not exist in the result.
(Left) Outer JOIN
The result of a (Left) Outer Join contains all records of the left table, even if the join-condition does not find any matching record in the right table. A (Left) Outer Join returns all the values from an inner join plus all values in the left table that do not match to the right table, including rows with NULL (empty) values in the link field.
In our example all material attribute rows from left table MARA will be in the result, even when they have net been assigned to a description in the table MAKT, contrary to the inner-join example above, where unassigned material attributes were excluded from the result
SAP Help: Inner Join und Outer Join