Start of Content Area

Function documentationSetting and Getting Text  Locate the document in its SAP Library structure

There are two different ways of exchanging data with tables. One way includes information about line breaks, the other does not. The sets of methods have the suffix AS_STREAM (containing line break information) or AS_R3TABLE (without line break information).

Getting Text

Setting Text

GET_LINE_TEXT

 

GET_SELECTED_TEXT_AS_R3TABLE

SET_SELECTED_TEXT_AS_R3TABLE

GET_SELECTED_TEXT_AS_STREAM

SET_SELECTED_TEXT_AS_STREAM

GET_TEXT_AS_R3TABLE

SET_TEXT_AS_R3TABLE

GET_TEXT_AS_STREAM

SET_TEXT_AS_STREAM

OPEN_LOCAL_FILE

SAVE_AS_LOCAL_FILE

Deleting Text

 

DELETE_TEXT

 

CautionIf you use GET methods with the type AS_R3TABLE and 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.