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: 

long text in alv grid

Former Member
0 Kudos
349

Hi ,

I wanted to display a long text in my grid. Suppose I have a field's long text having field length 3000.

It is varying for other fields.

Anybody will tell me how to display the whole long text in alv grid.

3 REPLIES 3

anversha_s
Active Contributor
0 Kudos
99

hi,

if it is a heading then in the field catlog u can do it.

i don know th length limitation.

fieldcatalog-fieldname = 'EBELP'.

<b> fieldcatalog-seltext_m = 'PO Item'.

fieldcatalog-seltext_s = 'PO Item'.

fieldcatalog-seltext_l = 'PO Item'.</b>

fieldcatalog-col_pos = 1.

append fieldcatalog to fieldcatalog.

rgds

Anver

Former Member
0 Kudos
99

Hello Amit,

Its is not possible to display these texts in an ALV Grid in an elegant way.

The general approach here is that you make one of the fields (i.e., columns) a pushbutton and then when the user clicks on this button, you show the text in a pop-up.

Regards,

Anand Mandalika.

Former Member
0 Kudos
99

first of all alv has limit of length for each field, the max you can display in normal grid would be 128 to 256 characters.

One way to display long text is to give a link for each record displayed in the ALV like a hotspot. So that when user clicks it, you can open a note pad in display mode and show the entire text.

Other method would be to duplicate the records and split the text and display it among those records.