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

Remove ALV List Grid Lines

Former Member
0 Likes
1,787

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
Read only

Former Member
0 Likes
1,350

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

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
Read only

Former Member
0 Likes
1,350

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

Read only

Former Member
0 Likes
1,351

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

Read only

0 Likes
1,350

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

Read only

0 Likes
1,350

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

Read only

0 Likes
1,350

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

Thanks,

Santosh

Read only

Former Member
0 Likes
1,350

Hi,

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

-Thanks & Regards,

Saurabh Goel