08-05-2006 3:25 PM
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
08-05-2006 5:44 PM
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
08-05-2006 5:44 PM
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
08-05-2006 6:27 PM
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