Start of Content Area

Function documentationClass Constants  Locate the document in its SAP Library structure

Class Constant

Type / Value

Description / Use

ABAP_COMMENTLINE_IDENTIFIER

TYPE C VALUE *

Used to highlight comment lines when you use the control as a program editor

BOOL_INITIAL

FALSE

TRUE

TYPE I VALUE -1

TYPE I VALUE 0

TYPE I VALUE 1

Simulation of type BOOL

STRING_LENGTH

TYPE I VALUE 256

Type for strings. When you pass parameters to the control, this definition corresponds to the maximum number of characters that can be transferred between the frontend and application server.

CautionThere is no warning if you try to pass a longer string.

WORDWRAP_OFF

TYPE I VALUE 0

No automatic word-wrap in control. You only need this definition when you create an object in the constructor.

WORDWRAP_AT_WINDOWBORDER

TYPE I VALUE 1

Automatic word-wrap at the edge of the control window. You only need this definition when you create an object in the constructor.

WORDWRAP_AT_FIXED_POSITION

TYPE I VALUE 2

Automatic word-wrap at a fixed position in the control. You only need this definition when you create an object in the constructor.

Note

ABAP does not contain any constants with type BOOL. Instead, this type is simulated using the integer constants false and true . You can address them using cl_gui_textedit=>true and cl_gui_textedit=>false .