Application Development 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: 

HOW TO REMOVE BORDER LINE IN ALV LIST

Chandra-Bade
Explorer
0 Kudos

Hi Abapers,

I am using blockded list I don't need the border line of list as per my requirement.

ho to remove the border line for the list output.

I hope some body will help me.

Regards,

Chandra Shaker.

1 REPLY 1

Former Member
0 Kudos

If you use the OO way to do alv, (class CL_GUI_ALV_GRID), in table GS_LAYOUT you have fields NO_HGRIDLN & NO_VGRIDLN to remove verticals and horizontal lines.

GS_LAYOUT-NO_HGRIDLN = 'X'.

...

CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

IS_LAYOUT = GS_LAYOUT

IT_TOOLBAR_EXCLUDING = LT_EXCLUDE

CHANGING

IT_OUTTAB = WT_MD[]

IT_FIELDCATALOG = GT_FIELDCAT.