Start of Content Area

Function documentationGET_LINE_TEXT  Locate the document in its SAP Library structure

Use

This method returns the text in line number LINE_NUMBER.

Windows

HTML

Java

ü

X

ü

Features

call method textedit- >get_line_text

  exporting
    line_number = line_number

  importing
    text = text

  exceptions
    invalid_parameter = 1
    error_cntl_call_method = 2.

Parameters

Description

line_number

Line number. The line numbering begins at one.

text

Text in the line

Caution

Due to restrictions on communication between the frontend and backend, texts can only be transferred with a length of up to 256 characters.

Note

Workaround for texts longer than 256 characters:

Select a whole line and use the method GET_SELECTED_TEXT_AS_R3TABLE or GET_SELECTED_TEXT_AS_STREAM .