Wrap text funtion for Alv reports

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply

Wrap text funtion for Alv reports

Post by Guest » Mon Nov 29, 2004 6:21 am


Is there a "wrap text" possibilty in ALV reports, the same funtionality as in Excel?


Yorkie Abaper
Posts: 878
Joined: Wed Jan 22, 2003 2:57 am
Location: N 53° 38.817 W 001° 50.118

Post by Yorkie Abaper » Mon Nov 29, 2004 6:34 am

I've never managed to get an ALV cell to wrap. I believe you can't do it.

There is a way of wrapping column headings so

"Column Headings"



but it doesn't work for cells.

I think too much and I drink too much.


Wrapping Column Header

Post by Guest » Fri Jan 07, 2005 11:55 am

Can anyone tell me how to wrap column header in ALV.
Example of a column header "COST CENTER DESCRIPTION"
should appear as

Thank you.

space hog

Post by space hog » Fri Nov 25, 2005 12:07 am

If there is a way to wrap or have 2 to N lines of column headings, how is this done?


ps. yes, i have done a SEARCH on ALV HEADER WRAP TEXT COLUMN ...

Posts: 167
Joined: Mon Oct 21, 2002 2:22 am
Location: Wijlre, Netherlands

Post by hsenden » Mon Dec 12, 2005 3:56 am

@ Yorkie Abaper :

i'm interested too :-)
How can i wrap my column header text over several lines ?


Angry God

Post by Angry God » Mon Dec 12, 2005 5:56 am

...has been asked dozens of times before (but you knew that, because you used SEARCH, didn't you?), but to date it has not been possible to wrap column headings.

We're still waiting on Yorkie Abaper's "solution".


Post by Guest » Mon Dec 12, 2005 7:02 am

That was a year ago, you expect me to remember :-)?

Seriously I did it. I'll have a dig about - I just need to find which site I wrote the code on :-)


space hog

Post by space hog » Mon Dec 12, 2005 7:10 pm

Ok, we shall await Yorkie's response to the ALV Wrap Text function. As it is difficult to have a search and read through the search results and most posts indicate this wrapping functionality as not possible and you get to a post that says "it is possible", BUT does not supply the solution thus invoking Angry God's wrath upon us...

Angry God

Post by Angry God » Tue Dec 13, 2005 4:27 am

Yorkie Abaper> Your God is immortal. I will wait.


wrap ALV columns

Post by Ana_C » Tue Dec 13, 2005 8:11 am

Hi! I need this information too! I have a problem cause it seems that the line size in ALV is limited. I have 95 columns but it doesn't let me insert more than that... anybody can help me?

space hog

Post by space hog » Wed Jan 04, 2006 7:14 pm

hellow yorkie! new year has passed and we still do not have our answer to the wrap text function.

Post Reply