‎2006 Oct 05 11:23 AM
Dear all.
I am passing a structure to my Alv field catalog.
In my structure a component has a short text 'order start date'
But in output the short text was not displayed completely.
Only ' date ' is displayed.
How to solve this.
Thanx in Advance.
Regards,
Johnn.
‎2006 Oct 05 11:25 AM
‎2006 Oct 05 11:27 AM
‎2006 Oct 05 11:29 AM
In fieldcatalogue, there are 3 options: seltext_s (small)
seltext_m (medium), seltext_l(long) , if the name is too long you need to select out of these three.
Best Regards,
Vibha
Plz mark useful answers
‎2006 Oct 05 11:32 AM
I thought the problem is with the text display at column headings...
‎2006 Oct 05 11:33 AM
‎2006 Oct 05 11:35 AM
Can you paste the code where you initialise your field catalog..I think the problem is not about length but what you are passing in the field catalog parameters.
‎2006 Oct 05 11:38 AM
increase the lenght of that field in fieldcatalog
loop at it_fieldcat into wa_fieldcat where fieldname = '<YOUR_FIELD_NAME>'.
wa_fieldcat-outputlen = '25'.
modify it_fieldcat from wa_fieldcat.
clear wa_fieldcat.
endloop.
‎2006 Oct 05 11:37 AM
In fieldcatlogue, you have fieldcat-seltext_s, fieldcat-seltext_m or fieldcat-seltext_l. If you heading is too long then you need to use fieldcat-seltext_l = 'Here_column_heading'.
For Example:
line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
line_fieldcat-seltext_m = 'Notification No.'. " Column Header
APPEND line_fieldcat TO i_fieldcat
Best Regards,
Vibha
*Plz mark useful answers
‎2006 Oct 05 11:39 AM
HI,
increase the column length or check if
previous field is overwriting your column.
Regards
amole
‎2006 Oct 05 11:39 AM
or in the layout
<b>wa_layout-colwidth_optimize = 'X'.</b>this will adjust the lengths according to the output