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: 

alv display

Former Member
0 Kudos

hi,

suppose i have lots of fields in display which we can scroll to see all.

but is it possible to cut the no.of fields and make them into two lines in diplay..so that we could visualize htem with out scrolling.

thanks in advance

1 ACCEPTED SOLUTION

laxmanakumar_appana
Active Contributor
0 Kudos

Hi,

You can not display the columns into two rows if they exceeds on the screen .

but you can do this like :

I.if you have four columns col1 col2 col3 col4 and data in columns as 1,2,3,4.

then take three internal tables ,fill the first two columns into one internal table and next two columns into another internal table and then take the heading of the alv as :

col1/col2 col3/col4

and now display the data with third internal table by merging first and second internal table.

1 2

3 4

(or)

if any relation between the columns data (header -item data) then go for Hierarical ALV display.

check this link for sample program of Hierarical ALV display.

Regards

Appana

2 REPLIES 2

laxmanakumar_appana
Active Contributor
0 Kudos

Hi,

You can not display the columns into two rows if they exceeds on the screen .

but you can do this like :

I.if you have four columns col1 col2 col3 col4 and data in columns as 1,2,3,4.

then take three internal tables ,fill the first two columns into one internal table and next two columns into another internal table and then take the heading of the alv as :

col1/col2 col3/col4

and now display the data with third internal table by merging first and second internal table.

1 2

3 4

(or)

if any relation between the columns data (header -item data) then go for Hierarical ALV display.

check this link for sample program of Hierarical ALV display.

Regards

Appana

abdul_hakim
Active Contributor
0 Kudos

hi

you cannot do so in ALV.

The max no of column that can be displayed in an ALV List/Grid is 255 fields..

Cheers,

Abdul Hakim