on 05-25-2015 8:24 AM
Dear fellows,
As the screenshot below indicates, I want to add a Left Outer Join between tables QMEL and QMFE, however, it is not possible due to the following system error: "Illegal left-outer-join chain between tabkes QALS,QMEL and QMFE". Therefore, I end up with an Inner Join between these two tables.
The reason I need to use Left Outer Join, but not Inner Joint, is that an Inner Join on QMNUM fields of both tables does not select the records, in which, the QMNUM of both tables are null.
Now, how can I insert a Left Outer Join between these two tables? Do I need to do it using ABAP code?
Thanks,
Arman
Greetings, Arman!
In SAP Query, it is unfortunately not possible to join three tables consecutively with two left joins.
I suggest to see if you can work around this by exploiting table alias to your advantage, e.g. insert an alias of table QMEL as QMEL_, then make a join, like: QALS - lj - QMEL - ij - QMEL_ - lj - QMFE.
This is a technique that I once used to try and circumvent a left join chain, but as I don't know your exact requirement, It's difficult for me to tell if this will provide you with the results that you want.
Apart from that, I can only suggest an ABAP report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.