!--a11y-->
Text Properties 
You can affect how text is displayed in individual areas of the ALV output as follows:
· Horizontal alignment within a column
· Horizontal alignment within a cell variant
· Font size and style in a cell
This
function is only available in the cell editor TEXT_VIEW. Here, you can choose
the pre-configured formatting that you want to use (see
Design in
TextView
Properties).
You can also set the reading direction here.
· Line break for a cell
This function is only available in the cell editors TEXT_VIEW, LINK_TO_ACTION, and LINK_TO_URL. If the text contains characters that permit a line break (for example, spaces and hyphens), the text can be distributed across more than one line.
· Font color in a cell (see Color of ALV Output, Columns, and Cells)
· Alignment, font size, and font style in a design object for the header or footer area (see Design Object Settings)
Methods for Text Properties
Function |
Class |
Method |
Horizontal alignment within a column |
CL_SALV_WD_ |
SET_H_ALIGN GET_H_ALIGN |
Horizontal alignment within a cell variant |
CL_SALV_WD_ |
SET_H_ALIGN GET_H_ALIGN |
Font size and style in a cell |
CL_SALV_WD_ |
SET_DESIGN or GET_DESIGN or |
Line break for a cell |
CL_SALV_WD_ CL_SALV_WD_ CL_SALV_WD_ |
SET_WRAPPING or GET_WRAPPING or |