Below is my code:
INTO CORRESPONDING FIELDS OF TABLE itab
FROM ztab1 AS a
LEFT OUTER JOIN ztab2 AS b
ON a~column1 = b~column1 AND
a~column2 = b~column2 AND
b~year = sy-datum+0(4).
This outer join is picking all the entries where the date is '000000'.
Please let me know what is wrong.