2010 May 12 12:41 PM
HI,
I faced a problem with ALV header row.
some of the header rows does not shows all text ?!
I filled field catalog as
ADD 1 TO col_count.
wa_fieldcat-tabname = 'IT_OUTPUT '.
wa_fieldcat-col_pos = col_count.
wa_fieldcat-fieldname = 'SUMMER'.
wa_fieldcat-outputlen = '22'.
wa_fieldcat-scrtext_l = text-024.
wa_fieldcat-scrtext_m = text-024.
wa_fieldcat-scrtext_s = text-024.
wa_fieldcat-coltext = text-024.
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
in text-024 I write (Summer Stipend) but in ALV its shows (Summer S) only ?!
even if i translate field symbol to another language it does not shows all text.
Thanks,
HI,
I faced a problem with ALV header row.
some of the header rows does not shows all text ?!
I filled field catalog as
ADD 1 TO col_count.
wa_fieldcat-tabname = 'IT_OUTPUT '.
wa_fieldcat-col_pos = col_count.
wa_fieldcat-fieldname = 'SUMMER'.
wa_fieldcat-outputlen = '22'.
wa_fieldcat-scrtext_l = text-024.
wa_fieldcat-scrtext_m = text-024.
wa_fieldcat-scrtext_s = text-024.
wa_fieldcat-coltext = text-024.
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
in text-024 I write (Summer Stipend) but in ALV its shows (Summer S) only ?!
even if i translate field symbol to another language it does not shows all text.
Thanks,
2010 May 12 12:49 PM
2010 May 12 12:53 PM
hii,
this depends on outputlen only and dont put single cots for 22 .
wa_fieldcat2-outputlen = 35.
2010 May 12 1:10 PM
Hi,
This problem occurs due to width of the column.
Either you increase width size, and do not pass 'X' in field 'colwidth_optimize' of Layout.
Pass ddictxt = 'L' in field catalog. ie. : ddictxt(1) type c, " (S)hort (M)iddle (L)ong
Hope this may resolve your problem..
Regards,
Arun Agrawal
2010 May 15 5:56 AM
2010 May 15 6:26 AM
Hi Saleh,
In the fieldcatalog, only use wa_fieldcat-scrtext_l = text-024. Comment the other two statements i.e.
wa_fieldcat-scrtext_m = text-024 and wa_fieldcat-scrtext_s = text-024. If all statements are specified,
the system displays the column description as per the last statement which is defined. So here the system is
displaying the column description as per wa_fieldcat-scrtext_s = text-024. It is sufficient to use either one of the three fields of the fieldcatalog.
Regards,
Vinod
2010 May 15 7:17 AM
HII,
I find out that problem in Arabic language .
this is my code,
ADD 1 TO col_count.
wa_fieldcat-tabname = 'IT_OUTPUT '.
wa_fieldcat-col_pos = col_count. "1.
wa_fieldcat-fieldname = 'PIP'.
wa_fieldcat-outputlen = '35'.
IF sy-langu = 'E'.
wa_fieldcat-scrtext_l = 'test test test test test test test test'.
ELSEIF sy-langu = 'A'.
wa_fieldcat-scrtext_l = ' مبلغ الشهري للعرض الخاص-1 '.
ENDIF.
APPEND wa_fieldcat TO gt_fieldcat.
the English text is fine but the Arabic text is not shown completely in the ALV Field labe even if I use text simple .
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |