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: 

Remove ALV List Grid Lines

Former Member
0 Kudos
595

Hi Experts,

I would like to remove some horizontal grid lines so that they disappear from the grid. I want it to appear so that the line horizontal lines appear only after every 3 lines of data. How do I do that?

Thanks in advance.

Darlington

1 ACCEPTED SOLUTION

Former Member
0 Kudos
158

hii,

u can use no_vline = X

no_hline = x in slis_layout_alv type group.

with this u can delete vertical , horizontal lines in layout.

rgrds,

Shweta

6 REPLIES 6

Former Member
0 Kudos
158

Hi,

BCALV_EDIT_04-> This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to implement the saving of the new data.

Regards,

Shamma

Former Member
0 Kudos
159

hii,

u can use no_vline = X

no_hline = x in slis_layout_alv type group.

with this u can delete vertical , horizontal lines in layout.

rgrds,

Shweta

0 Kudos
158

Thanks all,

Shweta,

I understand that the field no_hline in slis_layout_alv removes all horizontal lines in the ALV list but how can I particularly use this field so that the horizontal grid lines only appear after every three data lines?

I also assume that basically, this is putting three lines of the internal table in one row of the ALV List output.

Regards,

Darlington

Edited by: Darlington Chiyamha on Aug 24, 2009 1:14 PM

0 Kudos
158

this is a simple logic to delete vertical n horizontal rows.u have to code for horizontal line to appear after 3rd data line,you have to give some logic in that case.

rgrds,

Shweta

0 Kudos
158

Could you please elaborate how to code to display horizontal lines in alv grid.

Thanks,

Santosh

Former Member
0 Kudos
158

Hi,

You should use the importing parameter I_CALLBACK_USER_COMMAND, see help them in a function builder SE37.

-Thanks & Regards,

Saurabh Goel