
You are able to separate the rows and columns from one another with lines, both in the ALV output and in the design object (header, footer area). Color and thickness of the lines are determined by the system. You cannot change them.
You are able to make the following settings for lines:
Hiding Lines Between Columns and Rows
Display lines in the design object of the header and footer areas of a list or page
Display Lines Between Control Levels ( Highlight Control Level Change section)
Displaying Lines in the ALV Output
To display lines in the ALV output, you use one method for lines and one for columns.
|
ALV Tool |
Display type |
Function available |
|
Simple, two-dimensional table |
Classic ABAP List |
Yes |
|
Fullscreen |
Yes |
|
|
In the Container |
Yes |
|
|
Hierarchical-sequential list |
Classic ABAP List |
Yes (only horizontal) |
|
Tree Structure |
Fullscreen |
No |
|
In the Container |
No |
|
Function |
Class |
Method |
|
Display lines between rows |
CL_SALV_DISPLAY_SETTINGS |
SET_HORIZONTAL_LINES |
|
Checks whether lines between the rows are being displayed |
IS_HORIZONTAL_LINES |
|
|
Display lines between columns |
SET_VERTICAL_LINES |
|
|
Checks whether lines between the columns are being displayed |
IS_VERTICAL_LINES |
Displaying Lines in the Design Object
You are only able to display lines in table-type layouts within the design object. Here you use one method to determine whether you want to display vertical, horizontal, both or no lines.
|
ALV Tool |
Display type |
Function available |
|
Simple, two-dimensional table |
Classic ABAP List |
Yes |
|
Fullscreen |
Yes |
|
|
In the Container |
Yes |
|
|
Hierarchical-sequential list |
Classic ABAP List |
Yes |
|
Tree Structure |
Fullscreen |
Yes |
|
In the Container |
Yes |
|
Function |
Class |
Method |
|
Displaying Lines in the Design Object |
CL_SALV_FORM_LAYOUT_GRID |
SET_GRID_LINES |