GET_TEXT_AS_STREAM
This method allows you to place the entire text from the editor in an internal table as a stream (with information about line breaks).
Windows |
HTML |
Java |
ü |
ü |
ü |
call method textedit->get_text_as_r3table
exporting
only_when_modified = only_when_modified
importing
text = text
is_modified = is_modified
exceptions
error_db = 1
error_cntl_call_method = 2.
Parameter |
Description |
Possible Values |
text |
Internal table with text |
|
only_when_modified |
Attribute when you get text |
true false |
is_modified |
Changed status of the text |
true false |

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).

For an example of how to work with line break information, refer to the demonstration program SAPTEXTEDIT_TEST_1, include SAPTEXTEDIT_TEST_1F01, subroutine FIND_CR, which replaces the carriage return line feeds.
