Create Pseudo Table Join Between Three SAP Tables
This topic describes how to create a dynamic table join from three SAP tables in Process Runner using the Process Connection and data filter builder functionality.
Scenario:
Let us consider an example of table join between three SAP Tables, LTAP, LTAK and LTBK and the requirement is to extract the data from the following columns, and also other information:
Warehouse Number/ Warehouse ComplexfromLTAPTransfer Order NumberfromLTAKTransfer Requirement NumberfromLTBP
Columns A and B contains data from LTAP (header) table, such as Warehouse Number/Warehouse Complex and Transfer Order Number. Columns C, D and E contains data from LTAK table. Columns F and G contains data from LTBK table. But, we extract data only related LTAP and a pseudo join is created between LTAP, LTAK, and LTBK tables.
This is not a SQL-type join. You must first extract data from the first or parent SAP table, and then extract data from the second or child table filtering from the parent SAP table data and use the data from parent table as the filtering condition. In this case, we are using Warehouse Number/Warehouse Complex and Transfer Order Number, which is extracted from LTAP, as a filter for extracting data from LTAK and Warehouse Number/Warehouse Complex and Transfer Requirement Number, which is extracted from LTAK, as a filter for extracting data from LTBK.
Concept:
- Create the three Process files individually and add the filter to provide the source value as Excel columns from the first Process file for the second Process file, and from the second Process file for the third Process file. This creates a pseudo table join.
- Connect the three Process files by Process Connection feature.
- Run the connected Process file.
To create pseudo table join from three SAP tables
- Open Process Runner and select New Process. The New Process window is displayed.
- Select Data Extractor module and in the Table/View Name box, enter
LTAP. - Select More and clear Automap all fields. You can select the required fields manually.
- Select OK. The Magnitude Connector for SAP window is displayed. Perform the following steps:
- Select the SAP system, select Logon, and enter the information for Client, User, Password, and Language.
- Select OK. Process Runner displays a message to indicate that the tables are validated and that you must update the required mappings.
- Go to the Mapper tab, select the required fields from the table, and map the fields to the Excel columns by entering the map values or using the drag-and-drop functionality.
- Save the Process file and select Run.
- To create a Process file using the
LTAKtable, repeat the steps 2-6. - Perform the following steps:
- To create a pseudo join, enter the filter to get
Warehouse Number/Warehouse ComplexandTransfer Order Numberextracted from the first Process file. - Save the Process file and select Run.
- To create a pseudo join, enter the filter to get
- To create a Process file using the
LTBKtable, repeat the steps 2-6. - Perform the following steps:
- To create a pseudo join, enter the filter to get
Warehouse Number/Warehouse ComplexandTransfer Order Numberextracted from the second Process file that was created based onLTAK, in columns C and E. - Save the Process file and select Run.
- To create a pseudo join, enter the filter to get
- Connect the individual Process files as follows:
- Open the LTAP Process file, select
Process Connection, and browse to find the LTAK Process file. - Open the LTAK Process file, select
Process Connection, and browse to find the LTBK Process file. - Ensure that status and log columns from your first Process file is not overwritten by the data extraction of the second and third Process files. Also, update the End Row value to get the complete extraction from the second and third tables.
For example, the following screenshot illustrates how to update the End Row for the first Process file.
The following screenshot illustrates how to update the End Row for the second Process file.
The following screenshot illustrates how to update the End Row for the third Process file.
The following screenshot illustrates the three connected Process files.
- Open the LTAP Process file, select
- Save the connected Process file and select Run. The Excel file is displayed with the data from the three tables,
LTAP,LTAKandLTBK.
For information about how to extract data from three tables using the dynamic table join condition functionality, see Extract Data From Three SAP Tables Using Dynamic Table Join Feature.
For information about how to extract data from two tables using Process Connection functionality, see Create Pseudo Table Join Between Two SAP Tables .













