Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fieldcatalog header change

Former Member
0 Likes
960

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

1 ACCEPTED SOLUTION
Read only

naveen_inuganti2
Active Contributor
0 Likes
838

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

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

2 REPLIES 2
Read only

naveen_inuganti2
Active Contributor
0 Likes
839

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

Read only

Former Member
0 Likes
838

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.