07-04-2007 11:22 AM
Hi All,
In the alv gird (using FM ),the field text names which i have used to display are shortened i.e i have given delivery doc created date but it is displaying as created on .how to get the correct name to b refelected in the display.
in field catalog am specifying like this--
wa_g_fcat-fieldname = 'DERDAT'.
wa_g_fcat-reptext_ddic = text-019.
wa_g_fcat-ddic_outputlen = 20.
Thanks&Regards,
Padma.
07-04-2007 11:24 AM
07-04-2007 12:07 PM
Hi vasanth,
i have pass the structure in fieldcatalog merge to build the fieldcatalog.
it displaying the data base table description on the column header .
help me in this regard.
Thaks&Regards,
Padma.
07-04-2007 12:10 PM
no problem... just after using the FM fieldcatalog merge
loop at it_fieldcat into wa_fieldcat where fieldname eq 'XXXXX'.
wa_fieldcat-seltext_s = 'Cr Dt'.
wa_fieldcat-seltext_m = 'Creation Date'.
wa_fieldcat-seltext_l = 'Creation Date'.
modify it_fieldcat from wa_fieldcat.
endloop.
07-04-2007 12:13 PM
hi chandrasekhar,
Even though am getting the same problem that is displaying the database table field description only .
Thanks&Regards,
Padma.
07-04-2007 11:24 AM
Change the text of the text element text-019 to created date.
This might help you.
Regards,
Pavan P.
07-04-2007 11:25 AM
Also include these fields and check if it works
wa_g_fcat-seltext_l = text-019.
wa_g_fcat- seltext_m = text-019.
07-04-2007 11:26 AM
Hi,
use SELTEXT_M/SELTEXT_L to change the column header.
rgds,
bharat.
07-04-2007 11:26 AM
hi
<b>wa_g_fcat-seltext_m = text-019.</b>
Use the above one it will display what ever you wrote.
rewards if usefuil,
regards,
nazeer
07-04-2007 11:27 AM
populate the 3 texts
wa_fieldcat-seltext_s = 'Cr dt'.
wa_fieldcat-seltext_m = 'Creation date'.
wa_fieldcat-seltext_l = 'Creation date'.
07-04-2007 12:12 PM
example
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
reward points if it is usefull ...
Girish