Start of Content Area

Function documentationSET_SELECTED_TEXT_AS_STREAM  Locate the document in its SAP Library structure

Use

This method allows you to insert text from an internal table as a stream. The text is inserted at the cursor position. Any selected text is overwritten. The text is passed with information about line breaks.

Windows

HTML

Java

ü

ü

ü

Features

call method textedit->set_selected_text_as_stream

  exporting
    selected_text = selected_text
    enable_editing_protected_text = enable_editing_protected_text

  exceptions
    error_dp = 1
    error_db_create = 2.

Parameter

Description

Possible Values

selected_text

Internal table with text

 

enable_editing_protected_text

Editing for protected sections of text

false
Protected sections cannot be edited (default value)

true
Protected sections can be edited

 

 

End of Content Area