How To Create Inner Joins Between Tables Using SE16H
How To Create Inner Joins Between Tables Using SE16H
Steps:
1- Go to Se16h, type the main table [EKPO] (1), then click on the icon of maintain relationships of the
outer join (2).
Hint: this point is the like the spec we give to the ABAPER to get the data , in a simple way , we have a
po number in EKKO , to get the right asset number for a specific line item in po , we want to enter EKKN
table with PO number and PO line item number , so we will use the fields EBELN & EBELP as our
primary keys here to the right data without any duplication.
Also, you can use the fields here as a constant Value to filter.
11- We will add a new join table (MSEG) to get the Material Document numbers and the movement type.
Hint:
Make sure of the Sequence number for the joined tables before saving.
Executed table: