‎2009 Jul 06 12:38 PM
Hi,
I have an alv report which is not displaying the complete text in one of the alv's column.
The text is visible in my internal table and the size of text is 169 characters.
But when i am using the same internal table for displaying the data in alv, the alv is just showing the first 128 characters of the column.
i have tried wa_fcat-outputlen and it didn't solve my problem.
Any suggestion?
Thanks.
‎2009 Jul 06 1:35 PM
OSS note
857823 - ALV grid: Strings with a maximum of 128 characters
Symptom
Entries in cells of the type CHAR or string are truncated after 128
characters in the SAP GUI.
More Terms
ALV Grid Control (cl_gui_alv_grid), function module (Full-screen) Grid
(Reuse_alv_grid_display, SAPLSLVC_FULLSCREEN), SAPGUI, back end, front end
Cause and Prerequisites
The data table that is sent to the front end only allows character values
with the length 128.
Solution
This is the standard system behavior and cannot be changed.
The note is not release-dependent
‎2009 Jul 06 12:48 PM
Hi,
Where you declare the layout(Form for layout),put the following code snippet there
p_it_layout-colwidth_optimize = 'X'.
where p_it_layout is the internal table of layout type i.e. slis_layout_alv.
It may solve your problem.
Regards.
Sarbajit
‎2009 Jul 06 12:52 PM
Hi Sarbajit,
I have already written this code in my program.
Thanks.
‎2009 Jul 06 12:55 PM
Hi ,
Also set LINE-SIZE 255 in Report statement . I mean -
REPORT 'Rep name' LINE-COUNT 65(3)
LINE-SIZE 255
MESSAGE-ID ZZ.
‎2009 Jul 06 12:59 PM
‎2009 Jul 06 1:18 PM
‎2009 Jul 06 1:24 PM
Hi Sarbajit,
My line in alv has less than 1024 characters.
The problem is not of line.
I know that a maximum number of characters which can be assigned in alv's column is 255.
But in my case the no. of character is just 169 which is less than 255.
Then why alv is not displaying the complete information in it's column.
Thanks
‎2009 Jul 06 1:35 PM
OSS note
857823 - ALV grid: Strings with a maximum of 128 characters
Symptom
Entries in cells of the type CHAR or string are truncated after 128
characters in the SAP GUI.
More Terms
ALV Grid Control (cl_gui_alv_grid), function module (Full-screen) Grid
(Reuse_alv_grid_display, SAPLSLVC_FULLSCREEN), SAPGUI, back end, front end
Cause and Prerequisites
The data table that is sent to the front end only allows character values
with the length 128.
Solution
This is the standard system behavior and cannot be changed.
The note is not release-dependent
‎2009 Jul 06 1:45 PM
Hi PBS,
There is no other way to display the value in alv.
Thanks.
‎2009 Jul 06 2:00 PM
You could make two substrings, from the big string and sohw it one after the other.
‎2009 Jul 08 8:35 AM
Hi,
I am closing this thread because i haven,t got a satisfactory answer.
Thank u all.