12-31-2013 5:50 AM
Hi All
I am using one data element having domain char(1).In the field label Text is defiend by four different lengths,Program defaultly taking Char(1) text.I want to didplay text of higher length.Please help on this.
Thanks
Vamsi
12-31-2013 6:30 AM
gs_fieldcat-ddictxt = 'L'.
use this option in the field cat 'S' for small ' L' for long 'M' for medium field labels while passing structure in ALV
regards
SIva
12-31-2013 5:59 AM
How are you displaying the text in ALV...? If yes are you passing the structure name to GRID...?
Nabheet
12-31-2013 6:01 AM
12-31-2013 6:07 AM
Use Function module REUSE_ALV_FIELDCATALOG_MERGE. pass structure name and get field catalog into LT_FIELD. read LT_FIELD for your field name and modify seltext_l/seltext_m/seltext_s
Pass this LT_FIELD to grid FM
12-31-2013 6:12 AM
Add the following attribute to the layout.
gd_layout-cwidth_opt = 'A'.
And pass this in your ALV FM.
12-31-2013 6:13 AM
12-31-2013 6:30 AM
gs_fieldcat-ddictxt = 'L'.
use this option in the field cat 'S' for small ' L' for long 'M' for medium field labels while passing structure in ALV
regards
SIva
12-31-2013 8:44 AM
try using class cl_salv_wd_column_header method SET_PROP_DDIC_BINDING_FIELD
u can pass IF_SALV_WD_C_DDIC_BINDING=>DDIC_BIND_LONG to Method parameter "VALUE"
PS: Few similar question on SDN