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

Rename Column Header

Former Member
0 Likes
1,142

Hi All,

I need to change the column header of the internal table in runtime.How to achieve this?

I searched in SCN but could not find any good result.

Thank you.

Best Regards,

Munu

2 REPLIES 2
Read only

former_member196651
Contributor
0 Likes
606

Hi Munnu,

What do you mean by changing the column header during run time? Do u mean change column header of the ALV? If this is your requirement, then you have to add a button on the ALV screen to get the new column name and change the field catalog with the new name. Then refresh the ALV display.

Regards,

Abijith

Read only

raphael_almeida
Active Contributor
0 Likes
606

Hi Munu!

If you want change a column name of itab and this is not displayed into alv, you can create another itab with new name and pass data between.

Now, if you want rename a column name of itab and this is displayed on ALV, you can use the FM REUSE_ALV_FIELDCATALOG_MERGE.

Regards