Looks like you are running on older version than ABAP 731. In ABAP 731, the error is now upgraded to include that the variable could be WA or Internal table.
The work area (or internal table) "ITAB2" is not flat, or contains
reference or internal tables as components or internal tables as
components. as components.
Regards,
Naimesh Patel
