Application Development 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: 

fieldcatalog header change

Former Member
0 Kudos

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

naveen_inuganti2
Active Contributor
0 Kudos

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

2 REPLIES 2

naveen_inuganti2
Active Contributor
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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.