2022 Aug 30 7:17 AM
Hi SCN,
Is Full Outer Join Available in ABAP Programming ? If not how to perform it ?
I need clarity regarding joins In terms of ABAP Programming
Please help with Syntax for all available joins
Thanks.
2022 Aug 30 7:39 AM
Hi sandeepsuggu,
Yes, we can perform right outer join and full outer join in SAP ABAP. Famous SFLIGHT table example:
DATA(lv_city) = 'XYZ'.
SELECT c~carrname, p~connid
FROM scarr AS c
RIGHT OUTER JOIN spfli AS p
ON p~carrid = c~carrid AND
p~cityfrom = @lv_city
INTO TABLE @DATA(lt_flights).<br>
Check out the latest documentation for joins on SAP, here you will find more examples: Inner, Outer, and Cross Joins
2022 Aug 30 7:42 AM
2022 Aug 30 1:39 PM
See ABAP documentation SELECT, join for syntax and examples
([xxx] means xxx is optional)
There's no Full Outer Join (full join being left and right at the same time) as you can see.