09-23-2008 6:01 AM
Hi ,
i developed field catalog using FM " REUSE_ALV_FIELDCATALOG_MERGE" but no for some fields i need to change header name so how to that name changing .
thx
09-23-2008 6:04 AM
Hi...,
Check there is a parameter CT_FIELDCAT in this function module. With this you can
append the all properties of field catlog structure including seltext.
Thanks,
Naveen.I
09-23-2008 6:04 AM
Hi...,
Check there is a parameter CT_FIELDCAT in this function module. With this you can
append the all properties of field catlog structure including seltext.
Thanks,
Naveen.I
09-23-2008 6:06 AM
Loop the fieldcatalog and change it. you can try some thing like this,..
data: wa_fcat like line of it_fcat.
loop at it_fcat into wa_fcat.
case wa_fcat-fieldname.
when 'FIELD1'.
wa_fcat-seltext_l = 'Change the text here'.
when 'FIELD2'.
endcase.
modify it_fcat from wa_fcat.
endloop.