From the course: SAP Business One: Reporting and Customization
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use JOIN for multiple tables - SAP ERP Tutorial
From the course: SAP Business One: Reporting and Customization
Use JOIN for multiple tables
- [Narrator] Now that you added one more table, let's add a few more. You've looked at one major use of JOINS, taking data from other tables. Another big use of JOINS is associating rows and modules with its header information. Let's add component information to report for everything OEC is making. The header information in the Production Order for example, can be associated with rows of materials. As I mentioned earlier, you'll find a general pattern that the rows are the first subtable of data. The OWR table for Production Order has WOR1 for rows. If you pull up a new Query Generator, you can use that for a little bit of a reference. And type in WOR1. At the top you'll see a common column in many tables. The DocEntry column. It's bolder because it is a way to link back to OWOR's DocEntry. Notice a column underneath it, which has the row's number. For each DocEntry, it'll be a sequence of row numbers, starting at…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Plan your report with good questions2m 5s
-
(Locked)
Add comments for readability4m 14s
-
(Locked)
Text editors with SQL2m 38s
-
(Locked)
Date and string functions6m 13s
-
(Locked)
Handling NULL values4m 58s
-
(Locked)
Use INNER JOIN for two tables6m 5s
-
(Locked)
Use JOIN for multiple tables5m 47s
-
(Locked)
Group data with GROUP BY5m 27s
-
(Locked)
Use aggregate functions5m 11s
-
(Locked)
Challenge: Sales report with BP info42s
-
(Locked)
Solution: Sales report with BP info5m 3s
-
(Locked)
-
-
-
-
-