ABAP newbie, I am trying to jion a table to itself using OpenSQL Is this possible ? i.e. can I do:
SELECT e~partner AS partner1
f~partner AS partner2
INTO CORRESPONDING FIELDS OF ls_gp_nocase4
FROM crmd_partner AS d
INNER JOIN but000 AS e ON d~partner_no = e~partner_guid
INNER JOIN but000 AS f ON d~partner_no = f~partner_guid
WHERE d~guid = 'XYZ'
AND e~type = '2'
AND f~type = '1'.