Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Horizontal & Vertical Lines using CL_SALV_TABLE for single lines

Clemenss
Active Contributor
0 Likes
945

Hi,

I (just) learned that you can suppress horizontal and vertical lines in SALV using methods SET_HORIZONTAL_LINES and SET_VERTICAL_LINES of class CL_SALV_DISPLAY_SETTINGS.

I wonder if it is possible to set this behavior in single lines (or even cells) of the grid.

Help is appreciated.

Regards,

Clemens

Hi,

I (just) learned that you can suppress horizontal and vertical lines in SALV using methods SET_HORIZONTAL_LINES and SET_VERTICAL_LINES of class CL_SALV_DISPLAY_SETTINGS.

I wonder if it is possible to set this behavior in single lines (or even cells) of the grid.

Help is appreciated.

Regards,

Clemens

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
743

No, you can not set this at that granular a level. The setting is grid level.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
743

having a look at CL_SALV_DISPLAY_SETTINGS which is the class behind the attribute of the SALV, i just see an attribute

HORIZONTAL_LINES and VERTICAL_LINES of type SAP_BOOL.

Since the datatype of thos attributes is obviously boolean, we can sureley tell you that this is NOT possible, you can switch on vertical lines or hriziontal lines as whole for the SALV, but not for a column, row or cell.

Read only

Clemenss
Active Contributor
0 Likes
743

Too bad.