‎2008 Oct 06 3:02 PM
Hi all,
I'm using ALV.
There is a column with header text 'Material Number'.
The output length is such that this entire text couldn't be accomodated in a single line.
So I'm planning to split this text in to two lines
as,
Material
Number
To do this how to define the field catalog for this entry.
Please give ideas to do this requirement.
Thanks & Regards,
Lakshmanan
‎2008 Oct 06 3:06 PM
‎2008 Oct 06 3:09 PM
Good Joke of the moment.:-)
Dude,
If I do so I can't display the entire report.
Thanks
‎2008 Oct 06 3:13 PM
Yeah, i'm having a blast here!
But what i don't understand is: if you make the column a little bit wider, you can't display your data? It's an ALV and it comes with scroll-bars. Besides, a material number is like 18 characters long.
‎2008 Oct 06 3:24 PM
‎2008 Oct 06 4:12 PM
If I'm not wrong, the hor/ver bars appear when data don't fit in screen.
‎2008 Oct 06 3:11 PM
Hi!
I don't know if it can help you, I don't know how split the header line, but you can force the text of the header line if in ddictxt attribute of fieldcatalog you put 'L', what means the long text of dictionary. This way you will see all text of header line.
Hope it helps.
‎2008 Oct 06 3:14 PM
using the Normal ALV it is possible, But Grid function or OO ALV it is not possible.
check the thread
‎2008 Oct 06 3:14 PM
hi,
use the fieldcat attributes such as..
COLWIDTH_OPTIMIZE
OUTPUTLEN
this may help.
regards
johnson
‎2008 Oct 06 8:05 PM
Hi,
All suggestion's looks good but still if you are interested in making a multiple row ALV...you can use the field catalog property Row_pos....by default it is 0 for all the columns...but if you want to display a column in the second line then you can its value to 1......it can take max values to 3.