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- displaying long text in alv output

Former Member
0 Kudos

hi,

as per my requirement, i need to be display long text (length >1000 characters) in alv list or alv grid.

i get the entaire long text and keep it in final internal table and pass it to alv functional module, but it unable to display the compleate long text( in alv-grid).

the alv list displays the complete long text but not in the row, it displays in the second rown and few field labes of long text and its previous field label are displayed in impro[per order.

is there any possible way to display long text in alv.

regards,

revoori

3 REPLIES 3

Former Member
0 Kudos

Hi Ashok,

try to pass the below while filling your long text.

wa_fieldcat-seltext_l  = 'Your Long Text'.
wa_fieldcat-ddictxt = 'L'.

for more info check below

hope it works

Thnaks!

Edited by: Prasanth on Mar 8, 2009 4:03 PM

Former Member
0 Kudos

hi ashok ,

check out the below link

[https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/searchforpatternsinlongtexts-outputviaadynamicALV+table]

regards,

chinnaiya

murat_kaya
Participant
0 Kudos

Hi Ashok,

if i am not mistaken you want to display a long text in one cell of alv grid? there is a limitation for alv display, every cell can show max of 128 characters. if you want to show a long text longer than 1000 characters, the best way is to split your text into 8 pieces (min.) and show these pieces in different columns next to each other. you may try this.

regards,

Murat Kaya