GET_TEXT_AS_R3TABLE
This method allows you to save the entire text from the editor as an internal table (without information about line feeds). This depends on the behavior of the line breaks that you have defined in the CONSTRUCTOR, especially for soft carriage returns.
Windows |
HTML |
Java |
ü |
! |
ü |
call method textedit->get_text_as_r3table
exporting
only_when_modified = only_when_modified
importing
table = table
is_modified = is_modified
exceptions
error_db = 1
error_cntl_call_method = 2
error_db_create =3
potential_data_loss = 4.
Parameter |
Description |
Possible Values |
table |
Internal table |
|
only_when_modified |
Attribute when you get text |
true false |
is_modified |
Changed status of the text |
true false |

If you use a table with shorter lines than those in the SAP Textedit, the text from the control is only passed up to the length of the table line. The remaining text is lost.
If the lines of the table are longer than the lines of the control, the table lines are filled with trailing spaces.

Setting the parameter ONLY_WHEN_MODIFIED to TRUE can improve performance, since it minimizes the data exchange between the frontend and backend (and the database).
