05-05-2006 5:18 PM
Hi,
what is the best way to get a large string into an ALV Grid cell?
Any help is greatly appreciated.
/ Elvez
05-05-2006 5:31 PM
Try giving the <b>fieldcat-outputlen </b> more(the length which you want).
Regards
vijay
05-05-2006 5:33 PM
05-05-2006 5:37 PM
maximum string can hold 255 i guess,so try to give 255.
regards
vijay
05-05-2006 5:55 PM
Hi,
I suggest that you place a button on the column, and when clicked show a TEXT editor (CL_GUI_TEXTEDIT) in a DOCKING container with the text that you want.
Even if you use the full length of 255 for a column, for the user to see other columns, he has to scroll left / right.
Regards,
Ravi
Note : Please mark the helpful answers
05-23-2006 1:38 PM
Hello Ravi,
can you explain how to use the text editor in a docking container?
I have the same problem to display large strings in several cells.
My idea was, if the user click on a cell, some kind of new modal window opens and will show the text. Like the detail view in ALV.
Regards,
Daniel
05-23-2006 2:02 PM
05-23-2006 1:46 PM
Hi,
Maximum length that ALV is going to display will be 128 characters not more than that.
Just check out any table with a field more than 128 characters in SE16 ( view : using ALV grid), you can clearly see that it will display only 128 characters.
It is better to use a container which can show a text editor.