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: 

Columns in ALV

Former Member
0 Kudos

Hi All,

Can anyone tell me how many columns headers can be displayed in an ALV grid. I have written a report using ALV grid to display a long text and 70 fields but it is cutting on the 44th field but my client wants all column headers in one line...

Can anyone advice me?

Regards,

Fred.

6 REPLIES 6

Former Member
0 Kudos

hi fred,

To get the right format of output in the spool we generally increase the u201Cno. of columns fieldu201D in the Format typesu201D. use transaction SPAD.

This value is effective only when we check the check box u201CNumber of columns from list display formatu201D in the SPAD transaction.

>> go to the SPAD transaction code.

>> in menu setting >> spool system

>> in the others tab check the first check box, save n exit.

hope it may help you.

Thanks n regards

Sachin

Edited by: Sachin Gupta on Oct 6, 2008 10:00 AM

Edited by: Sachin Gupta on Oct 6, 2008 10:06 AM

0 Kudos

Hi Sachin,

I have tried to do what you suggeted but unfortunately it doesn't allow me to check those options.

Regards,

Fred

Former Member
0 Kudos

for alv display, maximum length of all the columns should not exceed 4092

0 Kudos

Hi,

I guess it is be based on the total width and not no.of columns.

K.Kiran.

0 Kudos

Hi,

It is based on the columns width, yes. the number of columns that are dispaying is 44 only and i ahve tpo display 77 fields in one line.

Please help.

Regards

Fred.

Regards,

Fred.

0 Kudos

Pls check this link, it may be useful

http://saptechnical.com/Tutorials/ALV/Spool/width.htm

Regards

MD