SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
No WRITE TO for Internal Tables
In ABAP Objects, the following statement causes an error message:
WRITE ... TO itab INDEX idx.
Correct syntax:
FIELD-SYMBOLS <fs> TYPE ...
READ TABLE itab INDEX idx ASSIGNING <fs>.
WRITE ... TO <fs>.
Reason:
Field symbols can be used for direct access to table rows. The WRITE TO statement for table rows is superfluous.