Ansicht
Dokumentation
ABENOO_OBS_WRITE_TO_1 - OO OBS WRITE TO 1
ABAP Short Reference CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
No WRITE TO for Internal Tables
-
The WRITE TO statement is not allowed in ABAP Objects 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.
PERFORM Short Reference BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 726 Date: 20240329 Time: 025919 sap01-206 ( 12 ms )