Start of Content Area

Function documentation Hiding Lines Between Columns and Rows  Locate the document in its SAP Library structure

Use

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.

Features

You are able to make the following settings for lines:

·        Hide 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.

Display type

ALV Tool

Classic ABAP list

Full screen

In the Container

Simple, two-dimensional table

Yes

Yes

Yes

Hierarchical-sequential list

Yes
(only horizontal)

 

 

Tree structure

 

No

No

Methods

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.

Display type

ALV Tool

Classic ABAP list

Full screen

In the Container

Simple, two-dimensional table

Yes

Yes

Yes

Hierarchical-sequential list

Yes

 

 

Tree structure

 

Yes

Yes

 Methods

Function

Class

Method

Displaying Lines in the Design Object

CL_SALV_FORM_LAYOUT_GRID

SET_GRID_LINES

 

 

End of Content Area