Start of Content Area

Function documentationGET_SELECTED_TEXT_AS_STREAM  Locate the document in its SAP Library structure

Use

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

ü

ü

ü

Features

call method textedit->get_selected_text_as_stream

  importing
    selected_text = selected_text

  exceptions
    error_dp = 1.

Parameter

Description

Note
selected_text

Internal table

Example

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.

 

End of Content Area