GET_SELECTED_TEXT_AS_R3TABLE
This method allows you to save the selected text as internal table (without information about the line breaks). 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_selected_text_as_r3table
importing
table = table
exceptions
error_dp = 1
potential_data_loss = 2.
Parameter |
Description |
|
Internal table |

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.
